difit 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +3 -1
  2. package/dist/cli/index.js +0 -0
  3. package/dist/client/assets/index-W2UC55JC.css +1 -0
  4. package/dist/client/assets/index-hiGBtmpa.js +142 -0
  5. package/dist/client/index.html +2 -2
  6. package/dist/server/comment-store.js +85 -8
  7. package/dist/server/git-diff.js +3 -1
  8. package/dist/server/server.js +10 -0
  9. package/package.json +4 -4
  10. package/dist/cli/index.d.ts +0 -2
  11. package/dist/cli/index.test.d.ts +0 -1
  12. package/dist/cli/index.test.js +0 -676
  13. package/dist/cli/utils.d.ts +0 -1
  14. package/dist/cli/utils.test.d.ts +0 -1
  15. package/dist/cli/utils.test.js +0 -214
  16. package/dist/client/assets/index-CSJzfcU-.css +0 -1
  17. package/dist/client/assets/index-IxkylgHX.js +0 -53
  18. package/dist/client/assets/prism-css-Bpx-unsJ.js +0 -1
  19. package/dist/client/assets/prism-json-xwnKirkR.js +0 -1
  20. package/dist/client/assets/prism-typescript-B2PMeEx1.js +0 -1
  21. package/dist/server/comment-store.d.ts +0 -13
  22. package/dist/server/git-diff-tui.d.ts +0 -2
  23. package/dist/server/git-diff-tui.js +0 -95
  24. package/dist/server/git-diff.d.ts +0 -10
  25. package/dist/server/git-diff.test.d.ts +0 -1
  26. package/dist/server/git-diff.test.js +0 -292
  27. package/dist/server/server.d.ts +0 -11
  28. package/dist/server/server.test.d.ts +0 -1
  29. package/dist/server/server.test.js +0 -382
  30. package/dist/tui/App.d.ts +0 -8
  31. package/dist/tui/App.js +0 -92
  32. package/dist/tui/App.test.d.ts +0 -1
  33. package/dist/tui/App.test.js +0 -31
  34. package/dist/tui/components/DiffViewer.d.ts +0 -9
  35. package/dist/tui/components/DiffViewer.js +0 -88
  36. package/dist/tui/components/FileList.d.ts +0 -8
  37. package/dist/tui/components/FileList.js +0 -48
  38. package/dist/tui/components/SideBySideDiffViewer.d.ts +0 -9
  39. package/dist/tui/components/SideBySideDiffViewer.js +0 -237
  40. package/dist/tui/components/StatusBar.d.ts +0 -8
  41. package/dist/tui/components/StatusBar.js +0 -23
  42. package/dist/tui/utils/parseDiff.d.ts +0 -2
  43. package/dist/tui/utils/parseDiff.js +0 -68
  44. package/dist/types/diff.d.ts +0 -33
  45. package/dist/utils/fileUtils.d.ts +0 -12
  46. package/dist/utils/fileUtils.js +0 -21
@@ -0,0 +1,142 @@
1
+ (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 o of l)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function Tc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var as={exports:{}},cl={},is={exports:{}},P={};/**
2
+ * @license React
3
+ * react.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var or=Symbol.for("react.element"),Rc=Symbol.for("react.portal"),jc=Symbol.for("react.fragment"),Pc=Symbol.for("react.strict_mode"),Ic=Symbol.for("react.profiler"),Oc=Symbol.for("react.provider"),zc=Symbol.for("react.context"),Dc=Symbol.for("react.forward_ref"),Mc=Symbol.for("react.suspense"),$c=Symbol.for("react.memo"),Bc=Symbol.for("react.lazy"),Ga=Symbol.iterator;function Uc(e){return e===null||typeof e!="object"?null:(e=Ga&&e[Ga]||e["@@iterator"],typeof e=="function"?e:null)}var ss={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},us=Object.assign,cs={};function vn(e,t,n){this.props=e,this.context=t,this.refs=cs,this.updater=n||ss}vn.prototype.isReactComponent={};vn.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")};vn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ds(){}ds.prototype=vn.prototype;function Yo(e,t,n){this.props=e,this.context=t,this.refs=cs,this.updater=n||ss}var Xo=Yo.prototype=new ds;Xo.constructor=Yo;us(Xo,vn.prototype);Xo.isPureReactComponent=!0;var Qa=Array.isArray,ps=Object.prototype.hasOwnProperty,qo={current:null},fs={key:!0,ref:!0,__self:!0,__source:!0};function gs(e,t,n){var r,l={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)ps.call(t,r)&&!fs.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var i=Array(s),c=0;c<s;c++)i[c]=arguments[c+2];l.children=i}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:or,type:e,key:o,ref:a,props:l,_owner:qo.current}}function Hc(e,t){return{$$typeof:or,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Jo(e){return typeof e=="object"&&e!==null&&e.$$typeof===or}function Vc(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Za=/\/+/g;function Al(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Vc(""+e.key):t.toString(36)}function Nr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case or:case Rc:a=!0}}if(a)return a=e,l=l(a),e=r===""?"."+Al(a,0):r,Qa(l)?(n="",e!=null&&(n=e.replace(Za,"$&/")+"/"),Nr(l,t,n,"",function(c){return c})):l!=null&&(Jo(l)&&(l=Hc(l,n+(!l.key||a&&a.key===l.key?"":(""+l.key).replace(Za,"$&/")+"/")+e)),t.push(l)),1;if(a=0,r=r===""?".":r+":",Qa(e))for(var s=0;s<e.length;s++){o=e[s];var i=r+Al(o,s);a+=Nr(o,t,n,i,l)}else if(i=Uc(e),typeof i=="function")for(e=i.call(e),s=0;!(o=e.next()).done;)o=o.value,i=r+Al(o,s++),a+=Nr(o,t,n,i,l);else if(o==="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 a}function cr(e,t,n){if(e==null)return e;var r=[],l=0;return Nr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function Wc(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 pe={current:null},Lr={transition:null},Gc={ReactCurrentDispatcher:pe,ReactCurrentBatchConfig:Lr,ReactCurrentOwner:qo};function ys(){throw Error("act(...) is not supported in production builds of React.")}P.Children={map:cr,forEach:function(e,t,n){cr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return cr(e,function(){t++}),t},toArray:function(e){return cr(e,function(t){return t})||[]},only:function(e){if(!Jo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};P.Component=vn;P.Fragment=jc;P.Profiler=Ic;P.PureComponent=Yo;P.StrictMode=Pc;P.Suspense=Mc;P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gc;P.act=ys;P.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=us({},e.props),l=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=qo.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(i in t)ps.call(t,i)&&!fs.hasOwnProperty(i)&&(r[i]=t[i]===void 0&&s!==void 0?s[i]:t[i])}var i=arguments.length-2;if(i===1)r.children=n;else if(1<i){s=Array(i);for(var c=0;c<i;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:or,type:e.type,key:l,ref:o,props:r,_owner:a}};P.createContext=function(e){return e={$$typeof:zc,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Oc,_context:e},e.Consumer=e};P.createElement=gs;P.createFactory=function(e){var t=gs.bind(null,e);return t.type=e,t};P.createRef=function(){return{current:null}};P.forwardRef=function(e){return{$$typeof:Dc,render:e}};P.isValidElement=Jo;P.lazy=function(e){return{$$typeof:Bc,_payload:{_status:-1,_result:e},_init:Wc}};P.memo=function(e,t){return{$$typeof:$c,type:e,compare:t===void 0?null:t}};P.startTransition=function(e){var t=Lr.transition;Lr.transition={};try{e()}finally{Lr.transition=t}};P.unstable_act=ys;P.useCallback=function(e,t){return pe.current.useCallback(e,t)};P.useContext=function(e){return pe.current.useContext(e)};P.useDebugValue=function(){};P.useDeferredValue=function(e){return pe.current.useDeferredValue(e)};P.useEffect=function(e,t){return pe.current.useEffect(e,t)};P.useId=function(){return pe.current.useId()};P.useImperativeHandle=function(e,t,n){return pe.current.useImperativeHandle(e,t,n)};P.useInsertionEffect=function(e,t){return pe.current.useInsertionEffect(e,t)};P.useLayoutEffect=function(e,t){return pe.current.useLayoutEffect(e,t)};P.useMemo=function(e,t){return pe.current.useMemo(e,t)};P.useReducer=function(e,t,n){return pe.current.useReducer(e,t,n)};P.useRef=function(e){return pe.current.useRef(e)};P.useState=function(e){return pe.current.useState(e)};P.useSyncExternalStore=function(e,t,n){return pe.current.useSyncExternalStore(e,t,n)};P.useTransition=function(){return pe.current.useTransition()};P.version="18.3.1";is.exports=P;var O=is.exports;const ea=Tc(O);/**
10
+ * @license React
11
+ * react-jsx-runtime.production.min.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var Qc=O,Zc=Symbol.for("react.element"),Kc=Symbol.for("react.fragment"),Yc=Object.prototype.hasOwnProperty,Xc=Qc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qc={key:!0,ref:!0,__self:!0,__source:!0};function ms(e,t,n){var r,l={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)Yc.call(t,r)&&!qc.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:Zc,type:e,key:o,ref:a,props:l,_owner:Xc.current}}cl.Fragment=Kc;cl.jsx=ms;cl.jsxs=ms;as.exports=cl;var k=as.exports,to={},hs={exports:{}},Ee={},vs={exports:{}},ws={};/**
18
+ * @license React
19
+ * scheduler.production.min.js
20
+ *
21
+ * Copyright (c) Facebook, Inc. and its affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */(function(e){function t(L,R){var T=L.length;L.push(R);e:for(;0<T;){var M=T-1>>>1,W=L[M];if(0<l(W,R))L[M]=R,L[T]=W,T=M;else break e}}function n(L){return L.length===0?null:L[0]}function r(L){if(L.length===0)return null;var R=L[0],T=L.pop();if(T!==R){L[0]=T;e:for(var M=0,W=L.length,Xe=W>>>1;M<Xe;){var Ie=2*(M+1)-1,Vt=L[Ie],Oe=Ie+1,qe=L[Oe];if(0>l(Vt,T))Oe<W&&0>l(qe,Vt)?(L[M]=qe,L[Oe]=T,M=Oe):(L[M]=Vt,L[Ie]=T,M=Ie);else if(Oe<W&&0>l(qe,T))L[M]=qe,L[Oe]=T,M=Oe;else break e}}return R}function l(L,R){var T=L.sortIndex-R.sortIndex;return T!==0?T:L.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var i=[],c=[],m=1,g=null,h=3,w=!1,f=!1,y=!1,v=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,u=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(L){for(var R=n(c);R!==null;){if(R.callback===null)r(c);else if(R.startTime<=L)r(c),R.sortIndex=R.expirationTime,t(i,R);else break;R=n(c)}}function x(L){if(y=!1,p(L),!f)if(n(i)!==null)f=!0,Ve(S);else{var R=n(c);R!==null&&ut(x,R.startTime-L)}}function S(L,R){f=!1,y&&(y=!1,d(N),N=-1),w=!0;var T=h;try{for(p(R),g=n(i);g!==null&&(!(g.expirationTime>R)||L&&!H());){var M=g.callback;if(typeof M=="function"){g.callback=null,h=g.priorityLevel;var W=M(g.expirationTime<=R);R=e.unstable_now(),typeof W=="function"?g.callback=W:g===n(i)&&r(i),p(R)}else r(i);g=n(i)}if(g!==null)var Xe=!0;else{var Ie=n(c);Ie!==null&&ut(x,Ie.startTime-R),Xe=!1}return Xe}finally{g=null,h=T,w=!1}}var C=!1,E=null,N=-1,j=5,F=-1;function H(){return!(e.unstable_now()-F<j)}function D(){if(E!==null){var L=e.unstable_now();F=L;var R=!0;try{R=E(!0,L)}finally{R?Pe():(C=!1,E=null)}}else C=!1}var Pe;if(typeof u=="function")Pe=function(){u(D)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,Ne=q.port2;q.port1.onmessage=D,Pe=function(){Ne.postMessage(null)}}else Pe=function(){v(D,0)};function Ve(L){E=L,C||(C=!0,Pe())}function ut(L,R){N=v(function(){L(e.unstable_now())},R)}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(L){L.callback=null},e.unstable_continueExecution=function(){f||w||(f=!0,Ve(S))},e.unstable_forceFrameRate=function(L){0>L||125<L?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<L?Math.floor(1e3/L):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(i)},e.unstable_next=function(L){switch(h){case 1:case 2:case 3:var R=3;break;default:R=h}var T=h;h=R;try{return L()}finally{h=T}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(L,R){switch(L){case 1:case 2:case 3:case 4:case 5:break;default:L=3}var T=h;h=L;try{return R()}finally{h=T}},e.unstable_scheduleCallback=function(L,R,T){var M=e.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?M+T:M):T=M,L){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=T+W,L={id:m++,callback:R,priorityLevel:L,startTime:T,expirationTime:W,sortIndex:-1},T>M?(L.sortIndex=T,t(c,L),n(i)===null&&L===n(c)&&(y?(d(N),N=-1):y=!0,ut(x,T-M))):(L.sortIndex=W,t(i,L),f||w||(f=!0,Ve(S))),L},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(L){var R=h;return function(){var T=h;h=R;try{return L.apply(this,arguments)}finally{h=T}}}})(ws);vs.exports=ws;var Jc=vs.exports;/**
26
+ * @license React
27
+ * react-dom.production.min.js
28
+ *
29
+ * Copyright (c) Facebook, Inc. and its affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var ed=O,be=Jc;function _(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 xs=new Set,Un={};function Ut(e,t){dn(e,t),dn(e+"Capture",t)}function dn(e,t){for(Un[e]=t,e=0;e<t.length;e++)xs.add(t[e])}var lt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),no=Object.prototype.hasOwnProperty,td=/^[: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]*$/,Ka={},Ya={};function nd(e){return no.call(Ya,e)?!0:no.call(Ka,e)?!1:td.test(e)?Ya[e]=!0:(Ka[e]=!0,!1)}function rd(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 ld(e,t,n,r){if(t===null||typeof t>"u"||rd(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 fe(e,t,n,r,l,o,a){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=o,this.removeEmptyString=a}var oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){oe[e]=new fe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];oe[t]=new fe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){oe[e]=new fe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){oe[e]=new fe(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){oe[e]=new fe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){oe[e]=new fe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){oe[e]=new fe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){oe[e]=new fe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){oe[e]=new fe(e,5,!1,e.toLowerCase(),null,!1,!1)});var ta=/[\-:]([a-z])/g;function na(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(ta,na);oe[t]=new fe(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(ta,na);oe[t]=new fe(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(ta,na);oe[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){oe[e]=new fe(e,1,!1,e.toLowerCase(),null,!1,!1)});oe.xlinkHref=new fe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){oe[e]=new fe(e,1,!1,e.toLowerCase(),null,!0,!0)});function ra(e,t,n,r){var l=oe.hasOwnProperty(t)?oe[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ld(t,n,l,r)&&(n=null),r||l===null?nd(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 st=ed.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,dr=Symbol.for("react.element"),Gt=Symbol.for("react.portal"),Qt=Symbol.for("react.fragment"),la=Symbol.for("react.strict_mode"),ro=Symbol.for("react.profiler"),ks=Symbol.for("react.provider"),Ss=Symbol.for("react.context"),oa=Symbol.for("react.forward_ref"),lo=Symbol.for("react.suspense"),oo=Symbol.for("react.suspense_list"),aa=Symbol.for("react.memo"),dt=Symbol.for("react.lazy"),bs=Symbol.for("react.offscreen"),Xa=Symbol.iterator;function kn(e){return e===null||typeof e!="object"?null:(e=Xa&&e[Xa]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Object.assign,Fl;function An(e){if(Fl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Fl=t&&t[1]||""}return`
34
+ `+Fl+e}var Tl=!1;function Rl(e,t){if(!e||Tl)return"";Tl=!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(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(`
35
+ `),o=r.stack.split(`
36
+ `),a=l.length-1,s=o.length-1;1<=a&&0<=s&&l[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(l[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||l[a]!==o[s]){var i=`
37
+ `+l[a].replace(" at new "," at ");return e.displayName&&i.includes("<anonymous>")&&(i=i.replace("<anonymous>",e.displayName)),i}while(1<=a&&0<=s);break}}}finally{Tl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?An(e):""}function od(e){switch(e.tag){case 5:return An(e.type);case 16:return An("Lazy");case 13:return An("Suspense");case 19:return An("SuspenseList");case 0:case 2:case 15:return e=Rl(e.type,!1),e;case 11:return e=Rl(e.type.render,!1),e;case 1:return e=Rl(e.type,!0),e;default:return""}}function ao(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 Qt:return"Fragment";case Gt:return"Portal";case ro:return"Profiler";case la:return"StrictMode";case lo:return"Suspense";case oo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ss:return(e.displayName||"Context")+".Consumer";case ks:return(e._context.displayName||"Context")+".Provider";case oa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case aa:return t=e.displayName||null,t!==null?t:ao(e.type)||"Memo";case dt:t=e._payload,e=e._init;try{return ao(e(t))}catch{}}return null}function ad(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 ao(t);case 8:return t===la?"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 _t(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Es(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function id(e){var t=Es(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,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pr(e){e._valueTracker||(e._valueTracker=id(e))}function _s(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Es(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mr(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 io(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function qa(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=_t(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 Cs(e,t){t=t.checked,t!=null&&ra(e,"checked",t,!1)}function so(e,t){Cs(e,t);var n=_t(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")?uo(e,t.type,n):t.hasOwnProperty("defaultValue")&&uo(e,t.type,_t(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ja(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 uo(e,t,n){(t!=="number"||Mr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Fn=Array.isArray;function ln(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=""+_t(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 co(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ei(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(Fn(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:_t(n)}}function Ns(e,t){var n=_t(t.value),r=_t(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 ti(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Ls(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 po(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Ls(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var fr,As=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(fr=fr||document.createElement("div"),fr.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var jn={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},sd=["Webkit","ms","Moz","O"];Object.keys(jn).forEach(function(e){sd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jn[t]=jn[e]})});function Fs(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||jn.hasOwnProperty(e)&&jn[e]?(""+t).trim():t+"px"}function Ts(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Fs(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var ud=Z({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 fo(e,t){if(t){if(ud[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function go(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 yo=null;function ia(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mo=null,on=null,an=null;function ni(e){if(e=sr(e)){if(typeof mo!="function")throw Error(_(280));var t=e.stateNode;t&&(t=yl(t),mo(e.stateNode,e.type,t))}}function Rs(e){on?an?an.push(e):an=[e]:on=e}function js(){if(on){var e=on,t=an;if(an=on=null,ni(e),t)for(e=0;e<t.length;e++)ni(t[e])}}function Ps(e,t){return e(t)}function Is(){}var jl=!1;function Os(e,t,n){if(jl)return e(t,n);jl=!0;try{return Ps(e,t,n)}finally{jl=!1,(on!==null||an!==null)&&(Is(),js())}}function Vn(e,t){var n=e.stateNode;if(n===null)return null;var r=yl(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(_(231,t,typeof n));return n}var ho=!1;if(lt)try{var Sn={};Object.defineProperty(Sn,"passive",{get:function(){ho=!0}}),window.addEventListener("test",Sn,Sn),window.removeEventListener("test",Sn,Sn)}catch{ho=!1}function cd(e,t,n,r,l,o,a,s,i){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(m){this.onError(m)}}var Pn=!1,$r=null,Br=!1,vo=null,dd={onError:function(e){Pn=!0,$r=e}};function pd(e,t,n,r,l,o,a,s,i){Pn=!1,$r=null,cd.apply(dd,arguments)}function fd(e,t,n,r,l,o,a,s,i){if(pd.apply(this,arguments),Pn){if(Pn){var c=$r;Pn=!1,$r=null}else throw Error(_(198));Br||(Br=!0,vo=c)}}function Ht(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 zs(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 ri(e){if(Ht(e)!==e)throw Error(_(188))}function gd(e){var t=e.alternate;if(!t){if(t=Ht(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return ri(l),e;if(o===r)return ri(l),t;o=o.sibling}throw Error(_(188))}if(n.return!==r.return)n=l,r=o;else{for(var a=!1,s=l.child;s;){if(s===n){a=!0,n=l,r=o;break}if(s===r){a=!0,r=l,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,r=l;break}if(s===r){a=!0,r=o,n=l;break}s=s.sibling}if(!a)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function Ds(e){return e=gd(e),e!==null?Ms(e):null}function Ms(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ms(e);if(t!==null)return t;e=e.sibling}return null}var $s=be.unstable_scheduleCallback,li=be.unstable_cancelCallback,yd=be.unstable_shouldYield,md=be.unstable_requestPaint,Y=be.unstable_now,hd=be.unstable_getCurrentPriorityLevel,sa=be.unstable_ImmediatePriority,Bs=be.unstable_UserBlockingPriority,Ur=be.unstable_NormalPriority,vd=be.unstable_LowPriority,Us=be.unstable_IdlePriority,dl=null,Ze=null;function wd(e){if(Ze&&typeof Ze.onCommitFiberRoot=="function")try{Ze.onCommitFiberRoot(dl,e,void 0,(e.current.flags&128)===128)}catch{}}var Be=Math.clz32?Math.clz32:Sd,xd=Math.log,kd=Math.LN2;function Sd(e){return e>>>=0,e===0?32:31-(xd(e)/kd|0)|0}var gr=64,yr=4194304;function Tn(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 Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~l;s!==0?r=Tn(s):(o&=a,o!==0&&(r=Tn(o)))}else a=n&~l,a!==0?r=Tn(a):o!==0&&(r=Tn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&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-Be(t),l=1<<n,r|=e[n],t&=~l;return r}function bd(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 Ed(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-Be(o),s=1<<a,i=l[a];i===-1?(!(s&n)||s&r)&&(l[a]=bd(s,t)):i<=t&&(e.expiredLanes|=s),o&=~s}}function wo(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Hs(){var e=gr;return gr<<=1,!(gr&4194240)&&(gr=64),e}function Pl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ar(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Be(t),e[t]=n}function _d(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-Be(n),o=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~o}}function ua(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Be(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var z=0;function Vs(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Ws,ca,Gs,Qs,Zs,xo=!1,mr=[],ht=null,vt=null,wt=null,Wn=new Map,Gn=new Map,ft=[],Cd="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 oi(e,t){switch(e){case"focusin":case"focusout":ht=null;break;case"dragenter":case"dragleave":vt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":Wn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gn.delete(t.pointerId)}}function bn(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},t!==null&&(t=sr(t),t!==null&&ca(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function Nd(e,t,n,r,l){switch(t){case"focusin":return ht=bn(ht,e,t,n,r,l),!0;case"dragenter":return vt=bn(vt,e,t,n,r,l),!0;case"mouseover":return wt=bn(wt,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return Wn.set(o,bn(Wn.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,Gn.set(o,bn(Gn.get(o)||null,e,t,n,r,l)),!0}return!1}function Ks(e){var t=Rt(e.target);if(t!==null){var n=Ht(t);if(n!==null){if(t=n.tag,t===13){if(t=zs(n),t!==null){e.blockedOn=t,Zs(e.priority,function(){Gs(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 Ar(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ko(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);yo=r,n.target.dispatchEvent(r),yo=null}else return t=sr(n),t!==null&&ca(t),e.blockedOn=n,!1;t.shift()}return!0}function ai(e,t,n){Ar(e)&&n.delete(t)}function Ld(){xo=!1,ht!==null&&Ar(ht)&&(ht=null),vt!==null&&Ar(vt)&&(vt=null),wt!==null&&Ar(wt)&&(wt=null),Wn.forEach(ai),Gn.forEach(ai)}function En(e,t){e.blockedOn===t&&(e.blockedOn=null,xo||(xo=!0,be.unstable_scheduleCallback(be.unstable_NormalPriority,Ld)))}function Qn(e){function t(l){return En(l,e)}if(0<mr.length){En(mr[0],e);for(var n=1;n<mr.length;n++){var r=mr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(ht!==null&&En(ht,e),vt!==null&&En(vt,e),wt!==null&&En(wt,e),Wn.forEach(t),Gn.forEach(t),n=0;n<ft.length;n++)r=ft[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&(n=ft[0],n.blockedOn===null);)Ks(n),n.blockedOn===null&&ft.shift()}var sn=st.ReactCurrentBatchConfig,Vr=!0;function Ad(e,t,n,r){var l=z,o=sn.transition;sn.transition=null;try{z=1,da(e,t,n,r)}finally{z=l,sn.transition=o}}function Fd(e,t,n,r){var l=z,o=sn.transition;sn.transition=null;try{z=4,da(e,t,n,r)}finally{z=l,sn.transition=o}}function da(e,t,n,r){if(Vr){var l=ko(e,t,n,r);if(l===null)Vl(e,t,r,Wr,n),oi(e,r);else if(Nd(l,e,t,n,r))r.stopPropagation();else if(oi(e,r),t&4&&-1<Cd.indexOf(e)){for(;l!==null;){var o=sr(l);if(o!==null&&Ws(o),o=ko(e,t,n,r),o===null&&Vl(e,t,r,Wr,n),o===l)break;l=o}l!==null&&r.stopPropagation()}else Vl(e,t,r,null,n)}}var Wr=null;function ko(e,t,n,r){if(Wr=null,e=ia(r),e=Rt(e),e!==null)if(t=Ht(e),t===null)e=null;else if(n=t.tag,n===13){if(e=zs(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 Wr=e,null}function Ys(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(hd()){case sa:return 1;case Bs:return 4;case Ur:case vd:return 16;case Us:return 536870912;default:return 16}default:return 16}}var yt=null,pa=null,Fr=null;function Xs(){if(Fr)return Fr;var e,t=pa,n=t.length,r,l="value"in yt?yt.value:yt.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===l[o-r];r++);return Fr=l.slice(e,1<r?1-r:void 0)}function Tr(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 hr(){return!0}function ii(){return!1}function _e(e){function t(n,r,l,o,a){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?hr:ii,this.isPropagationStopped=ii,this}return Z(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=hr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=hr)},persist:function(){},isPersistent:hr}),t}var wn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fa=_e(wn),ir=Z({},wn,{view:0,detail:0}),Td=_e(ir),Il,Ol,_n,pl=Z({},ir,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ga,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!==_n&&(_n&&e.type==="mousemove"?(Il=e.screenX-_n.screenX,Ol=e.screenY-_n.screenY):Ol=Il=0,_n=e),Il)},movementY:function(e){return"movementY"in e?e.movementY:Ol}}),si=_e(pl),Rd=Z({},pl,{dataTransfer:0}),jd=_e(Rd),Pd=Z({},ir,{relatedTarget:0}),zl=_e(Pd),Id=Z({},wn,{animationName:0,elapsedTime:0,pseudoElement:0}),Od=_e(Id),zd=Z({},wn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dd=_e(zd),Md=Z({},wn,{data:0}),ui=_e(Md),$d={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bd={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"},Ud={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Hd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ud[e])?!!t[e]:!1}function ga(){return Hd}var Vd=Z({},ir,{key:function(e){if(e.key){var t=$d[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Tr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Bd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ga,charCode:function(e){return e.type==="keypress"?Tr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Tr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Wd=_e(Vd),Gd=Z({},pl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ci=_e(Gd),Qd=Z({},ir,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ga}),Zd=_e(Qd),Kd=Z({},wn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Yd=_e(Kd),Xd=Z({},pl,{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}),qd=_e(Xd),Jd=[9,13,27,32],ya=lt&&"CompositionEvent"in window,In=null;lt&&"documentMode"in document&&(In=document.documentMode);var ep=lt&&"TextEvent"in window&&!In,qs=lt&&(!ya||In&&8<In&&11>=In),di=" ",pi=!1;function Js(e,t){switch(e){case"keyup":return Jd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Zt=!1;function tp(e,t){switch(e){case"compositionend":return eu(t);case"keypress":return t.which!==32?null:(pi=!0,di);case"textInput":return e=t.data,e===di&&pi?null:e;default:return null}}function np(e,t){if(Zt)return e==="compositionend"||!ya&&Js(e,t)?(e=Xs(),Fr=pa=yt=null,Zt=!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 qs&&t.locale!=="ko"?null:t.data;default:return null}}var rp={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 fi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!rp[e.type]:t==="textarea"}function tu(e,t,n,r){Rs(r),t=Gr(t,"onChange"),0<t.length&&(n=new fa("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var On=null,Zn=null;function lp(e){pu(e,0)}function fl(e){var t=Xt(e);if(_s(t))return e}function op(e,t){if(e==="change")return t}var nu=!1;if(lt){var Dl;if(lt){var Ml="oninput"in document;if(!Ml){var gi=document.createElement("div");gi.setAttribute("oninput","return;"),Ml=typeof gi.oninput=="function"}Dl=Ml}else Dl=!1;nu=Dl&&(!document.documentMode||9<document.documentMode)}function yi(){On&&(On.detachEvent("onpropertychange",ru),Zn=On=null)}function ru(e){if(e.propertyName==="value"&&fl(Zn)){var t=[];tu(t,Zn,e,ia(e)),Os(lp,t)}}function ap(e,t,n){e==="focusin"?(yi(),On=t,Zn=n,On.attachEvent("onpropertychange",ru)):e==="focusout"&&yi()}function ip(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fl(Zn)}function sp(e,t){if(e==="click")return fl(t)}function up(e,t){if(e==="input"||e==="change")return fl(t)}function cp(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var He=typeof Object.is=="function"?Object.is:cp;function Kn(e,t){if(He(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(!no.call(t,l)||!He(e[l],t[l]))return!1}return!0}function mi(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hi(e,t){var n=mi(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=mi(n)}}function lu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ou(){for(var e=window,t=Mr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mr(e.document)}return t}function ma(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 dp(e){var t=ou(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lu(n.ownerDocument.documentElement,n)){if(r!==null&&ma(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,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=hi(n,o);var a=hi(n,r);l&&a&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 pp=lt&&"documentMode"in document&&11>=document.documentMode,Kt=null,So=null,zn=null,bo=!1;function vi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;bo||Kt==null||Kt!==Mr(r)||(r=Kt,"selectionStart"in r&&ma(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}),zn&&Kn(zn,r)||(zn=r,r=Gr(So,"onSelect"),0<r.length&&(t=new fa("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Kt)))}function vr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Yt={animationend:vr("Animation","AnimationEnd"),animationiteration:vr("Animation","AnimationIteration"),animationstart:vr("Animation","AnimationStart"),transitionend:vr("Transition","TransitionEnd")},$l={},au={};lt&&(au=document.createElement("div").style,"AnimationEvent"in window||(delete Yt.animationend.animation,delete Yt.animationiteration.animation,delete Yt.animationstart.animation),"TransitionEvent"in window||delete Yt.transitionend.transition);function gl(e){if($l[e])return $l[e];if(!Yt[e])return e;var t=Yt[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in au)return $l[e]=t[n];return e}var iu=gl("animationend"),su=gl("animationiteration"),uu=gl("animationstart"),cu=gl("transitionend"),du=new Map,wi="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 Nt(e,t){du.set(e,t),Ut(t,[e])}for(var Bl=0;Bl<wi.length;Bl++){var Ul=wi[Bl],fp=Ul.toLowerCase(),gp=Ul[0].toUpperCase()+Ul.slice(1);Nt(fp,"on"+gp)}Nt(iu,"onAnimationEnd");Nt(su,"onAnimationIteration");Nt(uu,"onAnimationStart");Nt("dblclick","onDoubleClick");Nt("focusin","onFocus");Nt("focusout","onBlur");Nt(cu,"onTransitionEnd");dn("onMouseEnter",["mouseout","mouseover"]);dn("onMouseLeave",["mouseout","mouseover"]);dn("onPointerEnter",["pointerout","pointerover"]);dn("onPointerLeave",["pointerout","pointerover"]);Ut("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Ut("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ut("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ut("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ut("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ut("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rn="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(" "),yp=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rn));function xi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,fd(r,t,void 0,e),e.currentTarget=null}function pu(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 o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],i=s.instance,c=s.currentTarget;if(s=s.listener,i!==o&&l.isPropagationStopped())break e;xi(l,s,c),o=i}else for(a=0;a<r.length;a++){if(s=r[a],i=s.instance,c=s.currentTarget,s=s.listener,i!==o&&l.isPropagationStopped())break e;xi(l,s,c),o=i}}}if(Br)throw e=vo,Br=!1,vo=null,e}function B(e,t){var n=t[Lo];n===void 0&&(n=t[Lo]=new Set);var r=e+"__bubble";n.has(r)||(fu(t,e,2,!1),n.add(r))}function Hl(e,t,n){var r=0;t&&(r|=4),fu(n,e,r,t)}var wr="_reactListening"+Math.random().toString(36).slice(2);function Yn(e){if(!e[wr]){e[wr]=!0,xs.forEach(function(n){n!=="selectionchange"&&(yp.has(n)||Hl(n,!1,e),Hl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wr]||(t[wr]=!0,Hl("selectionchange",!1,t))}}function fu(e,t,n,r){switch(Ys(t)){case 1:var l=Ad;break;case 4:l=Fd;break;default:l=da}n=l.bind(null,t,n,e),l=void 0,!ho||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 Vl(e,t,n,r,l){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;if(s===l||s.nodeType===8&&s.parentNode===l)break;if(a===4)for(a=r.return;a!==null;){var i=a.tag;if((i===3||i===4)&&(i=a.stateNode.containerInfo,i===l||i.nodeType===8&&i.parentNode===l))return;a=a.return}for(;s!==null;){if(a=Rt(s),a===null)return;if(i=a.tag,i===5||i===6){r=o=a;continue e}s=s.parentNode}}r=r.return}Os(function(){var c=o,m=ia(n),g=[];e:{var h=du.get(e);if(h!==void 0){var w=fa,f=e;switch(e){case"keypress":if(Tr(n)===0)break e;case"keydown":case"keyup":w=Wd;break;case"focusin":f="focus",w=zl;break;case"focusout":f="blur",w=zl;break;case"beforeblur":case"afterblur":w=zl;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":w=si;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":w=jd;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":w=Zd;break;case iu:case su:case uu:w=Od;break;case cu:w=Yd;break;case"scroll":w=Td;break;case"wheel":w=qd;break;case"copy":case"cut":case"paste":w=Dd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":w=ci}var y=(t&4)!==0,v=!y&&e==="scroll",d=y?h!==null?h+"Capture":null:h;y=[];for(var u=c,p;u!==null;){p=u;var x=p.stateNode;if(p.tag===5&&x!==null&&(p=x,d!==null&&(x=Vn(u,d),x!=null&&y.push(Xn(u,x,p)))),v)break;u=u.return}0<y.length&&(h=new w(h,f,null,n,m),g.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",w=e==="mouseout"||e==="pointerout",h&&n!==yo&&(f=n.relatedTarget||n.fromElement)&&(Rt(f)||f[ot]))break e;if((w||h)&&(h=m.window===m?m:(h=m.ownerDocument)?h.defaultView||h.parentWindow:window,w?(f=n.relatedTarget||n.toElement,w=c,f=f?Rt(f):null,f!==null&&(v=Ht(f),f!==v||f.tag!==5&&f.tag!==6)&&(f=null)):(w=null,f=c),w!==f)){if(y=si,x="onMouseLeave",d="onMouseEnter",u="mouse",(e==="pointerout"||e==="pointerover")&&(y=ci,x="onPointerLeave",d="onPointerEnter",u="pointer"),v=w==null?h:Xt(w),p=f==null?h:Xt(f),h=new y(x,u+"leave",w,n,m),h.target=v,h.relatedTarget=p,x=null,Rt(m)===c&&(y=new y(d,u+"enter",f,n,m),y.target=p,y.relatedTarget=v,x=y),v=x,w&&f)t:{for(y=w,d=f,u=0,p=y;p;p=Wt(p))u++;for(p=0,x=d;x;x=Wt(x))p++;for(;0<u-p;)y=Wt(y),u--;for(;0<p-u;)d=Wt(d),p--;for(;u--;){if(y===d||d!==null&&y===d.alternate)break t;y=Wt(y),d=Wt(d)}y=null}else y=null;w!==null&&ki(g,h,w,y,!1),f!==null&&v!==null&&ki(g,v,f,y,!0)}}e:{if(h=c?Xt(c):window,w=h.nodeName&&h.nodeName.toLowerCase(),w==="select"||w==="input"&&h.type==="file")var S=op;else if(fi(h))if(nu)S=up;else{S=ip;var C=ap}else(w=h.nodeName)&&w.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=sp);if(S&&(S=S(e,c))){tu(g,S,n,m);break e}C&&C(e,h,c),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&uo(h,"number",h.value)}switch(C=c?Xt(c):window,e){case"focusin":(fi(C)||C.contentEditable==="true")&&(Kt=C,So=c,zn=null);break;case"focusout":zn=So=Kt=null;break;case"mousedown":bo=!0;break;case"contextmenu":case"mouseup":case"dragend":bo=!1,vi(g,n,m);break;case"selectionchange":if(pp)break;case"keydown":case"keyup":vi(g,n,m)}var E;if(ya)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Zt?Js(e,n)&&(N="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(N="onCompositionStart");N&&(qs&&n.locale!=="ko"&&(Zt||N!=="onCompositionStart"?N==="onCompositionEnd"&&Zt&&(E=Xs()):(yt=m,pa="value"in yt?yt.value:yt.textContent,Zt=!0)),C=Gr(c,N),0<C.length&&(N=new ui(N,e,null,n,m),g.push({event:N,listeners:C}),E?N.data=E:(E=eu(n),E!==null&&(N.data=E)))),(E=ep?tp(e,n):np(e,n))&&(c=Gr(c,"onBeforeInput"),0<c.length&&(m=new ui("onBeforeInput","beforeinput",null,n,m),g.push({event:m,listeners:c}),m.data=E))}pu(g,t)})}function Xn(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=Vn(e,n),o!=null&&r.unshift(Xn(e,o,l)),o=Vn(e,t),o!=null&&r.push(Xn(e,o,l))),e=e.return}return r}function Wt(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function ki(e,t,n,r,l){for(var o=t._reactName,a=[];n!==null&&n!==r;){var s=n,i=s.alternate,c=s.stateNode;if(i!==null&&i===r)break;s.tag===5&&c!==null&&(s=c,l?(i=Vn(n,o),i!=null&&a.unshift(Xn(n,i,s))):l||(i=Vn(n,o),i!=null&&a.push(Xn(n,i,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var mp=/\r\n?/g,hp=/\u0000|\uFFFD/g;function Si(e){return(typeof e=="string"?e:""+e).replace(mp,`
38
+ `).replace(hp,"")}function xr(e,t,n){if(t=Si(t),Si(e)!==t&&n)throw Error(_(425))}function Qr(){}var Eo=null,_o=null;function Co(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 No=typeof setTimeout=="function"?setTimeout:void 0,vp=typeof clearTimeout=="function"?clearTimeout:void 0,bi=typeof Promise=="function"?Promise:void 0,wp=typeof queueMicrotask=="function"?queueMicrotask:typeof bi<"u"?function(e){return bi.resolve(null).then(e).catch(xp)}:No;function xp(e){setTimeout(function(){throw e})}function Wl(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),Qn(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);Qn(t)}function xt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ei(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 xn=Math.random().toString(36).slice(2),Qe="__reactFiber$"+xn,qn="__reactProps$"+xn,ot="__reactContainer$"+xn,Lo="__reactEvents$"+xn,kp="__reactListeners$"+xn,Sp="__reactHandles$"+xn;function Rt(e){var t=e[Qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ot]||n[Qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ei(e);e!==null;){if(n=e[Qe])return n;e=Ei(e)}return t}e=n,n=e.parentNode}return null}function sr(e){return e=e[Qe]||e[ot],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Xt(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function yl(e){return e[qn]||null}var Ao=[],qt=-1;function Lt(e){return{current:e}}function U(e){0>qt||(e.current=Ao[qt],Ao[qt]=null,qt--)}function $(e,t){qt++,Ao[qt]=e.current,e.current=t}var Ct={},ue=Lt(Ct),me=Lt(!1),zt=Ct;function pn(e,t){var n=e.type.contextTypes;if(!n)return Ct;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Zr(){U(me),U(ue)}function _i(e,t,n){if(ue.current!==Ct)throw Error(_(168));$(ue,t),$(me,n)}function gu(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(_(108,ad(e)||"Unknown",l));return Z({},n,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ct,zt=ue.current,$(ue,e),$(me,me.current),!0}function Ci(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=gu(e,t,zt),r.__reactInternalMemoizedMergedChildContext=e,U(me),U(ue),$(ue,e)):U(me),$(me,n)}var et=null,ml=!1,Gl=!1;function yu(e){et===null?et=[e]:et.push(e)}function bp(e){ml=!0,yu(e)}function At(){if(!Gl&&et!==null){Gl=!0;var e=0,t=z;try{var n=et;for(z=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}et=null,ml=!1}catch(l){throw et!==null&&(et=et.slice(e+1)),$s(sa,At),l}finally{z=t,Gl=!1}}return null}var Jt=[],en=0,Yr=null,Xr=0,Le=[],Ae=0,Dt=null,tt=1,nt="";function Ft(e,t){Jt[en++]=Xr,Jt[en++]=Yr,Yr=e,Xr=t}function mu(e,t,n){Le[Ae++]=tt,Le[Ae++]=nt,Le[Ae++]=Dt,Dt=e;var r=tt;e=nt;var l=32-Be(r)-1;r&=~(1<<l),n+=1;var o=32-Be(t)+l;if(30<o){var a=l-l%5;o=(r&(1<<a)-1).toString(32),r>>=a,l-=a,tt=1<<32-Be(t)+l|n<<l|r,nt=o+e}else tt=1<<o|n<<l|r,nt=e}function ha(e){e.return!==null&&(Ft(e,1),mu(e,1,0))}function va(e){for(;e===Yr;)Yr=Jt[--en],Jt[en]=null,Xr=Jt[--en],Jt[en]=null;for(;e===Dt;)Dt=Le[--Ae],Le[Ae]=null,nt=Le[--Ae],Le[Ae]=null,tt=Le[--Ae],Le[Ae]=null}var Se=null,ke=null,V=!1,$e=null;function hu(e,t){var n=Fe(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 Ni(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,Se=e,ke=xt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Se=e,ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Dt!==null?{id:tt,overflow:nt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Fe(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Se=e,ke=null,!0):!1;default:return!1}}function Fo(e){return(e.mode&1)!==0&&(e.flags&128)===0}function To(e){if(V){var t=ke;if(t){var n=t;if(!Ni(e,t)){if(Fo(e))throw Error(_(418));t=xt(n.nextSibling);var r=Se;t&&Ni(e,t)?hu(r,n):(e.flags=e.flags&-4097|2,V=!1,Se=e)}}else{if(Fo(e))throw Error(_(418));e.flags=e.flags&-4097|2,V=!1,Se=e}}}function Li(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Se=e}function kr(e){if(e!==Se)return!1;if(!V)return Li(e),V=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Co(e.type,e.memoizedProps)),t&&(t=ke)){if(Fo(e))throw vu(),Error(_(418));for(;t;)hu(e,t),t=xt(t.nextSibling)}if(Li(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){ke=xt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}ke=null}}else ke=Se?xt(e.stateNode.nextSibling):null;return!0}function vu(){for(var e=ke;e;)e=xt(e.nextSibling)}function fn(){ke=Se=null,V=!1}function wa(e){$e===null?$e=[e]:$e.push(e)}var Ep=st.ReactCurrentBatchConfig;function Cn(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(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var l=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var s=l.refs;a===null?delete s[o]:s[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function Sr(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ai(e){var t=e._init;return t(e._payload)}function wu(e){function t(d,u){if(e){var p=d.deletions;p===null?(d.deletions=[u],d.flags|=16):p.push(u)}}function n(d,u){if(!e)return null;for(;u!==null;)t(d,u),u=u.sibling;return null}function r(d,u){for(d=new Map;u!==null;)u.key!==null?d.set(u.key,u):d.set(u.index,u),u=u.sibling;return d}function l(d,u){return d=Et(d,u),d.index=0,d.sibling=null,d}function o(d,u,p){return d.index=p,e?(p=d.alternate,p!==null?(p=p.index,p<u?(d.flags|=2,u):p):(d.flags|=2,u)):(d.flags|=1048576,u)}function a(d){return e&&d.alternate===null&&(d.flags|=2),d}function s(d,u,p,x){return u===null||u.tag!==6?(u=Jl(p,d.mode,x),u.return=d,u):(u=l(u,p),u.return=d,u)}function i(d,u,p,x){var S=p.type;return S===Qt?m(d,u,p.props.children,x,p.key):u!==null&&(u.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===dt&&Ai(S)===u.type)?(x=l(u,p.props),x.ref=Cn(d,u,p),x.return=d,x):(x=Dr(p.type,p.key,p.props,null,d.mode,x),x.ref=Cn(d,u,p),x.return=d,x)}function c(d,u,p,x){return u===null||u.tag!==4||u.stateNode.containerInfo!==p.containerInfo||u.stateNode.implementation!==p.implementation?(u=eo(p,d.mode,x),u.return=d,u):(u=l(u,p.children||[]),u.return=d,u)}function m(d,u,p,x,S){return u===null||u.tag!==7?(u=Ot(p,d.mode,x,S),u.return=d,u):(u=l(u,p),u.return=d,u)}function g(d,u,p){if(typeof u=="string"&&u!==""||typeof u=="number")return u=Jl(""+u,d.mode,p),u.return=d,u;if(typeof u=="object"&&u!==null){switch(u.$$typeof){case dr:return p=Dr(u.type,u.key,u.props,null,d.mode,p),p.ref=Cn(d,null,u),p.return=d,p;case Gt:return u=eo(u,d.mode,p),u.return=d,u;case dt:var x=u._init;return g(d,x(u._payload),p)}if(Fn(u)||kn(u))return u=Ot(u,d.mode,p,null),u.return=d,u;Sr(d,u)}return null}function h(d,u,p,x){var S=u!==null?u.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return S!==null?null:s(d,u,""+p,x);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case dr:return p.key===S?i(d,u,p,x):null;case Gt:return p.key===S?c(d,u,p,x):null;case dt:return S=p._init,h(d,u,S(p._payload),x)}if(Fn(p)||kn(p))return S!==null?null:m(d,u,p,x,null);Sr(d,p)}return null}function w(d,u,p,x,S){if(typeof x=="string"&&x!==""||typeof x=="number")return d=d.get(p)||null,s(u,d,""+x,S);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case dr:return d=d.get(x.key===null?p:x.key)||null,i(u,d,x,S);case Gt:return d=d.get(x.key===null?p:x.key)||null,c(u,d,x,S);case dt:var C=x._init;return w(d,u,p,C(x._payload),S)}if(Fn(x)||kn(x))return d=d.get(p)||null,m(u,d,x,S,null);Sr(u,x)}return null}function f(d,u,p,x){for(var S=null,C=null,E=u,N=u=0,j=null;E!==null&&N<p.length;N++){E.index>N?(j=E,E=null):j=E.sibling;var F=h(d,E,p[N],x);if(F===null){E===null&&(E=j);break}e&&E&&F.alternate===null&&t(d,E),u=o(F,u,N),C===null?S=F:C.sibling=F,C=F,E=j}if(N===p.length)return n(d,E),V&&Ft(d,N),S;if(E===null){for(;N<p.length;N++)E=g(d,p[N],x),E!==null&&(u=o(E,u,N),C===null?S=E:C.sibling=E,C=E);return V&&Ft(d,N),S}for(E=r(d,E);N<p.length;N++)j=w(E,d,N,p[N],x),j!==null&&(e&&j.alternate!==null&&E.delete(j.key===null?N:j.key),u=o(j,u,N),C===null?S=j:C.sibling=j,C=j);return e&&E.forEach(function(H){return t(d,H)}),V&&Ft(d,N),S}function y(d,u,p,x){var S=kn(p);if(typeof S!="function")throw Error(_(150));if(p=S.call(p),p==null)throw Error(_(151));for(var C=S=null,E=u,N=u=0,j=null,F=p.next();E!==null&&!F.done;N++,F=p.next()){E.index>N?(j=E,E=null):j=E.sibling;var H=h(d,E,F.value,x);if(H===null){E===null&&(E=j);break}e&&E&&H.alternate===null&&t(d,E),u=o(H,u,N),C===null?S=H:C.sibling=H,C=H,E=j}if(F.done)return n(d,E),V&&Ft(d,N),S;if(E===null){for(;!F.done;N++,F=p.next())F=g(d,F.value,x),F!==null&&(u=o(F,u,N),C===null?S=F:C.sibling=F,C=F);return V&&Ft(d,N),S}for(E=r(d,E);!F.done;N++,F=p.next())F=w(E,d,N,F.value,x),F!==null&&(e&&F.alternate!==null&&E.delete(F.key===null?N:F.key),u=o(F,u,N),C===null?S=F:C.sibling=F,C=F);return e&&E.forEach(function(D){return t(d,D)}),V&&Ft(d,N),S}function v(d,u,p,x){if(typeof p=="object"&&p!==null&&p.type===Qt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case dr:e:{for(var S=p.key,C=u;C!==null;){if(C.key===S){if(S=p.type,S===Qt){if(C.tag===7){n(d,C.sibling),u=l(C,p.props.children),u.return=d,d=u;break e}}else if(C.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===dt&&Ai(S)===C.type){n(d,C.sibling),u=l(C,p.props),u.ref=Cn(d,C,p),u.return=d,d=u;break e}n(d,C);break}else t(d,C);C=C.sibling}p.type===Qt?(u=Ot(p.props.children,d.mode,x,p.key),u.return=d,d=u):(x=Dr(p.type,p.key,p.props,null,d.mode,x),x.ref=Cn(d,u,p),x.return=d,d=x)}return a(d);case Gt:e:{for(C=p.key;u!==null;){if(u.key===C)if(u.tag===4&&u.stateNode.containerInfo===p.containerInfo&&u.stateNode.implementation===p.implementation){n(d,u.sibling),u=l(u,p.children||[]),u.return=d,d=u;break e}else{n(d,u);break}else t(d,u);u=u.sibling}u=eo(p,d.mode,x),u.return=d,d=u}return a(d);case dt:return C=p._init,v(d,u,C(p._payload),x)}if(Fn(p))return f(d,u,p,x);if(kn(p))return y(d,u,p,x);Sr(d,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,u!==null&&u.tag===6?(n(d,u.sibling),u=l(u,p),u.return=d,d=u):(n(d,u),u=Jl(p,d.mode,x),u.return=d,d=u),a(d)):n(d,u)}return v}var gn=wu(!0),xu=wu(!1),qr=Lt(null),Jr=null,tn=null,xa=null;function ka(){xa=tn=Jr=null}function Sa(e){var t=qr.current;U(qr),e._currentValue=t}function Ro(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 un(e,t){Jr=e,xa=tn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ye=!0),e.firstContext=null)}function Re(e){var t=e._currentValue;if(xa!==e)if(e={context:e,memoizedValue:t,next:null},tn===null){if(Jr===null)throw Error(_(308));tn=e,Jr.dependencies={lanes:0,firstContext:e}}else tn=tn.next=e;return t}var jt=null;function ba(e){jt===null?jt=[e]:jt.push(e)}function ku(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,ba(t)):(n.next=l.next,l.next=n),t.interleaved=n,at(e,r)}function at(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 pt=!1;function Ea(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Su(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 rt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function kt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,at(e,n)}return l=r.interleaved,l===null?(t.next=t,ba(r)):(t.next=l.next,l.next=t),r.interleaved=t,at(e,n)}function Rr(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,ua(e,n)}}function Fi(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,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 el(e,t,n,r){var l=e.updateQueue;pt=!1;var o=l.firstBaseUpdate,a=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var i=s,c=i.next;i.next=null,a===null?o=c:a.next=c,a=i;var m=e.alternate;m!==null&&(m=m.updateQueue,s=m.lastBaseUpdate,s!==a&&(s===null?m.firstBaseUpdate=c:s.next=c,m.lastBaseUpdate=i))}if(o!==null){var g=l.baseState;a=0,m=c=i=null,s=o;do{var h=s.lane,w=s.eventTime;if((r&h)===h){m!==null&&(m=m.next={eventTime:w,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var f=e,y=s;switch(h=t,w=n,y.tag){case 1:if(f=y.payload,typeof f=="function"){g=f.call(w,g,h);break e}g=f;break e;case 3:f.flags=f.flags&-65537|128;case 0:if(f=y.payload,h=typeof f=="function"?f.call(w,g,h):f,h==null)break e;g=Z({},g,h);break e;case 2:pt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[s]:h.push(s))}else w={eventTime:w,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},m===null?(c=m=w,i=g):m=m.next=w,a|=h;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;h=s,s=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(m===null&&(i=g),l.baseState=i,l.firstBaseUpdate=c,l.lastBaseUpdate=m,t=l.shared.interleaved,t!==null){l=t;do a|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);$t|=a,e.lanes=a,e.memoizedState=g}}function Ti(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(_(191,l));l.call(r)}}}var ur={},Ke=Lt(ur),Jn=Lt(ur),er=Lt(ur);function Pt(e){if(e===ur)throw Error(_(174));return e}function _a(e,t){switch($(er,t),$(Jn,e),$(Ke,ur),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:po(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=po(t,e)}U(Ke),$(Ke,t)}function yn(){U(Ke),U(Jn),U(er)}function bu(e){Pt(er.current);var t=Pt(Ke.current),n=po(t,e.type);t!==n&&($(Jn,e),$(Ke,n))}function Ca(e){Jn.current===e&&(U(Ke),U(Jn))}var G=Lt(0);function tl(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 Ql=[];function Na(){for(var e=0;e<Ql.length;e++)Ql[e]._workInProgressVersionPrimary=null;Ql.length=0}var jr=st.ReactCurrentDispatcher,Zl=st.ReactCurrentBatchConfig,Mt=0,Q=null,J=null,te=null,nl=!1,Dn=!1,tr=0,_p=0;function ae(){throw Error(_(321))}function La(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!He(e[n],t[n]))return!1;return!0}function Aa(e,t,n,r,l,o){if(Mt=o,Q=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,jr.current=e===null||e.memoizedState===null?Ap:Fp,e=n(r,l),Dn){o=0;do{if(Dn=!1,tr=0,25<=o)throw Error(_(301));o+=1,te=J=null,t.updateQueue=null,jr.current=Tp,e=n(r,l)}while(Dn)}if(jr.current=rl,t=J!==null&&J.next!==null,Mt=0,te=J=Q=null,nl=!1,t)throw Error(_(300));return e}function Fa(){var e=tr!==0;return tr=0,e}function Ge(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return te===null?Q.memoizedState=te=e:te=te.next=e,te}function je(){if(J===null){var e=Q.alternate;e=e!==null?e.memoizedState:null}else e=J.next;var t=te===null?Q.memoizedState:te.next;if(t!==null)te=t,J=e;else{if(e===null)throw Error(_(310));J=e,e={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null},te===null?Q.memoizedState=te=e:te=te.next=e}return te}function nr(e,t){return typeof t=="function"?t(e):t}function Kl(e){var t=je(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=J,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var a=l.next;l.next=o.next,o.next=a}r.baseQueue=l=o,n.pending=null}if(l!==null){o=l.next,r=r.baseState;var s=a=null,i=null,c=o;do{var m=c.lane;if((Mt&m)===m)i!==null&&(i=i.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var g={lane:m,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};i===null?(s=i=g,a=r):i=i.next=g,Q.lanes|=m,$t|=m}c=c.next}while(c!==null&&c!==o);i===null?a=r:i.next=s,He(r,t.memoizedState)||(ye=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=i,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do o=l.lane,Q.lanes|=o,$t|=o,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Yl(e){var t=je(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var a=l=l.next;do o=e(o,a.action),a=a.next;while(a!==l);He(o,t.memoizedState)||(ye=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Eu(){}function _u(e,t){var n=Q,r=je(),l=t(),o=!He(r.memoizedState,l);if(o&&(r.memoizedState=l,ye=!0),r=r.queue,Ta(Lu.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||te!==null&&te.memoizedState.tag&1){if(n.flags|=2048,rr(9,Nu.bind(null,n,r,l,t),void 0,null),ne===null)throw Error(_(349));Mt&30||Cu(n,t,l)}return l}function Cu(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Nu(e,t,n,r){t.value=n,t.getSnapshot=r,Au(t)&&Fu(e)}function Lu(e,t,n){return n(function(){Au(t)&&Fu(e)})}function Au(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!He(e,n)}catch{return!0}}function Fu(e){var t=at(e,1);t!==null&&Ue(t,e,1,-1)}function Ri(e){var t=Ge();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:nr,lastRenderedState:e},t.queue=e,e=e.dispatch=Lp.bind(null,Q,e),[t.memoizedState,e]}function rr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Q.updateQueue,t===null?(t={lastEffect:null,stores:null},Q.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 Tu(){return je().memoizedState}function Pr(e,t,n,r){var l=Ge();Q.flags|=e,l.memoizedState=rr(1|t,n,void 0,r===void 0?null:r)}function hl(e,t,n,r){var l=je();r=r===void 0?null:r;var o=void 0;if(J!==null){var a=J.memoizedState;if(o=a.destroy,r!==null&&La(r,a.deps)){l.memoizedState=rr(t,n,o,r);return}}Q.flags|=e,l.memoizedState=rr(1|t,n,o,r)}function ji(e,t){return Pr(8390656,8,e,t)}function Ta(e,t){return hl(2048,8,e,t)}function Ru(e,t){return hl(4,2,e,t)}function ju(e,t){return hl(4,4,e,t)}function Pu(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 Iu(e,t,n){return n=n!=null?n.concat([e]):null,hl(4,4,Pu.bind(null,t,e),n)}function Ra(){}function Ou(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&La(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zu(e,t){var n=je();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&La(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Du(e,t,n){return Mt&21?(He(n,t)||(n=Hs(),Q.lanes|=n,$t|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ye=!0),e.memoizedState=n)}function Cp(e,t){var n=z;z=n!==0&&4>n?n:4,e(!0);var r=Zl.transition;Zl.transition={};try{e(!1),t()}finally{z=n,Zl.transition=r}}function Mu(){return je().memoizedState}function Np(e,t,n){var r=bt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$u(e))Bu(t,n);else if(n=ku(e,t,n,r),n!==null){var l=de();Ue(n,e,r,l),Uu(n,t,r)}}function Lp(e,t,n){var r=bt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($u(e))Bu(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(l.hasEagerState=!0,l.eagerState=s,He(s,a)){var i=t.interleaved;i===null?(l.next=l,ba(t)):(l.next=i.next,i.next=l),t.interleaved=l;return}}catch{}finally{}n=ku(e,t,l,r),n!==null&&(l=de(),Ue(n,e,r,l),Uu(n,t,r))}}function $u(e){var t=e.alternate;return e===Q||t!==null&&t===Q}function Bu(e,t){Dn=nl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Uu(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ua(e,n)}}var rl={readContext:Re,useCallback:ae,useContext:ae,useEffect:ae,useImperativeHandle:ae,useInsertionEffect:ae,useLayoutEffect:ae,useMemo:ae,useReducer:ae,useRef:ae,useState:ae,useDebugValue:ae,useDeferredValue:ae,useTransition:ae,useMutableSource:ae,useSyncExternalStore:ae,useId:ae,unstable_isNewReconciler:!1},Ap={readContext:Re,useCallback:function(e,t){return Ge().memoizedState=[e,t===void 0?null:t],e},useContext:Re,useEffect:ji,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Pr(4194308,4,Pu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Pr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Pr(4,2,e,t)},useMemo:function(e,t){var n=Ge();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ge();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=Np.bind(null,Q,e),[r.memoizedState,e]},useRef:function(e){var t=Ge();return e={current:e},t.memoizedState=e},useState:Ri,useDebugValue:Ra,useDeferredValue:function(e){return Ge().memoizedState=e},useTransition:function(){var e=Ri(!1),t=e[0];return e=Cp.bind(null,e[1]),Ge().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Q,l=Ge();if(V){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),ne===null)throw Error(_(349));Mt&30||Cu(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ji(Lu.bind(null,r,o,e),[e]),r.flags|=2048,rr(9,Nu.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ge(),t=ne.identifierPrefix;if(V){var n=nt,r=tt;n=(r&~(1<<32-Be(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=tr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=_p++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Fp={readContext:Re,useCallback:Ou,useContext:Re,useEffect:Ta,useImperativeHandle:Iu,useInsertionEffect:Ru,useLayoutEffect:ju,useMemo:zu,useReducer:Kl,useRef:Tu,useState:function(){return Kl(nr)},useDebugValue:Ra,useDeferredValue:function(e){var t=je();return Du(t,J.memoizedState,e)},useTransition:function(){var e=Kl(nr)[0],t=je().memoizedState;return[e,t]},useMutableSource:Eu,useSyncExternalStore:_u,useId:Mu,unstable_isNewReconciler:!1},Tp={readContext:Re,useCallback:Ou,useContext:Re,useEffect:Ta,useImperativeHandle:Iu,useInsertionEffect:Ru,useLayoutEffect:ju,useMemo:zu,useReducer:Yl,useRef:Tu,useState:function(){return Yl(nr)},useDebugValue:Ra,useDeferredValue:function(e){var t=je();return J===null?t.memoizedState=e:Du(t,J.memoizedState,e)},useTransition:function(){var e=Yl(nr)[0],t=je().memoizedState;return[e,t]},useMutableSource:Eu,useSyncExternalStore:_u,useId:Mu,unstable_isNewReconciler:!1};function De(e,t){if(e&&e.defaultProps){t=Z({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function jo(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Z({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var vl={isMounted:function(e){return(e=e._reactInternals)?Ht(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=de(),l=bt(e),o=rt(r,l);o.payload=t,n!=null&&(o.callback=n),t=kt(e,o,l),t!==null&&(Ue(t,e,l,r),Rr(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=de(),l=bt(e),o=rt(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=kt(e,o,l),t!==null&&(Ue(t,e,l,r),Rr(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=de(),r=bt(e),l=rt(n,r);l.tag=2,t!=null&&(l.callback=t),t=kt(e,l,r),t!==null&&(Ue(t,e,r,n),Rr(t,e,r))}};function Pi(e,t,n,r,l,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!Kn(n,r)||!Kn(l,o):!0}function Hu(e,t,n){var r=!1,l=Ct,o=t.contextType;return typeof o=="object"&&o!==null?o=Re(o):(l=he(t)?zt:ue.current,r=t.contextTypes,o=(r=r!=null)?pn(e,l):Ct),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=vl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function Ii(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&&vl.enqueueReplaceState(t,t.state,null)}function Po(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Ea(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=Re(o):(o=he(t)?zt:ue.current,l.context=pn(e,o)),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(jo(e,t,o,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&&vl.enqueueReplaceState(l,l.state,null),el(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function mn(e,t){try{var n="",r=t;do n+=od(r),r=r.return;while(r);var l=n}catch(o){l=`
39
+ Error generating stack: `+o.message+`
40
+ `+o.stack}return{value:e,source:t,stack:l,digest:null}}function Xl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Io(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Rp=typeof WeakMap=="function"?WeakMap:Map;function Vu(e,t,n){n=rt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ol||(ol=!0,Wo=r),Io(e,t)},n}function Wu(e,t,n){n=rt(-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(){Io(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Io(e,t),typeof r!="function"&&(St===null?St=new Set([this]):St.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Oi(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Rp;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=Gp.bind(null,e,t,n),t.then(e,e))}function zi(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 Di(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=rt(-1,1),t.tag=2,kt(n,t,1))),n.lanes|=1),e)}var jp=st.ReactCurrentOwner,ye=!1;function ce(e,t,n,r){t.child=e===null?xu(t,null,n,r):gn(t,e.child,n,r)}function Mi(e,t,n,r,l){n=n.render;var o=t.ref;return un(t,l),r=Aa(e,t,n,r,o,l),n=Fa(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,it(e,t,l)):(V&&n&&ha(t),t.flags|=1,ce(e,t,r,l),t.child)}function $i(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!$a(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Gu(e,t,o,r,l)):(e=Dr(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Kn,n(a,r)&&e.ref===t.ref)return it(e,t,l)}return t.flags|=1,e=Et(o,r),e.ref=t.ref,e.return=t,t.child=e}function Gu(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(Kn(o,r)&&e.ref===t.ref)if(ye=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(ye=!0);else return t.lanes=e.lanes,it(e,t,l)}return Oo(e,t,n,r,l)}function Qu(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},$(rn,xe),xe|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,$(rn,xe),xe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,$(rn,xe),xe|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,$(rn,xe),xe|=r;return ce(e,t,l,n),t.child}function Zu(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Oo(e,t,n,r,l){var o=he(n)?zt:ue.current;return o=pn(t,o),un(t,l),n=Aa(e,t,n,r,o,l),r=Fa(),e!==null&&!ye?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,it(e,t,l)):(V&&r&&ha(t),t.flags|=1,ce(e,t,n,l),t.child)}function Bi(e,t,n,r,l){if(he(n)){var o=!0;Kr(t)}else o=!1;if(un(t,l),t.stateNode===null)Ir(e,t),Hu(t,n,r),Po(t,n,r,l),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var i=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=Re(c):(c=he(n)?zt:ue.current,c=pn(t,c));var m=n.getDerivedStateFromProps,g=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function";g||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||i!==c)&&Ii(t,a,r,c),pt=!1;var h=t.memoizedState;a.state=h,el(t,r,a,l),i=t.memoizedState,s!==r||h!==i||me.current||pt?(typeof m=="function"&&(jo(t,n,m,r),i=t.memoizedState),(s=pt||Pi(t,n,s,r,h,i,c))?(g||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=i),a.props=r,a.state=i,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Su(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:De(t.type,s),a.props=c,g=t.pendingProps,h=a.context,i=n.contextType,typeof i=="object"&&i!==null?i=Re(i):(i=he(n)?zt:ue.current,i=pn(t,i));var w=n.getDerivedStateFromProps;(m=typeof w=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==g||h!==i)&&Ii(t,a,r,i),pt=!1,h=t.memoizedState,a.state=h,el(t,r,a,l);var f=t.memoizedState;s!==g||h!==f||me.current||pt?(typeof w=="function"&&(jo(t,n,w,r),f=t.memoizedState),(c=pt||Pi(t,n,c,r,h,f,i)||!1)?(m||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,f,i),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,f,i)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=i,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return zo(e,t,n,r,o,l)}function zo(e,t,n,r,l,o){Zu(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return l&&Ci(t,n,!1),it(e,t,o);r=t.stateNode,jp.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=gn(t,e.child,null,o),t.child=gn(t,null,s,o)):ce(e,t,s,o),t.memoizedState=r.state,l&&Ci(t,n,!0),t.child}function Ku(e){var t=e.stateNode;t.pendingContext?_i(e,t.pendingContext,t.pendingContext!==t.context):t.context&&_i(e,t.context,!1),_a(e,t.containerInfo)}function Ui(e,t,n,r,l){return fn(),wa(l),t.flags|=256,ce(e,t,n,r),t.child}var Do={dehydrated:null,treeContext:null,retryLane:0};function Mo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Yu(e,t,n){var r=t.pendingProps,l=G.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),$(G,l&1),e===null)return To(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):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=kl(a,r,0,null),e=Ot(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=Mo(n),t.memoizedState=Do,e):ja(t,a));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return Pp(e,t,a,r,s,l,n);if(o){o=r.fallback,a=t.mode,l=e.child,s=l.sibling;var i={mode:"hidden",children:r.children};return!(a&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=i,t.deletions=null):(r=Et(l,i),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?o=Et(s,o):(o=Ot(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?Mo(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=Do,r}return o=e.child,e=o.sibling,r=Et(o,{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 ja(e,t){return t=kl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function br(e,t,n,r){return r!==null&&wa(r),gn(t,e.child,null,n),e=ja(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Pp(e,t,n,r,l,o,a){if(n)return t.flags&256?(t.flags&=-257,r=Xl(Error(_(422))),br(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=kl({mode:"visible",children:r.children},l,0,null),o=Ot(o,l,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&gn(t,e.child,null,a),t.child.memoizedState=Mo(a),t.memoizedState=Do,o);if(!(t.mode&1))return br(e,t,a,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(_(419)),r=Xl(o,r,void 0),br(e,t,a,r)}if(s=(a&e.childLanes)!==0,ye||s){if(r=ne,r!==null){switch(a&-a){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|a)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,at(e,l),Ue(r,e,l,-1))}return Ma(),r=Xl(Error(_(421))),br(e,t,a,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Qp.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,ke=xt(l.nextSibling),Se=t,V=!0,$e=null,e!==null&&(Le[Ae++]=tt,Le[Ae++]=nt,Le[Ae++]=Dt,tt=e.id,nt=e.overflow,Dt=t),t=ja(t,r.children),t.flags|=4096,t)}function Hi(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ro(e.return,t,n)}function ql(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Xu(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(ce(e,t,r.children,n),r=G.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&&Hi(e,n,t);else if(e.tag===19)Hi(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($(G,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&&tl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),ql(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&tl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}ql(t,!0,n,null,o);break;case"together":ql(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ir(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function it(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),$t|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=Et(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Et(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ip(e,t,n){switch(t.tag){case 3:Ku(t),fn();break;case 5:bu(t);break;case 1:he(t.type)&&Kr(t);break;case 4:_a(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;$(qr,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?($(G,G.current&1),t.flags|=128,null):n&t.child.childLanes?Yu(e,t,n):($(G,G.current&1),e=it(e,t,n),e!==null?e.sibling:null);$(G,G.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Xu(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),$(G,G.current),r)break;return null;case 22:case 23:return t.lanes=0,Qu(e,t,n)}return it(e,t,n)}var qu,$o,Ju,ec;qu=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}};$o=function(){};Ju=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Pt(Ke.current);var o=null;switch(n){case"input":l=io(e,l),r=io(e,r),o=[];break;case"select":l=Z({},l,{value:void 0}),r=Z({},r,{value:void 0}),o=[];break;case"textarea":l=co(e,l),r=co(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Qr)}fo(n,r);var a;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var s=l[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Un.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var i=r[c];if(s=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&i!==s&&(i!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||i&&i.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in i)i.hasOwnProperty(a)&&s[a]!==i[a]&&(n||(n={}),n[a]=i[a])}else n||(o||(o=[]),o.push(c,n)),n=i;else c==="dangerouslySetInnerHTML"?(i=i?i.__html:void 0,s=s?s.__html:void 0,i!=null&&s!==i&&(o=o||[]).push(c,i)):c==="children"?typeof i!="string"&&typeof i!="number"||(o=o||[]).push(c,""+i):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Un.hasOwnProperty(c)?(i!=null&&c==="onScroll"&&B("scroll",e),o||s===i||(o=[])):(o=o||[]).push(c,i))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};ec=function(e,t,n,r){n!==r&&(t.flags|=4)};function Nn(e,t){if(!V)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 ie(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 Op(e,t,n){var r=t.pendingProps;switch(va(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ie(t),null;case 1:return he(t.type)&&Zr(),ie(t),null;case 3:return r=t.stateNode,yn(),U(me),U(ue),Na(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(kr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,$e!==null&&(Zo($e),$e=null))),$o(e,t),ie(t),null;case 5:Ca(t);var l=Pt(er.current);if(n=t.type,e!==null&&t.stateNode!=null)Ju(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return ie(t),null}if(e=Pt(Ke.current),kr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Qe]=t,r[qn]=o,e=(t.mode&1)!==0,n){case"dialog":B("cancel",r),B("close",r);break;case"iframe":case"object":case"embed":B("load",r);break;case"video":case"audio":for(l=0;l<Rn.length;l++)B(Rn[l],r);break;case"source":B("error",r);break;case"img":case"image":case"link":B("error",r),B("load",r);break;case"details":B("toggle",r);break;case"input":qa(r,o),B("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},B("invalid",r);break;case"textarea":ei(r,o),B("invalid",r)}fo(n,o),l=null;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];a==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&xr(r.textContent,s,e),l=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&xr(r.textContent,s,e),l=["children",""+s]):Un.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&B("scroll",r)}switch(n){case"input":pr(r),Ja(r,o,!0);break;case"textarea":pr(r),ti(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=Qr)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Ls(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Qe]=t,e[qn]=r,qu(e,t,!1,!1),t.stateNode=e;e:{switch(a=go(n,r),n){case"dialog":B("cancel",e),B("close",e),l=r;break;case"iframe":case"object":case"embed":B("load",e),l=r;break;case"video":case"audio":for(l=0;l<Rn.length;l++)B(Rn[l],e);l=r;break;case"source":B("error",e),l=r;break;case"img":case"image":case"link":B("error",e),B("load",e),l=r;break;case"details":B("toggle",e),l=r;break;case"input":qa(e,r),l=io(e,r),B("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Z({},r,{value:void 0}),B("invalid",e);break;case"textarea":ei(e,r),l=co(e,r),B("invalid",e);break;default:l=r}fo(n,l),s=l;for(o in s)if(s.hasOwnProperty(o)){var i=s[o];o==="style"?Ts(e,i):o==="dangerouslySetInnerHTML"?(i=i?i.__html:void 0,i!=null&&As(e,i)):o==="children"?typeof i=="string"?(n!=="textarea"||i!=="")&&Hn(e,i):typeof i=="number"&&Hn(e,""+i):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Un.hasOwnProperty(o)?i!=null&&o==="onScroll"&&B("scroll",e):i!=null&&ra(e,o,i,a))}switch(n){case"input":pr(e),Ja(e,r,!1);break;case"textarea":pr(e),ti(e);break;case"option":r.value!=null&&e.setAttribute("value",""+_t(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?ln(e,!!r.multiple,o,!1):r.defaultValue!=null&&ln(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Qr)}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 ie(t),null;case 6:if(e&&t.stateNode!=null)ec(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=Pt(er.current),Pt(Ke.current),kr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Qe]=t,(o=r.nodeValue!==n)&&(e=Se,e!==null))switch(e.tag){case 3:xr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&xr(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Qe]=t,t.stateNode=r}return ie(t),null;case 13:if(U(G),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(V&&ke!==null&&t.mode&1&&!(t.flags&128))vu(),fn(),t.flags|=98560,o=!1;else if(o=kr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(_(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(_(317));o[Qe]=t}else fn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ie(t),o=!1}else $e!==null&&(Zo($e),$e=null),o=!0;if(!o)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||G.current&1?ee===0&&(ee=3):Ma())),t.updateQueue!==null&&(t.flags|=4),ie(t),null);case 4:return yn(),$o(e,t),e===null&&Yn(t.stateNode.containerInfo),ie(t),null;case 10:return Sa(t.type._context),ie(t),null;case 17:return he(t.type)&&Zr(),ie(t),null;case 19:if(U(G),o=t.memoizedState,o===null)return ie(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)Nn(o,!1);else{if(ee!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=tl(e),a!==null){for(t.flags|=128,Nn(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return $(G,G.current&1|2),t.child}e=e.sibling}o.tail!==null&&Y()>hn&&(t.flags|=128,r=!0,Nn(o,!1),t.lanes=4194304)}else{if(!r)if(e=tl(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!V)return ie(t),null}else 2*Y()-o.renderingStartTime>hn&&n!==1073741824&&(t.flags|=128,r=!0,Nn(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Y(),t.sibling=null,n=G.current,$(G,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Da(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?xe&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function zp(e,t){switch(va(t),t.tag){case 1:return he(t.type)&&Zr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yn(),U(me),U(ue),Na(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ca(t),null;case 13:if(U(G),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));fn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(G),null;case 4:return yn(),null;case 10:return Sa(t.type._context),null;case 22:case 23:return Da(),null;case 24:return null;default:return null}}var Er=!1,se=!1,Dp=typeof WeakSet=="function"?WeakSet:Set,A=null;function nn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function Bo(e,t,n){try{n()}catch(r){K(e,t,r)}}var Vi=!1;function Mp(e,t){if(Eo=Vr,e=ou(),ma(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,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,i=-1,c=0,m=0,g=e,h=null;t:for(;;){for(var w;g!==n||l!==0&&g.nodeType!==3||(s=a+l),g!==o||r!==0&&g.nodeType!==3||(i=a+r),g.nodeType===3&&(a+=g.nodeValue.length),(w=g.firstChild)!==null;)h=g,g=w;for(;;){if(g===e)break t;if(h===n&&++c===l&&(s=a),h===o&&++m===r&&(i=a),(w=g.nextSibling)!==null)break;g=h,h=g.parentNode}g=w}n=s===-1||i===-1?null:{start:s,end:i}}else n=null}n=n||{start:0,end:0}}else n=null;for(_o={focusedElem:e,selectionRange:n},Vr=!1,A=t;A!==null;)if(t=A,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,A=e;else for(;A!==null;){t=A;try{var f=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(f!==null){var y=f.memoizedProps,v=f.memoizedState,d=t.stateNode,u=d.getSnapshotBeforeUpdate(t.elementType===t.type?y:De(t.type,y),v);d.__reactInternalSnapshotBeforeUpdate=u}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(x){K(t,t.return,x)}if(e=t.sibling,e!==null){e.return=t.return,A=e;break}A=t.return}return f=Vi,Vi=!1,f}function Mn(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 o=l.destroy;l.destroy=void 0,o!==void 0&&Bo(t,n,o)}l=l.next}while(l!==r)}}function wl(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 Uo(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 tc(e){var t=e.alternate;t!==null&&(e.alternate=null,tc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Qe],delete t[qn],delete t[Lo],delete t[kp],delete t[Sp])),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 nc(e){return e.tag===5||e.tag===3||e.tag===4}function Wi(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nc(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 Ho(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=Qr));else if(r!==4&&(e=e.child,e!==null))for(Ho(e,t,n),e=e.sibling;e!==null;)Ho(e,t,n),e=e.sibling}function Vo(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(Vo(e,t,n),e=e.sibling;e!==null;)Vo(e,t,n),e=e.sibling}var re=null,Me=!1;function ct(e,t,n){for(n=n.child;n!==null;)rc(e,t,n),n=n.sibling}function rc(e,t,n){if(Ze&&typeof Ze.onCommitFiberUnmount=="function")try{Ze.onCommitFiberUnmount(dl,n)}catch{}switch(n.tag){case 5:se||nn(n,t);case 6:var r=re,l=Me;re=null,ct(e,t,n),re=r,Me=l,re!==null&&(Me?(e=re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):re.removeChild(n.stateNode));break;case 18:re!==null&&(Me?(e=re,n=n.stateNode,e.nodeType===8?Wl(e.parentNode,n):e.nodeType===1&&Wl(e,n),Qn(e)):Wl(re,n.stateNode));break;case 4:r=re,l=Me,re=n.stateNode.containerInfo,Me=!0,ct(e,t,n),re=r,Me=l;break;case 0:case 11:case 14:case 15:if(!se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&Bo(n,t,a),l=l.next}while(l!==r)}ct(e,t,n);break;case 1:if(!se&&(nn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){K(n,t,s)}ct(e,t,n);break;case 21:ct(e,t,n);break;case 22:n.mode&1?(se=(r=se)||n.memoizedState!==null,ct(e,t,n),se=r):ct(e,t,n);break;default:ct(e,t,n)}}function Gi(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Dp),t.forEach(function(r){var l=Zp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function ze(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var o=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:re=s.stateNode,Me=!1;break e;case 3:re=s.stateNode.containerInfo,Me=!0;break e;case 4:re=s.stateNode.containerInfo,Me=!0;break e}s=s.return}if(re===null)throw Error(_(160));rc(o,a,l),re=null,Me=!1;var i=l.alternate;i!==null&&(i.return=null),l.return=null}catch(c){K(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)lc(t,e),t=t.sibling}function lc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ze(t,e),We(e),r&4){try{Mn(3,e,e.return),wl(3,e)}catch(y){K(e,e.return,y)}try{Mn(5,e,e.return)}catch(y){K(e,e.return,y)}}break;case 1:ze(t,e),We(e),r&512&&n!==null&&nn(n,n.return);break;case 5:if(ze(t,e),We(e),r&512&&n!==null&&nn(n,n.return),e.flags&32){var l=e.stateNode;try{Hn(l,"")}catch(y){K(e,e.return,y)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,s=e.type,i=e.updateQueue;if(e.updateQueue=null,i!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Cs(l,o),go(s,a);var c=go(s,o);for(a=0;a<i.length;a+=2){var m=i[a],g=i[a+1];m==="style"?Ts(l,g):m==="dangerouslySetInnerHTML"?As(l,g):m==="children"?Hn(l,g):ra(l,m,g,c)}switch(s){case"input":so(l,o);break;case"textarea":Ns(l,o);break;case"select":var h=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var w=o.value;w!=null?ln(l,!!o.multiple,w,!1):h!==!!o.multiple&&(o.defaultValue!=null?ln(l,!!o.multiple,o.defaultValue,!0):ln(l,!!o.multiple,o.multiple?[]:"",!1))}l[qn]=o}catch(y){K(e,e.return,y)}}break;case 6:if(ze(t,e),We(e),r&4){if(e.stateNode===null)throw Error(_(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(y){K(e,e.return,y)}}break;case 3:if(ze(t,e),We(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Qn(t.containerInfo)}catch(y){K(e,e.return,y)}break;case 4:ze(t,e),We(e);break;case 13:ze(t,e),We(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(Oa=Y())),r&4&&Gi(e);break;case 22:if(m=n!==null&&n.memoizedState!==null,e.mode&1?(se=(c=se)||m,ze(t,e),se=c):ze(t,e),We(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!m&&e.mode&1)for(A=e,m=e.child;m!==null;){for(g=A=m;A!==null;){switch(h=A,w=h.child,h.tag){case 0:case 11:case 14:case 15:Mn(4,h,h.return);break;case 1:nn(h,h.return);var f=h.stateNode;if(typeof f.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,f.props=t.memoizedProps,f.state=t.memoizedState,f.componentWillUnmount()}catch(y){K(r,n,y)}}break;case 5:nn(h,h.return);break;case 22:if(h.memoizedState!==null){Zi(g);continue}}w!==null?(w.return=h,A=w):Zi(g)}m=m.sibling}e:for(m=null,g=e;;){if(g.tag===5){if(m===null){m=g;try{l=g.stateNode,c?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=g.stateNode,i=g.memoizedProps.style,a=i!=null&&i.hasOwnProperty("display")?i.display:null,s.style.display=Fs("display",a))}catch(y){K(e,e.return,y)}}}else if(g.tag===6){if(m===null)try{g.stateNode.nodeValue=c?"":g.memoizedProps}catch(y){K(e,e.return,y)}}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:ze(t,e),We(e),r&4&&Gi(e);break;case 21:break;default:ze(t,e),We(e)}}function We(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(nc(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(Hn(l,""),r.flags&=-33);var o=Wi(e);Vo(e,o,l);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Wi(e);Ho(e,s,a);break;default:throw Error(_(161))}}catch(i){K(e,e.return,i)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function $p(e,t,n){A=e,oc(e)}function oc(e,t,n){for(var r=(e.mode&1)!==0;A!==null;){var l=A,o=l.child;if(l.tag===22&&r){var a=l.memoizedState!==null||Er;if(!a){var s=l.alternate,i=s!==null&&s.memoizedState!==null||se;s=Er;var c=se;if(Er=a,(se=i)&&!c)for(A=l;A!==null;)a=A,i=a.child,a.tag===22&&a.memoizedState!==null?Ki(l):i!==null?(i.return=a,A=i):Ki(l);for(;o!==null;)A=o,oc(o),o=o.sibling;A=l,Er=s,se=c}Qi(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,A=o):Qi(e)}}function Qi(e){for(;A!==null;){var t=A;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:se||wl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!se)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:De(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Ti(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Ti(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var i=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":i.autoFocus&&n.focus();break;case"img":i.src&&(n.src=i.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var m=c.memoizedState;if(m!==null){var g=m.dehydrated;g!==null&&Qn(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}se||t.flags&512&&Uo(t)}catch(h){K(t,t.return,h)}}if(t===e){A=null;break}if(n=t.sibling,n!==null){n.return=t.return,A=n;break}A=t.return}}function Zi(e){for(;A!==null;){var t=A;if(t===e){A=null;break}var n=t.sibling;if(n!==null){n.return=t.return,A=n;break}A=t.return}}function Ki(e){for(;A!==null;){var t=A;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{wl(4,t)}catch(i){K(t,n,i)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(i){K(t,l,i)}}var o=t.return;try{Uo(t)}catch(i){K(t,o,i)}break;case 5:var a=t.return;try{Uo(t)}catch(i){K(t,a,i)}}}catch(i){K(t,t.return,i)}if(t===e){A=null;break}var s=t.sibling;if(s!==null){s.return=t.return,A=s;break}A=t.return}}var Bp=Math.ceil,ll=st.ReactCurrentDispatcher,Pa=st.ReactCurrentOwner,Te=st.ReactCurrentBatchConfig,I=0,ne=null,X=null,le=0,xe=0,rn=Lt(0),ee=0,lr=null,$t=0,xl=0,Ia=0,$n=null,ge=null,Oa=0,hn=1/0,Je=null,ol=!1,Wo=null,St=null,_r=!1,mt=null,al=0,Bn=0,Go=null,Or=-1,zr=0;function de(){return I&6?Y():Or!==-1?Or:Or=Y()}function bt(e){return e.mode&1?I&2&&le!==0?le&-le:Ep.transition!==null?(zr===0&&(zr=Hs()),zr):(e=z,e!==0||(e=window.event,e=e===void 0?16:Ys(e.type)),e):1}function Ue(e,t,n,r){if(50<Bn)throw Bn=0,Go=null,Error(_(185));ar(e,n,r),(!(I&2)||e!==ne)&&(e===ne&&(!(I&2)&&(xl|=n),ee===4&&gt(e,le)),ve(e,r),n===1&&I===0&&!(t.mode&1)&&(hn=Y()+500,ml&&At()))}function ve(e,t){var n=e.callbackNode;Ed(e,t);var r=Hr(e,e===ne?le:0);if(r===0)n!==null&&li(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&li(n),t===1)e.tag===0?bp(Yi.bind(null,e)):yu(Yi.bind(null,e)),wp(function(){!(I&6)&&At()}),n=null;else{switch(Vs(r)){case 1:n=sa;break;case 4:n=Bs;break;case 16:n=Ur;break;case 536870912:n=Us;break;default:n=Ur}n=fc(n,ac.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ac(e,t){if(Or=-1,zr=0,I&6)throw Error(_(327));var n=e.callbackNode;if(cn()&&e.callbackNode!==n)return null;var r=Hr(e,e===ne?le:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=il(e,r);else{t=r;var l=I;I|=2;var o=sc();(ne!==e||le!==t)&&(Je=null,hn=Y()+500,It(e,t));do try{Vp();break}catch(s){ic(e,s)}while(!0);ka(),ll.current=o,I=l,X!==null?t=0:(ne=null,le=0,t=ee)}if(t!==0){if(t===2&&(l=wo(e),l!==0&&(r=l,t=Qo(e,l))),t===1)throw n=lr,It(e,0),gt(e,r),ve(e,Y()),n;if(t===6)gt(e,r);else{if(l=e.current.alternate,!(r&30)&&!Up(l)&&(t=il(e,r),t===2&&(o=wo(e),o!==0&&(r=o,t=Qo(e,o))),t===1))throw n=lr,It(e,0),gt(e,r),ve(e,Y()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:Tt(e,ge,Je);break;case 3:if(gt(e,r),(r&130023424)===r&&(t=Oa+500-Y(),10<t)){if(Hr(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){de(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=No(Tt.bind(null,e,ge,Je),t);break}Tt(e,ge,Je);break;case 4:if(gt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var a=31-Be(r);o=1<<a,a=t[a],a>l&&(l=a),r&=~o}if(r=l,r=Y()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Bp(r/1960))-r,10<r){e.timeoutHandle=No(Tt.bind(null,e,ge,Je),r);break}Tt(e,ge,Je);break;case 5:Tt(e,ge,Je);break;default:throw Error(_(329))}}}return ve(e,Y()),e.callbackNode===n?ac.bind(null,e):null}function Qo(e,t){var n=$n;return e.current.memoizedState.isDehydrated&&(It(e,t).flags|=256),e=il(e,t),e!==2&&(t=ge,ge=n,t!==null&&Zo(t)),e}function Zo(e){ge===null?ge=e:ge.push.apply(ge,e)}function Up(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],o=l.getSnapshot;l=l.value;try{if(!He(o(),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 gt(e,t){for(t&=~Ia,t&=~xl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Be(t),r=1<<n;e[n]=-1,t&=~r}}function Yi(e){if(I&6)throw Error(_(327));cn();var t=Hr(e,0);if(!(t&1))return ve(e,Y()),null;var n=il(e,t);if(e.tag!==0&&n===2){var r=wo(e);r!==0&&(t=r,n=Qo(e,r))}if(n===1)throw n=lr,It(e,0),gt(e,t),ve(e,Y()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Tt(e,ge,Je),ve(e,Y()),null}function za(e,t){var n=I;I|=1;try{return e(t)}finally{I=n,I===0&&(hn=Y()+500,ml&&At())}}function Bt(e){mt!==null&&mt.tag===0&&!(I&6)&&cn();var t=I;I|=1;var n=Te.transition,r=z;try{if(Te.transition=null,z=1,e)return e()}finally{z=r,Te.transition=n,I=t,!(I&6)&&At()}}function Da(){xe=rn.current,U(rn)}function It(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,vp(n)),X!==null)for(n=X.return;n!==null;){var r=n;switch(va(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Zr();break;case 3:yn(),U(me),U(ue),Na();break;case 5:Ca(r);break;case 4:yn();break;case 13:U(G);break;case 19:U(G);break;case 10:Sa(r.type._context);break;case 22:case 23:Da()}n=n.return}if(ne=e,X=e=Et(e.current,null),le=xe=t,ee=0,lr=null,Ia=xl=$t=0,ge=$n=null,jt!==null){for(t=0;t<jt.length;t++)if(n=jt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=l,r.next=a}n.pending=r}jt=null}return e}function ic(e,t){do{var n=X;try{if(ka(),jr.current=rl,nl){for(var r=Q.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}nl=!1}if(Mt=0,te=J=Q=null,Dn=!1,tr=0,Pa.current=null,n===null||n.return===null){ee=1,lr=t,X=null;break}e:{var o=e,a=n.return,s=n,i=t;if(t=le,s.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){var c=i,m=s,g=m.tag;if(!(m.mode&1)&&(g===0||g===11||g===15)){var h=m.alternate;h?(m.updateQueue=h.updateQueue,m.memoizedState=h.memoizedState,m.lanes=h.lanes):(m.updateQueue=null,m.memoizedState=null)}var w=zi(a);if(w!==null){w.flags&=-257,Di(w,a,s,o,t),w.mode&1&&Oi(o,c,t),t=w,i=c;var f=t.updateQueue;if(f===null){var y=new Set;y.add(i),t.updateQueue=y}else f.add(i);break e}else{if(!(t&1)){Oi(o,c,t),Ma();break e}i=Error(_(426))}}else if(V&&s.mode&1){var v=zi(a);if(v!==null){!(v.flags&65536)&&(v.flags|=256),Di(v,a,s,o,t),wa(mn(i,s));break e}}o=i=mn(i,s),ee!==4&&(ee=2),$n===null?$n=[o]:$n.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var d=Vu(o,i,t);Fi(o,d);break e;case 1:s=i;var u=o.type,p=o.stateNode;if(!(o.flags&128)&&(typeof u.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(St===null||!St.has(p)))){o.flags|=65536,t&=-t,o.lanes|=t;var x=Wu(o,s,t);Fi(o,x);break e}}o=o.return}while(o!==null)}cc(n)}catch(S){t=S,X===n&&n!==null&&(X=n=n.return);continue}break}while(!0)}function sc(){var e=ll.current;return ll.current=rl,e===null?rl:e}function Ma(){(ee===0||ee===3||ee===2)&&(ee=4),ne===null||!($t&268435455)&&!(xl&268435455)||gt(ne,le)}function il(e,t){var n=I;I|=2;var r=sc();(ne!==e||le!==t)&&(Je=null,It(e,t));do try{Hp();break}catch(l){ic(e,l)}while(!0);if(ka(),I=n,ll.current=r,X!==null)throw Error(_(261));return ne=null,le=0,ee}function Hp(){for(;X!==null;)uc(X)}function Vp(){for(;X!==null&&!yd();)uc(X)}function uc(e){var t=pc(e.alternate,e,xe);e.memoizedProps=e.pendingProps,t===null?cc(e):X=t,Pa.current=null}function cc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=zp(n,t),n!==null){n.flags&=32767,X=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ee=6,X=null;return}}else if(n=Op(n,t,xe),n!==null){X=n;return}if(t=t.sibling,t!==null){X=t;return}X=t=e}while(t!==null);ee===0&&(ee=5)}function Tt(e,t,n){var r=z,l=Te.transition;try{Te.transition=null,z=1,Wp(e,t,n,r)}finally{Te.transition=l,z=r}return null}function Wp(e,t,n,r){do cn();while(mt!==null);if(I&6)throw Error(_(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(_(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(_d(e,o),e===ne&&(X=ne=null,le=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||_r||(_r=!0,fc(Ur,function(){return cn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Te.transition,Te.transition=null;var a=z;z=1;var s=I;I|=4,Pa.current=null,Mp(e,n),lc(n,e),dp(_o),Vr=!!Eo,_o=Eo=null,e.current=n,$p(n),md(),I=s,z=a,Te.transition=o}else e.current=n;if(_r&&(_r=!1,mt=e,al=l),o=e.pendingLanes,o===0&&(St=null),wd(n.stateNode),ve(e,Y()),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(ol)throw ol=!1,e=Wo,Wo=null,e;return al&1&&e.tag!==0&&cn(),o=e.pendingLanes,o&1?e===Go?Bn++:(Bn=0,Go=e):Bn=0,At(),null}function cn(){if(mt!==null){var e=Vs(al),t=Te.transition,n=z;try{if(Te.transition=null,z=16>e?16:e,mt===null)var r=!1;else{if(e=mt,mt=null,al=0,I&6)throw Error(_(331));var l=I;for(I|=4,A=e.current;A!==null;){var o=A,a=o.child;if(A.flags&16){var s=o.deletions;if(s!==null){for(var i=0;i<s.length;i++){var c=s[i];for(A=c;A!==null;){var m=A;switch(m.tag){case 0:case 11:case 15:Mn(8,m,o)}var g=m.child;if(g!==null)g.return=m,A=g;else for(;A!==null;){m=A;var h=m.sibling,w=m.return;if(tc(m),m===c){A=null;break}if(h!==null){h.return=w,A=h;break}A=w}}}var f=o.alternate;if(f!==null){var y=f.child;if(y!==null){f.child=null;do{var v=y.sibling;y.sibling=null,y=v}while(y!==null)}}A=o}}if(o.subtreeFlags&2064&&a!==null)a.return=o,A=a;else e:for(;A!==null;){if(o=A,o.flags&2048)switch(o.tag){case 0:case 11:case 15:Mn(9,o,o.return)}var d=o.sibling;if(d!==null){d.return=o.return,A=d;break e}A=o.return}}var u=e.current;for(A=u;A!==null;){a=A;var p=a.child;if(a.subtreeFlags&2064&&p!==null)p.return=a,A=p;else e:for(a=u;A!==null;){if(s=A,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:wl(9,s)}}catch(S){K(s,s.return,S)}if(s===a){A=null;break e}var x=s.sibling;if(x!==null){x.return=s.return,A=x;break e}A=s.return}}if(I=l,At(),Ze&&typeof Ze.onPostCommitFiberRoot=="function")try{Ze.onPostCommitFiberRoot(dl,e)}catch{}r=!0}return r}finally{z=n,Te.transition=t}}return!1}function Xi(e,t,n){t=mn(n,t),t=Vu(e,t,1),e=kt(e,t,1),t=de(),e!==null&&(ar(e,1,t),ve(e,t))}function K(e,t,n){if(e.tag===3)Xi(e,e,n);else for(;t!==null;){if(t.tag===3){Xi(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(St===null||!St.has(r))){e=mn(n,e),e=Wu(t,e,1),t=kt(t,e,1),e=de(),t!==null&&(ar(t,1,e),ve(t,e));break}}t=t.return}}function Gp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=de(),e.pingedLanes|=e.suspendedLanes&n,ne===e&&(le&n)===n&&(ee===4||ee===3&&(le&130023424)===le&&500>Y()-Oa?It(e,0):Ia|=n),ve(e,t)}function dc(e,t){t===0&&(e.mode&1?(t=yr,yr<<=1,!(yr&130023424)&&(yr=4194304)):t=1);var n=de();e=at(e,t),e!==null&&(ar(e,t,n),ve(e,n))}function Qp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),dc(e,n)}function Zp(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(_(314))}r!==null&&r.delete(t),dc(e,n)}var pc;pc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)ye=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ye=!1,Ip(e,t,n);ye=!!(e.flags&131072)}else ye=!1,V&&t.flags&1048576&&mu(t,Xr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ir(e,t),e=t.pendingProps;var l=pn(t,ue.current);un(t,n),l=Aa(null,t,r,e,l,n);var o=Fa();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,he(r)?(o=!0,Kr(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ea(t),l.updater=vl,t.stateNode=l,l._reactInternals=t,Po(t,r,e,n),t=zo(null,t,r,!0,o,n)):(t.tag=0,V&&o&&ha(t),ce(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ir(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Yp(r),e=De(r,e),l){case 0:t=Oo(null,t,r,e,n);break e;case 1:t=Bi(null,t,r,e,n);break e;case 11:t=Mi(null,t,r,e,n);break e;case 14:t=$i(null,t,r,De(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Oo(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Bi(e,t,r,l,n);case 3:e:{if(Ku(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Su(e,t),el(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=mn(Error(_(423)),t),t=Ui(e,t,r,n,l);break e}else if(r!==l){l=mn(Error(_(424)),t),t=Ui(e,t,r,n,l);break e}else for(ke=xt(t.stateNode.containerInfo.firstChild),Se=t,V=!0,$e=null,n=xu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fn(),r===l){t=it(e,t,n);break e}ce(e,t,r,n)}t=t.child}return t;case 5:return bu(t),e===null&&To(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,a=l.children,Co(r,l)?a=null:o!==null&&Co(r,o)&&(t.flags|=32),Zu(e,t),ce(e,t,a,n),t.child;case 6:return e===null&&To(t),null;case 13:return Yu(e,t,n);case 4:return _a(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=gn(t,null,r,n):ce(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Mi(e,t,r,l,n);case 7:return ce(e,t,t.pendingProps,n),t.child;case 8:return ce(e,t,t.pendingProps.children,n),t.child;case 12:return ce(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,a=l.value,$(qr,r._currentValue),r._currentValue=a,o!==null)if(He(o.value,a)){if(o.children===l.children&&!me.current){t=it(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var i=s.firstContext;i!==null;){if(i.context===r){if(o.tag===1){i=rt(-1,n&-n),i.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var m=c.pending;m===null?i.next=i:(i.next=m.next,m.next=i),c.pending=i}}o.lanes|=n,i=o.alternate,i!==null&&(i.lanes|=n),Ro(o.return,n,t),s.lanes|=n;break}i=i.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(_(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),Ro(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}ce(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,un(t,n),l=Re(l),r=r(l),t.flags|=1,ce(e,t,r,n),t.child;case 14:return r=t.type,l=De(r,t.pendingProps),l=De(r.type,l),$i(e,t,r,l,n);case 15:return Gu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:De(r,l),Ir(e,t),t.tag=1,he(r)?(e=!0,Kr(t)):e=!1,un(t,n),Hu(t,r,l),Po(t,r,l,n),zo(null,t,r,!0,e,n);case 19:return Xu(e,t,n);case 22:return Qu(e,t,n)}throw Error(_(156,t.tag))};function fc(e,t){return $s(e,t)}function Kp(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 Fe(e,t,n,r){return new Kp(e,t,n,r)}function $a(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Yp(e){if(typeof e=="function")return $a(e)?1:0;if(e!=null){if(e=e.$$typeof,e===oa)return 11;if(e===aa)return 14}return 2}function Et(e,t){var n=e.alternate;return n===null?(n=Fe(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 Dr(e,t,n,r,l,o){var a=2;if(r=e,typeof e=="function")$a(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Qt:return Ot(n.children,l,o,t);case la:a=8,l|=8;break;case ro:return e=Fe(12,n,t,l|2),e.elementType=ro,e.lanes=o,e;case lo:return e=Fe(13,n,t,l),e.elementType=lo,e.lanes=o,e;case oo:return e=Fe(19,n,t,l),e.elementType=oo,e.lanes=o,e;case bs:return kl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ks:a=10;break e;case Ss:a=9;break e;case oa:a=11;break e;case aa:a=14;break e;case dt:a=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Fe(a,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Ot(e,t,n,r){return e=Fe(7,e,r,t),e.lanes=n,e}function kl(e,t,n,r){return e=Fe(22,e,r,t),e.elementType=bs,e.lanes=n,e.stateNode={isHidden:!1},e}function Jl(e,t,n){return e=Fe(6,e,null,t),e.lanes=n,e}function eo(e,t,n){return t=Fe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Xp(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=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ba(e,t,n,r,l,o,a,s,i){return e=new Xp(e,t,n,s,i),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Fe(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ea(o),e}function qp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Gt,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gc(e){if(!e)return Ct;e=e._reactInternals;e:{if(Ht(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(he(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(he(n))return gu(e,n,t)}return t}function yc(e,t,n,r,l,o,a,s,i){return e=Ba(n,r,!0,e,l,o,a,s,i),e.context=gc(null),n=e.current,r=de(),l=bt(n),o=rt(r,l),o.callback=t??null,kt(n,o,l),e.current.lanes=l,ar(e,l,r),ve(e,r),e}function Sl(e,t,n,r){var l=t.current,o=de(),a=bt(l);return n=gc(n),t.context===null?t.context=n:t.pendingContext=n,t=rt(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=kt(l,t,a),e!==null&&(Ue(e,l,a,o),Rr(e,l,a)),a}function sl(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 qi(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ua(e,t){qi(e,t),(e=e.alternate)&&qi(e,t)}function Jp(){return null}var mc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Ha(e){this._internalRoot=e}bl.prototype.render=Ha.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));Sl(e,t,null,null)};bl.prototype.unmount=Ha.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Bt(function(){Sl(null,e,null,null)}),t[ot]=null}};function bl(e){this._internalRoot=e}bl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Qs();e={blockedOn:null,target:e,priority:t};for(var n=0;n<ft.length&&t!==0&&t<ft[n].priority;n++);ft.splice(n,0,e),n===0&&Ks(e)}};function Va(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function El(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ji(){}function ef(e,t,n,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var c=sl(a);o.call(c)}}var a=yc(t,r,e,0,null,!1,!1,"",Ji);return e._reactRootContainer=a,e[ot]=a.current,Yn(e.nodeType===8?e.parentNode:e),Bt(),a}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var s=r;r=function(){var c=sl(i);s.call(c)}}var i=Ba(e,0,!1,null,null,!1,!1,"",Ji);return e._reactRootContainer=i,e[ot]=i.current,Yn(e.nodeType===8?e.parentNode:e),Bt(function(){Sl(t,i,n,r)}),i}function _l(e,t,n,r,l){var o=n._reactRootContainer;if(o){var a=o;if(typeof l=="function"){var s=l;l=function(){var i=sl(a);s.call(i)}}Sl(t,a,e,l)}else a=ef(n,t,e,l,r);return sl(a)}Ws=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Tn(t.pendingLanes);n!==0&&(ua(t,n|1),ve(t,Y()),!(I&6)&&(hn=Y()+500,At()))}break;case 13:Bt(function(){var r=at(e,1);if(r!==null){var l=de();Ue(r,e,1,l)}}),Ua(e,1)}};ca=function(e){if(e.tag===13){var t=at(e,134217728);if(t!==null){var n=de();Ue(t,e,134217728,n)}Ua(e,134217728)}};Gs=function(e){if(e.tag===13){var t=bt(e),n=at(e,t);if(n!==null){var r=de();Ue(n,e,t,r)}Ua(e,t)}};Qs=function(){return z};Zs=function(e,t){var n=z;try{return z=e,t()}finally{z=n}};mo=function(e,t,n){switch(t){case"input":if(so(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=yl(r);if(!l)throw Error(_(90));_s(r),so(r,l)}}}break;case"textarea":Ns(e,n);break;case"select":t=n.value,t!=null&&ln(e,!!n.multiple,t,!1)}};Ps=za;Is=Bt;var tf={usingClientEntryPoint:!1,Events:[sr,Xt,yl,Rs,js,za]},Ln={findFiberByHostInstance:Rt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nf={bundleType:Ln.bundleType,version:Ln.version,rendererPackageName:Ln.rendererPackageName,rendererConfig:Ln.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:st.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ds(e),e===null?null:e.stateNode},findFiberByHostInstance:Ln.findFiberByHostInstance||Jp,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 Cr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Cr.isDisabled&&Cr.supportsFiber)try{dl=Cr.inject(nf),Ze=Cr}catch{}}Ee.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tf;Ee.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Va(t))throw Error(_(200));return qp(e,t,null,n)};Ee.createRoot=function(e,t){if(!Va(e))throw Error(_(299));var n=!1,r="",l=mc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Ba(e,1,!1,null,null,n,!1,r,l),e[ot]=t.current,Yn(e.nodeType===8?e.parentNode:e),new Ha(t)};Ee.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(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=Ds(t),e=e===null?null:e.stateNode,e};Ee.flushSync=function(e){return Bt(e)};Ee.hydrate=function(e,t,n){if(!El(t))throw Error(_(200));return _l(null,e,t,!0,n)};Ee.hydrateRoot=function(e,t,n){if(!Va(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,l=!1,o="",a=mc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=yc(t,null,e,1,n??null,l,!1,o,a),e[ot]=t.current,Yn(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 bl(t)};Ee.render=function(e,t,n){if(!El(t))throw Error(_(200));return _l(null,e,t,!1,n)};Ee.unmountComponentAtNode=function(e){if(!El(e))throw Error(_(40));return e._reactRootContainer?(Bt(function(){_l(null,null,e,!1,function(){e._reactRootContainer=null,e[ot]=null})}),!0):!1};Ee.unstable_batchedUpdates=za;Ee.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!El(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return _l(e,t,n,!1,r)};Ee.version="18.3.1-next-f1338f8080-20240426";function hc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hc)}catch(e){console.error(e)}}hc(),hs.exports=Ee;var rf=hs.exports,es=rf;to.createRoot=es.createRoot,to.hydrateRoot=es.hydrateRoot;function lf({files:e,onScrollToFile:t,comments:n,reviewedFiles:r,onToggleReviewed:l}){const o=i=>{switch(i){case"added":return"🆕";case"deleted":return"🗑️";case"renamed":return"📝";default:return"📄"}},a=i=>{switch(i){case"added":return"text-github-accent";case"deleted":return"text-github-danger";case"renamed":return"text-github-warning";default:return"text-github-text-muted"}},s=i=>n.filter(c=>c.file===i).length;return k.jsxs("div",{className:"h-full flex flex-col",children:[k.jsx("div",{className:"px-4 py-3 border-b border-github-border bg-github-bg-tertiary",children:k.jsxs("h3",{className:"text-sm font-semibold text-github-text-primary m-0",children:["Files changed (",e.length,")"]})}),k.jsx("div",{className:"flex-1 overflow-y-auto",children:e.map(i=>{const c=s(i.path);return k.jsxs("div",{className:`px-4 py-3 border-b border-github-border cursor-pointer transition-colors hover:bg-github-bg-tertiary ${r.has(i.path)?"opacity-70":""}`,children:[k.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[k.jsx("input",{type:"checkbox",className:"w-4 h-4 mr-1 cursor-pointer accent-github-accent",checked:r.has(i.path),onChange:m=>{m.stopPropagation(),l(i.path)},title:r.has(i.path)?"Mark as not reviewed":"Mark as reviewed"}),k.jsx("span",{className:"text-xs",children:o(i.status)}),k.jsx("span",{className:`font-medium text-github-text-primary flex-1 overflow-hidden text-ellipsis whitespace-nowrap cursor-pointer ${r.has(i.path)?"line-through text-github-text-muted":""}`,title:i.path,onClick:()=>t(i.path),children:i.path.split("/").pop()}),c>0&&k.jsxs("span",{className:"bg-yellow-100 text-github-warning text-xs px-1.5 py-0.5 rounded-full font-medium",children:["💬 ",c]})]}),k.jsx("div",{className:"text-xs text-github-text-muted mb-1.5 overflow-hidden text-ellipsis whitespace-nowrap cursor-pointer",onClick:()=>t(i.path),children:i.path}),k.jsxs("div",{className:"flex items-center gap-2 text-xs cursor-pointer",onClick:()=>t(i.path),children:[k.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-accent bg-green-100/10",children:["+",i.additions]}),k.jsxs("span",{className:"font-medium px-1 py-0.5 rounded text-github-danger bg-red-100/10",children:["-",i.deletions]}),k.jsx("span",{className:`text-xs uppercase tracking-wide ${a(i.status)}`,children:i.status})]})]},i.path)})})]})}function vc({onSubmit:e,onCancel:t}){const[n,r]=O.useState(""),[l,o]=O.useState(!1),a=async i=>{if(i.preventDefault(),!!n.trim()){o(!0);try{await e(n.trim()),r("")}catch(c){console.error("Failed to submit comment:",c)}finally{o(!1)}}},s=i=>{i.key==="Enter"&&(i.metaKey||i.ctrlKey)?a(i):i.key==="Escape"&&t()};return k.jsxs("form",{className:"m-2 mx-3 p-3 bg-github-bg-tertiary border border-github-border rounded-md",onSubmit:a,children:[k.jsxs("div",{className:"flex items-center justify-between mb-2",children:[k.jsx("span",{className:"text-sm font-medium text-github-text-primary",children:"Add a comment"}),k.jsx("span",{className:"text-xs text-github-text-muted",children:"Cmd+Enter to submit • Escape to cancel"})]}),k.jsx("textarea",{className:"w-full min-h-[60px] mb-2 resize-y bg-github-bg-secondary border border-github-border rounded px-3 py-2 text-github-text-primary text-sm leading-6 focus:outline-none focus:border-blue-600 focus:ring-2 focus:ring-blue-600/30 focus:min-h-[80px] disabled:opacity-50",value:n,onChange:i=>r(i.target.value),onKeyDown:s,placeholder:"Leave a comment...",rows:3,autoFocus:!0,disabled:l}),k.jsxs("div",{className:"flex gap-2 justify-end",children:[k.jsx("button",{type:"button",onClick:t,className:"text-xs px-3 py-1.5 bg-github-bg-tertiary text-github-text-primary border border-github-border rounded hover:opacity-80 transition-all disabled:opacity-50",disabled:l,children:"Cancel"}),k.jsx("button",{type:"submit",className:"text-xs px-3 py-1.5 bg-blue-600 text-white rounded hover:opacity-80 transition-all disabled:opacity-50",disabled:!n.trim()||l,children:l?"Adding...":"Add Comment"})]})]})}/**
41
+ * @license lucide-react v0.525.0 - ISC
42
+ *
43
+ * This source code is licensed under the ISC license.
44
+ * See the LICENSE file in the root directory of this source tree.
45
+ */const of=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),af=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),ts=e=>{const t=af(e);return t.charAt(0).toUpperCase()+t.slice(1)},wc=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),sf=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
46
+ * @license lucide-react v0.525.0 - ISC
47
+ *
48
+ * This source code is licensed under the ISC license.
49
+ * See the LICENSE file in the root directory of this source tree.
50
+ */var uf={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51
+ * @license lucide-react v0.525.0 - ISC
52
+ *
53
+ * This source code is licensed under the ISC license.
54
+ * See the LICENSE file in the root directory of this source tree.
55
+ */const cf=O.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:o,iconNode:a,...s},i)=>O.createElement("svg",{ref:i,...uf,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:wc("lucide",l),...!o&&!sf(s)&&{"aria-hidden":"true"},...s},[...a.map(([c,m])=>O.createElement(c,m)),...Array.isArray(o)?o:[o]]));/**
56
+ * @license lucide-react v0.525.0 - ISC
57
+ *
58
+ * This source code is licensed under the ISC license.
59
+ * See the LICENSE file in the root directory of this source tree.
60
+ */const Ce=(e,t)=>{const n=O.forwardRef(({className:r,...l},o)=>O.createElement(cf,{ref:o,iconNode:t,className:wc(`lucide-${of(ts(e))}`,`lucide-${e}`,r),...l}));return n.displayName=ts(e),n};/**
61
+ * @license lucide-react v0.525.0 - ISC
62
+ *
63
+ * This source code is licensed under the ISC license.
64
+ * See the LICENSE file in the root directory of this source tree.
65
+ */const df=[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]],pf=Ce("align-left",df);/**
66
+ * @license lucide-react v0.525.0 - ISC
67
+ *
68
+ * This source code is licensed under the ISC license.
69
+ * See the LICENSE file in the root directory of this source tree.
70
+ */const ff=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],gf=Ce("check",ff);/**
71
+ * @license lucide-react v0.525.0 - ISC
72
+ *
73
+ * This source code is licensed under the ISC license.
74
+ * See the LICENSE file in the root directory of this source tree.
75
+ */const yf=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],mf=Ce("chevron-down",yf);/**
76
+ * @license lucide-react v0.525.0 - ISC
77
+ *
78
+ * This source code is licensed under the ISC license.
79
+ * See the LICENSE file in the root directory of this source tree.
80
+ */const hf=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],vf=Ce("chevron-right",hf);/**
81
+ * @license lucide-react v0.525.0 - ISC
82
+ *
83
+ * This source code is licensed under the ISC license.
84
+ * See the LICENSE file in the root directory of this source tree.
85
+ */const wf=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],xf=Ce("clipboard-list",wf);/**
86
+ * @license lucide-react v0.525.0 - ISC
87
+ *
88
+ * This source code is licensed under the ISC license.
89
+ * See the LICENSE file in the root directory of this source tree.
90
+ */const kf=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],Sf=Ce("columns-2",kf);/**
91
+ * @license lucide-react v0.525.0 - ISC
92
+ *
93
+ * This source code is licensed under the ISC license.
94
+ * See the LICENSE file in the root directory of this source tree.
95
+ */const bf=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],xc=Ce("copy",bf);/**
96
+ * @license lucide-react v0.525.0 - ISC
97
+ *
98
+ * This source code is licensed under the ISC license.
99
+ * See the LICENSE file in the root directory of this source tree.
100
+ */const Ef=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],_f=Ce("file-pen",Ef);/**
101
+ * @license lucide-react v0.525.0 - ISC
102
+ *
103
+ * This source code is licensed under the ISC license.
104
+ * See the LICENSE file in the root directory of this source tree.
105
+ */const Cf=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M9 15h6",key:"cctwl0"}],["path",{d:"M12 18v-6",key:"17g6i2"}]],Nf=Ce("file-plus",Cf);/**
106
+ * @license lucide-react v0.525.0 - ISC
107
+ *
108
+ * This source code is licensed under the ISC license.
109
+ * See the LICENSE file in the root directory of this source tree.
110
+ */const Lf=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Af=Ce("file-text",Lf);/**
111
+ * @license lucide-react v0.525.0 - ISC
112
+ *
113
+ * This source code is licensed under the ISC license.
114
+ * See the LICENSE file in the root directory of this source tree.
115
+ */const Ff=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]],Tf=Ce("file-x",Ff);/**
116
+ * @license lucide-react v0.525.0 - ISC
117
+ *
118
+ * This source code is licensed under the ISC license.
119
+ * See the LICENSE file in the root directory of this source tree.
120
+ */const Rf=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],jf=Ce("square",Rf);/**
121
+ * @license lucide-react v0.525.0 - ISC
122
+ *
123
+ * This source code is licensed under the ISC license.
124
+ * See the LICENSE file in the root directory of this source tree.
125
+ */const Pf=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],If=Ce("trash-2",Pf);function kc({comment:e,onGeneratePrompt:t,onRemoveComment:n}){const[r,l]=O.useState(!1),o=async()=>{try{const a=t(e);await navigator.clipboard.writeText(a),l(!0),setTimeout(()=>l(!1),2e3)}catch(a){console.error("Failed to copy prompt:",a)}};return k.jsxs("div",{className:"m-2 mx-4 p-3 bg-yellow-500/10 border border-yellow-400/30 rounded-md border-l-4 border-l-yellow-400 shadow-sm",children:[k.jsxs("div",{className:"flex items-center justify-between mb-2 gap-3",children:[k.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-300 flex-1 min-w-0",children:[k.jsx("span",{className:"font-mono bg-yellow-800/30 px-1 py-0.5 rounded text-yellow-200 overflow-hidden text-ellipsis whitespace-nowrap",children:e.file}),k.jsxs("span",{className:"bg-yellow-800/30 px-1 py-0.5 rounded text-yellow-200 font-medium",children:["Line ",e.line]}),k.jsx("span",{className:"text-gray-400",children:new Date(e.timestamp).toLocaleString()})]}),k.jsxs("div",{className:"flex items-center gap-2",children:[k.jsx("button",{onClick:o,className:"text-xs px-2 py-1 bg-yellow-700/40 text-yellow-200 border border-yellow-600/50 rounded hover:bg-yellow-600/50 hover:border-yellow-500 transition-all whitespace-nowrap",title:"Copy prompt for Claude Code",children:r?"Copied!":"Copy Prompt"}),k.jsx("button",{onClick:()=>{window.confirm("Are you sure you want to delete this comment?")&&n(e.id)},className:"text-xs p-1.5 bg-red-700/40 text-red-200 border border-red-600/50 rounded hover:bg-red-600/50 hover:border-red-500 transition-all",title:"Delete comment",children:k.jsx(If,{size:12})})]})]}),k.jsx("div",{className:"text-yellow-100 text-sm leading-6 whitespace-pre-wrap",children:e.body})]})}function Sc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=Sc(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function bc(){for(var e,t,n=0,r="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=Sc(e))&&(r&&(r+=" "),r+=t);return r}var Of=Object.create,Cl=Object.defineProperty,zf=Object.defineProperties,Df=Object.getOwnPropertyDescriptor,Mf=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertyNames,ul=Object.getOwnPropertySymbols,$f=Object.getPrototypeOf,Wa=Object.prototype.hasOwnProperty,_c=Object.prototype.propertyIsEnumerable,ns=(e,t,n)=>t in e?Cl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ye=(e,t)=>{for(var n in t||(t={}))Wa.call(t,n)&&ns(e,n,t[n]);if(ul)for(var n of ul(t))_c.call(t,n)&&ns(e,n,t[n]);return e},Nl=(e,t)=>zf(e,Mf(t)),Cc=(e,t)=>{var n={};for(var r in e)Wa.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ul)for(var r of ul(e))t.indexOf(r)<0&&_c.call(e,r)&&(n[r]=e[r]);return n},Bf=(e,t)=>function(){return t||(0,e[Ec(e)[0]])((t={exports:{}}).exports,t),t.exports},Uf=(e,t)=>{for(var n in t)Cl(e,n,{get:t[n],enumerable:!0})},Hf=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of Ec(t))!Wa.call(e,l)&&l!==n&&Cl(e,l,{get:()=>t[l],enumerable:!(r=Df(t,l))||r.enumerable});return e},Vf=(e,t,n)=>(n=e!=null?Of($f(e)):{},Hf(!e||!e.__esModule?Cl(n,"default",{value:e,enumerable:!0}):n,e)),Wf=Bf({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var n=function(){var r=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,o={},a={util:{encode:function f(y){return y instanceof s?new s(y.type,f(y.content),y.alias):Array.isArray(y)?y.map(f):y.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(f){return Object.prototype.toString.call(f).slice(8,-1)},objId:function(f){return f.__id||Object.defineProperty(f,"__id",{value:++l}),f.__id},clone:function f(y,v){v=v||{};var d,u;switch(a.util.type(y)){case"Object":if(u=a.util.objId(y),v[u])return v[u];d={},v[u]=d;for(var p in y)y.hasOwnProperty(p)&&(d[p]=f(y[p],v));return d;case"Array":return u=a.util.objId(y),v[u]?v[u]:(d=[],v[u]=d,y.forEach(function(x,S){d[S]=f(x,v)}),d);default:return y}},getLanguage:function(f){for(;f;){var y=r.exec(f.className);if(y)return y[1].toLowerCase();f=f.parentElement}return"none"},setLanguage:function(f,y){f.className=f.className.replace(RegExp(r,"gi"),""),f.classList.add("language-"+y)},isActive:function(f,y,v){for(var d="no-"+y;f;){var u=f.classList;if(u.contains(y))return!0;if(u.contains(d))return!1;f=f.parentElement}return!!v}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(f,y){var v=a.util.clone(a.languages[f]);for(var d in y)v[d]=y[d];return v},insertBefore:function(f,y,v,d){d=d||a.languages;var u=d[f],p={};for(var x in u)if(u.hasOwnProperty(x)){if(x==y)for(var S in v)v.hasOwnProperty(S)&&(p[S]=v[S]);v.hasOwnProperty(x)||(p[x]=u[x])}var C=d[f];return d[f]=p,a.languages.DFS(a.languages,function(E,N){N===C&&E!=f&&(this[E]=p)}),p},DFS:function f(y,v,d,u){u=u||{};var p=a.util.objId;for(var x in y)if(y.hasOwnProperty(x)){v.call(y,x,y[x],d||x);var S=y[x],C=a.util.type(S);C==="Object"&&!u[p(S)]?(u[p(S)]=!0,f(S,v,null,u)):C==="Array"&&!u[p(S)]&&(u[p(S)]=!0,f(S,v,x,u))}}},plugins:{},highlight:function(f,y,v){var d={code:f,grammar:y,language:v};if(a.hooks.run("before-tokenize",d),!d.grammar)throw new Error('The language "'+d.language+'" has no grammar.');return d.tokens=a.tokenize(d.code,d.grammar),a.hooks.run("after-tokenize",d),s.stringify(a.util.encode(d.tokens),d.language)},tokenize:function(f,y){var v=y.rest;if(v){for(var d in v)y[d]=v[d];delete y.rest}var u=new m;return g(u,u.head,f),c(f,u,y,u.head,0),w(u)},hooks:{all:{},add:function(f,y){var v=a.hooks.all;v[f]=v[f]||[],v[f].push(y)},run:function(f,y){var v=a.hooks.all[f];if(!(!v||!v.length))for(var d=0,u;u=v[d++];)u(y)}},Token:s};function s(f,y,v,d){this.type=f,this.content=y,this.alias=v,this.length=(d||"").length|0}s.stringify=function f(y,v){if(typeof y=="string")return y;if(Array.isArray(y)){var d="";return y.forEach(function(C){d+=f(C,v)}),d}var u={type:y.type,content:f(y.content,v),tag:"span",classes:["token",y.type],attributes:{},language:v},p=y.alias;p&&(Array.isArray(p)?Array.prototype.push.apply(u.classes,p):u.classes.push(p)),a.hooks.run("wrap",u);var x="";for(var S in u.attributes)x+=" "+S+'="'+(u.attributes[S]||"").replace(/"/g,"&quot;")+'"';return"<"+u.tag+' class="'+u.classes.join(" ")+'"'+x+">"+u.content+"</"+u.tag+">"};function i(f,y,v,d){f.lastIndex=y;var u=f.exec(v);if(u&&d&&u[1]){var p=u[1].length;u.index+=p,u[0]=u[0].slice(p)}return u}function c(f,y,v,d,u,p){for(var x in v)if(!(!v.hasOwnProperty(x)||!v[x])){var S=v[x];S=Array.isArray(S)?S:[S];for(var C=0;C<S.length;++C){if(p&&p.cause==x+","+C)return;var E=S[C],N=E.inside,j=!!E.lookbehind,F=!!E.greedy,H=E.alias;if(F&&!E.pattern.global){var D=E.pattern.toString().match(/[imsuy]*$/)[0];E.pattern=RegExp(E.pattern.source,D+"g")}for(var Pe=E.pattern||E,q=d.next,Ne=u;q!==y.tail&&!(p&&Ne>=p.reach);Ne+=q.value.length,q=q.next){var Ve=q.value;if(y.length>f.length)return;if(!(Ve instanceof s)){var ut=1,L;if(F){if(L=i(Pe,Ne,f,j),!L||L.index>=f.length)break;var W=L.index,R=L.index+L[0].length,T=Ne;for(T+=q.value.length;W>=T;)q=q.next,T+=q.value.length;if(T-=q.value.length,Ne=T,q.value instanceof s)continue;for(var M=q;M!==y.tail&&(T<R||typeof M.value=="string");M=M.next)ut++,T+=M.value.length;ut--,Ve=f.slice(Ne,T),L.index-=Ne}else if(L=i(Pe,0,Ve,j),!L)continue;var W=L.index,Xe=L[0],Ie=Ve.slice(0,W),Vt=Ve.slice(W+Xe.length),Oe=Ne+Ve.length;p&&Oe>p.reach&&(p.reach=Oe);var qe=q.prev;Ie&&(qe=g(y,qe,Ie),Ne+=Ie.length),h(y,qe,ut);var Fc=new s(x,N?a.tokenize(Xe,N):Xe,H,Xe);if(q=g(y,qe,Fc),Vt&&g(y,q,Vt),ut>1){var Ll={cause:x+","+C,reach:Oe};c(f,y,v,q.prev,Ne,Ll),p&&Ll.reach>p.reach&&(p.reach=Ll.reach)}}}}}}function m(){var f={value:null,prev:null,next:null},y={value:null,prev:f,next:null};f.next=y,this.head=f,this.tail=y,this.length=0}function g(f,y,v){var d=y.next,u={value:v,prev:y,next:d};return y.next=u,d.prev=u,f.length++,u}function h(f,y,v){for(var d=y.next,u=0;u<v&&d!==f.tail;u++)d=d.next;y.next=d,d.prev=y,f.length-=u}function w(f){for(var y=[],v=f.head.next;v!==f.tail;)y.push(v.value),v=v.next;return y}return a}();t.exports=n,n.default=n}}),b=Vf(Wf());b.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},b.languages.markup.tag.inside["attr-value"].inside.entity=b.languages.markup.entity,b.languages.markup.doctype.inside["internal-subset"].inside=b.languages.markup,b.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(b.languages.markup.tag,"addInlined",{value:function(e,r){var n={},n=(n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:b.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i,{"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}}),r=(n["language-"+r]={pattern:/[\s\S]+/,inside:b.languages[r]},{});r[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},b.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(b.languages.markup.tag,"addAttribute",{value:function(e,t){b.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:b.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),b.languages.html=b.languages.markup,b.languages.mathml=b.languages.markup,b.languages.svg=b.languages.markup,b.languages.xml=b.languages.extend("markup",{}),b.languages.ssml=b.languages.xml,b.languages.atom=b.languages.xml,b.languages.rss=b.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",r=RegExp(r+"-"+r),l={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:r,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":l}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":l}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(b),b.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},b.languages.javascript=b.languages.extend("clike",{"class-name":[b.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),b.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,b.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:b.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:b.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:b.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:b.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:b.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),b.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:b.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),b.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),b.languages.markup&&(b.languages.markup.tag.addInlined("script","javascript"),b.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),b.languages.js=b.languages.javascript,b.languages.actionscript=b.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),b.languages.actionscript["class-name"].alias="function",delete b.languages.actionscript.parameter,delete b.languages.actionscript["literal-property"],b.languages.markup&&b.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:b.languages.markup}}),function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(b),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(n,r){(n=typeof n=="string"?[n]:n).forEach(function(l){var o=function(g){g.inside||(g.inside={}),g.inside.rest=r},a="doc-comment";if(s=e.languages[l]){var s,i=s[a];if((i=i||(s=e.languages.insertBefore(l,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[a])instanceof RegExp&&(i=s[a]={pattern:i}),Array.isArray(i))for(var c=0,m=i.length;c<m;c++)i[c]instanceof RegExp&&(i[c]={pattern:i[c]}),o(i[c]);else o(i)}})}}),t.addSupport(["java","javascript","php"],t)}(b),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,t=(e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,e.languages.markup);t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(b),function(e){var t=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,t=(e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp(`\\[(?:[^[\\]"']|`+t.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[t,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:n})}(b),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",l=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function a(s,i){i=(i||"").replace(/m/g,"")+"m";var c=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return s});return RegExp(c,i)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+l+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:a(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:a(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:a(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:a(o),lookbehind:!0,greedy:!0},number:{pattern:a(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(b),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(c){return c=c.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+c+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,l=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,a=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+l+o+"(?:"+l+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+l+o+")(?:"+l+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+l+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+l+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(c){["url","bold","italic","strike","code-snippet"].forEach(function(m){c!==m&&(e.languages.markdown[c].inside.content.inside[m]=e.languages.markdown[m])})}),e.hooks.add("after-tokenize",function(c){c.language!=="markdown"&&c.language!=="md"||function m(g){if(g&&typeof g!="string")for(var h=0,w=g.length;h<w;h++){var f,y=g[h];y.type!=="code"?m(y.content):(f=y.content[1],y=y.content[3],f&&y&&f.type==="code-language"&&y.type==="code-block"&&typeof f.content=="string"&&(f=f.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),f="language-"+(f=(/[a-z][\w-]*/i.exec(f)||[""])[0].toLowerCase()),y.alias?typeof y.alias=="string"?y.alias=[y.alias,f]:y.alias.push(f):y.alias=[f]))}}(c.tokens)}),e.hooks.add("wrap",function(c){if(c.type==="code-block"){for(var m="",g=0,h=c.classes.length;g<h;g++){var w=c.classes[g],w=/language-(.+)/.exec(w);if(w){m=w[1];break}}var f,y=e.languages[m];y?c.content=e.highlight(function(v){return v=v.replace(a,""),v=v.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,u){var p;return(u=u.toLowerCase())[0]==="#"?(p=u[1]==="x"?parseInt(u.slice(2),16):Number(u.slice(1)),i(p)):s[u]||d})}(c.content),y,m):m&&m!=="none"&&e.plugins.autoloader&&(f="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random()),c.attributes.id=f,e.plugins.autoloader.loadLanguages(m,function(){var v=document.getElementById(f);v&&(v.innerHTML=e.highlight(v.textContent,e.languages[m],m))}))}}),RegExp(e.languages.markup.tag.pattern.source,"gi")),s={amp:"&",lt:"<",gt:">",quot:'"'},i=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(b),b.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:b.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},b.hooks.add("after-tokenize",function(e){if(e.language==="graphql")for(var t=e.tokens.filter(function(f){return typeof f!="string"&&f.type!=="comment"&&f.type!=="scalar"}),n=0;n<t.length;){var r=t[n++];if(r.type==="keyword"&&r.content==="mutation"){var l=[];if(g(["definition-mutation","punctuation"])&&m(1).content==="("){n+=2;var o=h(/^\($/,/^\)$/);if(o===-1)continue;for(;n<o;n++){var a=m(0);a.type==="variable"&&(w(a,"variable-input"),l.push(a.content))}n=o+1}if(g(["punctuation","property-query"])&&m(0).content==="{"&&(n++,w(m(0),"property-mutation"),0<l.length)){var s=h(/^\{$/,/^\}$/);if(s!==-1)for(var i=n;i<s;i++){var c=t[i];c.type==="variable"&&0<=l.indexOf(c.content)&&w(c,"variable-input")}}}}function m(f){return t[n+f]}function g(f,y){y=y||0;for(var v=0;v<f.length;v++){var d=m(v+y);if(!d||d.type!==f[v])return}return 1}function h(f,y){for(var v=1,d=n;d<t.length;d++){var u=t[d],p=u.content;if(u.type==="punctuation"&&typeof p=="string"){if(f.test(p))v++;else if(y.test(p)&&--v===0)return d}}return-1}function w(f,y){var v=f.alias;v?Array.isArray(v)||(f.alias=v=[v]):f.alias=v=[],v.push(y)}}),b.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,l=r.inside["interpolation-punctuation"],o=r.pattern.source;function a(g,h){if(e.languages[g])return{pattern:RegExp("((?:"+h+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:g}}}}function s(g,h,w){return g={code:g,grammar:h,language:w},e.hooks.run("before-tokenize",g),g.tokens=e.tokenize(g.code,g.grammar),e.hooks.run("after-tokenize",g),g.tokens}function i(g,h,w){var v=e.tokenize(g,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),f=0,y={},v=s(v.map(function(u){if(typeof u=="string")return u;for(var p,x,u=u.content;g.indexOf((x=f++,p="___"+w.toUpperCase()+"_"+x+"___"))!==-1;);return y[p]=u,p}).join(""),h,w),d=Object.keys(y);return f=0,function u(p){for(var x=0;x<p.length;x++){if(f>=d.length)return;var S,C,E,N,j,F,H,D=p[x];typeof D=="string"||typeof D.content=="string"?(S=d[f],(H=(F=typeof D=="string"?D:D.content).indexOf(S))!==-1&&(++f,C=F.substring(0,H),j=y[S],E=void 0,(N={})["interpolation-punctuation"]=l,(N=e.tokenize(j,N)).length===3&&((E=[1,1]).push.apply(E,s(N[1],e.languages.javascript,"javascript")),N.splice.apply(N,E)),E=new e.Token("interpolation",N,r.alias,j),N=F.substring(H+S.length),j=[],C&&j.push(C),j.push(E),N&&(u(F=[N]),j.push.apply(j,F)),typeof D=="string"?(p.splice.apply(p,[x,1].concat(j)),x+=j.length-1):D.content=j)):(H=D.content,Array.isArray(H)?u(H):u([H]))}}(v),new e.Token(w,v,"language-"+w,g)}e.languages.javascript["template-string"]=[a("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),a("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),a("svg",/\bsvg/.source),a("markdown",/\b(?:markdown|md)/.source),a("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),a("sql",/\bsql/.source),t].filter(Boolean);var c={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function m(g){return typeof g=="string"?g:Array.isArray(g)?g.map(m).join(""):m(g.content)}e.hooks.add("after-tokenize",function(g){g.language in c&&function h(w){for(var f=0,y=w.length;f<y;f++){var v,d,u,p=w[f];typeof p!="string"&&(v=p.content,Array.isArray(v)?p.type==="template-string"?(p=v[1],v.length===3&&typeof p!="string"&&p.type==="embedded-code"&&(d=m(p),p=p.alias,p=Array.isArray(p)?p[0]:p,u=e.languages[p])&&(v[1]=i(d,u,p))):h(v):typeof v!="string"&&h([v]))}}(g.tokens)})}(b),function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(b),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(b),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(b),b.languages.n4js=b.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),b.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),b.languages.n4jsd=b.languages.n4js,function(e){function t(a,s){return RegExp(a.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),s)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var o=n[r],l=e.languages.javascript[o],o=(l=e.util.type(l)==="RegExp"?e.languages.javascript[o]={pattern:l}:l).inside||{};(l.inside=o)["maybe-class-name"]=/^[A-Z][\s\S]*/}}(b),function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,l=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(i,c){return i=i.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return l}),RegExp(i,c)}l=o(l).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);function a(i){for(var c=[],m=0;m<i.length;m++){var g=i[m],h=!1;typeof g!="string"&&(g.type==="tag"&&g.content[0]&&g.content[0].type==="tag"?g.content[0].content[0].content==="</"?0<c.length&&c[c.length-1].tagName===s(g.content[0].content[1])&&c.pop():g.content[g.content.length-1].content!=="/>"&&c.push({tagName:s(g.content[0].content[1]),openedBraces:0}):0<c.length&&g.type==="punctuation"&&g.content==="{"?c[c.length-1].openedBraces++:0<c.length&&0<c[c.length-1].openedBraces&&g.type==="punctuation"&&g.content==="}"?c[c.length-1].openedBraces--:h=!0),(h||typeof g=="string")&&0<c.length&&c[c.length-1].openedBraces===0&&(h=s(g),m<i.length-1&&(typeof i[m+1]=="string"||i[m+1].type==="plain-text")&&(h+=s(i[m+1]),i.splice(m+1,1)),0<m&&(typeof i[m-1]=="string"||i[m-1].type==="plain-text")&&(h=s(i[m-1])+h,i.splice(m-1,1),m--),i[m]=new e.Token("plain-text",h,null,h)),g.content&&typeof g.content!="string"&&a(g.content)}}var s=function(i){return i?typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(s).join(""):""};e.hooks.add("after-tokenize",function(i){i.language!=="jsx"&&i.language!=="tsx"||a(i.tokens)})}(b),function(e){var t=e.util.clone(e.languages.typescript),t=(e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],e.languages.tsx.tag);t.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+t.pattern.source+")",t.pattern.flags),t.lookbehind=!0}(b),b.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},b.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=b.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(b),b.languages.c=b.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),b.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),b.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},b.languages.c.string],char:b.languages.c.char,comment:b.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:b.languages.c}}}}),b.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete b.languages.c.boolean,b.languages.objectivec=b.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete b.languages.objectivec["class-name"],b.languages.objc=b.languages.objectivec,b.languages.reason=b.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),b.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete b.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(b),b.languages.go=b.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),b.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete b.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(b),b.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},b.languages.python["string-interpolation"].inside.interpolation.inside.rest=b.languages.python,b.languages.py=b.languages.python,b.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},b.languages.webmanifest=b.languages.json;var Nc={};Uf(Nc,{dracula:()=>Qf,duotoneDark:()=>Kf,duotoneLight:()=>Xf,github:()=>Jf,gruvboxMaterialDark:()=>Lg,gruvboxMaterialLight:()=>Fg,jettwaveDark:()=>xg,jettwaveLight:()=>Sg,nightOwl:()=>tg,nightOwlLight:()=>rg,oceanicNext:()=>og,okaidia:()=>ig,oneDark:()=>Eg,oneLight:()=>Cg,palenight:()=>ug,shadesOfPurple:()=>dg,synthwave84:()=>fg,ultramin:()=>yg,vsDark:()=>Lc,vsLight:()=>vg});var Gf={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},Qf=Gf,Zf={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},Kf=Zf,Yf={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},Xf=Yf,qf={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},Jf=qf,eg={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},tg=eg,ng={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},rg=ng,we={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",tag:"#fc929e",function:"#79b6f2",className:"#FAC863"},lg={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:we.keyword}},{types:["attr-value"],style:{color:we.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:we.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:we.primitive}},{types:["boolean"],style:{color:we.boolean}},{types:["tag"],style:{color:we.tag}},{types:["string"],style:{color:we.string}},{types:["punctuation"],style:{color:we.string}},{types:["selector","char","builtin","inserted"],style:{color:we.char}},{types:["function"],style:{color:we.function}},{types:["operator","entity","url","variable"],style:{color:we.variable}},{types:["keyword"],style:{color:we.keyword}},{types:["atrule","class-name"],style:{color:we.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},og=lg,ag={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},ig=ag,sg={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},ug=sg,cg={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},dg=cg,pg={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},fg=pg,gg={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},yg=gg,mg={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},Lc=mg,hg={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},vg=hg,wg={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},xg=wg,kg={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Sg=kg,bg={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},Eg=bg,_g={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Cg=_g,Ng={plain:{color:"#ebdbb2",backgroundColor:"#292828"},styles:[{types:["imports","class-name","maybe-class-name","constant","doctype","builtin","function"],style:{color:"#d8a657"}},{types:["property-access"],style:{color:"#7daea3"}},{types:["tag"],style:{color:"#e78a4e"}},{types:["attr-name","char","url","regex"],style:{color:"#a9b665"}},{types:["attr-value","string"],style:{color:"#89b482"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#ea6962"}},{types:["entity","number","symbol"],style:{color:"#d3869b"}}]},Lg=Ng,Ag={plain:{color:"#654735",backgroundColor:"#f9f5d7"},styles:[{types:["delimiter","boolean","keyword","selector","important","atrule","property","variable","deleted"],style:{color:"#af2528"}},{types:["imports","class-name","maybe-class-name","constant","doctype","builtin"],style:{color:"#b4730e"}},{types:["string","attr-value"],style:{color:"#477a5b"}},{types:["property-access"],style:{color:"#266b79"}},{types:["function","attr-name","char","url"],style:{color:"#72761e"}},{types:["tag"],style:{color:"#b94c07"}},{types:["comment","prolog","cdata","operator","inserted"],style:{color:"#a89984"}},{types:["entity","number","symbol"],style:{color:"#924f79"}}]},Fg=Ag,Tg=e=>O.useCallback(t=>{var n=t,{className:r,style:l,line:o}=n,a=Cc(n,["className","style","line"]);const s=Nl(Ye({},a),{className:bc("token-line",r)});return typeof e=="object"&&"plain"in e&&(s.style=e.plain),typeof l=="object"&&(s.style=Ye(Ye({},s.style||{}),l)),s},[e]),Rg=e=>{const t=O.useCallback(({types:n,empty:r})=>{if(e!=null){{if(n.length===1&&n[0]==="plain")return r!=null?{display:"inline-block"}:void 0;if(n.length===1&&r!=null)return e[n[0]]}return Object.assign(r!=null?{display:"inline-block"}:{},...n.map(l=>e[l]))}},[e]);return O.useCallback(n=>{var r=n,{token:l,className:o,style:a}=r,s=Cc(r,["token","className","style"]);const i=Nl(Ye({},s),{className:bc("token",...l.types,o),children:l.content,style:t(l)});return a!=null&&(i.style=Ye(Ye({},i.style||{}),a)),i},[t])},jg=/\r\n|\r|\n/,rs=e=>{e.length===0?e.push({types:["plain"],content:`
126
+ `,empty:!0}):e.length===1&&e[0].content===""&&(e[0].content=`
127
+ `,e[0].empty=!0)},ls=(e,t)=>{const n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},Pg=e=>{const t=[[]],n=[e],r=[0],l=[e.length];let o=0,a=0,s=[];const i=[s];for(;a>-1;){for(;(o=r[a]++)<l[a];){let c,m=t[a];const h=n[a][o];if(typeof h=="string"?(m=a>0?m:["plain"],c=h):(m=ls(m,h.type),h.alias&&(m=ls(m,h.alias)),c=h.content),typeof c!="string"){a++,t.push(m),n.push(c),r.push(0),l.push(c.length);continue}const w=c.split(jg),f=w.length;s.push({types:m,content:w[0]});for(let y=1;y<f;y++)rs(s),i.push(s=[]),s.push({types:m,content:w[y]})}a--,t.pop(),n.pop(),r.pop(),l.pop()}return rs(s),i},os=Pg,Ig=({prism:e,code:t,grammar:n,language:r})=>O.useMemo(()=>{if(n==null)return os([t]);const l={code:t,grammar:n,language:r,tokens:[]};return e.hooks.run("before-tokenize",l),l.tokens=e.tokenize(t,n),e.hooks.run("after-tokenize",l),os(l.tokens)},[t,n,r,e]),Og=(e,t)=>{const{plain:n}=e,r=e.styles.reduce((l,o)=>{const{languages:a,style:s}=o;return a&&!a.includes(t)||o.types.forEach(i=>{const c=Ye(Ye({},l[i]),s);l[i]=c}),l},{});return r.root=n,r.plain=Nl(Ye({},n),{backgroundColor:void 0}),r},zg=Og,Dg=({children:e,language:t,code:n,theme:r,prism:l})=>{const o=t.toLowerCase(),a=zg(r,o),s=Tg(a),i=Rg(a),c=l.languages[o],m=Ig({prism:l,language:o,code:n,grammar:c});return e({tokens:m,className:`prism-code language-${o}`,style:a!=null?a.root:{},getLineProps:s,getTokenProps:i})},Mg=e=>O.createElement(Dg,Nl(Ye({},e),{prism:e.prism||b,theme:e.theme||Lc,code:e.code,language:e.language}));/*! Bundled license information:
128
+
129
+ prismjs/prism.js:
130
+ (**
131
+ * Prism: Lightweight, robust, elegant syntax highlighting
132
+ *
133
+ * @license MIT <https://opensource.org/licenses/MIT>
134
+ * @author Lea Verou <https://lea.verou.me>
135
+ * @namespace
136
+ * @public
137
+ *)
138
+ */function $g(e){var r;const t=(r=e.split(".").pop())==null?void 0:r.toLowerCase();return{ts:"typescript",tsx:"tsx",js:"javascript",jsx:"jsx",json:"json",css:"css",scss:"css",html:"html"}[t||""]||"text"}let Ac="";function Bg(e){Ac=e}function Ko({code:e,language:t,className:n}){const r=t||$g(Ac);return k.jsx(Mg,{code:e,language:r,theme:Nc.nightOwl,children:({style:l,tokens:o,getLineProps:a,getTokenProps:s})=>k.jsx("span",{className:n,style:{...l,background:"transparent"},children:o.map((i,c)=>k.jsx("span",{...a({line:i}),children:i.map((m,g)=>k.jsx("span",{...s({token:m})},g))},c))})})}function Ug({chunk:e,comments:t,onAddComment:n,onGeneratePrompt:r,onRemoveComment:l}){const[o,a]=O.useState(null),s=w=>{a(o===w?null:w)},i=()=>{a(null)},c=async w=>{o!==null&&(await n(o,w),a(null))},m=w=>t.filter(f=>f.line===w),h=(w=>{const f=[];let y=e.oldStart,v=e.newStart,d=0;for(;d<w.length;){const u=w[d];if(u.type==="normal")f.push({oldLine:u,newLine:{...u},oldLineNumber:y,newLineNumber:v}),y++,v++,d++;else if(u.type==="delete"){let p=d+1;for(;p<w.length&&w[p].type==="delete";)p++;const x=w.slice(d,p),S=[];for(;p<w.length&&w[p].type==="add";)S.push(w[p]),p++;const C=Math.max(x.length,S.length);for(let E=0;E<C;E++){const N=x[E],j=S[E];f.push({oldLine:N,newLine:j,oldLineNumber:N?y+E:void 0,newLineNumber:j?v+E:void 0})}y+=x.length,v+=S.length,d=p}else u.type==="add"&&(f.push({newLine:u,newLineNumber:v}),v++,d++)}return f})(e.lines);return k.jsx("div",{className:"bg-github-bg-primary border border-github-border rounded-md overflow-hidden",children:k.jsx("table",{className:"w-full border-collapse font-mono text-xs leading-5",children:k.jsx("tbody",{children:h.map((w,f)=>{var u,p,x,S,C,E,N,j,F,H;const y=w.oldLineNumber?m(w.oldLineNumber):[],v=w.newLineNumber?m(w.newLineNumber):[],d=Array.from(new Map([...y,...v].map(D=>[D.id,D])).values());return k.jsxs(ea.Fragment,{children:[k.jsxs("tr",{className:"group",children:[k.jsx("td",{className:"w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:w.oldLineNumber||""}),k.jsx("td",{className:`w-1/2 p-0 align-top border-r border-github-border relative ${((u=w.oldLine)==null?void 0:u.type)==="delete"?"bg-diff-deletion-bg cursor-pointer":((p=w.oldLine)==null?void 0:p.type)==="normal"?"bg-transparent":"bg-github-bg-secondary"}`,onClick:()=>{var D;return((D=w.oldLine)==null?void 0:D.type)==="delete"&&w.oldLineNumber&&s(w.oldLineNumber)},title:((x=w.oldLine)==null?void 0:x.type)==="delete"&&w.oldLineNumber?"Click to add comment":"",children:w.oldLine&&k.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:k.jsx(Ko,{code:w.oldLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit"})})}),k.jsx("td",{className:"w-[60px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:w.newLineNumber||""}),k.jsx("td",{className:`w-1/2 p-0 align-top relative ${((S=w.newLine)==null?void 0:S.type)==="add"?"bg-diff-addition-bg cursor-pointer":((C=w.newLine)==null?void 0:C.type)==="normal"?"bg-transparent cursor-pointer":"bg-github-bg-secondary"}`,onClick:()=>{var D,Pe;return(((D=w.newLine)==null?void 0:D.type)==="add"||((Pe=w.newLine)==null?void 0:Pe.type)==="normal")&&w.newLineNumber&&s(w.newLineNumber)},title:(((E=w.newLine)==null?void 0:E.type)==="add"||((N=w.newLine)==null?void 0:N.type)==="normal")&&w.newLineNumber?"Click to add comment":"",children:w.newLine&&k.jsx("div",{className:"flex items-center relative min-h-[20px] px-3",children:k.jsx(Ko,{code:w.newLine.content,className:"flex-1 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit"})})})]}),d.length>0&&k.jsx("tr",{className:"bg-github-bg-secondary",children:k.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:d.map(D=>k.jsx(kc,{comment:D,onGeneratePrompt:r,onRemoveComment:l},D.id))})}),o&&(o===w.oldLineNumber&&((j=w.oldLine)==null?void 0:j.type)==="delete"||o===w.newLineNumber&&(((F=w.newLine)==null?void 0:F.type)==="add"||((H=w.newLine)==null?void 0:H.type)==="normal"))&&k.jsx("tr",{className:"bg-github-bg-secondary",children:k.jsx("td",{colSpan:4,className:"p-0 border-t border-github-border",children:k.jsx(vc,{onSubmit:c,onCancel:i})})})]},f)})})})})}function Hg({chunk:e,comments:t,onAddComment:n,onGeneratePrompt:r,onRemoveComment:l,mode:o="inline"}){const[a,s]=O.useState(null),[i,c]=O.useState(null),m=v=>{switch(v.type){case"add":return"bg-diff-addition-bg";case"delete":return"bg-diff-deletion-bg";default:return"bg-transparent"}},g=v=>{switch(v.type){case"add":return"+";case"delete":return"-";default:return" "}},h=(v,d)=>{a===v?(s(null),c(null)):(s(v),c(d))},w=()=>{s(null),c(null)},f=async v=>{a!==null&&(await n(a,v,i||void 0),s(null),c(null))},y=v=>t.filter(d=>d.line===v);return o==="side-by-side"?k.jsx(Ug,{chunk:e,comments:t,onAddComment:n,onGeneratePrompt:r,onRemoveComment:l}):k.jsx("div",{className:"bg-github-bg-primary",children:k.jsx("table",{className:"w-full border-collapse font-mono text-xs leading-5",children:k.jsx("tbody",{children:e.lines.map((v,d)=>{const u=y(v.newLineNumber||v.oldLineNumber||0);return k.jsxs(ea.Fragment,{children:[k.jsxs("tr",{className:`cursor-pointer group ${m(v)}`,onClick:()=>h(v.newLineNumber||v.oldLineNumber||0,v.content),title:"Click to add comment",children:[k.jsx("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:v.oldLineNumber||""}),k.jsx("td",{className:"w-[50px] px-2 text-right text-github-text-muted bg-github-bg-secondary border-r border-github-border select-none align-top",children:v.newLineNumber||""}),k.jsx("td",{className:"p-0 w-full relative align-top",children:k.jsxs("div",{className:"flex items-center relative min-h-[20px]",children:[k.jsx("span",{className:`w-5 text-center text-github-text-muted flex-shrink-0 bg-github-bg-secondary border-r border-github-border ${v.type==="add"?"text-github-accent bg-diff-addition-bg":v.type==="delete"?"text-github-danger bg-diff-deletion-bg":""}`,children:g(v)}),k.jsx(Ko,{code:v.content,className:"flex-1 px-3 text-github-text-primary whitespace-pre-wrap break-all overflow-wrap-break-word [&_pre]:m-0 [&_pre]:p-0 [&_pre]:!bg-transparent [&_pre]:font-inherit [&_pre]:text-inherit [&_pre]:leading-inherit [&_code]:!bg-transparent [&_code]:font-inherit [&_code]:text-inherit [&_code]:leading-inherit"})]})})]}),u.map(p=>k.jsx("tr",{className:"bg-github-bg-secondary",children:k.jsx("td",{colSpan:3,className:"p-0 border-t border-github-border",children:k.jsx(kc,{comment:p,onGeneratePrompt:r,onRemoveComment:l})})},p.id)),a===(v.newLineNumber||v.oldLineNumber)&&k.jsx("tr",{className:"bg-[var(--bg-secondary)]",children:k.jsx("td",{colSpan:3,className:"p-0 border-t border-[var(--border-muted)]",children:k.jsx(vc,{onSubmit:f,onCancel:w})})})]},d)})})})})}function Vg({file:e,comments:t,diffMode:n,reviewedFiles:r,onToggleReviewed:l,onAddComment:o,onGeneratePrompt:a,onRemoveComment:s}){const i=r.has(e.path);Bg(e.path);const c=g=>{switch(g){case"added":return k.jsx(Nf,{size:16,className:"text-github-accent"});case"deleted":return k.jsx(Tf,{size:16,className:"text-github-danger"});case"renamed":return k.jsx(_f,{size:16,className:"text-github-warning"});default:return k.jsx(Af,{size:16,className:"text-github-text-secondary"})}},m=async(g,h,w)=>{try{await o(e.path,g,h,w)}catch(f){console.error("Failed to add comment:",f)}};return k.jsxs("div",{className:"bg-github-bg-primary",children:[k.jsxs("div",{className:"bg-github-bg-secondary border-b border-github-border px-5 py-4 flex items-center justify-between flex-wrap gap-3 sticky top-0 z-10",children:[k.jsxs("div",{className:"flex items-center gap-2 flex-1 min-w-0",children:[k.jsx("button",{onClick:()=>l(e.path),className:"text-github-text-muted hover:text-github-text-primary transition-colors cursor-pointer",title:i?"Expand file":"Collapse file",children:i?k.jsx(vf,{size:16}):k.jsx(mf,{size:16})}),c(e.status),k.jsx("h2",{className:"text-sm font-mono text-github-text-primary m-0 overflow-hidden text-ellipsis whitespace-nowrap",children:e.path}),k.jsx("button",{className:"bg-transparent border-none cursor-pointer px-1.5 py-1 rounded text-sm text-github-text-secondary transition-all hover:bg-github-bg-tertiary hover:text-github-text-primary",onClick:()=>{navigator.clipboard.writeText(e.path).then(()=>{console.log("File path copied to clipboard:",e.path)}).catch(g=>{console.error("Failed to copy file path:",g)})},title:"Copy file path",children:k.jsx(xc,{size:14})}),e.oldPath&&e.oldPath!==e.path&&k.jsxs("span",{className:"text-xs text-github-text-muted italic",children:["(renamed from ",e.oldPath,")"]})]}),k.jsx("div",{className:"flex items-center gap-3",children:k.jsxs("button",{onClick:()=>l(e.path),className:`flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-all duration-200 ${r.has(e.path)?"bg-github-accent text-white":"bg-gray-600 text-gray-200 border border-gray-500 hover:bg-gray-500 hover:text-white"}`,title:r.has(e.path)?"Mark as not reviewed":"Mark as reviewed",children:[r.has(e.path)?k.jsx(gf,{size:14}):k.jsx(jf,{size:14}),"Viewed"]})})]}),!i&&k.jsx("div",{className:"overflow-y-auto",children:e.chunks.map((g,h)=>k.jsxs("div",{className:"border-b border-github-border",children:[k.jsx("div",{className:"bg-github-bg-tertiary px-3 py-2 border-b border-github-border",children:k.jsx("code",{className:"text-github-text-secondary text-xs font-mono",children:g.header})}),k.jsx(Hg,{chunk:g,comments:t,onAddComment:m,onGeneratePrompt:a,onRemoveComment:s,mode:n})]},h))})]})}function Wg(e){const[t,n]=O.useState([]),r=e?`reviewit-comments-${e}`:"reviewit-comments";O.useEffect(()=>{const c=localStorage.getItem(r);if(c)try{n(JSON.parse(c))}catch(m){console.error("Failed to parse saved comments:",m)}},[r]),O.useEffect(()=>{localStorage.setItem(r,JSON.stringify(t))},[t,r]);const l=(c,m,g,h)=>{console.log("Adding comment with codeContent:",h);const w={id:`${c}:${m}:${Date.now()}`,file:c,line:m,body:g,timestamp:new Date().toISOString(),codeContent:h};return n(f=>[...f,w]),w},o=c=>{n(m=>m.filter(g=>g.id!==c))},a=()=>{n([]),localStorage.removeItem(r)},s=c=>{console.log("Generating prompt for comment:",c);const m=[`File: ${c.file}`,`Line: ${c.line}`,""];return c.codeContent?m.push("Code Context:","```",c.codeContent,"```",""):console.log("No codeContent found for comment:",c.id),m.push(`Comment: ${c.body}`),m.join(`
139
+ `)};return{comments:t,addComment:l,removeComment:o,clearAllComments:a,generatePrompt:s,generateAllCommentsPrompt:()=>{if(t.length===0)return"No comments available.";const c=t.map((m,g)=>{const h=s(m);return[`## Comment ${g+1}`,h].join(`
140
+ `)});return[`All Code Review Comments (${t.length} total)`,"=".repeat(50),"",...c].join(`
141
+
142
+ `)}}}function Gg(){const[e,t]=O.useState(null),[n,r]=O.useState(new Set),[l,o]=O.useState("side-by-side"),[a,s]=O.useState(!0),[i,c]=O.useState(null),[m,g]=O.useState(!1),{comments:h,addComment:w,removeComment:f,generatePrompt:y,generateAllCommentsPrompt:v}=Wg(e==null?void 0:e.commit);O.useEffect(()=>{d()},[]);const d=async()=>{try{const S=await fetch("/api/diff");if(!S.ok)throw new Error("Failed to fetch diff data");const C=await S.json();t(C)}catch(S){c(S instanceof Error?S.message:"Unknown error")}finally{s(!1)}},u=async(S,C,E,N)=>{w(S,C,E,N)},p=async()=>{try{const S=v();await navigator.clipboard.writeText(S),g(!0),setTimeout(()=>g(!1),2e3)}catch(S){console.error("Failed to copy all comments prompt:",S)}},x=S=>{r(C=>{const E=new Set(C);return E.has(S)?E.delete(S):E.add(S),E})};return a?k.jsx("div",{className:"flex items-center justify-center h-screen bg-github-bg-primary",children:k.jsx("div",{className:"text-github-text-secondary text-base",children:"Loading diff..."})}):i?k.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-github-bg-primary text-center gap-2",children:[k.jsx("h2",{className:"text-github-danger text-2xl mb-2",children:"Error"}),k.jsx("p",{className:"text-github-text-secondary text-base",children:i})]}):e?k.jsxs("div",{className:"h-screen flex flex-col",children:[k.jsxs("header",{className:"bg-github-bg-secondary border-b border-github-border flex items-center",children:[k.jsx("div",{className:"w-80 min-w-80 px-4 py-3 border-r border-github-border",children:k.jsxs("h1",{className:"text-lg font-semibold text-github-text-primary m-0 flex items-center gap-2",children:[k.jsx(xf,{size:20}),"ReviewIt"]})}),k.jsxs("div",{className:"flex-1 px-4 py-3 flex items-center justify-between gap-4",children:[k.jsxs("div",{className:"flex items-center gap-3",children:[k.jsxs("div",{className:"flex bg-github-bg-tertiary border border-github-border rounded-md p-1",children:[k.jsxs("button",{onClick:()=>o("side-by-side"),className:`px-3 py-1.5 text-xs font-medium rounded transition-all duration-200 flex items-center gap-1.5 cursor-pointer ${l==="side-by-side"?"bg-github-bg-primary text-github-text-primary shadow-sm":"text-github-text-secondary hover:text-github-text-primary"}`,children:[k.jsx(Sf,{size:14}),"Side by Side"]}),k.jsxs("button",{onClick:()=>o("inline"),className:`px-3 py-1.5 text-xs font-medium rounded transition-all duration-200 flex items-center gap-1.5 cursor-pointer ${l==="inline"?"bg-github-bg-primary text-github-text-primary shadow-sm":"text-github-text-secondary hover:text-github-text-primary"}`,children:[k.jsx(pf,{size:14}),"Inline"]})]}),h.length>0&&k.jsxs("button",{onClick:p,className:"text-xs px-3 py-1.5 bg-yellow-900/20 text-yellow-200 border border-yellow-600/50 rounded hover:bg-yellow-800/30 hover:border-yellow-500 transition-all whitespace-nowrap flex items-center gap-1.5",title:`Copy all ${h.length} comments to Claude Code`,children:[k.jsx(xc,{size:12}),m?"Copied All!":`Copy All (${h.length})`]})]}),k.jsxs("div",{className:"flex items-center gap-4 text-sm text-github-text-secondary",children:[k.jsxs("span",{children:["Reviewing:"," ",k.jsx("code",{className:"bg-github-bg-tertiary px-1.5 py-0.5 rounded text-xs text-github-text-primary",children:e.commit})]}),k.jsxs("span",{children:[e.files.length," file",e.files.length!==1?"s":""," changed"]})]})]})]}),k.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[k.jsx("aside",{className:"w-80 min-w-80 bg-github-bg-secondary border-r border-github-border overflow-y-auto",children:k.jsx(lf,{files:e.files,onScrollToFile:S=>{const C=document.getElementById(`file-${S.replace(/[^a-zA-Z0-9]/g,"-")}`);C&&C.scrollIntoView({behavior:"smooth",block:"start"})},comments:h,reviewedFiles:n,onToggleReviewed:x})}),k.jsx("main",{className:"flex-1 overflow-y-auto",children:e.files.map(S=>k.jsx("div",{id:`file-${S.path.replace(/[^a-zA-Z0-9]/g,"-")}`,className:"mb-6",children:k.jsx(Vg,{file:S,comments:h.filter(C=>C.file===S.path),diffMode:l,reviewedFiles:n,onToggleReviewed:x,onAddComment:u,onGeneratePrompt:y,onRemoveComment:f})},S.path))})]})]}):k.jsxs("div",{className:"flex flex-col items-center justify-center h-screen bg-github-bg-primary text-center gap-2",children:[k.jsx("h2",{className:"text-github-danger text-2xl mb-2",children:"No data"}),k.jsx("p",{className:"text-github-text-secondary text-base",children:"No diff data available"})]})}to.createRoot(document.getElementById("root")).render(k.jsx(ea.StrictMode,{children:k.jsx(Gg,{})}));