mirror of
https://github.com/Snigdha-OS/Snigdha-OS.github.io.git
synced 2025-09-08 21:55:02 +02:00
376 lines
365 KiB
JavaScript
376 lines
365 KiB
JavaScript
function nf(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(o){if(o.ep)return;o.ep=!0;const s=r(o);fetch(o.href,s)}})();var Us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Cc={exports:{}},ds={},Ac={exports:{}},$={};/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Wn=Symbol.for("react.element"),of=Symbol.for("react.portal"),sf=Symbol.for("react.fragment"),af=Symbol.for("react.strict_mode"),lf=Symbol.for("react.profiler"),uf=Symbol.for("react.provider"),cf=Symbol.for("react.context"),df=Symbol.for("react.forward_ref"),pf=Symbol.for("react.suspense"),hf=Symbol.for("react.memo"),ff=Symbol.for("react.lazy"),Dl=Symbol.iterator;function mf(e){return e===null||typeof e!="object"?null:(e=Dl&&e[Dl]||e["@@iterator"],typeof e=="function"?e:null)}var Nc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fc=Object.assign,Gc={};function Kr(e,t,r){this.props=e,this.context=t,this.refs=Gc,this.updater=r||Nc}Kr.prototype.isReactComponent={};Kr.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")};Kr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dc(){}Dc.prototype=Kr.prototype;function _a(e,t,r){this.props=e,this.context=t,this.refs=Gc,this.updater=r||Nc}var ka=_a.prototype=new Dc;ka.constructor=_a;Fc(ka,Kr.prototype);ka.isPureReactComponent=!0;var Ul=Array.isArray,Uc=Object.prototype.hasOwnProperty,Ta={current:null},Lc={key:!0,ref:!0,__self:!0,__source:!0};function Ic(e,t,r){var n,o={},s=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(s=""+t.key),t)Uc.call(t,n)&&!Lc.hasOwnProperty(n)&&(o[n]=t[n]);var a=arguments.length-2;if(a===1)o.children=r;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(n in a=e.defaultProps,a)o[n]===void 0&&(o[n]=a[n]);return{$$typeof:Wn,type:e,key:s,ref:i,props:o,_owner:Ta.current}}function gf(e,t){return{$$typeof:Wn,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Sa(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wn}function yf(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Ll=/\/+/g;function Ls(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yf(""+e.key):t.toString(36)}function _o(e,t,r,n,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(s){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Wn:case of:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+Ls(i,0):n,Ul(o)?(r="",e!=null&&(r=e.replace(Ll,"$&/")+"/"),_o(o,t,r,"",function(c){return c})):o!=null&&(Sa(o)&&(o=gf(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Ll,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",Ul(e))for(var a=0;a<e.length;a++){s=e[a];var l=n+Ls(s,a);i+=_o(s,t,r,l,o)}else if(l=mf(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=n+Ls(s,a++),i+=_o(s,t,r,l,o);else if(s==="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 i}function to(e,t,r){if(e==null)return e;var n=[],o=0;return _o(e,n,"","",function(s){return t.call(r,s,o++)}),n}function vf(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ke={current:null},ko={transition:null},wf={ReactCurrentDispatcher:ke,ReactCurrentBatchConfig:ko,ReactCurrentOwner:Ta};function zc(){throw Error("act(...) is not supported in production builds of React.")}$.Children={map:to,forEach:function(e,t,r){to(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return to(e,function(){t++}),t},toArray:function(e){return to(e,function(t){return t})||[]},only:function(e){if(!Sa(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};$.Component=Kr;$.Fragment=sf;$.Profiler=lf;$.PureComponent=_a;$.StrictMode=af;$.Suspense=pf;$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=wf;$.act=zc;$.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Fc({},e.props),o=e.key,s=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,i=Ta.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)Uc.call(t,l)&&!Lc.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){a=Array(l);for(var c=0;c<l;c++)a[c]=arguments[c+2];n.children=a}return{$$typeof:Wn,type:e.type,key:o,ref:s,props:n,_owner:i}};$.createContext=function(e){return e={$$typeof:cf,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:uf,_context:e},e.Consumer=e};$.createElement=Ic;$.createFactory=function(e){var t=Ic.bind(null,e);return t.type=e,t};$.createRef=function(){return{current:null}};$.forwardRef=function(e){return{$$typeof:df,render:e}};$.isValidElement=Sa;$.lazy=function(e){return{$$typeof:ff,_payload:{_status:-1,_result:e},_init:vf}};$.memo=function(e,t){return{$$typeof:hf,type:e,compare:t===void 0?null:t}};$.startTransition=function(e){var t=ko.transition;ko.transition={};try{e()}finally{ko.transition=t}};$.unstable_act=zc;$.useCallback=function(e,t){return ke.current.useCallback(e,t)};$.useContext=function(e){return ke.current.useContext(e)};$.useDebugValue=function(){};$.useDeferredValue=function(e){return ke.current.useDeferredValue(e)};$.useEffect=function(e,t){return ke.current.useEffect(e,t)};$.useId=function(){return ke.current.useId()};$.useImperativeHandle=function(e,t,r){return ke.current.useImperativeHandle(e,t,r)};$.useInsertionEffect=function(e,t){return ke.current.useInsertionEffect(e,t)};$.useLayoutEffect=function(e,t){return ke.current.useLayoutEffect(e,t)};$.useMemo=function(e,t){return ke.current.useMemo(e,t)};$.useReducer=function(e,t,r){return ke.current.useReducer(e,t,r)};$.useRef=function(e){return ke.current.useRef(e)};$.useState=function(e){return ke.current.useState(e)};$.useSyncExternalStore=function(e,t,r){return ke.current.useSyncExternalStore(e,t,r)};$.useTransition=function(){return ke.current.useTransition()};$.version="18.3.1";Ac.exports=$;var j=Ac.exports;const lt=cs(j),Ef=nf({__proto__:null,default:lt},[j]);/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var xf=j,_f=Symbol.for("react.element"),kf=Symbol.for("react.fragment"),Tf=Object.prototype.hasOwnProperty,Sf=xf.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,bf={key:!0,ref:!0,__self:!0,__source:!0};function $c(e,t,r){var n,o={},s=null,i=null;r!==void 0&&(s=""+r),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)Tf.call(t,n)&&!bf.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:_f,type:e,key:s,ref:i,props:o,_owner:Sf.current}}ds.Fragment=kf;ds.jsx=$c;ds.jsxs=$c;Cc.exports=ds;var u=Cc.exports,Mc={exports:{}},Ge={},Bc={exports:{}},Hc={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/(function(e){function t(A,L){var I=A.length;A.push(L);e:for(;0<I;){var Y=I-1>>>1,oe=A[Y];if(0<o(oe,L))A[Y]=L,A[I]=oe,I=Y;else break e}}function r(A){return A.length===0?null:A[0]}function n(A){if(A.length===0)return null;var L=A[0],I=A.pop();if(I!==L){A[0]=I;e:for(var Y=0,oe=A.length,Ht=oe>>>1;Y<Ht;){var Ye=2*(Y+1)-1,fr=A[Ye],Xe=Ye+1,qt=A[Xe];if(0>o(fr,I))Xe<oe&&0>o(qt,fr)?(A[Y]=qt,A[Xe]=I,Y=Xe):(A[Y]=fr,A[Ye]=I,Y=Ye);else if(Xe<oe&&0>o(qt,I))A[Y]=qt,A[Xe]=I,Y=Xe;else break e}}return L}function o(A,L){var I=A.sortIndex-L.sortIndex;return I!==0?I:A.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var i=Date,a=i.now();e.unstable_now=function(){return i.now()-a}}var l=[],c=[],g=1,h=null,y=3,x=!1,S=!1,T=!1,P=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(A){for(var L=r(c);L!==null;){if(L.callback===null)n(c);else if(L.startTime<=A)n(c),L.sortIndex=L.expirationTime,t(l,L);else break;L=r(c)}}function _(A){if(T=!1,m(A),!S)if(r(l)!==null)S=!0,Zr(R);else{var L=r(c);L!==null&&hr(_,L.startTime-A)}}function R(A,L){S=!1,T&&(T=!1,f(U),U=-1),x=!0;var I=y;try{for(m(L),h=r(l);h!==null&&(!(h.expirationTime>L)||A&&!Se());){var Y=h.callback;if(typeof Y=="function"){h.callback=null,y=h.priorityLevel;var oe=Y(h.expirationTime<=L);L=e.unstable_now(),typeof oe=="function"?h.callback=oe:h===r(l)&&n(l),m(L)}else n(l);h=r(l)}if(h!==null)var Ht=!0;else{var Ye=r(c);Ye!==null&&hr(_,Ye.startTime-L),Ht=!1}return Ht}finally{h=null,y=I,x=!1}}var C=!1,F=null,U=-1,W=5,z=-1;function Se(){return!(e.unstable_now()-z<W)}function gt(){if(F!==null){var A=e.unstable_now();z=A;var L=!0;try{L=F(!0,A)}finally{L?Bt():(C=!1,F=null)}}else C=!1}var Bt;if(typeof p=="function")Bt=function(){p(gt)};else if(typeof MessageChannel<"u"){var Jr=new MessageChannel,Zn=Jr.port2;Jr.port1.onmessage=gt,Bt=function(){Zn.postMessage(null)}}else Bt=function(){P(gt,0)};function Zr(A){F=A,C||(C=!0,Bt())}function hr(A,L){U=P(function(){A(e.unstable_now())},L)}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(A){A.callback=null},e.unstable_continueExecution=function(){S||x||(S=!0,Zr(R))},e.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):W=0<A?Math.floor(1e3/A):5},e.unstable_getCurrentPriorityLevel=function(){return y},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(A){switch(y){case 1:case 2:case 3:var L=3;break;default:L=y}var I=y;y=L;try{return A()}finally{y=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(A,L){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var I=y;y=A;try{return L()}finally{y=I}},e.unstable_scheduleCallback=function(A,L,I){var Y=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?Y+I:Y):I=Y,A){case 1:var oe=-1;break;case 2:oe=250;break;case 5:oe=1073741823;break;case 4:oe=1e4;break;default:oe=5e3}return oe=I+oe,A={id:g++,callback:L,priorityLevel:A,startTime:I,expirationTime:oe,sortIndex:-1},I>Y?(A.sortIndex=I,t(c,A),r(l)===null&&A===r(c)&&(T?(f(U),U=-1):T=!0,hr(_,I-Y))):(A.sortIndex=oe,t(l,A),S||x||(S=!0,Zr(R))),A},e.unstable_shouldYield=Se,e.unstable_wrapCallback=function(A){var L=y;return function(){var I=y;y=L;try{return A.apply(this,arguments)}finally{y=I}}}})(Hc);Bc.exports=Hc;var Pf=Bc.exports;/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Of=j,Fe=Pf;function b(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 qc=new Set,bn={};function ar(e,t){zr(e,t),zr(e+"Capture",t)}function zr(e,t){for(bn[e]=t,e=0;e<t.length;e++)qc.add(t[e])}var ct=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ei=Object.prototype.hasOwnProperty,jf=/^[: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]*$/,Il={},zl={};function Rf(e){return Ei.call(zl,e)?!0:Ei.call(Il,e)?!1:jf.test(e)?zl[e]=!0:(Il[e]=!0,!1)}function Cf(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Af(e,t,r,n){if(t===null||typeof t>"u"||Cf(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 Te(e,t,r,n,o,s,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=i}var fe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fe[e]=new Te(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fe[t]=new Te(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fe[e]=new Te(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fe[e]=new Te(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){fe[e]=new Te(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fe[e]=new Te(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fe[e]=new Te(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fe[e]=new Te(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fe[e]=new Te(e,5,!1,e.toLowerCase(),null,!1,!1)});var ba=/[\-:]([a-z])/g;function Pa(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(ba,Pa);fe[t]=new Te(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(ba,Pa);fe[t]=new Te(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(ba,Pa);fe[t]=new Te(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fe[e]=new Te(e,1,!1,e.toLowerCase(),null,!1,!1)});fe.xlinkHref=new Te("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fe[e]=new Te(e,1,!1,e.toLowerCase(),null,!0,!0)});function Oa(e,t,r,n){var o=fe.hasOwnProperty(t)?fe[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Af(t,r,o,n)&&(r=null),n||o===null?Rf(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=r===null?o.type===3?!1:"":r:(t=o.attributeName,n=o.attributeNamespace,r===null?e.removeAttribute(t):(o=o.type,r=o===3||o===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var mt=Of.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ro=Symbol.for("react.element"),wr=Symbol.for("react.portal"),Er=Symbol.for("react.fragment"),ja=Symbol.for("react.strict_mode"),xi=Symbol.for("react.profiler"),Wc=Symbol.for("react.provider"),Vc=Symbol.for("react.context"),Ra=Symbol.for("react.forward_ref"),_i=Symbol.for("react.suspense"),ki=Symbol.for("react.suspense_list"),Ca=Symbol.for("react.memo"),vt=Symbol.for("react.lazy"),Kc=Symbol.for("react.offscreen"),$l=Symbol.iterator;function tn(e){return e===null||typeof e!="object"?null:(e=$l&&e[$l]||e["@@iterator"],typeof e=="function"?e:null)}var ee=Object.assign,Is;function dn(e){if(Is===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Is=t&&t[1]||""}return`
|
||
`+Is+e}var zs=!1;function $s(e,t){if(!e||zs)return"";zs=!0;var r=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 n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}catch(c){if(c&&n&&typeof c.stack=="string"){for(var o=c.stack.split(`
|
||
`),s=n.stack.split(`
|
||
`),i=o.length-1,a=s.length-1;1<=i&&0<=a&&o[i]!==s[a];)a--;for(;1<=i&&0<=a;i--,a--)if(o[i]!==s[a]){if(i!==1||a!==1)do if(i--,a--,0>a||o[i]!==s[a]){var l=`
|
||
`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{zs=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?dn(e):""}function Nf(e){switch(e.tag){case 5:return dn(e.type);case 16:return dn("Lazy");case 13:return dn("Suspense");case 19:return dn("SuspenseList");case 0:case 2:case 15:return e=$s(e.type,!1),e;case 11:return e=$s(e.type.render,!1),e;case 1:return e=$s(e.type,!0),e;default:return""}}function Ti(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 Er:return"Fragment";case wr:return"Portal";case xi:return"Profiler";case ja:return"StrictMode";case _i:return"Suspense";case ki:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Vc:return(e.displayName||"Context")+".Consumer";case Wc:return(e._context.displayName||"Context")+".Provider";case Ra:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ca:return t=e.displayName||null,t!==null?t:Ti(e.type)||"Memo";case vt:t=e._payload,e=e._init;try{return Ti(e(t))}catch{}}return null}function Ff(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 Ti(t);case 8:return t===ja?"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 Gt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gf(e){var t=Qc(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,s.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function no(e){e._valueTracker||(e._valueTracker=Gf(e))}function Yc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Qc(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Go(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 Si(e,t){var r=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Ml(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Gt(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xc(e,t){t=t.checked,t!=null&&Oa(e,"checked",t,!1)}function bi(e,t){Xc(e,t);var r=Gt(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Pi(e,t.type,r):t.hasOwnProperty("defaultValue")&&Pi(e,t.type,Gt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bl(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Pi(e,t,r){(t!=="number"||Go(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var pn=Array.isArray;function Nr(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+Gt(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Oi(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(b(91));return ee({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Hl(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(b(92));if(pn(r)){if(1<r.length)throw Error(b(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:Gt(r)}}function Jc(e,t){var r=Gt(t.value),n=Gt(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function ql(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Zc(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 ji(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Zc(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var oo,ed=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,o){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(oo=oo||document.createElement("div"),oo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=oo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var mn={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},Df=["Webkit","ms","Moz","O"];Object.keys(mn).forEach(function(e){Df.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),mn[t]=mn[e]})});function td(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||mn.hasOwnProperty(e)&&mn[e]?(""+t).trim():t+"px"}function rd(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=td(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Uf=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ri(e,t){if(t){if(Uf[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(b(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(b(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(b(61))}if(t.style!=null&&typeof t.style!="object")throw Error(b(62))}}function Ci(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 Ai=null;function Aa(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ni=null,Fr=null,Gr=null;function Wl(e){if(e=Qn(e)){if(typeof Ni!="function")throw Error(b(280));var t=e.stateNode;t&&(t=gs(t),Ni(e.stateNode,e.type,t))}}function nd(e){Fr?Gr?Gr.push(e):Gr=[e]:Fr=e}function od(){if(Fr){var e=Fr,t=Gr;if(Gr=Fr=null,Wl(e),t)for(e=0;e<t.length;e++)Wl(t[e])}}function sd(e,t){return e(t)}function id(){}var Ms=!1;function ad(e,t,r){if(Ms)return e(t,r);Ms=!0;try{return sd(e,t,r)}finally{Ms=!1,(Fr!==null||Gr!==null)&&(id(),od())}}function On(e,t){var r=e.stateNode;if(r===null)return null;var n=gs(r);if(n===null)return null;r=n[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":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(b(231,t,typeof r));return r}var Fi=!1;if(ct)try{var rn={};Object.defineProperty(rn,"passive",{get:function(){Fi=!0}}),window.addEventListener("test",rn,rn),window.removeEventListener("test",rn,rn)}catch{Fi=!1}function Lf(e,t,r,n,o,s,i,a,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(g){this.onError(g)}}var gn=!1,Do=null,Uo=!1,Gi=null,If={onError:function(e){gn=!0,Do=e}};function zf(e,t,r,n,o,s,i,a,l){gn=!1,Do=null,Lf.apply(If,arguments)}function $f(e,t,r,n,o,s,i,a,l){if(zf.apply(this,arguments),gn){if(gn){var c=Do;gn=!1,Do=null}else throw Error(b(198));Uo||(Uo=!0,Gi=c)}}function lr(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function ld(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 Vl(e){if(lr(e)!==e)throw Error(b(188))}function Mf(e){var t=e.alternate;if(!t){if(t=lr(e),t===null)throw Error(b(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(o===null)break;var s=o.alternate;if(s===null){if(n=o.return,n!==null){r=n;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===r)return Vl(o),e;if(s===n)return Vl(o),t;s=s.sibling}throw Error(b(188))}if(r.return!==n.return)r=o,n=s;else{for(var i=!1,a=o.child;a;){if(a===r){i=!0,r=o,n=s;break}if(a===n){i=!0,n=o,r=s;break}a=a.sibling}if(!i){for(a=s.child;a;){if(a===r){i=!0,r=s,n=o;break}if(a===n){i=!0,n=s,r=o;break}a=a.sibling}if(!i)throw Error(b(189))}}if(r.alternate!==n)throw Error(b(190))}if(r.tag!==3)throw Error(b(188));return r.stateNode.current===r?e:t}function ud(e){return e=Mf(e),e!==null?cd(e):null}function cd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=cd(e);if(t!==null)return t;e=e.sibling}return null}var dd=Fe.unstable_scheduleCallback,Kl=Fe.unstable_cancelCallback,Bf=Fe.unstable_shouldYield,Hf=Fe.unstable_requestPaint,ne=Fe.unstable_now,qf=Fe.unstable_getCurrentPriorityLevel,Na=Fe.unstable_ImmediatePriority,pd=Fe.unstable_UserBlockingPriority,Lo=Fe.unstable_NormalPriority,Wf=Fe.unstable_LowPriority,hd=Fe.unstable_IdlePriority,ps=null,rt=null;function Vf(e){if(rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(ps,e,void 0,(e.current.flags&128)===128)}catch{}}var Ve=Math.clz32?Math.clz32:Yf,Kf=Math.log,Qf=Math.LN2;function Yf(e){return e>>>=0,e===0?32:31-(Kf(e)/Qf|0)|0}var so=64,io=4194304;function hn(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 Io(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,o=e.suspendedLanes,s=e.pingedLanes,i=r&268435455;if(i!==0){var a=i&~o;a!==0?n=hn(a):(s&=i,s!==0&&(n=hn(s)))}else i=r&~o,i!==0?n=hn(i):s!==0&&(n=hn(s));if(n===0)return 0;if(t!==0&&t!==n&&!(t&o)&&(o=n&-n,s=t&-t,o>=s||o===16&&(s&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Ve(t),o=1<<r,n|=e[r],t&=~o;return n}function Xf(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 Jf(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes;0<s;){var i=31-Ve(s),a=1<<i,l=o[i];l===-1?(!(a&r)||a&n)&&(o[i]=Xf(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function Di(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function fd(){var e=so;return so<<=1,!(so&4194240)&&(so=64),e}function Bs(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Vn(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ve(t),e[t]=r}function Zf(e,t){var r=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 n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-Ve(r),s=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~s}}function Fa(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Ve(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var H=0;function md(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gd,Ga,yd,vd,wd,Ui=!1,ao=[],bt=null,Pt=null,Ot=null,jn=new Map,Rn=new Map,xt=[],em="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 Ql(e,t){switch(e){case"focusin":case"focusout":bt=null;break;case"dragenter":case"dragleave":Pt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":jn.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rn.delete(t.pointerId)}}function nn(e,t,r,n,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:s,targetContainers:[o]},t!==null&&(t=Qn(t),t!==null&&Ga(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function tm(e,t,r,n,o){switch(t){case"focusin":return bt=nn(bt,e,t,r,n,o),!0;case"dragenter":return Pt=nn(Pt,e,t,r,n,o),!0;case"mouseover":return Ot=nn(Ot,e,t,r,n,o),!0;case"pointerover":var s=o.pointerId;return jn.set(s,nn(jn.get(s)||null,e,t,r,n,o)),!0;case"gotpointercapture":return s=o.pointerId,Rn.set(s,nn(Rn.get(s)||null,e,t,r,n,o)),!0}return!1}function Ed(e){var t=Qt(e.target);if(t!==null){var r=lr(t);if(r!==null){if(t=r.tag,t===13){if(t=ld(r),t!==null){e.blockedOn=t,wd(e.priority,function(){yd(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function To(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=Li(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);Ai=n,r.target.dispatchEvent(n),Ai=null}else return t=Qn(r),t!==null&&Ga(t),e.blockedOn=r,!1;t.shift()}return!0}function Yl(e,t,r){To(e)&&r.delete(t)}function rm(){Ui=!1,bt!==null&&To(bt)&&(bt=null),Pt!==null&&To(Pt)&&(Pt=null),Ot!==null&&To(Ot)&&(Ot=null),jn.forEach(Yl),Rn.forEach(Yl)}function on(e,t){e.blockedOn===t&&(e.blockedOn=null,Ui||(Ui=!0,Fe.unstable_scheduleCallback(Fe.unstable_NormalPriority,rm)))}function Cn(e){function t(o){return on(o,e)}if(0<ao.length){on(ao[0],e);for(var r=1;r<ao.length;r++){var n=ao[r];n.blockedOn===e&&(n.blockedOn=null)}}for(bt!==null&&on(bt,e),Pt!==null&&on(Pt,e),Ot!==null&&on(Ot,e),jn.forEach(t),Rn.forEach(t),r=0;r<xt.length;r++)n=xt[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<xt.length&&(r=xt[0],r.blockedOn===null);)Ed(r),r.blockedOn===null&&xt.shift()}var Dr=mt.ReactCurrentBatchConfig,zo=!0;function nm(e,t,r,n){var o=H,s=Dr.transition;Dr.transition=null;try{H=1,Da(e,t,r,n)}finally{H=o,Dr.transition=s}}function om(e,t,r,n){var o=H,s=Dr.transition;Dr.transition=null;try{H=4,Da(e,t,r,n)}finally{H=o,Dr.transition=s}}function Da(e,t,r,n){if(zo){var o=Li(e,t,r,n);if(o===null)Zs(e,t,n,$o,r),Ql(e,n);else if(tm(o,e,t,r,n))n.stopPropagation();else if(Ql(e,n),t&4&&-1<em.indexOf(e)){for(;o!==null;){var s=Qn(o);if(s!==null&&gd(s),s=Li(e,t,r,n),s===null&&Zs(e,t,n,$o,r),s===o)break;o=s}o!==null&&n.stopPropagation()}else Zs(e,t,n,null,r)}}var $o=null;function Li(e,t,r,n){if($o=null,e=Aa(n),e=Qt(e),e!==null)if(t=lr(e),t===null)e=null;else if(r=t.tag,r===13){if(e=ld(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return $o=e,null}function xd(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(qf()){case Na:return 1;case pd:return 4;case Lo:case Wf:return 16;case hd:return 536870912;default:return 16}default:return 16}}var kt=null,Ua=null,So=null;function _d(){if(So)return So;var e,t=Ua,r=t.length,n,o="value"in kt?kt.value:kt.textContent,s=o.length;for(e=0;e<r&&t[e]===o[e];e++);var i=r-e;for(n=1;n<=i&&t[r-n]===o[s-n];n++);return So=o.slice(e,1<n?1-n:void 0)}function bo(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 lo(){return!0}function Xl(){return!1}function De(e){function t(r,n,o,s,i){this._reactName=r,this._targetInst=o,this.type=n,this.nativeEvent=s,this.target=i,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(r=e[a],this[a]=r?r(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?lo:Xl,this.isPropagationStopped=Xl,this}return ee(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=lo)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=lo)},persist:function(){},isPersistent:lo}),t}var Qr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},La=De(Qr),Kn=ee({},Qr,{view:0,detail:0}),sm=De(Kn),Hs,qs,sn,hs=ee({},Kn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ia,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!==sn&&(sn&&e.type==="mousemove"?(Hs=e.screenX-sn.screenX,qs=e.screenY-sn.screenY):qs=Hs=0,sn=e),Hs)},movementY:function(e){return"movementY"in e?e.movementY:qs}}),Jl=De(hs),im=ee({},hs,{dataTransfer:0}),am=De(im),lm=ee({},Kn,{relatedTarget:0}),Ws=De(lm),um=ee({},Qr,{animationName:0,elapsedTime:0,pseudoElement:0}),cm=De(um),dm=ee({},Qr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),pm=De(dm),hm=ee({},Qr,{data:0}),Zl=De(hm),fm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mm={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"},gm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ym(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gm[e])?!!t[e]:!1}function Ia(){return ym}var vm=ee({},Kn,{key:function(e){if(e.key){var t=fm[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=bo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mm[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ia,charCode:function(e){return e.type==="keypress"?bo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?bo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wm=De(vm),Em=ee({},hs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),eu=De(Em),xm=ee({},Kn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ia}),_m=De(xm),km=ee({},Qr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Tm=De(km),Sm=ee({},hs,{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}),bm=De(Sm),Pm=[9,13,27,32],za=ct&&"CompositionEvent"in window,yn=null;ct&&"documentMode"in document&&(yn=document.documentMode);var Om=ct&&"TextEvent"in window&&!yn,kd=ct&&(!za||yn&&8<yn&&11>=yn),tu=" ",ru=!1;function Td(e,t){switch(e){case"keyup":return Pm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xr=!1;function jm(e,t){switch(e){case"compositionend":return Sd(t);case"keypress":return t.which!==32?null:(ru=!0,tu);case"textInput":return e=t.data,e===tu&&ru?null:e;default:return null}}function Rm(e,t){if(xr)return e==="compositionend"||!za&&Td(e,t)?(e=_d(),So=Ua=kt=null,xr=!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 kd&&t.locale!=="ko"?null:t.data;default:return null}}var Cm={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 nu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cm[e.type]:t==="textarea"}function bd(e,t,r,n){nd(n),t=Mo(t,"onChange"),0<t.length&&(r=new La("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var vn=null,An=null;function Am(e){Ud(e,0)}function fs(e){var t=Tr(e);if(Yc(t))return e}function Nm(e,t){if(e==="change")return t}var Pd=!1;if(ct){var Vs;if(ct){var Ks="oninput"in document;if(!Ks){var ou=document.createElement("div");ou.setAttribute("oninput","return;"),Ks=typeof ou.oninput=="function"}Vs=Ks}else Vs=!1;Pd=Vs&&(!document.documentMode||9<document.documentMode)}function su(){vn&&(vn.detachEvent("onpropertychange",Od),An=vn=null)}function Od(e){if(e.propertyName==="value"&&fs(An)){var t=[];bd(t,An,e,Aa(e)),ad(Am,t)}}function Fm(e,t,r){e==="focusin"?(su(),vn=t,An=r,vn.attachEvent("onpropertychange",Od)):e==="focusout"&&su()}function Gm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return fs(An)}function Dm(e,t){if(e==="click")return fs(t)}function Um(e,t){if(e==="input"||e==="change")return fs(t)}function Lm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Qe=typeof Object.is=="function"?Object.is:Lm;function Nn(e,t){if(Qe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!Ei.call(t,o)||!Qe(e[o],t[o]))return!1}return!0}function iu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function au(e,t){var r=iu(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=iu(r)}}function jd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?jd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Rd(){for(var e=window,t=Go();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Go(e.document)}return t}function $a(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 Im(e){var t=Rd(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&jd(r.ownerDocument.documentElement,r)){if(n!==null&&$a(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=r.textContent.length,s=Math.min(n.start,o);n=n.end===void 0?s:Math.min(n.end,o),!e.extend&&s>n&&(o=n,n=s,s=o),o=au(r,s);var i=au(r,n);o&&i&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),s>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var zm=ct&&"documentMode"in document&&11>=document.documentMode,_r=null,Ii=null,wn=null,zi=!1;function lu(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;zi||_r==null||_r!==Go(n)||(n=_r,"selectionStart"in n&&$a(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),wn&&Nn(wn,n)||(wn=n,n=Mo(Ii,"onSelect"),0<n.length&&(t=new La("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=_r)))}function uo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var kr={animationend:uo("Animation","AnimationEnd"),animationiteration:uo("Animation","AnimationIteration"),animationstart:uo("Animation","AnimationStart"),transitionend:uo("Transition","TransitionEnd")},Qs={},Cd={};ct&&(Cd=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);function ms(e){if(Qs[e])return Qs[e];if(!kr[e])return e;var t=kr[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in Cd)return Qs[e]=t[r];return e}var Ad=ms("animationend"),Nd=ms("animationiteration"),Fd=ms("animationstart"),Gd=ms("transitionend"),Dd=new Map,uu="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 Ut(e,t){Dd.set(e,t),ar(t,[e])}for(var Ys=0;Ys<uu.length;Ys++){var Xs=uu[Ys],$m=Xs.toLowerCase(),Mm=Xs[0].toUpperCase()+Xs.slice(1);Ut($m,"on"+Mm)}Ut(Ad,"onAnimationEnd");Ut(Nd,"onAnimationIteration");Ut(Fd,"onAnimationStart");Ut("dblclick","onDoubleClick");Ut("focusin","onFocus");Ut("focusout","onBlur");Ut(Gd,"onTransitionEnd");zr("onMouseEnter",["mouseout","mouseover"]);zr("onMouseLeave",["mouseout","mouseover"]);zr("onPointerEnter",["pointerout","pointerover"]);zr("onPointerLeave",["pointerout","pointerover"]);ar("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));ar("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));ar("onBeforeInput",["compositionend","keypress","textInput","paste"]);ar("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));ar("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));ar("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var fn="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(" "),Bm=new Set("cancel close invalid load scroll toggle".split(" ").concat(fn));function cu(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,$f(n,t,void 0,e),e.currentTarget=null}function Ud(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var s=void 0;if(t)for(var i=n.length-1;0<=i;i--){var a=n[i],l=a.instance,c=a.currentTarget;if(a=a.listener,l!==s&&o.isPropagationStopped())break e;cu(o,a,c),s=l}else for(i=0;i<n.length;i++){if(a=n[i],l=a.instance,c=a.currentTarget,a=a.listener,l!==s&&o.isPropagationStopped())break e;cu(o,a,c),s=l}}}if(Uo)throw e=Gi,Uo=!1,Gi=null,e}function V(e,t){var r=t[qi];r===void 0&&(r=t[qi]=new Set);var n=e+"__bubble";r.has(n)||(Ld(t,e,2,!1),r.add(n))}function Js(e,t,r){var n=0;t&&(n|=4),Ld(r,e,n,t)}var co="_reactListening"+Math.random().toString(36).slice(2);function Fn(e){if(!e[co]){e[co]=!0,qc.forEach(function(r){r!=="selectionchange"&&(Bm.has(r)||Js(r,!1,e),Js(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[co]||(t[co]=!0,Js("selectionchange",!1,t))}}function Ld(e,t,r,n){switch(xd(t)){case 1:var o=nm;break;case 4:o=om;break;default:o=Da}r=o.bind(null,t,r,e),o=void 0,!Fi||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):o!==void 0?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Zs(e,t,r,n,o){var s=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var i=n.tag;if(i===3||i===4){var a=n.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(i===4)for(i=n.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;i=i.return}for(;a!==null;){if(i=Qt(a),i===null)return;if(l=i.tag,l===5||l===6){n=s=i;continue e}a=a.parentNode}}n=n.return}ad(function(){var c=s,g=Aa(r),h=[];e:{var y=Dd.get(e);if(y!==void 0){var x=La,S=e;switch(e){case"keypress":if(bo(r)===0)break e;case"keydown":case"keyup":x=wm;break;case"focusin":S="focus",x=Ws;break;case"focusout":S="blur",x=Ws;break;case"beforeblur":case"afterblur":x=Ws;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Jl;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=am;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=_m;break;case Ad:case Nd:case Fd:x=cm;break;case Gd:x=Tm;break;case"scroll":x=sm;break;case"wheel":x=bm;break;case"copy":case"cut":case"paste":x=pm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=eu}var T=(t&4)!==0,P=!T&&e==="scroll",f=T?y!==null?y+"Capture":null:y;T=[];for(var p=c,m;p!==null;){m=p;var _=m.stateNode;if(m.tag===5&&_!==null&&(m=_,f!==null&&(_=On(p,f),_!=null&&T.push(Gn(p,_,m)))),P)break;p=p.return}0<T.length&&(y=new x(y,S,null,r,g),h.push({event:y,listeners:T}))}}if(!(t&7)){e:{if(y=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",y&&r!==Ai&&(S=r.relatedTarget||r.fromElement)&&(Qt(S)||S[dt]))break e;if((x||y)&&(y=g.window===g?g:(y=g.ownerDocument)?y.defaultView||y.parentWindow:window,x?(S=r.relatedTarget||r.toElement,x=c,S=S?Qt(S):null,S!==null&&(P=lr(S),S!==P||S.tag!==5&&S.tag!==6)&&(S=null)):(x=null,S=c),x!==S)){if(T=Jl,_="onMouseLeave",f="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(T=eu,_="onPointerLeave",f="onPointerEnter",p="pointer"),P=x==null?y:Tr(x),m=S==null?y:Tr(S),y=new T(_,p+"leave",x,r,g),y.target=P,y.relatedTarget=m,_=null,Qt(g)===c&&(T=new T(f,p+"enter",S,r,g),T.target=m,T.relatedTarget=P,_=T),P=_,x&&S)t:{for(T=x,f=S,p=0,m=T;m;m=mr(m))p++;for(m=0,_=f;_;_=mr(_))m++;for(;0<p-m;)T=mr(T),p--;for(;0<m-p;)f=mr(f),m--;for(;p--;){if(T===f||f!==null&&T===f.alternate)break t;T=mr(T),f=mr(f)}T=null}else T=null;x!==null&&du(h,y,x,T,!1),S!==null&&P!==null&&du(h,P,S,T,!0)}}e:{if(y=c?Tr(c):window,x=y.nodeName&&y.nodeName.toLowerCase(),x==="select"||x==="input"&&y.type==="file")var R=Nm;else if(nu(y))if(Pd)R=Um;else{R=Gm;var C=Fm}else(x=y.nodeName)&&x.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(R=Dm);if(R&&(R=R(e,c))){bd(h,R,r,g);break e}C&&C(e,y,c),e==="focusout"&&(C=y._wrapperState)&&C.controlled&&y.type==="number"&&Pi(y,"number",y.value)}switch(C=c?Tr(c):window,e){case"focusin":(nu(C)||C.contentEditable==="true")&&(_r=C,Ii=c,wn=null);break;case"focusout":wn=Ii=_r=null;break;case"mousedown":zi=!0;break;case"contextmenu":case"mouseup":case"dragend":zi=!1,lu(h,r,g);break;case"selectionchange":if(zm)break;case"keydown":case"keyup":lu(h,r,g)}var F;if(za)e:{switch(e){case"compositionstart":var U="onCompositionStart";break e;case"compositionend":U="onCompositionEnd";break e;case"compositionupdate":U="onCompositionUpdate";break e}U=void 0}else xr?Td(e,r)&&(U="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(U="onCompositionStart");U&&(kd&&r.locale!=="ko"&&(xr||U!=="onCompositionStart"?U==="onCompositionEnd"&&xr&&(F=_d()):(kt=g,Ua="value"in kt?kt.value:kt.textContent,xr=!0)),C=Mo(c,U),0<C.length&&(U=new Zl(U,e,null,r,g),h.push({event:U,listeners:C}),F?U.data=F:(F=Sd(r),F!==null&&(U.data=F)))),(F=Om?jm(e,r):Rm(e,r))&&(c=Mo(c,"onBeforeInput"),0<c.length&&(g=new Zl("onBeforeInput","beforeinput",null,r,g),h.push({event:g,listeners:c}),g.data=F))}Ud(h,t)})}function Gn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Mo(e,t){for(var r=t+"Capture",n=[];e!==null;){var o=e,s=o.stateNode;o.tag===5&&s!==null&&(o=s,s=On(e,r),s!=null&&n.unshift(Gn(e,s,o)),s=On(e,t),s!=null&&n.push(Gn(e,s,o))),e=e.return}return n}function mr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function du(e,t,r,n,o){for(var s=t._reactName,i=[];r!==null&&r!==n;){var a=r,l=a.alternate,c=a.stateNode;if(l!==null&&l===n)break;a.tag===5&&c!==null&&(a=c,o?(l=On(r,s),l!=null&&i.unshift(Gn(r,l,a))):o||(l=On(r,s),l!=null&&i.push(Gn(r,l,a)))),r=r.return}i.length!==0&&e.push({event:t,listeners:i})}var Hm=/\r\n?/g,qm=/\u0000|\uFFFD/g;function pu(e){return(typeof e=="string"?e:""+e).replace(Hm,`
|
||
`).replace(qm,"")}function po(e,t,r){if(t=pu(t),pu(e)!==t&&r)throw Error(b(425))}function Bo(){}var $i=null,Mi=null;function Bi(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 Hi=typeof setTimeout=="function"?setTimeout:void 0,Wm=typeof clearTimeout=="function"?clearTimeout:void 0,hu=typeof Promise=="function"?Promise:void 0,Vm=typeof queueMicrotask=="function"?queueMicrotask:typeof hu<"u"?function(e){return hu.resolve(null).then(e).catch(Km)}:Hi;function Km(e){setTimeout(function(){throw e})}function ei(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),Cn(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);Cn(t)}function jt(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 fu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Yr=Math.random().toString(36).slice(2),tt="__reactFiber$"+Yr,Dn="__reactProps$"+Yr,dt="__reactContainer$"+Yr,qi="__reactEvents$"+Yr,Qm="__reactListeners$"+Yr,Ym="__reactHandles$"+Yr;function Qt(e){var t=e[tt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[dt]||r[tt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=fu(e);e!==null;){if(r=e[tt])return r;e=fu(e)}return t}e=r,r=e.parentNode}return null}function Qn(e){return e=e[tt]||e[dt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(b(33))}function gs(e){return e[Dn]||null}var Wi=[],Sr=-1;function Lt(e){return{current:e}}function K(e){0>Sr||(e.current=Wi[Sr],Wi[Sr]=null,Sr--)}function q(e,t){Sr++,Wi[Sr]=e.current,e.current=t}var Dt={},we=Lt(Dt),Oe=Lt(!1),rr=Dt;function $r(e,t){var r=e.type.contextTypes;if(!r)return Dt;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},s;for(s in r)o[s]=t[s];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function je(e){return e=e.childContextTypes,e!=null}function Ho(){K(Oe),K(we)}function mu(e,t,r){if(we.current!==Dt)throw Error(b(168));q(we,t),q(Oe,r)}function Id(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(b(108,Ff(e)||"Unknown",o));return ee({},r,n)}function qo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Dt,rr=we.current,q(we,e),q(Oe,Oe.current),!0}function gu(e,t,r){var n=e.stateNode;if(!n)throw Error(b(169));r?(e=Id(e,t,rr),n.__reactInternalMemoizedMergedChildContext=e,K(Oe),K(we),q(we,e)):K(Oe),q(Oe,r)}var st=null,ys=!1,ti=!1;function zd(e){st===null?st=[e]:st.push(e)}function Xm(e){ys=!0,zd(e)}function It(){if(!ti&&st!==null){ti=!0;var e=0,t=H;try{var r=st;for(H=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}st=null,ys=!1}catch(o){throw st!==null&&(st=st.slice(e+1)),dd(Na,It),o}finally{H=t,ti=!1}}return null}var br=[],Pr=0,Wo=null,Vo=0,Ue=[],Le=0,nr=null,it=1,at="";function Wt(e,t){br[Pr++]=Vo,br[Pr++]=Wo,Wo=e,Vo=t}function $d(e,t,r){Ue[Le++]=it,Ue[Le++]=at,Ue[Le++]=nr,nr=e;var n=it;e=at;var o=32-Ve(n)-1;n&=~(1<<o),r+=1;var s=32-Ve(t)+o;if(30<s){var i=o-o%5;s=(n&(1<<i)-1).toString(32),n>>=i,o-=i,it=1<<32-Ve(t)+o|r<<o|n,at=s+e}else it=1<<s|r<<o|n,at=e}function Ma(e){e.return!==null&&(Wt(e,1),$d(e,1,0))}function Ba(e){for(;e===Wo;)Wo=br[--Pr],br[Pr]=null,Vo=br[--Pr],br[Pr]=null;for(;e===nr;)nr=Ue[--Le],Ue[Le]=null,at=Ue[--Le],Ue[Le]=null,it=Ue[--Le],Ue[Le]=null}var Ne=null,Ae=null,X=!1,We=null;function Md(e,t){var r=Ie(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function yu(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Ne=e,Ae=jt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ne=e,Ae=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=nr!==null?{id:it,overflow:at}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Ie(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Ne=e,Ae=null,!0):!1;default:return!1}}function Vi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ki(e){if(X){var t=Ae;if(t){var r=t;if(!yu(e,t)){if(Vi(e))throw Error(b(418));t=jt(r.nextSibling);var n=Ne;t&&yu(e,t)?Md(n,r):(e.flags=e.flags&-4097|2,X=!1,Ne=e)}}else{if(Vi(e))throw Error(b(418));e.flags=e.flags&-4097|2,X=!1,Ne=e}}}function vu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ne=e}function ho(e){if(e!==Ne)return!1;if(!X)return vu(e),X=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Bi(e.type,e.memoizedProps)),t&&(t=Ae)){if(Vi(e))throw Bd(),Error(b(418));for(;t;)Md(e,t),t=jt(t.nextSibling)}if(vu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(b(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){Ae=jt(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}Ae=null}}else Ae=Ne?jt(e.stateNode.nextSibling):null;return!0}function Bd(){for(var e=Ae;e;)e=jt(e.nextSibling)}function Mr(){Ae=Ne=null,X=!1}function Ha(e){We===null?We=[e]:We.push(e)}var Jm=mt.ReactCurrentBatchConfig;function an(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(b(309));var n=r.stateNode}if(!n)throw Error(b(147,e));var o=n,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(i){var a=o.refs;i===null?delete a[s]:a[s]=i},t._stringRef=s,t)}if(typeof e!="string")throw Error(b(284));if(!r._owner)throw Error(b(290,e))}return e}function fo(e,t){throw e=Object.prototype.toString.call(t),Error(b(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function wu(e){var t=e._init;return t(e._payload)}function Hd(e){function t(f,p){if(e){var m=f.deletions;m===null?(f.deletions=[p],f.flags|=16):m.push(p)}}function r(f,p){if(!e)return null;for(;p!==null;)t(f,p),p=p.sibling;return null}function n(f,p){for(f=new Map;p!==null;)p.key!==null?f.set(p.key,p):f.set(p.index,p),p=p.sibling;return f}function o(f,p){return f=Nt(f,p),f.index=0,f.sibling=null,f}function s(f,p,m){return f.index=m,e?(m=f.alternate,m!==null?(m=m.index,m<p?(f.flags|=2,p):m):(f.flags|=2,p)):(f.flags|=1048576,p)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function a(f,p,m,_){return p===null||p.tag!==6?(p=li(m,f.mode,_),p.return=f,p):(p=o(p,m),p.return=f,p)}function l(f,p,m,_){var R=m.type;return R===Er?g(f,p,m.props.children,_,m.key):p!==null&&(p.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===vt&&wu(R)===p.type)?(_=o(p,m.props),_.ref=an(f,p,m),_.return=f,_):(_=No(m.type,m.key,m.props,null,f.mode,_),_.ref=an(f,p,m),_.return=f,_)}function c(f,p,m,_){return p===null||p.tag!==4||p.stateNode.containerInfo!==m.containerInfo||p.stateNode.implementation!==m.implementation?(p=ui(m,f.mode,_),p.return=f,p):(p=o(p,m.children||[]),p.return=f,p)}function g(f,p,m,_,R){return p===null||p.tag!==7?(p=Zt(m,f.mode,_,R),p.return=f,p):(p=o(p,m),p.return=f,p)}function h(f,p,m){if(typeof p=="string"&&p!==""||typeof p=="number")return p=li(""+p,f.mode,m),p.return=f,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case ro:return m=No(p.type,p.key,p.props,null,f.mode,m),m.ref=an(f,null,p),m.return=f,m;case wr:return p=ui(p,f.mode,m),p.return=f,p;case vt:var _=p._init;return h(f,_(p._payload),m)}if(pn(p)||tn(p))return p=Zt(p,f.mode,m,null),p.return=f,p;fo(f,p)}return null}function y(f,p,m,_){var R=p!==null?p.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return R!==null?null:a(f,p,""+m,_);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ro:return m.key===R?l(f,p,m,_):null;case wr:return m.key===R?c(f,p,m,_):null;case vt:return R=m._init,y(f,p,R(m._payload),_)}if(pn(m)||tn(m))return R!==null?null:g(f,p,m,_,null);fo(f,m)}return null}function x(f,p,m,_,R){if(typeof _=="string"&&_!==""||typeof _=="number")return f=f.get(m)||null,a(p,f,""+_,R);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case ro:return f=f.get(_.key===null?m:_.key)||null,l(p,f,_,R);case wr:return f=f.get(_.key===null?m:_.key)||null,c(p,f,_,R);case vt:var C=_._init;return x(f,p,m,C(_._payload),R)}if(pn(_)||tn(_))return f=f.get(m)||null,g(p,f,_,R,null);fo(p,_)}return null}function S(f,p,m,_){for(var R=null,C=null,F=p,U=p=0,W=null;F!==null&&U<m.length;U++){F.index>U?(W=F,F=null):W=F.sibling;var z=y(f,F,m[U],_);if(z===null){F===null&&(F=W);break}e&&F&&z.alternate===null&&t(f,F),p=s(z,p,U),C===null?R=z:C.sibling=z,C=z,F=W}if(U===m.length)return r(f,F),X&&Wt(f,U),R;if(F===null){for(;U<m.length;U++)F=h(f,m[U],_),F!==null&&(p=s(F,p,U),C===null?R=F:C.sibling=F,C=F);return X&&Wt(f,U),R}for(F=n(f,F);U<m.length;U++)W=x(F,f,U,m[U],_),W!==null&&(e&&W.alternate!==null&&F.delete(W.key===null?U:W.key),p=s(W,p,U),C===null?R=W:C.sibling=W,C=W);return e&&F.forEach(function(Se){return t(f,Se)}),X&&Wt(f,U),R}function T(f,p,m,_){var R=tn(m);if(typeof R!="function")throw Error(b(150));if(m=R.call(m),m==null)throw Error(b(151));for(var C=R=null,F=p,U=p=0,W=null,z=m.next();F!==null&&!z.done;U++,z=m.next()){F.index>U?(W=F,F=null):W=F.sibling;var Se=y(f,F,z.value,_);if(Se===null){F===null&&(F=W);break}e&&F&&Se.alternate===null&&t(f,F),p=s(Se,p,U),C===null?R=Se:C.sibling=Se,C=Se,F=W}if(z.done)return r(f,F),X&&Wt(f,U),R;if(F===null){for(;!z.done;U++,z=m.next())z=h(f,z.value,_),z!==null&&(p=s(z,p,U),C===null?R=z:C.sibling=z,C=z);return X&&Wt(f,U),R}for(F=n(f,F);!z.done;U++,z=m.next())z=x(F,f,U,z.value,_),z!==null&&(e&&z.alternate!==null&&F.delete(z.key===null?U:z.key),p=s(z,p,U),C===null?R=z:C.sibling=z,C=z);return e&&F.forEach(function(gt){return t(f,gt)}),X&&Wt(f,U),R}function P(f,p,m,_){if(typeof m=="object"&&m!==null&&m.type===Er&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ro:e:{for(var R=m.key,C=p;C!==null;){if(C.key===R){if(R=m.type,R===Er){if(C.tag===7){r(f,C.sibling),p=o(C,m.props.children),p.return=f,f=p;break e}}else if(C.elementType===R||typeof R=="object"&&R!==null&&R.$$typeof===vt&&wu(R)===C.type){r(f,C.sibling),p=o(C,m.props),p.ref=an(f,C,m),p.return=f,f=p;break e}r(f,C);break}else t(f,C);C=C.sibling}m.type===Er?(p=Zt(m.props.children,f.mode,_,m.key),p.return=f,f=p):(_=No(m.type,m.key,m.props,null,f.mode,_),_.ref=an(f,p,m),_.return=f,f=_)}return i(f);case wr:e:{for(C=m.key;p!==null;){if(p.key===C)if(p.tag===4&&p.stateNode.containerInfo===m.containerInfo&&p.stateNode.implementation===m.implementation){r(f,p.sibling),p=o(p,m.children||[]),p.return=f,f=p;break e}else{r(f,p);break}else t(f,p);p=p.sibling}p=ui(m,f.mode,_),p.return=f,f=p}return i(f);case vt:return C=m._init,P(f,p,C(m._payload),_)}if(pn(m))return S(f,p,m,_);if(tn(m))return T(f,p,m,_);fo(f,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,p!==null&&p.tag===6?(r(f,p.sibling),p=o(p,m),p.return=f,f=p):(r(f,p),p=li(m,f.mode,_),p.return=f,f=p),i(f)):r(f,p)}return P}var Br=Hd(!0),qd=Hd(!1),Ko=Lt(null),Qo=null,Or=null,qa=null;function Wa(){qa=Or=Qo=null}function Va(e){var t=Ko.current;K(Ko),e._currentValue=t}function Qi(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Ur(e,t){Qo=e,qa=Or=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Pe=!0),e.firstContext=null)}function $e(e){var t=e._currentValue;if(qa!==e)if(e={context:e,memoizedValue:t,next:null},Or===null){if(Qo===null)throw Error(b(308));Or=e,Qo.dependencies={lanes:0,firstContext:e}}else Or=Or.next=e;return t}var Yt=null;function Ka(e){Yt===null?Yt=[e]:Yt.push(e)}function Wd(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,Ka(t)):(r.next=o.next,o.next=r),t.interleaved=r,pt(e,n)}function pt(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var wt=!1;function Qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Vd(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 ut(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rt(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,M&2){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,pt(e,r)}return o=n.interleaved,o===null?(t.next=t,Ka(n)):(t.next=o.next,o.next=t),n.interleaved=t,pt(e,r)}function Po(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Fa(e,r)}}function Eu(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var o=null,s=null;if(r=r.firstBaseUpdate,r!==null){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};s===null?o=s=i:s=s.next=i,r=r.next}while(r!==null);s===null?o=s=t:s=s.next=t}else o=s=t;r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Yo(e,t,r,n){var o=e.updateQueue;wt=!1;var s=o.firstBaseUpdate,i=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,c=l.next;l.next=null,i===null?s=c:i.next=c,i=l;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==i&&(a===null?g.firstBaseUpdate=c:a.next=c,g.lastBaseUpdate=l))}if(s!==null){var h=o.baseState;i=0,g=c=l=null,a=s;do{var y=a.lane,x=a.eventTime;if((n&y)===y){g!==null&&(g=g.next={eventTime:x,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var S=e,T=a;switch(y=t,x=r,T.tag){case 1:if(S=T.payload,typeof S=="function"){h=S.call(x,h,y);break e}h=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=T.payload,y=typeof S=="function"?S.call(x,h,y):S,y==null)break e;h=ee({},h,y);break e;case 2:wt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,y=o.effects,y===null?o.effects=[a]:y.push(a))}else x={eventTime:x,lane:y,tag:a.tag,payload:a.payload,callback:a.callback,next:null},g===null?(c=g=x,l=h):g=g.next=x,i|=y;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;y=a,a=y.next,y.next=null,o.lastBaseUpdate=y,o.shared.pending=null}}while(!0);if(g===null&&(l=h),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=g,t=o.shared.interleaved,t!==null){o=t;do i|=o.lane,o=o.next;while(o!==t)}else s===null&&(o.shared.lanes=0);sr|=i,e.lanes=i,e.memoizedState=h}}function xu(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(o!==null){if(n.callback=null,n=r,typeof o!="function")throw Error(b(191,o));o.call(n)}}}var Yn={},nt=Lt(Yn),Un=Lt(Yn),Ln=Lt(Yn);function Xt(e){if(e===Yn)throw Error(b(174));return e}function Ya(e,t){switch(q(Ln,t),q(Un,e),q(nt,Yn),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ji(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ji(t,e)}K(nt),q(nt,t)}function Hr(){K(nt),K(Un),K(Ln)}function Kd(e){Xt(Ln.current);var t=Xt(nt.current),r=ji(t,e.type);t!==r&&(q(Un,e),q(nt,r))}function Xa(e){Un.current===e&&(K(nt),K(Un))}var J=Lt(0);function Xo(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.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 ri=[];function Ja(){for(var e=0;e<ri.length;e++)ri[e]._workInProgressVersionPrimary=null;ri.length=0}var Oo=mt.ReactCurrentDispatcher,ni=mt.ReactCurrentBatchConfig,or=0,Z=null,ae=null,ue=null,Jo=!1,En=!1,In=0,Zm=0;function ge(){throw Error(b(321))}function Za(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Qe(e[r],t[r]))return!1;return!0}function el(e,t,r,n,o,s){if(or=s,Z=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Oo.current=e===null||e.memoizedState===null?ng:og,e=r(n,o),En){s=0;do{if(En=!1,In=0,25<=s)throw Error(b(301));s+=1,ue=ae=null,t.updateQueue=null,Oo.current=sg,e=r(n,o)}while(En)}if(Oo.current=Zo,t=ae!==null&&ae.next!==null,or=0,ue=ae=Z=null,Jo=!1,t)throw Error(b(300));return e}function tl(){var e=In!==0;return In=0,e}function et(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ue===null?Z.memoizedState=ue=e:ue=ue.next=e,ue}function Me(){if(ae===null){var e=Z.alternate;e=e!==null?e.memoizedState:null}else e=ae.next;var t=ue===null?Z.memoizedState:ue.next;if(t!==null)ue=t,ae=e;else{if(e===null)throw Error(b(310));ae=e,e={memoizedState:ae.memoizedState,baseState:ae.baseState,baseQueue:ae.baseQueue,queue:ae.queue,next:null},ue===null?Z.memoizedState=ue=e:ue=ue.next=e}return ue}function zn(e,t){return typeof t=="function"?t(e):t}function oi(e){var t=Me(),r=t.queue;if(r===null)throw Error(b(311));r.lastRenderedReducer=e;var n=ae,o=n.baseQueue,s=r.pending;if(s!==null){if(o!==null){var i=o.next;o.next=s.next,s.next=i}n.baseQueue=o=s,r.pending=null}if(o!==null){s=o.next,n=n.baseState;var a=i=null,l=null,c=s;do{var g=c.lane;if((or&g)===g)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var h={lane:g,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(a=l=h,i=n):l=l.next=h,Z.lanes|=g,sr|=g}c=c.next}while(c!==null&&c!==s);l===null?i=n:l.next=a,Qe(n,t.memoizedState)||(Pe=!0),t.memoizedState=n,t.baseState=i,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){o=e;do s=o.lane,Z.lanes|=s,sr|=s,o=o.next;while(o!==e)}else o===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function si(e){var t=Me(),r=t.queue;if(r===null)throw Error(b(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,s=t.memoizedState;if(o!==null){r.pending=null;var i=o=o.next;do s=e(s,i.action),i=i.next;while(i!==o);Qe(s,t.memoizedState)||(Pe=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),r.lastRenderedState=s}return[s,n]}function Qd(){}function Yd(e,t){var r=Z,n=Me(),o=t(),s=!Qe(n.memoizedState,o);if(s&&(n.memoizedState=o,Pe=!0),n=n.queue,rl(Zd.bind(null,r,n,e),[e]),n.getSnapshot!==t||s||ue!==null&&ue.memoizedState.tag&1){if(r.flags|=2048,$n(9,Jd.bind(null,r,n,o,t),void 0,null),ce===null)throw Error(b(349));or&30||Xd(r,t,o)}return o}function Xd(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=Z.updateQueue,t===null?(t={lastEffect:null,stores:null},Z.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function Jd(e,t,r,n){t.value=r,t.getSnapshot=n,ep(t)&&tp(e)}function Zd(e,t,r){return r(function(){ep(t)&&tp(e)})}function ep(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Qe(e,r)}catch{return!0}}function tp(e){var t=pt(e,1);t!==null&&Ke(t,e,1,-1)}function _u(e){var t=et();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zn,lastRenderedState:e},t.queue=e,e=e.dispatch=rg.bind(null,Z,e),[t.memoizedState,e]}function $n(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Z.updateQueue,t===null?(t={lastEffect:null,stores:null},Z.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function rp(){return Me().memoizedState}function jo(e,t,r,n){var o=et();Z.flags|=e,o.memoizedState=$n(1|t,r,void 0,n===void 0?null:n)}function vs(e,t,r,n){var o=Me();n=n===void 0?null:n;var s=void 0;if(ae!==null){var i=ae.memoizedState;if(s=i.destroy,n!==null&&Za(n,i.deps)){o.memoizedState=$n(t,r,s,n);return}}Z.flags|=e,o.memoizedState=$n(1|t,r,s,n)}function ku(e,t){return jo(8390656,8,e,t)}function rl(e,t){return vs(2048,8,e,t)}function np(e,t){return vs(4,2,e,t)}function op(e,t){return vs(4,4,e,t)}function sp(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 ip(e,t,r){return r=r!=null?r.concat([e]):null,vs(4,4,sp.bind(null,t,e),r)}function nl(){}function ap(e,t){var r=Me();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Za(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function lp(e,t){var r=Me();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&Za(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function up(e,t,r){return or&21?(Qe(r,t)||(r=fd(),Z.lanes|=r,sr|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Pe=!0),e.memoizedState=r)}function eg(e,t){var r=H;H=r!==0&&4>r?r:4,e(!0);var n=ni.transition;ni.transition={};try{e(!1),t()}finally{H=r,ni.transition=n}}function cp(){return Me().memoizedState}function tg(e,t,r){var n=At(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},dp(e))pp(t,r);else if(r=Wd(e,t,r,n),r!==null){var o=_e();Ke(r,e,n,o),hp(r,t,n)}}function rg(e,t,r){var n=At(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(dp(e))pp(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var i=t.lastRenderedState,a=s(i,r);if(o.hasEagerState=!0,o.eagerState=a,Qe(a,i)){var l=t.interleaved;l===null?(o.next=o,Ka(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=Wd(e,t,o,n),r!==null&&(o=_e(),Ke(r,e,n,o),hp(r,t,n))}}function dp(e){var t=e.alternate;return e===Z||t!==null&&t===Z}function pp(e,t){En=Jo=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function hp(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Fa(e,r)}}var Zo={readContext:$e,useCallback:ge,useContext:ge,useEffect:ge,useImperativeHandle:ge,useInsertionEffect:ge,useLayoutEffect:ge,useMemo:ge,useReducer:ge,useRef:ge,useState:ge,useDebugValue:ge,useDeferredValue:ge,useTransition:ge,useMutableSource:ge,useSyncExternalStore:ge,useId:ge,unstable_isNewReconciler:!1},ng={readContext:$e,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:ku,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,jo(4194308,4,sp.bind(null,t,e),r)},useLayoutEffect:function(e,t){return jo(4194308,4,e,t)},useInsertionEffect:function(e,t){return jo(4,2,e,t)},useMemo:function(e,t){var r=et();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=et();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=tg.bind(null,Z,e),[n.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:_u,useDebugValue:nl,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=_u(!1),t=e[0];return e=eg.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Z,o=et();if(X){if(r===void 0)throw Error(b(407));r=r()}else{if(r=t(),ce===null)throw Error(b(349));or&30||Xd(n,t,r)}o.memoizedState=r;var s={value:r,getSnapshot:t};return o.queue=s,ku(Zd.bind(null,n,s,e),[e]),n.flags|=2048,$n(9,Jd.bind(null,n,s,r,t),void 0,null),r},useId:function(){var e=et(),t=ce.identifierPrefix;if(X){var r=at,n=it;r=(n&~(1<<32-Ve(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=In++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=Zm++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},og={readContext:$e,useCallback:ap,useContext:$e,useEffect:rl,useImperativeHandle:ip,useInsertionEffect:np,useLayoutEffect:op,useMemo:lp,useReducer:oi,useRef:rp,useState:function(){return oi(zn)},useDebugValue:nl,useDeferredValue:function(e){var t=Me();return up(t,ae.memoizedState,e)},useTransition:function(){var e=oi(zn)[0],t=Me().memoizedState;return[e,t]},useMutableSource:Qd,useSyncExternalStore:Yd,useId:cp,unstable_isNewReconciler:!1},sg={readContext:$e,useCallback:ap,useContext:$e,useEffect:rl,useImperativeHandle:ip,useInsertionEffect:np,useLayoutEffect:op,useMemo:lp,useReducer:si,useRef:rp,useState:function(){return si(zn)},useDebugValue:nl,useDeferredValue:function(e){var t=Me();return ae===null?t.memoizedState=e:up(t,ae.memoizedState,e)},useTransition:function(){var e=si(zn)[0],t=Me().memoizedState;return[e,t]},useMutableSource:Qd,useSyncExternalStore:Yd,useId:cp,unstable_isNewReconciler:!1};function He(e,t){if(e&&e.defaultProps){t=ee({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}function Yi(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:ee({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var ws={isMounted:function(e){return(e=e._reactInternals)?lr(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=_e(),o=At(e),s=ut(n,o);s.payload=t,r!=null&&(s.callback=r),t=Rt(e,s,o),t!==null&&(Ke(t,e,o,n),Po(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=_e(),o=At(e),s=ut(n,o);s.tag=1,s.payload=t,r!=null&&(s.callback=r),t=Rt(e,s,o),t!==null&&(Ke(t,e,o,n),Po(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=_e(),n=At(e),o=ut(r,n);o.tag=2,t!=null&&(o.callback=t),t=Rt(e,o,n),t!==null&&(Ke(t,e,n,r),Po(t,e,n))}};function Tu(e,t,r,n,o,s,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,s,i):t.prototype&&t.prototype.isPureReactComponent?!Nn(r,n)||!Nn(o,s):!0}function fp(e,t,r){var n=!1,o=Dt,s=t.contextType;return typeof s=="object"&&s!==null?s=$e(s):(o=je(t)?rr:we.current,n=t.contextTypes,s=(n=n!=null)?$r(e,o):Dt),t=new t(r,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ws,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=s),t}function Su(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&ws.enqueueReplaceState(t,t.state,null)}function Xi(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Qa(e);var s=t.contextType;typeof s=="object"&&s!==null?o.context=$e(s):(s=je(t)?rr:we.current,o.context=$r(e,s)),o.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Yi(e,t,s,r),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&ws.enqueueReplaceState(o,o.state,null),Yo(e,r,o,n),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function qr(e,t){try{var r="",n=t;do r+=Nf(n),n=n.return;while(n);var o=r}catch(s){o=`
|
||
Error generating stack: `+s.message+`
|
||
`+s.stack}return{value:e,source:t,stack:o,digest:null}}function ii(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Ji(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var ig=typeof WeakMap=="function"?WeakMap:Map;function mp(e,t,r){r=ut(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){ts||(ts=!0,la=n),Ji(e,t)},r}function gp(e,t,r){r=ut(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){Ji(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Ji(e,t),typeof n!="function"&&(Ct===null?Ct=new Set([this]):Ct.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function bu(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new ig;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=Eg.bind(null,e,t,r),t.then(e,e))}function Pu(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 Ou(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=ut(-1,1),t.tag=2,Rt(r,t,1))),r.lanes|=1),e)}var ag=mt.ReactCurrentOwner,Pe=!1;function xe(e,t,r,n){t.child=e===null?qd(t,null,r,n):Br(t,e.child,r,n)}function ju(e,t,r,n,o){r=r.render;var s=t.ref;return Ur(t,o),n=el(e,t,r,n,s,o),r=tl(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ht(e,t,o)):(X&&r&&Ma(t),t.flags|=1,xe(e,t,n,o),t.child)}function Ru(e,t,r,n,o){if(e===null){var s=r.type;return typeof s=="function"&&!dl(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,yp(e,t,s,n,o)):(e=No(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&o)){var i=s.memoizedProps;if(r=r.compare,r=r!==null?r:Nn,r(i,n)&&e.ref===t.ref)return ht(e,t,o)}return t.flags|=1,e=Nt(s,n),e.ref=t.ref,e.return=t,t.child=e}function yp(e,t,r,n,o){if(e!==null){var s=e.memoizedProps;if(Nn(s,n)&&e.ref===t.ref)if(Pe=!1,t.pendingProps=n=s,(e.lanes&o)!==0)e.flags&131072&&(Pe=!0);else return t.lanes=e.lanes,ht(e,t,o)}return Zi(e,t,r,n,o)}function vp(e,t,r){var n=t.pendingProps,o=n.children,s=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},q(Rr,Ce),Ce|=r;else{if(!(r&1073741824))return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,q(Rr,Ce),Ce|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=s!==null?s.baseLanes:r,q(Rr,Ce),Ce|=n}else s!==null?(n=s.baseLanes|r,t.memoizedState=null):n=r,q(Rr,Ce),Ce|=n;return xe(e,t,o,r),t.child}function wp(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Zi(e,t,r,n,o){var s=je(r)?rr:we.current;return s=$r(t,s),Ur(t,o),r=el(e,t,r,n,s,o),n=tl(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ht(e,t,o)):(X&&n&&Ma(t),t.flags|=1,xe(e,t,r,o),t.child)}function Cu(e,t,r,n,o){if(je(r)){var s=!0;qo(t)}else s=!1;if(Ur(t,o),t.stateNode===null)Ro(e,t),fp(t,r,n),Xi(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,c=r.contextType;typeof c=="object"&&c!==null?c=$e(c):(c=je(r)?rr:we.current,c=$r(t,c));var g=r.getDerivedStateFromProps,h=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==n||l!==c)&&Su(t,i,n,c),wt=!1;var y=t.memoizedState;i.state=y,Yo(t,n,i,o),l=t.memoizedState,a!==n||y!==l||Oe.current||wt?(typeof g=="function"&&(Yi(t,r,g,n),l=t.memoizedState),(a=wt||Tu(t,r,a,n,y,l,c))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=c,n=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Vd(e,t),a=t.memoizedProps,c=t.type===t.elementType?a:He(t.type,a),i.props=c,h=t.pendingProps,y=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=$e(l):(l=je(r)?rr:we.current,l=$r(t,l));var x=r.getDerivedStateFromProps;(g=typeof x=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(a!==h||y!==l)&&Su(t,i,n,l),wt=!1,y=t.memoizedState,i.state=y,Yo(t,n,i,o);var S=t.memoizedState;a!==h||y!==S||Oe.current||wt?(typeof x=="function"&&(Yi(t,r,x,n),S=t.memoizedState),(c=wt||Tu(t,r,c,n,y,S,l)||!1)?(g||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(n,S,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(n,S,l)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=S),i.props=n,i.state=S,i.context=l,n=c):(typeof i.componentDidUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&y===e.memoizedState||(t.flags|=1024),n=!1)}return ea(e,t,r,n,s,o)}function ea(e,t,r,n,o,s){wp(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return o&&gu(t,r,!1),ht(e,t,s);n=t.stateNode,ag.current=t;var a=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Br(t,e.child,null,s),t.child=Br(t,null,a,s)):xe(e,t,a,s),t.memoizedState=n.state,o&&gu(t,r,!0),t.child}function Ep(e){var t=e.stateNode;t.pendingContext?mu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&mu(e,t.context,!1),Ya(e,t.containerInfo)}function Au(e,t,r,n,o){return Mr(),Ha(o),t.flags|=256,xe(e,t,r,n),t.child}var ta={dehydrated:null,treeContext:null,retryLane:0};function ra(e){return{baseLanes:e,cachePool:null,transitions:null}}function xp(e,t,r){var n=t.pendingProps,o=J.current,s=!1,i=(t.flags&128)!==0,a;if((a=i)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),q(J,o&1),e===null)return Ki(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):(i=n.children,e=n.fallback,s?(n=t.mode,s=t.child,i={mode:"hidden",children:i},!(n&1)&&s!==null?(s.childLanes=0,s.pendingProps=i):s=_s(i,n,0,null),e=Zt(e,n,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=ra(r),t.memoizedState=ta,e):ol(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return lg(e,t,i,n,a,o,r);if(s){s=n.fallback,i=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:n.children};return!(i&1)&&t.child!==o?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Nt(o,l),n.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=Nt(a,s):(s=Zt(s,i,r,null),s.flags|=2),s.return=t,n.return=t,n.sibling=s,t.child=n,n=s,s=t.child,i=e.child.memoizedState,i=i===null?ra(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~r,t.memoizedState=ta,n}return s=e.child,e=s.sibling,n=Nt(s,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function ol(e,t){return t=_s({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function mo(e,t,r,n){return n!==null&&Ha(n),Br(t,e.child,null,r),e=ol(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function lg(e,t,r,n,o,s,i){if(r)return t.flags&256?(t.flags&=-257,n=ii(Error(b(422))),mo(e,t,i,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=n.fallback,o=t.mode,n=_s({mode:"visible",children:n.children},o,0,null),s=Zt(s,o,i,null),s.flags|=2,n.return=t,s.return=t,n.sibling=s,t.child=n,t.mode&1&&Br(t,e.child,null,i),t.child.memoizedState=ra(i),t.memoizedState=ta,s);if(!(t.mode&1))return mo(e,t,i,null);if(o.data==="$!"){if(n=o.nextSibling&&o.nextSibling.dataset,n)var a=n.dgst;return n=a,s=Error(b(419)),n=ii(s,n,void 0),mo(e,t,i,n)}if(a=(i&e.childLanes)!==0,Pe||a){if(n=ce,n!==null){switch(i&-i){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(n.suspendedLanes|i)?0:o,o!==0&&o!==s.retryLane&&(s.retryLane=o,pt(e,o),Ke(n,e,o,-1))}return cl(),n=ii(Error(b(421))),mo(e,t,i,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=xg.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Ae=jt(o.nextSibling),Ne=t,X=!0,We=null,e!==null&&(Ue[Le++]=it,Ue[Le++]=at,Ue[Le++]=nr,it=e.id,at=e.overflow,nr=t),t=ol(t,n.children),t.flags|=4096,t)}function Nu(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Qi(e.return,t,r)}function ai(e,t,r,n,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=r,s.tailMode=o)}function _p(e,t,r){var n=t.pendingProps,o=n.revealOrder,s=n.tail;if(xe(e,t,n.children,r),n=J.current,n&2)n=n&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&&Nu(e,r,t);else if(e.tag===19)Nu(e,r,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}n&=1}if(q(J,n),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(r=t.child,o=null;r!==null;)e=r.alternate,e!==null&&Xo(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),ai(t,!1,o,r,s);break;case"backwards":for(r=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Xo(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}ai(t,!0,r,null,s);break;case"together":ai(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ro(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ht(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),sr|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(b(153));if(t.child!==null){for(e=t.child,r=Nt(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Nt(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function ug(e,t,r){switch(t.tag){case 3:Ep(t),Mr();break;case 5:Kd(t);break;case 1:je(t.type)&&qo(t);break;case 4:Ya(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;q(Ko,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(q(J,J.current&1),t.flags|=128,null):r&t.child.childLanes?xp(e,t,r):(q(J,J.current&1),e=ht(e,t,r),e!==null?e.sibling:null);q(J,J.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return _p(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),q(J,J.current),n)break;return null;case 22:case 23:return t.lanes=0,vp(e,t,r)}return ht(e,t,r)}var kp,na,Tp,Sp;kp=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};na=function(){};Tp=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Xt(nt.current);var s=null;switch(r){case"input":o=Si(e,o),n=Si(e,n),s=[];break;case"select":o=ee({},o,{value:void 0}),n=ee({},n,{value:void 0}),s=[];break;case"textarea":o=Oi(e,o),n=Oi(e,n),s=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Bo)}Ri(r,n);var i;r=null;for(c in o)if(!n.hasOwnProperty(c)&&o.hasOwnProperty(c)&&o[c]!=null)if(c==="style"){var a=o[c];for(i in a)a.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(bn.hasOwnProperty(c)?s||(s=[]):(s=s||[]).push(c,null));for(c in n){var l=n[c];if(a=o!=null?o[c]:void 0,n.hasOwnProperty(c)&&l!==a&&(l!=null||a!=null))if(c==="style")if(a){for(i in a)!a.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(r||(r={}),r[i]="");for(i in l)l.hasOwnProperty(i)&&a[i]!==l[i]&&(r||(r={}),r[i]=l[i])}else r||(s||(s=[]),s.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(bn.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&V("scroll",e),s||a===l||(s=[])):(s=s||[]).push(c,l))}r&&(s=s||[]).push("style",r);var c=s;(t.updateQueue=c)&&(t.flags|=4)}};Sp=function(e,t,r,n){r!==n&&(t.flags|=4)};function ln(e,t){if(!X)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags&14680064,n|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function cg(e,t,r){var n=t.pendingProps;switch(Ba(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ye(t),null;case 1:return je(t.type)&&Ho(),ye(t),null;case 3:return n=t.stateNode,Hr(),K(Oe),K(we),Ja(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(ho(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,We!==null&&(da(We),We=null))),na(e,t),ye(t),null;case 5:Xa(t);var o=Xt(Ln.current);if(r=t.type,e!==null&&t.stateNode!=null)Tp(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(b(166));return ye(t),null}if(e=Xt(nt.current),ho(t)){n=t.stateNode,r=t.type;var s=t.memoizedProps;switch(n[tt]=t,n[Dn]=s,e=(t.mode&1)!==0,r){case"dialog":V("cancel",n),V("close",n);break;case"iframe":case"object":case"embed":V("load",n);break;case"video":case"audio":for(o=0;o<fn.length;o++)V(fn[o],n);break;case"source":V("error",n);break;case"img":case"image":case"link":V("error",n),V("load",n);break;case"details":V("toggle",n);break;case"input":Ml(n,s),V("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},V("invalid",n);break;case"textarea":Hl(n,s),V("invalid",n)}Ri(r,s),o=null;for(var i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="children"?typeof a=="string"?n.textContent!==a&&(s.suppressHydrationWarning!==!0&&po(n.textContent,a,e),o=["children",a]):typeof a=="number"&&n.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&po(n.textContent,a,e),o=["children",""+a]):bn.hasOwnProperty(i)&&a!=null&&i==="onScroll"&&V("scroll",n)}switch(r){case"input":no(n),Bl(n,s,!0);break;case"textarea":no(n),ql(n);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(n.onclick=Bo)}n=o,t.updateQueue=n,n!==null&&(t.flags|=4)}else{i=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Zc(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[tt]=t,e[Dn]=n,kp(e,t,!1,!1),t.stateNode=e;e:{switch(i=Ci(r,n),r){case"dialog":V("cancel",e),V("close",e),o=n;break;case"iframe":case"object":case"embed":V("load",e),o=n;break;case"video":case"audio":for(o=0;o<fn.length;o++)V(fn[o],e);o=n;break;case"source":V("error",e),o=n;break;case"img":case"image":case"link":V("error",e),V("load",e),o=n;break;case"details":V("toggle",e),o=n;break;case"input":Ml(e,n),o=Si(e,n),V("invalid",e);break;case"option":o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=ee({},n,{value:void 0}),V("invalid",e);break;case"textarea":Hl(e,n),o=Oi(e,n),V("invalid",e);break;default:o=n}Ri(r,o),a=o;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?rd(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ed(e,l)):s==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&Pn(e,l):typeof l=="number"&&Pn(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(bn.hasOwnProperty(s)?l!=null&&s==="onScroll"&&V("scroll",e):l!=null&&Oa(e,s,l,i))}switch(r){case"input":no(e),Bl(e,n,!1);break;case"textarea":no(e),ql(e);break;case"option":n.value!=null&&e.setAttribute("value",""+Gt(n.value));break;case"select":e.multiple=!!n.multiple,s=n.value,s!=null?Nr(e,!!n.multiple,s,!1):n.defaultValue!=null&&Nr(e,!!n.multiple,n.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Bo)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ye(t),null;case 6:if(e&&t.stateNode!=null)Sp(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(b(166));if(r=Xt(Ln.current),Xt(nt.current),ho(t)){if(n=t.stateNode,r=t.memoizedProps,n[tt]=t,(s=n.nodeValue!==r)&&(e=Ne,e!==null))switch(e.tag){case 3:po(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&po(n.nodeValue,r,(e.mode&1)!==0)}s&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[tt]=t,t.stateNode=n}return ye(t),null;case 13:if(K(J),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(X&&Ae!==null&&t.mode&1&&!(t.flags&128))Bd(),Mr(),t.flags|=98560,s=!1;else if(s=ho(t),n!==null&&n.dehydrated!==null){if(e===null){if(!s)throw Error(b(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(b(317));s[tt]=t}else Mr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ye(t),s=!1}else We!==null&&(da(We),We=null),s=!0;if(!s)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||J.current&1?le===0&&(le=3):cl())),t.updateQueue!==null&&(t.flags|=4),ye(t),null);case 4:return Hr(),na(e,t),e===null&&Fn(t.stateNode.containerInfo),ye(t),null;case 10:return Va(t.type._context),ye(t),null;case 17:return je(t.type)&&Ho(),ye(t),null;case 19:if(K(J),s=t.memoizedState,s===null)return ye(t),null;if(n=(t.flags&128)!==0,i=s.rendering,i===null)if(n)ln(s,!1);else{if(le!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Xo(e),i!==null){for(t.flags|=128,ln(s,!1),n=i.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)s=r,e=n,s.flags&=14680066,i=s.alternate,i===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=i.childLanes,s.lanes=i.lanes,s.child=i.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=i.memoizedProps,s.memoizedState=i.memoizedState,s.updateQueue=i.updateQueue,s.type=i.type,e=i.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return q(J,J.current&1|2),t.child}e=e.sibling}s.tail!==null&&ne()>Wr&&(t.flags|=128,n=!0,ln(s,!1),t.lanes=4194304)}else{if(!n)if(e=Xo(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),ln(s,!0),s.tail===null&&s.tailMode==="hidden"&&!i.alternate&&!X)return ye(t),null}else 2*ne()-s.renderingStartTime>Wr&&r!==1073741824&&(t.flags|=128,n=!0,ln(s,!1),t.lanes=4194304);s.isBackwards?(i.sibling=t.child,t.child=i):(r=s.last,r!==null?r.sibling=i:t.child=i,s.last=i)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=ne(),t.sibling=null,r=J.current,q(J,n?r&1|2:r&1),t):(ye(t),null);case 22:case 23:return ul(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ce&1073741824&&(ye(t),t.subtreeFlags&6&&(t.flags|=8192)):ye(t),null;case 24:return null;case 25:return null}throw Error(b(156,t.tag))}function dg(e,t){switch(Ba(t),t.tag){case 1:return je(t.type)&&Ho(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hr(),K(Oe),K(we),Ja(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Xa(t),null;case 13:if(K(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(b(340));Mr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(J),null;case 4:return Hr(),null;case 10:return Va(t.type._context),null;case 22:case 23:return ul(),null;case 24:return null;default:return null}}var go=!1,ve=!1,pg=typeof WeakSet=="function"?WeakSet:Set,N=null;function jr(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){te(e,t,n)}else r.current=null}function oa(e,t,r){try{r()}catch(n){te(e,t,n)}}var Fu=!1;function hg(e,t){if($i=zo,e=Rd(),$a(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var o=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var i=0,a=-1,l=-1,c=0,g=0,h=e,y=null;t:for(;;){for(var x;h!==r||o!==0&&h.nodeType!==3||(a=i+o),h!==s||n!==0&&h.nodeType!==3||(l=i+n),h.nodeType===3&&(i+=h.nodeValue.length),(x=h.firstChild)!==null;)y=h,h=x;for(;;){if(h===e)break t;if(y===r&&++c===o&&(a=i),y===s&&++g===n&&(l=i),(x=h.nextSibling)!==null)break;h=y,y=h.parentNode}h=x}r=a===-1||l===-1?null:{start:a,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(Mi={focusedElem:e,selectionRange:r},zo=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var T=S.memoizedProps,P=S.memoizedState,f=t.stateNode,p=f.getSnapshotBeforeUpdate(t.elementType===t.type?T:He(t.type,T),P);f.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(b(163))}}catch(_){te(t,t.return,_)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return S=Fu,Fu=!1,S}function xn(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var o=n=n.next;do{if((o.tag&e)===e){var s=o.destroy;o.destroy=void 0,s!==void 0&&oa(t,r,s)}o=o.next}while(o!==n)}}function Es(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function sa(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function bp(e){var t=e.alternate;t!==null&&(e.alternate=null,bp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[tt],delete t[Dn],delete t[qi],delete t[Qm],delete t[Ym])),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 Pp(e){return e.tag===5||e.tag===3||e.tag===4}function Gu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Pp(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 ia(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Bo));else if(n!==4&&(e=e.child,e!==null))for(ia(e,t,r),e=e.sibling;e!==null;)ia(e,t,r),e=e.sibling}function aa(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(aa(e,t,r),e=e.sibling;e!==null;)aa(e,t,r),e=e.sibling}var pe=null,qe=!1;function yt(e,t,r){for(r=r.child;r!==null;)Op(e,t,r),r=r.sibling}function Op(e,t,r){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(ps,r)}catch{}switch(r.tag){case 5:ve||jr(r,t);case 6:var n=pe,o=qe;pe=null,yt(e,t,r),pe=n,qe=o,pe!==null&&(qe?(e=pe,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):pe.removeChild(r.stateNode));break;case 18:pe!==null&&(qe?(e=pe,r=r.stateNode,e.nodeType===8?ei(e.parentNode,r):e.nodeType===1&&ei(e,r),Cn(e)):ei(pe,r.stateNode));break;case 4:n=pe,o=qe,pe=r.stateNode.containerInfo,qe=!0,yt(e,t,r),pe=n,qe=o;break;case 0:case 11:case 14:case 15:if(!ve&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){o=n=n.next;do{var s=o,i=s.destroy;s=s.tag,i!==void 0&&(s&2||s&4)&&oa(r,t,i),o=o.next}while(o!==n)}yt(e,t,r);break;case 1:if(!ve&&(jr(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){te(r,t,a)}yt(e,t,r);break;case 21:yt(e,t,r);break;case 22:r.mode&1?(ve=(n=ve)||r.memoizedState!==null,yt(e,t,r),ve=n):yt(e,t,r);break;default:yt(e,t,r)}}function Du(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new pg),t.forEach(function(n){var o=_g.bind(null,e,n);r.has(n)||(r.add(n),n.then(o,o))})}}function Be(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var o=r[n];try{var s=e,i=t,a=i;e:for(;a!==null;){switch(a.tag){case 5:pe=a.stateNode,qe=!1;break e;case 3:pe=a.stateNode.containerInfo,qe=!0;break e;case 4:pe=a.stateNode.containerInfo,qe=!0;break e}a=a.return}if(pe===null)throw Error(b(160));Op(s,i,o),pe=null,qe=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(c){te(o,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)jp(t,e),t=t.sibling}function jp(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Be(t,e),Ze(e),n&4){try{xn(3,e,e.return),Es(3,e)}catch(T){te(e,e.return,T)}try{xn(5,e,e.return)}catch(T){te(e,e.return,T)}}break;case 1:Be(t,e),Ze(e),n&512&&r!==null&&jr(r,r.return);break;case 5:if(Be(t,e),Ze(e),n&512&&r!==null&&jr(r,r.return),e.flags&32){var o=e.stateNode;try{Pn(o,"")}catch(T){te(e,e.return,T)}}if(n&4&&(o=e.stateNode,o!=null)){var s=e.memoizedProps,i=r!==null?r.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&Xc(o,s),Ci(a,i);var c=Ci(a,s);for(i=0;i<l.length;i+=2){var g=l[i],h=l[i+1];g==="style"?rd(o,h):g==="dangerouslySetInnerHTML"?ed(o,h):g==="children"?Pn(o,h):Oa(o,g,h,c)}switch(a){case"input":bi(o,s);break;case"textarea":Jc(o,s);break;case"select":var y=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!s.multiple;var x=s.value;x!=null?Nr(o,!!s.multiple,x,!1):y!==!!s.multiple&&(s.defaultValue!=null?Nr(o,!!s.multiple,s.defaultValue,!0):Nr(o,!!s.multiple,s.multiple?[]:"",!1))}o[Dn]=s}catch(T){te(e,e.return,T)}}break;case 6:if(Be(t,e),Ze(e),n&4){if(e.stateNode===null)throw Error(b(162));o=e.stateNode,s=e.memoizedProps;try{o.nodeValue=s}catch(T){te(e,e.return,T)}}break;case 3:if(Be(t,e),Ze(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{Cn(t.containerInfo)}catch(T){te(e,e.return,T)}break;case 4:Be(t,e),Ze(e);break;case 13:Be(t,e),Ze(e),o=e.child,o.flags&8192&&(s=o.memoizedState!==null,o.stateNode.isHidden=s,!s||o.alternate!==null&&o.alternate.memoizedState!==null||(al=ne())),n&4&&Du(e);break;case 22:if(g=r!==null&&r.memoizedState!==null,e.mode&1?(ve=(c=ve)||g,Be(t,e),ve=c):Be(t,e),Ze(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!g&&e.mode&1)for(N=e,g=e.child;g!==null;){for(h=N=g;N!==null;){switch(y=N,x=y.child,y.tag){case 0:case 11:case 14:case 15:xn(4,y,y.return);break;case 1:jr(y,y.return);var S=y.stateNode;if(typeof S.componentWillUnmount=="function"){n=y,r=y.return;try{t=n,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(T){te(n,r,T)}}break;case 5:jr(y,y.return);break;case 22:if(y.memoizedState!==null){Lu(h);continue}}x!==null?(x.return=y,N=x):Lu(h)}g=g.sibling}e:for(g=null,h=e;;){if(h.tag===5){if(g===null){g=h;try{o=h.stateNode,c?(s=o.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=h.stateNode,l=h.memoizedProps.style,i=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=td("display",i))}catch(T){te(e,e.return,T)}}}else if(h.tag===6){if(g===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(T){te(e,e.return,T)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;g===h&&(g=null),h=h.return}g===h&&(g=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Be(t,e),Ze(e),n&4&&Du(e);break;case 21:break;default:Be(t,e),Ze(e)}}function Ze(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(Pp(r)){var n=r;break e}r=r.return}throw Error(b(160))}switch(n.tag){case 5:var o=n.stateNode;n.flags&32&&(Pn(o,""),n.flags&=-33);var s=Gu(e);aa(e,s,o);break;case 3:case 4:var i=n.stateNode.containerInfo,a=Gu(e);ia(e,a,i);break;default:throw Error(b(161))}}catch(l){te(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function fg(e,t,r){N=e,Rp(e)}function Rp(e,t,r){for(var n=(e.mode&1)!==0;N!==null;){var o=N,s=o.child;if(o.tag===22&&n){var i=o.memoizedState!==null||go;if(!i){var a=o.alternate,l=a!==null&&a.memoizedState!==null||ve;a=go;var c=ve;if(go=i,(ve=l)&&!c)for(N=o;N!==null;)i=N,l=i.child,i.tag===22&&i.memoizedState!==null?Iu(o):l!==null?(l.return=i,N=l):Iu(o);for(;s!==null;)N=s,Rp(s),s=s.sibling;N=o,go=a,ve=c}Uu(e)}else o.subtreeFlags&8772&&s!==null?(s.return=o,N=s):Uu(e)}}function Uu(e){for(;N!==null;){var t=N;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ve||Es(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!ve)if(r===null)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:He(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&xu(t,s,n);break;case 3:var i=t.updateQueue;if(i!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}xu(t,i,r)}break;case 5:var a=t.stateNode;if(r===null&&t.flags&4){r=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.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 g=c.memoizedState;if(g!==null){var h=g.dehydrated;h!==null&&Cn(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(b(163))}ve||t.flags&512&&sa(t)}catch(y){te(t,t.return,y)}}if(t===e){N=null;break}if(r=t.sibling,r!==null){r.return=t.return,N=r;break}N=t.return}}function Lu(e){for(;N!==null;){var t=N;if(t===e){N=null;break}var r=t.sibling;if(r!==null){r.return=t.return,N=r;break}N=t.return}}function Iu(e){for(;N!==null;){var t=N;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{Es(4,t)}catch(l){te(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var o=t.return;try{n.componentDidMount()}catch(l){te(t,o,l)}}var s=t.return;try{sa(t)}catch(l){te(t,s,l)}break;case 5:var i=t.return;try{sa(t)}catch(l){te(t,i,l)}}}catch(l){te(t,t.return,l)}if(t===e){N=null;break}var a=t.sibling;if(a!==null){a.return=t.return,N=a;break}N=t.return}}var mg=Math.ceil,es=mt.ReactCurrentDispatcher,sl=mt.ReactCurrentOwner,ze=mt.ReactCurrentBatchConfig,M=0,ce=null,se=null,he=0,Ce=0,Rr=Lt(0),le=0,Mn=null,sr=0,xs=0,il=0,_n=null,be=null,al=0,Wr=1/0,ot=null,ts=!1,la=null,Ct=null,yo=!1,Tt=null,rs=0,kn=0,ua=null,Co=-1,Ao=0;function _e(){return M&6?ne():Co!==-1?Co:Co=ne()}function At(e){return e.mode&1?M&2&&he!==0?he&-he:Jm.transition!==null?(Ao===0&&(Ao=fd()),Ao):(e=H,e!==0||(e=window.event,e=e===void 0?16:xd(e.type)),e):1}function Ke(e,t,r,n){if(50<kn)throw kn=0,ua=null,Error(b(185));Vn(e,r,n),(!(M&2)||e!==ce)&&(e===ce&&(!(M&2)&&(xs|=r),le===4&&_t(e,he)),Re(e,n),r===1&&M===0&&!(t.mode&1)&&(Wr=ne()+500,ys&&It()))}function Re(e,t){var r=e.callbackNode;Jf(e,t);var n=Io(e,e===ce?he:0);if(n===0)r!==null&&Kl(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&Kl(r),t===1)e.tag===0?Xm(zu.bind(null,e)):zd(zu.bind(null,e)),Vm(function(){!(M&6)&&It()}),r=null;else{switch(md(n)){case 1:r=Na;break;case 4:r=pd;break;case 16:r=Lo;break;case 536870912:r=hd;break;default:r=Lo}r=Lp(r,Cp.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function Cp(e,t){if(Co=-1,Ao=0,M&6)throw Error(b(327));var r=e.callbackNode;if(Lr()&&e.callbackNode!==r)return null;var n=Io(e,e===ce?he:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=ns(e,n);else{t=n;var o=M;M|=2;var s=Np();(ce!==e||he!==t)&&(ot=null,Wr=ne()+500,Jt(e,t));do try{vg();break}catch(a){Ap(e,a)}while(!0);Wa(),es.current=s,M=o,se!==null?t=0:(ce=null,he=0,t=le)}if(t!==0){if(t===2&&(o=Di(e),o!==0&&(n=o,t=ca(e,o))),t===1)throw r=Mn,Jt(e,0),_t(e,n),Re(e,ne()),r;if(t===6)_t(e,n);else{if(o=e.current.alternate,!(n&30)&&!gg(o)&&(t=ns(e,n),t===2&&(s=Di(e),s!==0&&(n=s,t=ca(e,s))),t===1))throw r=Mn,Jt(e,0),_t(e,n),Re(e,ne()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(b(345));case 2:Vt(e,be,ot);break;case 3:if(_t(e,n),(n&130023424)===n&&(t=al+500-ne(),10<t)){if(Io(e,0)!==0)break;if(o=e.suspendedLanes,(o&n)!==n){_e(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Hi(Vt.bind(null,e,be,ot),t);break}Vt(e,be,ot);break;case 4:if(_t(e,n),(n&4194240)===n)break;for(t=e.eventTimes,o=-1;0<n;){var i=31-Ve(n);s=1<<i,i=t[i],i>o&&(o=i),n&=~s}if(n=o,n=ne()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*mg(n/1960))-n,10<n){e.timeoutHandle=Hi(Vt.bind(null,e,be,ot),n);break}Vt(e,be,ot);break;case 5:Vt(e,be,ot);break;default:throw Error(b(329))}}}return Re(e,ne()),e.callbackNode===r?Cp.bind(null,e):null}function ca(e,t){var r=_n;return e.current.memoizedState.isDehydrated&&(Jt(e,t).flags|=256),e=ns(e,t),e!==2&&(t=be,be=r,t!==null&&da(t)),e}function da(e){be===null?be=e:be.push.apply(be,e)}function gg(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var o=r[n],s=o.getSnapshot;o=o.value;try{if(!Qe(s(),o))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;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 _t(e,t){for(t&=~il,t&=~xs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Ve(t),n=1<<r;e[r]=-1,t&=~n}}function zu(e){if(M&6)throw Error(b(327));Lr();var t=Io(e,0);if(!(t&1))return Re(e,ne()),null;var r=ns(e,t);if(e.tag!==0&&r===2){var n=Di(e);n!==0&&(t=n,r=ca(e,n))}if(r===1)throw r=Mn,Jt(e,0),_t(e,t),Re(e,ne()),r;if(r===6)throw Error(b(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Vt(e,be,ot),Re(e,ne()),null}function ll(e,t){var r=M;M|=1;try{return e(t)}finally{M=r,M===0&&(Wr=ne()+500,ys&&It())}}function ir(e){Tt!==null&&Tt.tag===0&&!(M&6)&&Lr();var t=M;M|=1;var r=ze.transition,n=H;try{if(ze.transition=null,H=1,e)return e()}finally{H=n,ze.transition=r,M=t,!(M&6)&&It()}}function ul(){Ce=Rr.current,K(Rr)}function Jt(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,Wm(r)),se!==null)for(r=se.return;r!==null;){var n=r;switch(Ba(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ho();break;case 3:Hr(),K(Oe),K(we),Ja();break;case 5:Xa(n);break;case 4:Hr();break;case 13:K(J);break;case 19:K(J);break;case 10:Va(n.type._context);break;case 22:case 23:ul()}r=r.return}if(ce=e,se=e=Nt(e.current,null),he=Ce=t,le=0,Mn=null,il=xs=sr=0,be=_n=null,Yt!==null){for(t=0;t<Yt.length;t++)if(r=Yt[t],n=r.interleaved,n!==null){r.interleaved=null;var o=n.next,s=r.pending;if(s!==null){var i=s.next;s.next=o,n.next=i}r.pending=n}Yt=null}return e}function Ap(e,t){do{var r=se;try{if(Wa(),Oo.current=Zo,Jo){for(var n=Z.memoizedState;n!==null;){var o=n.queue;o!==null&&(o.pending=null),n=n.next}Jo=!1}if(or=0,ue=ae=Z=null,En=!1,In=0,sl.current=null,r===null||r.return===null){le=1,Mn=t,se=null;break}e:{var s=e,i=r.return,a=r,l=t;if(t=he,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,g=a,h=g.tag;if(!(g.mode&1)&&(h===0||h===11||h===15)){var y=g.alternate;y?(g.updateQueue=y.updateQueue,g.memoizedState=y.memoizedState,g.lanes=y.lanes):(g.updateQueue=null,g.memoizedState=null)}var x=Pu(i);if(x!==null){x.flags&=-257,Ou(x,i,a,s,t),x.mode&1&&bu(s,c,t),t=x,l=c;var S=t.updateQueue;if(S===null){var T=new Set;T.add(l),t.updateQueue=T}else S.add(l);break e}else{if(!(t&1)){bu(s,c,t),cl();break e}l=Error(b(426))}}else if(X&&a.mode&1){var P=Pu(i);if(P!==null){!(P.flags&65536)&&(P.flags|=256),Ou(P,i,a,s,t),Ha(qr(l,a));break e}}s=l=qr(l,a),le!==4&&(le=2),_n===null?_n=[s]:_n.push(s),s=i;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var f=mp(s,l,t);Eu(s,f);break e;case 1:a=l;var p=s.type,m=s.stateNode;if(!(s.flags&128)&&(typeof p.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Ct===null||!Ct.has(m)))){s.flags|=65536,t&=-t,s.lanes|=t;var _=gp(s,a,t);Eu(s,_);break e}}s=s.return}while(s!==null)}Gp(r)}catch(R){t=R,se===r&&r!==null&&(se=r=r.return);continue}break}while(!0)}function Np(){var e=es.current;return es.current=Zo,e===null?Zo:e}function cl(){(le===0||le===3||le===2)&&(le=4),ce===null||!(sr&268435455)&&!(xs&268435455)||_t(ce,he)}function ns(e,t){var r=M;M|=2;var n=Np();(ce!==e||he!==t)&&(ot=null,Jt(e,t));do try{yg();break}catch(o){Ap(e,o)}while(!0);if(Wa(),M=r,es.current=n,se!==null)throw Error(b(261));return ce=null,he=0,le}function yg(){for(;se!==null;)Fp(se)}function vg(){for(;se!==null&&!Bf();)Fp(se)}function Fp(e){var t=Up(e.alternate,e,Ce);e.memoizedProps=e.pendingProps,t===null?Gp(e):se=t,sl.current=null}function Gp(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=dg(r,t),r!==null){r.flags&=32767,se=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{le=6,se=null;return}}else if(r=cg(r,t,Ce),r!==null){se=r;return}if(t=t.sibling,t!==null){se=t;return}se=t=e}while(t!==null);le===0&&(le=5)}function Vt(e,t,r){var n=H,o=ze.transition;try{ze.transition=null,H=1,wg(e,t,r,n)}finally{ze.transition=o,H=n}return null}function wg(e,t,r,n){do Lr();while(Tt!==null);if(M&6)throw Error(b(327));r=e.finishedWork;var o=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(b(177));e.callbackNode=null,e.callbackPriority=0;var s=r.lanes|r.childLanes;if(Zf(e,s),e===ce&&(se=ce=null,he=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||yo||(yo=!0,Lp(Lo,function(){return Lr(),null})),s=(r.flags&15990)!==0,r.subtreeFlags&15990||s){s=ze.transition,ze.transition=null;var i=H;H=1;var a=M;M|=4,sl.current=null,hg(e,r),jp(r,e),Im(Mi),zo=!!$i,Mi=$i=null,e.current=r,fg(r),Hf(),M=a,H=i,ze.transition=s}else e.current=r;if(yo&&(yo=!1,Tt=e,rs=o),s=e.pendingLanes,s===0&&(Ct=null),Vf(r.stateNode),Re(e,ne()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],n(o.value,{componentStack:o.stack,digest:o.digest});if(ts)throw ts=!1,e=la,la=null,e;return rs&1&&e.tag!==0&&Lr(),s=e.pendingLanes,s&1?e===ua?kn++:(kn=0,ua=e):kn=0,It(),null}function Lr(){if(Tt!==null){var e=md(rs),t=ze.transition,r=H;try{if(ze.transition=null,H=16>e?16:e,Tt===null)var n=!1;else{if(e=Tt,Tt=null,rs=0,M&6)throw Error(b(331));var o=M;for(M|=4,N=e.current;N!==null;){var s=N,i=s.child;if(N.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var c=a[l];for(N=c;N!==null;){var g=N;switch(g.tag){case 0:case 11:case 15:xn(8,g,s)}var h=g.child;if(h!==null)h.return=g,N=h;else for(;N!==null;){g=N;var y=g.sibling,x=g.return;if(bp(g),g===c){N=null;break}if(y!==null){y.return=x,N=y;break}N=x}}}var S=s.alternate;if(S!==null){var T=S.child;if(T!==null){S.child=null;do{var P=T.sibling;T.sibling=null,T=P}while(T!==null)}}N=s}}if(s.subtreeFlags&2064&&i!==null)i.return=s,N=i;else e:for(;N!==null;){if(s=N,s.flags&2048)switch(s.tag){case 0:case 11:case 15:xn(9,s,s.return)}var f=s.sibling;if(f!==null){f.return=s.return,N=f;break e}N=s.return}}var p=e.current;for(N=p;N!==null;){i=N;var m=i.child;if(i.subtreeFlags&2064&&m!==null)m.return=i,N=m;else e:for(i=p;N!==null;){if(a=N,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Es(9,a)}}catch(R){te(a,a.return,R)}if(a===i){N=null;break e}var _=a.sibling;if(_!==null){_.return=a.return,N=_;break e}N=a.return}}if(M=o,It(),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(ps,e)}catch{}n=!0}return n}finally{H=r,ze.transition=t}}return!1}function $u(e,t,r){t=qr(r,t),t=mp(e,t,1),e=Rt(e,t,1),t=_e(),e!==null&&(Vn(e,1,t),Re(e,t))}function te(e,t,r){if(e.tag===3)$u(e,e,r);else for(;t!==null;){if(t.tag===3){$u(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Ct===null||!Ct.has(n))){e=qr(r,e),e=gp(t,e,1),t=Rt(t,e,1),e=_e(),t!==null&&(Vn(t,1,e),Re(t,e));break}}t=t.return}}function Eg(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=_e(),e.pingedLanes|=e.suspendedLanes&r,ce===e&&(he&r)===r&&(le===4||le===3&&(he&130023424)===he&&500>ne()-al?Jt(e,0):il|=r),Re(e,t)}function Dp(e,t){t===0&&(e.mode&1?(t=io,io<<=1,!(io&130023424)&&(io=4194304)):t=1);var r=_e();e=pt(e,t),e!==null&&(Vn(e,t,r),Re(e,r))}function xg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Dp(e,r)}function _g(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(b(314))}n!==null&&n.delete(t),Dp(e,r)}var Up;Up=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Oe.current)Pe=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return Pe=!1,ug(e,t,r);Pe=!!(e.flags&131072)}else Pe=!1,X&&t.flags&1048576&&$d(t,Vo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Ro(e,t),e=t.pendingProps;var o=$r(t,we.current);Ur(t,r),o=el(null,t,n,e,o,r);var s=tl();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,je(n)?(s=!0,qo(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Qa(t),o.updater=ws,t.stateNode=o,o._reactInternals=t,Xi(t,n,e,r),t=ea(null,t,n,!0,s,r)):(t.tag=0,X&&s&&Ma(t),xe(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Ro(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Tg(n),e=He(n,e),o){case 0:t=Zi(null,t,n,e,r);break e;case 1:t=Cu(null,t,n,e,r);break e;case 11:t=ju(null,t,n,e,r);break e;case 14:t=Ru(null,t,n,He(n.type,e),r);break e}throw Error(b(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:He(n,o),Zi(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:He(n,o),Cu(e,t,n,o,r);case 3:e:{if(Ep(t),e===null)throw Error(b(387));n=t.pendingProps,s=t.memoizedState,o=s.element,Vd(e,t),Yo(t,n,null,r);var i=t.memoizedState;if(n=i.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){o=qr(Error(b(423)),t),t=Au(e,t,n,r,o);break e}else if(n!==o){o=qr(Error(b(424)),t),t=Au(e,t,n,r,o);break e}else for(Ae=jt(t.stateNode.containerInfo.firstChild),Ne=t,X=!0,We=null,r=qd(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Mr(),n===o){t=ht(e,t,r);break e}xe(e,t,n,r)}t=t.child}return t;case 5:return Kd(t),e===null&&Ki(t),n=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,Bi(n,o)?i=null:s!==null&&Bi(n,s)&&(t.flags|=32),wp(e,t),xe(e,t,i,r),t.child;case 6:return e===null&&Ki(t),null;case 13:return xp(e,t,r);case 4:return Ya(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Br(t,null,n,r):xe(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:He(n,o),ju(e,t,n,o,r);case 7:return xe(e,t,t.pendingProps,r),t.child;case 8:return xe(e,t,t.pendingProps.children,r),t.child;case 12:return xe(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value,q(Ko,n._currentValue),n._currentValue=i,s!==null)if(Qe(s.value,i)){if(s.children===o.children&&!Oe.current){t=ht(e,t,r);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){i=s.child;for(var l=a.firstContext;l!==null;){if(l.context===n){if(s.tag===1){l=ut(-1,r&-r),l.tag=2;var c=s.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?l.next=l:(l.next=g.next,g.next=l),c.pending=l}}s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),Qi(s.return,r,t),a.lanes|=r;break}l=l.next}}else if(s.tag===10)i=s.type===t.type?null:s.child;else if(s.tag===18){if(i=s.return,i===null)throw Error(b(341));i.lanes|=r,a=i.alternate,a!==null&&(a.lanes|=r),Qi(i,r,t),i=s.sibling}else i=s.child;if(i!==null)i.return=s;else for(i=s;i!==null;){if(i===t){i=null;break}if(s=i.sibling,s!==null){s.return=i.return,i=s;break}i=i.return}s=i}xe(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Ur(t,r),o=$e(o),n=n(o),t.flags|=1,xe(e,t,n,r),t.child;case 14:return n=t.type,o=He(n,t.pendingProps),o=He(n.type,o),Ru(e,t,n,o,r);case 15:return yp(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:He(n,o),Ro(e,t),t.tag=1,je(n)?(e=!0,qo(t)):e=!1,Ur(t,r),fp(t,n,o),Xi(t,n,o,r),ea(null,t,n,!0,e,r);case 19:return _p(e,t,r);case 22:return vp(e,t,r)}throw Error(b(156,t.tag))};function Lp(e,t){return dd(e,t)}function kg(e,t,r,n){this.tag=e,this.key=r,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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ie(e,t,r,n){return new kg(e,t,r,n)}function dl(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tg(e){if(typeof e=="function")return dl(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ra)return 11;if(e===Ca)return 14}return 2}function Nt(e,t){var r=e.alternate;return r===null?(r=Ie(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function No(e,t,r,n,o,s){var i=2;if(n=e,typeof e=="function")dl(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Er:return Zt(r.children,o,s,t);case ja:i=8,o|=8;break;case xi:return e=Ie(12,r,t,o|2),e.elementType=xi,e.lanes=s,e;case _i:return e=Ie(13,r,t,o),e.elementType=_i,e.lanes=s,e;case ki:return e=Ie(19,r,t,o),e.elementType=ki,e.lanes=s,e;case Kc:return _s(r,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Wc:i=10;break e;case Vc:i=9;break e;case Ra:i=11;break e;case Ca:i=14;break e;case vt:i=16,n=null;break e}throw Error(b(130,e==null?e:typeof e,""))}return t=Ie(i,r,t,o),t.elementType=e,t.type=n,t.lanes=s,t}function Zt(e,t,r,n){return e=Ie(7,e,n,t),e.lanes=r,e}function _s(e,t,r,n){return e=Ie(22,e,n,t),e.elementType=Kc,e.lanes=r,e.stateNode={isHidden:!1},e}function li(e,t,r){return e=Ie(6,e,null,t),e.lanes=r,e}function ui(e,t,r){return t=Ie(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Sg(e,t,r,n,o){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=Bs(0),this.expirationTimes=Bs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bs(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function pl(e,t,r,n,o,s,i,a,l){return e=new Sg(e,t,r,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=Ie(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qa(s),e}function bg(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:wr,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function Ip(e){if(!e)return Dt;e=e._reactInternals;e:{if(lr(e)!==e||e.tag!==1)throw Error(b(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(je(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(b(171))}if(e.tag===1){var r=e.type;if(je(r))return Id(e,r,t)}return t}function zp(e,t,r,n,o,s,i,a,l){return e=pl(r,n,!0,e,o,s,i,a,l),e.context=Ip(null),r=e.current,n=_e(),o=At(r),s=ut(n,o),s.callback=t??null,Rt(r,s,o),e.current.lanes=o,Vn(e,o,n),Re(e,n),e}function ks(e,t,r,n){var o=t.current,s=_e(),i=At(o);return r=Ip(r),t.context===null?t.context=r:t.pendingContext=r,t=ut(s,i),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Rt(o,t,i),e!==null&&(Ke(e,o,i,s),Po(e,o,i)),i}function os(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 Mu(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function hl(e,t){Mu(e,t),(e=e.alternate)&&Mu(e,t)}var $p=typeof reportError=="function"?reportError:function(e){console.error(e)};function fl(e){this._internalRoot=e}Ts.prototype.render=fl.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(b(409));ks(e,t,null,null)};Ts.prototype.unmount=fl.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ir(function(){ks(null,e,null,null)}),t[dt]=null}};function Ts(e){this._internalRoot=e}Ts.prototype.unstable_scheduleHydration=function(e){if(e){var t=vd();e={blockedOn:null,target:e,priority:t};for(var r=0;r<xt.length&&t!==0&&t<xt[r].priority;r++);xt.splice(r,0,e),r===0&&Ed(e)}};function ml(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ss(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bu(){}function Pg(e,t,r,n,o){if(o){if(typeof n=="function"){var s=n;n=function(){var c=os(i);s.call(c)}}var i=zp(t,n,e,0,null,!1,!1,"",Bu);return e._reactRootContainer=i,e[dt]=i.current,Fn(e.nodeType===8?e.parentNode:e),ir(),i}for(;o=e.lastChild;)e.removeChild(o);if(typeof n=="function"){var a=n;n=function(){var c=os(l);a.call(c)}}var l=pl(e,0,!1,null,null,!1,!1,"",Bu);return e._reactRootContainer=l,e[dt]=l.current,Fn(e.nodeType===8?e.parentNode:e),ir(function(){ks(t,l,r,n)}),l}function bs(e,t,r,n,o){var s=r._reactRootContainer;if(s){var i=s;if(typeof o=="function"){var a=o;o=function(){var l=os(i);a.call(l)}}ks(t,i,e,o)}else i=Pg(r,t,e,o,n);return os(i)}gd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=hn(t.pendingLanes);r!==0&&(Fa(t,r|1),Re(t,ne()),!(M&6)&&(Wr=ne()+500,It()))}break;case 13:ir(function(){var n=pt(e,1);if(n!==null){var o=_e();Ke(n,e,1,o)}}),hl(e,1)}};Ga=function(e){if(e.tag===13){var t=pt(e,134217728);if(t!==null){var r=_e();Ke(t,e,134217728,r)}hl(e,134217728)}};yd=function(e){if(e.tag===13){var t=At(e),r=pt(e,t);if(r!==null){var n=_e();Ke(r,e,t,n)}hl(e,t)}};vd=function(){return H};wd=function(e,t){var r=H;try{return H=e,t()}finally{H=r}};Ni=function(e,t,r){switch(t){case"input":if(bi(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=gs(n);if(!o)throw Error(b(90));Yc(n),bi(n,o)}}}break;case"textarea":Jc(e,r);break;case"select":t=r.value,t!=null&&Nr(e,!!r.multiple,t,!1)}};sd=ll;id=ir;var Og={usingClientEntryPoint:!1,Events:[Qn,Tr,gs,nd,od,ll]},un={findFiberByHostInstance:Qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},jg={bundleType:un.bundleType,version:un.version,rendererPackageName:un.rendererPackageName,rendererConfig:un.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:mt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=ud(e),e===null?null:e.stateNode},findFiberByHostInstance:un.findFiberByHostInstance,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 vo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!vo.isDisabled&&vo.supportsFiber)try{ps=vo.inject(jg),rt=vo}catch{}}Ge.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Og;Ge.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ml(t))throw Error(b(200));return bg(e,t,null,r)};Ge.createRoot=function(e,t){if(!ml(e))throw Error(b(299));var r=!1,n="",o=$p;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=pl(e,1,!1,null,null,r,!1,n,o),e[dt]=t.current,Fn(e.nodeType===8?e.parentNode:e),new fl(t)};Ge.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(b(188)):(e=Object.keys(e).join(","),Error(b(268,e)));return e=ud(t),e=e===null?null:e.stateNode,e};Ge.flushSync=function(e){return ir(e)};Ge.hydrate=function(e,t,r){if(!Ss(t))throw Error(b(200));return bs(null,e,t,!0,r)};Ge.hydrateRoot=function(e,t,r){if(!ml(e))throw Error(b(405));var n=r!=null&&r.hydratedSources||null,o=!1,s="",i=$p;if(r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onRecoverableError!==void 0&&(i=r.onRecoverableError)),t=zp(t,null,e,1,r??null,o,!1,s,i),e[dt]=t.current,Fn(e),n)for(e=0;e<n.length;e++)r=n[e],o=r._getVersion,o=o(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Ts(t)};Ge.render=function(e,t,r){if(!Ss(t))throw Error(b(200));return bs(null,e,t,!1,r)};Ge.unmountComponentAtNode=function(e){if(!Ss(e))throw Error(b(40));return e._reactRootContainer?(ir(function(){bs(null,null,e,!1,function(){e._reactRootContainer=null,e[dt]=null})}),!0):!1};Ge.unstable_batchedUpdates=ll;Ge.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Ss(r))throw Error(b(200));if(e==null||e._reactInternals===void 0)throw Error(b(38));return bs(e,t,r,!1,n)};Ge.version="18.3.1-next-f1338f8080-20240426";function Mp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mp)}catch(e){console.error(e)}}Mp(),Mc.exports=Ge;var Rg=Mc.exports,Bp,Hu=Rg;Bp=Hu.createRoot,Hu.hydrateRoot;/**
|
||
* @remix-run/router v1.21.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Bn.apply(this,arguments)}var St;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(St||(St={}));const qu="popstate";function Cg(e){e===void 0&&(e={});function t(o,s){let{pathname:i="/",search:a="",hash:l=""}=ur(o.location.hash.substr(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),pa("",{pathname:i,search:a,hash:l},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function r(o,s){let i=o.document.querySelector("base"),a="";if(i&&i.getAttribute("href")){let l=o.location.href,c=l.indexOf("#");a=c===-1?l:l.slice(0,c)}return a+"#"+(typeof s=="string"?s:ss(s))}function n(o,s){gl(o.pathname.charAt(0)==="/","relative pathnames are not supported in hash history.push("+JSON.stringify(s)+")")}return Ng(t,r,n,e)}function ie(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function gl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Ag(){return Math.random().toString(36).substr(2,8)}function Wu(e,t){return{usr:e.state,key:e.key,idx:t}}function pa(e,t,r,n){return r===void 0&&(r=null),Bn({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ur(t):t,{state:r,key:t&&t.key||n||Ag()})}function ss(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ur(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function Ng(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:s=!1}=n,i=o.history,a=St.Pop,l=null,c=g();c==null&&(c=0,i.replaceState(Bn({},i.state,{idx:c}),""));function g(){return(i.state||{idx:null}).idx}function h(){a=St.Pop;let P=g(),f=P==null?null:P-c;c=P,l&&l({action:a,location:T.location,delta:f})}function y(P,f){a=St.Push;let p=pa(T.location,P,f);r(p,P),c=g()+1;let m=Wu(p,c),_=T.createHref(p);try{i.pushState(m,"",_)}catch(R){if(R instanceof DOMException&&R.name==="DataCloneError")throw R;o.location.assign(_)}s&&l&&l({action:a,location:T.location,delta:1})}function x(P,f){a=St.Replace;let p=pa(T.location,P,f);r(p,P),c=g();let m=Wu(p,c),_=T.createHref(p);i.replaceState(m,"",_),s&&l&&l({action:a,location:T.location,delta:0})}function S(P){let f=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof P=="string"?P:ss(P);return p=p.replace(/ $/,"%20"),ie(f,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,f)}let T={get action(){return a},get location(){return e(o,i)},listen(P){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(qu,h),l=P,()=>{o.removeEventListener(qu,h),l=null}},createHref(P){return t(o,P)},createURL:S,encodeLocation(P){let f=S(P);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:y,replace:x,go(P){return i.go(P)}};return T}var Vu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Vu||(Vu={}));function Fg(e,t,r){return r===void 0&&(r="/"),Gg(e,t,r)}function Gg(e,t,r,n){let o=typeof t=="string"?ur(t):t,s=yl(o.pathname||"/",r);if(s==null)return null;let i=Hp(e);Dg(i);let a=null;for(let l=0;a==null&&l<i.length;++l){let c=Kg(s);a=qg(i[l],c)}return a}function Hp(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let o=(s,i,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:i,route:s};l.relativePath.startsWith("/")&&(ie(l.relativePath.startsWith(n),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(n.length));let c=Ft([n,l.relativePath]),g=r.concat(l);s.children&&s.children.length>0&&(ie(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Hp(s.children,t,g,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:Bg(c,s.index),routesMeta:g})};return e.forEach((s,i)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))o(s,i);else for(let l of qp(s.path))o(s,i,l)}),t}function qp(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),s=r.replace(/\?$/,"");if(n.length===0)return o?[s,""]:[s];let i=qp(n.join("/")),a=[];return a.push(...i.map(l=>l===""?s:[s,l].join("/"))),o&&a.push(...i),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function Dg(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Hg(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Ug=/^:[\w-]+$/,Lg=3,Ig=2,zg=1,$g=10,Mg=-2,Ku=e=>e==="*";function Bg(e,t){let r=e.split("/"),n=r.length;return r.some(Ku)&&(n+=Mg),t&&(n+=Ig),r.filter(o=>!Ku(o)).reduce((o,s)=>o+(Ug.test(s)?Lg:s===""?zg:$g),n)}function Hg(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function qg(e,t,r){let{routesMeta:n}=e,o={},s="/",i=[];for(let a=0;a<n.length;++a){let l=n[a],c=a===n.length-1,g=s==="/"?t:t.slice(s.length)||"/",h=Wg({path:l.relativePath,caseSensitive:l.caseSensitive,end:c},g),y=l.route;if(!h)return null;Object.assign(o,h.params),i.push({params:o,pathname:Ft([s,h.pathname]),pathnameBase:Jg(Ft([s,h.pathnameBase])),route:y}),h.pathnameBase!=="/"&&(s=Ft([s,h.pathnameBase]))}return i}function Wg(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=Vg(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let s=o[0],i=s.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:n.reduce((c,g,h)=>{let{paramName:y,isOptional:x}=g;if(y==="*"){let T=a[h]||"";i=s.slice(0,s.length-T.length).replace(/(.)\/+$/,"$1")}const S=a[h];return x&&!S?c[y]=void 0:c[y]=(S||"").replace(/%2F/g,"/"),c},{}),pathname:s,pathnameBase:i,pattern:e}}function Vg(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),gl(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,a,l)=>(n.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function Kg(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return gl(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function yl(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function Qg(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?ur(e):e;return{pathname:r?r.startsWith("/")?r:Yg(r,t):t,search:Zg(n),hash:ey(o)}}function Yg(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function ci(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function Xg(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Wp(e,t){let r=Xg(e);return t?r.map((n,o)=>o===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Vp(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=ur(e):(o=Bn({},e),ie(!o.pathname||!o.pathname.includes("?"),ci("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),ci("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),ci("#","search","hash",o)));let s=e===""||o.pathname==="",i=s?"/":o.pathname,a;if(i==null)a=r;else{let h=t.length-1;if(!n&&i.startsWith("..")){let y=i.split("/");for(;y[0]==="..";)y.shift(),h-=1;o.pathname=y.join("/")}a=h>=0?t[h]:"/"}let l=Qg(o,a),c=i&&i!=="/"&&i.endsWith("/"),g=(s||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||g)&&(l.pathname+="/"),l}const Ft=e=>e.join("/").replace(/\/\/+/g,"/"),Jg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Zg=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ey=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function ty(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kp=["post","put","patch","delete"];new Set(Kp);const ry=["get",...Kp];new Set(ry);/**
|
||
* React Router v6.28.1
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function Hn(){return Hn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Hn.apply(this,arguments)}const vl=j.createContext(null),ny=j.createContext(null),cr=j.createContext(null),Ps=j.createContext(null),dr=j.createContext({outlet:null,matches:[],isDataRoute:!1}),Qp=j.createContext(null);function oy(e,t){let{relative:r}=t===void 0?{}:t;Xn()||ie(!1);let{basename:n,navigator:o}=j.useContext(cr),{hash:s,pathname:i,search:a}=Xp(e,{relative:r}),l=i;return n!=="/"&&(l=i==="/"?n:Ft([n,i])),o.createHref({pathname:l,search:a,hash:s})}function Xn(){return j.useContext(Ps)!=null}function Jn(){return Xn()||ie(!1),j.useContext(Ps).location}function Yp(e){j.useContext(cr).static||j.useLayoutEffect(e)}function sy(){let{isDataRoute:e}=j.useContext(dr);return e?vy():iy()}function iy(){Xn()||ie(!1);let e=j.useContext(vl),{basename:t,future:r,navigator:n}=j.useContext(cr),{matches:o}=j.useContext(dr),{pathname:s}=Jn(),i=JSON.stringify(Wp(o,r.v7_relativeSplatPath)),a=j.useRef(!1);return Yp(()=>{a.current=!0}),j.useCallback(function(c,g){if(g===void 0&&(g={}),!a.current)return;if(typeof c=="number"){n.go(c);return}let h=Vp(c,JSON.parse(i),s,g.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Ft([t,h.pathname])),(g.replace?n.replace:n.push)(h,g.state,g)},[t,n,i,s,e])}function Xp(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=j.useContext(cr),{matches:o}=j.useContext(dr),{pathname:s}=Jn(),i=JSON.stringify(Wp(o,n.v7_relativeSplatPath));return j.useMemo(()=>Vp(e,JSON.parse(i),s,r==="path"),[e,i,s,r])}function ay(e,t){return ly(e,t)}function ly(e,t,r,n){Xn()||ie(!1);let{navigator:o}=j.useContext(cr),{matches:s}=j.useContext(dr),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let c=Jn(),g;if(t){var h;let P=typeof t=="string"?ur(t):t;l==="/"||(h=P.pathname)!=null&&h.startsWith(l)||ie(!1),g=P}else g=c;let y=g.pathname||"/",x=y;if(l!=="/"){let P=l.replace(/^\//,"").split("/");x="/"+y.replace(/^\//,"").split("/").slice(P.length).join("/")}let S=Fg(e,{pathname:x}),T=hy(S&&S.map(P=>Object.assign({},P,{params:Object.assign({},a,P.params),pathname:Ft([l,o.encodeLocation?o.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?l:Ft([l,o.encodeLocation?o.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),s,r,n);return t&&T?j.createElement(Ps.Provider,{value:{location:Hn({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:St.Pop}},T):T}function uy(){let e=yy(),t=ty(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return j.createElement(j.Fragment,null,j.createElement("h2",null,"Unexpected Application Error!"),j.createElement("h3",{style:{fontStyle:"italic"}},t),r?j.createElement("pre",{style:o},r):null,null)}const cy=j.createElement(uy,null);class dy extends j.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?j.createElement(dr.Provider,{value:this.props.routeContext},j.createElement(Qp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function py(e){let{routeContext:t,match:r,children:n}=e,o=j.useContext(vl);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),j.createElement(dr.Provider,{value:t},n)}function hy(e,t,r,n){var o;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var s;if(!r)return null;if(r.errors)e=r.matches;else if((s=n)!=null&&s.v7_partialHydration&&t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=(o=r)==null?void 0:o.errors;if(a!=null){let g=i.findIndex(h=>h.route.id&&(a==null?void 0:a[h.route.id])!==void 0);g>=0||ie(!1),i=i.slice(0,Math.min(i.length,g+1))}let l=!1,c=-1;if(r&&n&&n.v7_partialHydration)for(let g=0;g<i.length;g++){let h=i[g];if((h.route.HydrateFallback||h.route.hydrateFallbackElement)&&(c=g),h.route.id){let{loaderData:y,errors:x}=r,S=h.route.loader&&y[h.route.id]===void 0&&(!x||x[h.route.id]===void 0);if(h.route.lazy||S){l=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((g,h,y)=>{let x,S=!1,T=null,P=null;r&&(x=a&&h.route.id?a[h.route.id]:void 0,T=h.route.errorElement||cy,l&&(c<0&&y===0?(S=!0,P=null):c===y&&(S=!0,P=h.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,y+1)),p=()=>{let m;return x?m=T:S?m=P:h.route.Component?m=j.createElement(h.route.Component,null):h.route.element?m=h.route.element:m=g,j.createElement(py,{match:h,routeContext:{outlet:g,matches:f,isDataRoute:r!=null},children:m})};return r&&(h.route.ErrorBoundary||h.route.errorElement||y===0)?j.createElement(dy,{location:r.location,revalidation:r.revalidation,component:T,error:x,children:p(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):p()},null)}var Jp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Jp||{}),is=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(is||{});function fy(e){let t=j.useContext(vl);return t||ie(!1),t}function my(e){let t=j.useContext(ny);return t||ie(!1),t}function gy(e){let t=j.useContext(dr);return t||ie(!1),t}function Zp(e){let t=gy(),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function yy(){var e;let t=j.useContext(Qp),r=my(is.UseRouteError),n=Zp(is.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function vy(){let{router:e}=fy(Jp.UseNavigateStable),t=Zp(is.UseNavigateStable),r=j.useRef(!1);return Yp(()=>{r.current=!0}),j.useCallback(function(o,s){s===void 0&&(s={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Hn({fromRouteId:t},s)))},[e,t])}const Qu={};function wy(e,t){Qu[t]||(Qu[t]=!0,console.warn(t))}const Yu=(e,t,r)=>wy(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+r+"."));function Ey(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Yu("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),(e==null?void 0:e.v7_relativeSplatPath)===void 0&&!t&&Yu("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function vr(e){ie(!1)}function xy(e){let{basename:t="/",children:r=null,location:n,navigationType:o=St.Pop,navigator:s,static:i=!1,future:a}=e;Xn()&&ie(!1);let l=t.replace(/^\/*/,"/"),c=j.useMemo(()=>({basename:l,navigator:s,static:i,future:Hn({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof n=="string"&&(n=ur(n));let{pathname:g="/",search:h="",hash:y="",state:x=null,key:S="default"}=n,T=j.useMemo(()=>{let P=yl(g,l);return P==null?null:{location:{pathname:P,search:h,hash:y,state:x,key:S},navigationType:o}},[l,g,h,y,x,S,o]);return T==null?null:j.createElement(cr.Provider,{value:c},j.createElement(Ps.Provider,{children:r,value:T}))}function _y(e){let{children:t,location:r}=e;return ay(ha(t),r)}new Promise(()=>{});function ha(e,t){t===void 0&&(t=[]);let r=[];return j.Children.forEach(e,(n,o)=>{if(!j.isValidElement(n))return;let s=[...t,o];if(n.type===j.Fragment){r.push.apply(r,ha(n.props.children,s));return}n.type!==vr&&ie(!1),!n.props.index||!n.props.children||ie(!1);let i={id:n.props.id||s.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(i.children=ha(n.props.children,s)),r.push(i)}),r}/**
|
||
* React Router DOM v6.28.1
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fa.apply(this,arguments)}function ky(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,s;for(s=0;s<n.length;s++)o=n[s],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function Ty(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Sy(e,t){return e.button===0&&(!t||t==="_self")&&!Ty(e)}const by=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],Py="6";try{window.__reactRouterVersion=Py}catch{}const Oy="startTransition",Xu=Ef[Oy];function jy(e){let{basename:t,children:r,future:n,window:o}=e,s=j.useRef();s.current==null&&(s.current=Cg({window:o,v5Compat:!0}));let i=s.current,[a,l]=j.useState({action:i.action,location:i.location}),{v7_startTransition:c}=n||{},g=j.useCallback(h=>{c&&Xu?Xu(()=>l(h)):l(h)},[l,c]);return j.useLayoutEffect(()=>i.listen(g),[i,g]),j.useEffect(()=>Ey(n),[n]),j.createElement(xy,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:i,future:n})}const Ry=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Cy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Tn=j.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:s,replace:i,state:a,target:l,to:c,preventScrollReset:g,viewTransition:h}=t,y=ky(t,by),{basename:x}=j.useContext(cr),S,T=!1;if(typeof c=="string"&&Cy.test(c)&&(S=c,Ry))try{let m=new URL(window.location.href),_=c.startsWith("//")?new URL(m.protocol+c):new URL(c),R=yl(_.pathname,x);_.origin===m.origin&&R!=null?c=R+_.search+_.hash:T=!0}catch{}let P=oy(c,{relative:o}),f=Ay(c,{replace:i,state:a,target:l,preventScrollReset:g,relative:o,viewTransition:h});function p(m){n&&n(m),m.defaultPrevented||f(m)}return j.createElement("a",fa({},y,{href:S||P,onClick:T||s?n:p,ref:r,target:l}))});var Ju;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ju||(Ju={}));var Zu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Zu||(Zu={}));function Ay(e,t){let{target:r,replace:n,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=sy(),c=Jn(),g=Xp(e,{relative:i});return j.useCallback(h=>{if(Sy(h,r)){h.preventDefault();let y=n!==void 0?n:ss(c)===ss(g);l(e,{replace:y,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[c,l,g,n,o,r,e,s,i,a])}/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var Ny={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"};/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Fy=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),Q=(e,t)=>{const r=j.forwardRef(({color:n="currentColor",size:o=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:a="",children:l,...c},g)=>j.createElement("svg",{ref:g,...Ny,width:o,height:o,stroke:n,strokeWidth:i?Number(s)*24/Number(o):s,className:["lucide",`lucide-${Fy(e)}`,a].join(" "),...c},[...t.map(([h,y])=>j.createElement(h,y)),...Array.isArray(l)?l:[l]]));return r.displayName=`${e}`,r};/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Gy=Q("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Dy=Q("Award",[["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}],["path",{d:"M15.477 12.89 17 22l-5-3-5 3 1.523-9.11",key:"em7aur"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Uy=Q("Book",[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H20v20H6.5a2.5 2.5 0 0 1 0-5H20",key:"t4utmx"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ec=Q("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const eh=Q("Coffee",[["path",{d:"M17 8h1a4 4 0 1 1 0 8h-1",key:"jx4kbh"}],["path",{d:"M3 8h14v9a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4Z",key:"1bxrl0"}],["line",{x1:"6",x2:"6",y1:"2",y2:"4",key:"1cr9l3"}],["line",{x1:"10",x2:"10",y1:"2",y2:"4",key:"170wym"}],["line",{x1:"14",x2:"14",y1:"2",y2:"4",key:"1c5f70"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const gr=Q("Cpu",[["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"9",y:"9",width:"6",height:"6",key:"o3kz5p"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ma=Q("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const th=Q("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Ly=Q("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Iy=Q("HardDrive",[["line",{x1:"22",x2:"2",y1:"12",y2:"12",key:"1y58io"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}],["line",{x1:"6",x2:"6.01",y1:"16",y2:"16",key:"sgf278"}],["line",{x1:"10",x2:"10.01",y1:"16",y2:"16",key:"1l4acy"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rh=Q("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const zy=Q("MapPin",[["path",{d:"M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z",key:"2oe9fu"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $y=Q("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Et=Q("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const My=Q("Package",[["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const wo=Q("PieChart",[["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}],["path",{d:"M22 12A10 10 0 0 0 12 2v10z",key:"1rfc4y"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const tc=Q("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ga=Q("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const By=Q("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Hy=Q("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rc=Q("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Eo=Q("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const qy=Q("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const as=Q("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
|
||
* @license lucide-react v0.344.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const Wy=Q("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Vy(){const e=Jn(),[t,r]=lt.useState(!1),n=o=>e.pathname===o;return u.jsxs("header",{className:"sticky top-0 z-50 bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 text-white shadow-md",children:[u.jsxs("div",{className:"container mx-auto px-6",children:[u.jsxs("div",{className:"flex items-center justify-between h-20",children:[u.jsxs(Tn,{to:"/",className:"flex items-center space-x-4 group",children:[u.jsx("img",{src:"/snigdhaos-logo.svg",alt:"Snigdha OS",className:"h-12 w-12 group-hover:scale-125 transition-transform duration-300"}),u.jsx("span",{className:"font-extrabold text-3xl tracking-wide text-[#6495ED] group-hover:text-white transition-colors duration-300",children:"SNIGDHA OS"})]}),u.jsx("button",{className:"md:hidden p-2 rounded-lg hover:bg-gray-800 transition-all focus:outline-none focus:ring-2 focus:ring-[#6495ED]",onClick:()=>r(!t),children:t?u.jsx(Wy,{className:"h-7 w-7 animate-spin-reverse"}):u.jsx($y,{className:"h-7 w-7 animate-spin"})}),u.jsx("nav",{className:"hidden md:flex space-x-10",children:u.jsx(nc,{isActive:n,closeMenu:()=>r(!1),animate:!0})})]}),u.jsx("div",{className:`${t?"animate-fade-in-down":"animate-fade-out-up"} md:hidden overflow-hidden transition-all duration-500`,children:t&&u.jsx("nav",{className:"mt-4",children:u.jsx("div",{className:"flex flex-col space-y-4 bg-gray-800 p-5 rounded-lg shadow-lg",children:u.jsx(nc,{isActive:n,closeMenu:()=>r(!1),animate:!0})})})})]}),u.jsx("style",{children:`
|
||
@keyframes fade-in-down {
|
||
0% { opacity: 0; transform: translateY(-10px); }
|
||
100% { opacity: 1; transform: translateY(0); }
|
||
}
|
||
|
||
@keyframes fade-out-up {
|
||
0% { opacity: 1; transform: translateY(0); }
|
||
100% { opacity: 0; transform: translateY(-10px); }
|
||
}
|
||
|
||
@keyframes fade-in-up {
|
||
0% { opacity: 0; transform: translateY(10px); }
|
||
100% { opacity: 1; transform: translateY(0); }
|
||
}
|
||
`})]})}function nc({isActive:e,closeMenu:t,animate:r}){return u.jsx("ul",{className:"space-y-4 md:space-y-0 md:flex md:space-x-10",children:["/","/about","/download","/donors","/maintainers"].map((n,o)=>{const s=["Home","About","Download","Donors","Maintainers"];return u.jsx("li",{className:`${r?`animate-fade-in-up delay-${o*100}`:""}`,children:u.jsxs(Tn,{to:n,className:`${e(n)?"text-[#6495ED] underline underline-offset-4 decoration-2":"text-gray-300 hover:text-[#6495ED]"} font-medium transition-all duration-300 hover:scale-110`,onClick:t,children:[s[o]," "]})},n)})})}function Ky(){const[e,t]=j.useState(null);return j.useEffect(()=>{async function r(){const o=await(await fetch("https://api.github.com/users/Snigdha-OS")).json();o.followers!==void 0&&t(o.followers)}r()},[]),u.jsxs("footer",{className:"relative bg-[#1a202c] text-white py-16 overflow-hidden",children:[u.jsx("div",{className:"absolute inset-0 pointer-events-none z-0",children:u.jsx("div",{className:"bubble-container"})}),u.jsxs("div",{className:"container mx-auto px-6 relative z-10",children:[u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-10",children:[u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-6 text-[#6495ED]",children:"Snigdha OS"}),u.jsx("p",{className:"text-sm text-gray-400 leading-relaxed",children:"Arch-based Linux Distribution for Penetration Testing and Ethical Hacking! Experience power and simplicity like never before."})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-6 text-[#6495ED]",children:"Quick Links"}),u.jsxs("ul",{className:"space-y-4 text-sm",children:[u.jsx("li",{children:u.jsxs("a",{href:"https://blog.snigdhaos.org/",className:"hover:text-[#6495ED] transition-colors",children:["Blog ",u.jsx("span",{className:"text-xs text-gray-400",children:"(Upcoming!)"})]})}),u.jsx("li",{children:u.jsxs("a",{href:"https://forum.snigdhaos.org/",className:"hover:text-[#6495ED] transition-colors",children:["Forums ",u.jsx("span",{className:"text-xs text-gray-400",children:"(Maintenance!)"})]})}),u.jsx("li",{children:u.jsxs("a",{href:"#",className:"hover:text-[#6495ED] transition-colors",children:["Community ",u.jsx("span",{className:"text-xs text-gray-400",children:"(Upcoming!)"})]})})]})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-6 text-[#6495ED]",children:"Documentation"}),u.jsxs("ul",{className:"space-y-4 text-sm",children:[u.jsx("li",{children:u.jsx("a",{href:"https://snigdha-os.github.io/documentation/category/installation",className:"hover:text-[#6495ED] transition-colors",children:"Installation Guide"})}),u.jsx("li",{children:u.jsx("a",{href:"https://snigdha-os.github.io/documentation/category/user-guide",className:"hover:text-[#6495ED] transition-colors",children:"User Guide"})}),u.jsx("li",{children:u.jsx("a",{href:"https://snigdha-os.github.io/documentation/introduction/release_notes",className:"hover:text-[#6495ED] transition-colors",children:"Release Notes"})})]})]}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-6 text-[#6495ED]",children:"Connect"}),u.jsx("div",{className:"flex items-center space-x-5",children:u.jsxs("a",{href:"https://github.com/Snigdha-OS",target:"_blank",rel:"noopener noreferrer",className:"flex items-center space-x-3 bg-gray-800 hover:bg-[#6495ED] transition-colors px-4 py-3 rounded-lg shadow-lg",children:[u.jsx(th,{className:"h-7 w-7 text-white"}),e!==null&&u.jsxs("div",{className:"text-white",children:[u.jsx("span",{className:"text-sm",children:"Followers"}),u.jsx("span",{className:"block text-lg font-bold",children:e})]})]})})]})]}),u.jsxs("div",{className:"mt-16 pt-8 border-t border-gray-700 text-center text-sm text-gray-400",children:[u.jsxs("p",{children:["© ",new Date().getFullYear()," ",u.jsx("span",{className:"text-[#6495ED]",children:"Snigdha OS"}),". Powered by ",u.jsx("span",{className:"font-bold text-[#6495ED]",children:"Tonmoy Infrastructure™. "}),"All rights reserved."]}),u.jsx("p",{className:"mt-2",children:"Built with ❤️ by the Snigdha OS team."})]})]}),u.jsx("style",{children:`
|
||
.bubble-container {
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
z-index: 0;
|
||
}
|
||
|
||
/* Creating multiple bubbles */
|
||
.bubble {
|
||
position: absolute;
|
||
border-radius: 50%;
|
||
background: rgba(100, 149, 237, 0.7);
|
||
animation: bubble-move 6s infinite;
|
||
opacity: 0.7;
|
||
}
|
||
|
||
.bubble:nth-child(1) { width: 50px; height: 50px; animation-duration: 7s; top: 80%; left: 30%; }
|
||
.bubble:nth-child(2) { width: 60px; height: 60px; animation-duration: 5s; top: 70%; left: 40%; }
|
||
.bubble:nth-child(3) { width: 40px; height: 40px; animation-duration: 6s; top: 80%; left: 50%; }
|
||
.bubble:nth-child(4) { width: 70px; height: 70px; animation-duration: 8s; top: 60%; left: 20%; }
|
||
.bubble:nth-child(5) { width: 80px; height: 80px; animation-duration: 10s; top: 90%; left: 60%; }
|
||
.bubble:nth-child(6) { width: 50px; height: 50px; animation-duration: 6s; top: 50%; left: 75%; }
|
||
|
||
@keyframes bubble-move {
|
||
0% {
|
||
transform: translateX(0) translateY(0);
|
||
opacity: 0.7;
|
||
}
|
||
50% {
|
||
transform: translateX(150px) translateY(-300px);
|
||
opacity: 0.5;
|
||
}
|
||
100% {
|
||
transform: translateX(0) translateY(-500px);
|
||
opacity: 0;
|
||
}
|
||
}
|
||
`})]})}function Qy({children:e}){return u.jsxs("div",{className:"flex flex-col min-h-screen",children:[u.jsx(Vy,{})," ",u.jsx("main",{className:"flex-grow",children:e}),u.jsx(Ky,{})," "]})}function Yy(){return u.jsxs("div",{children:[u.jsx("style",{children:`
|
||
/* New Gradient Animation for Hero Section */
|
||
@keyframes gradientAnimation {
|
||
0% {
|
||
background-position: 0% 50%;
|
||
}
|
||
50% {
|
||
background-position: 100% 50%;
|
||
}
|
||
100% {
|
||
background-position: 0% 50%;
|
||
}
|
||
}
|
||
|
||
/* Hero Section with updated background */
|
||
.hero-background {
|
||
background: linear-gradient(135deg, #2e3b8c, #6495ed, #ff7f50); /* Multi-color gradient */
|
||
background-size: 300% 300%; /* Enlarges the background to create smooth transitions */
|
||
animation: gradientAnimation 10s ease infinite; /* Infinite animation loop */
|
||
}
|
||
|
||
/* New hover effect for feature cards */
|
||
.card:hover {
|
||
transform: scale(1.07);
|
||
transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
|
||
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
|
||
}
|
||
|
||
/* New hover effect for hero section heading */
|
||
.hero-heading:hover {
|
||
transform: scale(1.1);
|
||
color: #ffffff;
|
||
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
|
||
}
|
||
|
||
/* New feature card style */
|
||
.feature-card {
|
||
border: 2px solid transparent;
|
||
background: linear-gradient(145deg, #ffffff, #f0f4f8); /* Light gradient background */
|
||
padding: 20px;
|
||
border-radius: 15px;
|
||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 15px rgba(100, 149, 237, 0.2); /* Double-layered shadow */
|
||
transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
|
||
box-shadow 0.4s cubic-bezier(0.19, 1, 0.22, 1),
|
||
border 0.3s ease;
|
||
position: relative;
|
||
overflow: hidden; /* Hide decorative elements */
|
||
}
|
||
|
||
.feature-card::before {
|
||
content: "";
|
||
position: absolute;
|
||
top: -50%;
|
||
left: -50%;
|
||
width: 200%;
|
||
height: 200%;
|
||
background: radial-gradient(circle, rgba(100, 149, 237, 0.2), rgba(0, 0, 0, 0));
|
||
transform: scale(0);
|
||
transition: transform 0.4s ease-in-out;
|
||
z-index: 0;
|
||
}
|
||
|
||
.feature-card:hover::before {
|
||
transform: scale(1);
|
||
}
|
||
|
||
.feature-card:hover {
|
||
transform: translateY(-10px) scale(1.05); /* Slight lift effect */
|
||
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(100, 149, 237, 0.3); /* Enhanced shadow */
|
||
border-color: #6495ed; /* Highlight border */
|
||
}
|
||
|
||
.feature-card h4 {
|
||
font-size: 1.5rem;
|
||
font-weight: 700;
|
||
color: #6495ed; /* Accent color */
|
||
margin-bottom: 10px;
|
||
z-index: 1;
|
||
position: relative;
|
||
}
|
||
|
||
.feature-card p {
|
||
font-size: 1rem;
|
||
color: #333333;
|
||
z-index: 1;
|
||
position: relative;
|
||
}
|
||
|
||
.feature-card:hover h4 {
|
||
color: #1e90ff; /* Subtle color shift on hover */
|
||
}
|
||
|
||
.feature-card:hover p {
|
||
color: #555555; /* Slightly darker text */
|
||
}
|
||
|
||
|
||
/* New list style for features */
|
||
.feature-list {
|
||
list-style-type: disc;
|
||
padding-left: 20px;
|
||
margin-top: 10px;
|
||
text-align: left;
|
||
}
|
||
`}),u.jsxs("section",{className:"bg-gradient-to-r from-[#000000] to-[#6495ed] text-white py-20 relative overflow-hidden hero-background",children:[u.jsx("div",{className:"absolute inset-0 -z-10",children:u.jsx("img",{src:"https://via.placeholder.com/1920x1080",alt:"Background",className:"w-full h-full object-cover opacity-30"})}),u.jsxs("div",{className:"container mx-auto px-4 text-center relative z-10",children:[u.jsx("h1",{className:"text-5xl font-extrabold mb-6 text-shadow-md leading-tight hero-heading",children:"EXPERIENCE THE POWER OF"}),u.jsx("h1",{className:"text-5xl font-extrabold mb-6 text-shadow-md leading-tight hero-heading transform hover:text-white transition-all duration-300",children:"SNIGDHA OS 🔥"}),u.jsxs("p",{className:"text-xl mb-8 max-w-3xl mx-auto text-shadow-lg text-justify",children:["Snigdha OS is a lightweight, Arch-based Linux distribution crafted for ",u.jsx("strong",{children:"Penetration Testing 🛡️"}),", ",u.jsx("strong",{children:"Ethical Hacking 🔍"}),", and general use. Power up your system with cutting-edge tools 🛠️ and enhanced security features 🔐💻."]}),u.jsxs("div",{className:"flex flex-wrap justify-center space-x-6 mt-6",children:[u.jsxs(Tn,{to:"/download",className:"border-2 border-white text-white px-8 py-4 rounded-lg font-semibold transform hover:scale-105 hover:bg-white hover:text-[#6495ed] transition-all duration-300 inline-flex items-center space-x-3",children:[u.jsx(ma,{className:"h-5 w-5"}),u.jsx("span",{children:"Download Now 🚀"})]}),u.jsxs(Tn,{to:"https://snigdha-os.github.io/documentation/",className:"border-2 border-white text-white px-8 py-4 rounded-lg font-semibold transform hover:scale-105 hover:bg-white hover:text-[#6495ed] transition-all duration-300 inline-flex items-center space-x-3",children:[u.jsx(Uy,{className:"h-5 w-5"}),u.jsx("span",{children:"Documentation 📚"})]}),u.jsxs(Tn,{to:"https://forum.snigdha-os.org",className:"border-2 border-white text-white px-8 py-4 rounded-lg font-semibold transform hover:scale-105 hover:bg-white hover:text-[#6495ed] transition-all duration-300 inline-flex items-center space-x-3",children:[u.jsx(as,{className:"h-5 w-5"}),u.jsx("span",{children:"Community Forum 🌐"})]})]})]})]}),u.jsx("section",{className:"py-16 bg-gradient-to-r from-[#f0f4f8] to-[#ffffff]",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsx("h2",{className:"text-4xl font-bold text-center text-[#6495ed] mb-12 tracking-tight",children:"Key Features ✨"}),u.jsx("p",{className:"text-xl text-center text-gray-700 mb-6 max-w-3xl mx-auto",children:"Discover the amazing features of Snigdha OS that make it the perfect choice for developers, cybersecurity professionals, and anyone looking for a fast, secure, and customizable OS."}),u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-12",children:[u.jsx(re,{icon:u.jsx(ga,{className:"h-10 w-10 text-red-500 mx-auto"}),title:"Secure 🔒",description:"Regular security updates and a robust system architecture keep your data safe."}),u.jsx(re,{icon:u.jsx(rc,{className:"h-10 w-10 text-green-500 mx-auto"}),title:"Powerful 💪",description:"Full access to the terminal and system components for advanced users."}),u.jsx(re,{icon:u.jsx(ma,{className:"h-10 w-10 text-blue-500 mx-auto"}),title:"Free Forever 🎉",description:"Snigdha OS is free and open source. No costs, no subscriptions."}),u.jsx(re,{icon:u.jsx(Dy,{className:"h-10 w-10 text-yellow-500 mx-auto"}),title:"Customizable 🎨",description:"Personalize your desktop environment to suit your needs and style."}),u.jsx(re,{icon:u.jsx(as,{className:"h-10 w-10 text-pink-500 mx-auto"}),title:"Community Support 🤗",description:"A vibrant community ready to help and share knowledge."}),u.jsx(re,{icon:u.jsx(Hy,{className:"h-10 w-10 text-[#6495ed] mx-auto"}),title:"Feature Rich ⚡",description:"Pre-installed applications and tools for everyday use."}),u.jsx(re,{icon:u.jsx(eh,{className:"h-10 w-10 text-brown-500 mx-auto"}),title:"Energy Efficient 🌱",description:"Optimized performance to save energy and enhance hardware longevity."}),u.jsx(re,{icon:u.jsx(Gy,{className:"h-10 w-10 text-teal-500 mx-auto"}),title:"Fast Boot ⏱️",description:"Experience faster boot times and smooth transitions."}),u.jsx(re,{icon:u.jsx(rc,{className:"h-10 w-10 text-purple-500 mx-auto"}),title:"Advanced Tools 🧰",description:"Access specialized penetration testing and ethical hacking tools."})]})]})}),u.jsx("section",{className:"py-16 bg-gradient-to-r from-[#f9f9f9] to-[#ffffff]",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsx("h2",{className:"text-4xl font-bold text-center text-[#6495ed] mb-12 tracking-tight",children:"Popular Desktop Environments 🌍"}),u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-12",children:[u.jsx(re,{icon:u.jsx(Et,{className:"h-10 w-10 text-blue-500 mx-auto"}),title:"GNOME 🌿",description:"A clean and modern desktop environment that prioritizes simplicity and ease of use.",listItems:["Minimalist design focused on usability.","Intuitive interface with modern features.","Highly customizable with GNOME extensions."]}),u.jsx(re,{icon:u.jsx(Et,{className:"h-10 w-10 text-green-500 mx-auto"}),title:"KDE Plasma ⚡",description:"Highly customizable and visually appealing, perfect for power users.",listItems:["Rich, visually appealing desktop with full customization.","Multiple widgets and advanced themes.","Excellent performance with modern hardware."]}),u.jsx(re,{icon:u.jsx(Et,{className:"h-10 w-10 text-purple-500 mx-auto"}),title:"XFCE ⚙️",description:"Lightweight, fast, and resource-efficient, ideal for older hardware.",listItems:["Optimized for low resource usage.","Simple, clean interface with traditional design.","Fast boot times and low memory footprint."]}),u.jsx(re,{icon:u.jsx(Et,{className:"h-10 w-10 text-pink-500 mx-auto"}),title:"Cinnamon 🍃",description:"A modern desktop environment that provides a user-friendly interface.",listItems:["Traditional desktop layout with a modern touch.","Easy to customize and lightweight.","Supports multiple workspaces and desklets."]}),u.jsx(re,{icon:u.jsx(Et,{className:"h-10 w-10 text-orange-500 mx-auto"}),title:"MATE 🌻",description:"A continuation of GNOME 2, offering a more traditional desktop experience.",listItems:["Classic desktop environment with modern touches.","Low memory usage and optimized performance.","Supports a wide range of applications and tools."]}),u.jsx(re,{icon:u.jsx(Et,{className:"h-10 w-10 text-yellow-500 mx-auto"}),title:"LXQt 💻",description:"A lightweight and fast desktop environment designed for low-resource systems.",listItems:["Minimal memory footprint and fast boot times.","Simple interface with modern functionalities.","Efficient on both old and modern hardware."]})]})]})}),u.jsx("section",{className:"py-16 bg-gradient-to-r from-[#f0f4f8] to-[#ffffff]",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsx("h2",{className:"text-4xl font-bold text-center text-[#6495ed] mb-12 tracking-tight",children:"Popular Window Managers 🖥️"}),u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-12",children:[u.jsx(re,{icon:u.jsx(gr,{className:"h-10 w-10 text-red-500 mx-auto"}),title:"i3 🖱️",description:"A tiling window manager designed for power users.",listItems:["Dynamic tiling for efficient workspace management.","Keyboard-driven interface for quick navigation.","Highly customizable with scripting support."]}),u.jsx(re,{icon:u.jsx(gr,{className:"h-10 w-10 text-yellow-500 mx-auto"}),title:"Awesome WM ⚡",description:"Highly configurable and extensible for personalized setups.",listItems:["Extensible and modular configuration.","Supports tiling, floating, and full-screen layouts.","Built-in Lua scripting for customizations."]}),u.jsx(re,{icon:u.jsx(gr,{className:"h-10 w-10 text-green-500 mx-auto"}),title:"Openbox 🔲",description:"Lightweight stacking window manager with high flexibility.",listItems:["Minimalist window manager focused on efficiency.","Highly customizable themes and behaviors.","Great for older hardware and resource-limited systems."]}),u.jsx(re,{icon:u.jsx(gr,{className:"h-10 w-10 text-blue-500 mx-auto"}),title:"Xmonad 💻",description:"A tiling window manager written and configured in Haskell.",listItems:["Written in Haskell for maximum customizability.","Uses dynamic tiling for flexible window management.","Highly customizable and extendable."]}),u.jsx(re,{icon:u.jsx(gr,{className:"h-10 w-10 text-orange-500 mx-auto"}),title:"Fluxbox 🌀",description:"A lightweight and configurable window manager based on Blackbox.",listItems:["Very low memory usage and high performance.","Highly customizable with simple configuration.","Supports multiple workspaces and styles."]}),u.jsx(re,{icon:u.jsx(gr,{className:"h-10 w-10 text-purple-500 mx-auto"}),title:"Herbstluftwm 🖼️",description:"A manual tiling window manager for X11 with a unique approach.",listItems:["Manual tiling with a highly flexible layout.","Written in bash and easy to configure.","Supports multi-monitor setups and dynamic layouts."]})]})]})})]})}const re=({icon:e,title:t,description:r,listItems:n})=>u.jsxs("div",{className:"feature-card p-6 rounded-lg shadow-md text-center",children:[u.jsx("div",{className:"mb-4",children:e}),u.jsx("h4",{className:"text-xl font-semibold text-[#6495ed]",children:t}),u.jsx("p",{className:"text-gray-600 mt-2",children:r}),n&&u.jsx("ul",{className:"feature-list",children:n.map((o,s)=>u.jsx("li",{children:o},s))})]});function Xy(){const[e,t]=j.useState([]),[r,n]=j.useState(!0);return j.useEffect(()=>{(async()=>{try{const i=["eshanized","d3v1l0n","iconized","alokified","utkrshift"].map(async l=>{const c=await fetch(`https://api.github.com/users/${l}`);if(!c.ok)throw new Error(`Failed to fetch data for ${l}`);return await c.json()}),a=await Promise.all(i);t(a)}catch(s){console.error("Error fetching team members:",s)}finally{n(!1)}})()},[]),u.jsx("div",{className:"py-16 bg-gradient-to-b from-[#F7F9FC] to-[#E6EBF1]",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsx("section",{className:"mb-16 text-center bg-gradient-to-r from-[#6495ed] via-[#85b1f3] to-[#eaf3fc] py-16 rounded-lg shadow-lg",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsxs("h1",{className:"text-5xl font-extrabold mb-6 text-white drop-shadow-lg",children:["About ",u.jsx("span",{className:"text-[#eaf3fc]",children:"Snigdha OS"})]}),u.jsx("p",{className:"text-lg md:text-xl text-white max-w-3xl mx-auto leading-relaxed",children:"Snigdha OS is a modern, elegant, and efficient Linux distribution designed to be lightweight and developer-friendly. Built on Arch Linux with the Zen kernel, it offers a powerful and secure platform for both personal use and penetration testing."}),u.jsx("div",{className:"mt-8",children:u.jsx("a",{href:"#features",className:"inline-block px-8 py-3 text-lg font-semibold bg-white text-[#6495ed] rounded-full shadow-md hover:bg-[#f0f4f8] hover:shadow-lg transition-all duration-300",children:"Learn More"})})]})}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"Key Features"}),u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8",children:[u.jsx(di,{icon:u.jsx(My,{className:"h-12 w-12 text-teal-500 transition-transform transform hover:scale-110"}),title:"Fast & Lightweight",description:"Snigdha OS is designed to run efficiently on both older hardware and modern systems, ensuring excellent performance with minimal resource usage."}),u.jsx(di,{icon:u.jsx(ga,{className:"h-12 w-12 text-green-500 transition-transform transform hover:scale-110"}),title:"Security First",description:"Snigdha OS focuses on providing robust security with regular updates, patches, and user privacy as top priorities."}),u.jsx(di,{icon:u.jsx(eh,{className:"h-12 w-12 text-yellow-500 transition-transform transform hover:scale-110"}),title:"Developer Friendly",description:"Packed with a rich set of tools for developers, Snigdha OS ensures smooth development and testing, especially in security-related tasks."})]})]}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"Our Core Values"}),u.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8",children:[u.jsx(pi,{icon:u.jsx(rh,{className:"h-12 w-12 text-red-500 transition-transform transform hover:scale-110"}),title:"Passion for Open Source",description:"Our community-driven approach means that Snigdha OS is constantly evolving, with contributions from developers and users worldwide."}),u.jsx(pi,{icon:u.jsx(as,{className:"h-12 w-12 text-blue-500 transition-transform transform hover:scale-110"}),title:"Community Empowerment",description:"We believe in empowering the community by encouraging collaboration, innovation, and open dialogue around the development of Snigdha OS."}),u.jsx(pi,{icon:u.jsx(ga,{className:"h-12 w-12 text-green-500 transition-transform transform hover:scale-110"}),title:"Security & Privacy",description:"Snigdha OS is built with the philosophy of safeguarding user data and ensuring that privacy remains a top priority."})]})]}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"Roadmap"}),u.jsxs("div",{className:"space-y-6",children:[u.jsx(xo,{year:"Q1 2025",title:"User Interface Overhaul",description:"Introducing a more intuitive and modern user interface with customizable features."}),u.jsx(xo,{year:"Q2 2025",title:"Security Enhancements",description:"Improving system-level security, including advanced encryption support and better intrusion detection mechanisms."}),u.jsx(xo,{year:"Q3 2025",title:"Developer Tools Expansion",description:"Snigdha OS will include more developer tools, including cloud-based IDEs and enhanced testing environments for penetration testers."}),u.jsx(xo,{year:"Q4 2025",title:"More Community Contributions",description:"Increasing community-driven contributions with better documentation and support for new architectures."})]})]}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"How You Can Contribute"}),u.jsxs("div",{className:"text-center max-w-3xl mx-auto text-lg text-gray-600 mb-8",children:[u.jsx("p",{children:"Whether you are a developer, designer, or simply passionate about Snigdha OS, there are many ways you can help the project grow. Contribute code, submit bug reports, or help improve the documentation."}),u.jsx("a",{href:"https://github.com/Snigdha-OS/Snigdha-OS",target:"_blank",rel:"noopener noreferrer",className:"mt-4 inline-block px-6 py-3 bg-[#6495ed] text-white text-lg font-semibold rounded-lg hover:bg-[#5a82cc]",children:"View Contribution Guidelines"})]})]}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"Success Stories"}),u.jsxs("div",{className:"space-y-8",children:[u.jsx(oc,{title:"A Developer's Dream",description:"Alex, a full-stack developer, shares how Snigdha OS transformed their workflow, offering a fast and secure environment to write code and run tests.",link:"https://github.com/alexdev"}),u.jsx(oc,{title:"In the Classroom",description:"Local schools have adopted Snigdha OS to give students an affordable, powerful, and secure OS for their coding and programming classes.",link:"https://github.com/education-department"})]})]}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"Community & Resources"}),u.jsxs("div",{className:"text-center max-w-2xl mx-auto text-lg text-gray-600 mb-8",children:[u.jsx("p",{children:"Join the Snigdha OS community to stay updated, contribute, and collaborate on new features. You can connect with us through our forums and GitHub."}),u.jsxs("div",{className:"flex justify-center gap-8 mt-6",children:[u.jsx("a",{href:"https://github.com/Snigdha-OS",target:"_blank",rel:"noopener noreferrer",className:"text-[#6495ed] hover:text-[#5a82cc]",children:"GitHub Repository"}),u.jsx("a",{href:"https://www.snigdhaos.com/community",target:"_blank",rel:"noopener noreferrer",className:"text-[#6495ed] hover:text-[#5a82cc]",children:"Community Forum"})]})]})]}),u.jsxs("section",{children:[u.jsx("h2",{className:"text-3xl font-extrabold text-[#6495ed] mb-8 text-center",children:"Meet the Leadership Team"}),r?u.jsx("p",{className:"text-center text-gray-600",children:"Loading team members..."}):u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:e.map(o=>u.jsx(Jy,{name:o.name||o.login,image:o.avatar_url,profileUrl:o.html_url,bio:o.bio||"Passionate about Linux and open-source software.",location:o.location||"India",company:o.company||"TONMOY INFRASTRUCTURE"},o.login))})]})]})})}function di({icon:e,title:t,description:r}){return u.jsxs("div",{className:"text-center p-6 bg-white rounded-lg shadow-lg hover:shadow-xl transition-shadow transform hover:scale-105 hover:bg-gray-50",children:[u.jsx("div",{className:"flex justify-center mb-4",children:e}),u.jsx("h3",{className:"text-xl font-semibold text-[#6495ed] mb-2",children:t}),u.jsx("p",{className:"text-gray-700",children:r})]})}function pi({icon:e,title:t,description:r}){return u.jsxs("div",{className:"text-center p-6 bg-white rounded-lg shadow-lg hover:shadow-xl transition-shadow transform hover:scale-105 hover:bg-gray-50",children:[u.jsx("div",{className:"flex justify-center mb-4",children:e}),u.jsx("h3",{className:"text-xl font-semibold text-[#6495ed] mb-2",children:t}),u.jsx("p",{className:"text-gray-700",children:r})]})}function oc({title:e,description:t,link:r}){return u.jsxs("div",{className:"bg-white p-8 rounded-lg shadow-lg hover:shadow-xl transition-shadow",children:[u.jsx("h3",{className:"text-2xl font-semibold text-[#6495ed]",children:e}),u.jsx("p",{className:"text-gray-700 my-4",children:t}),u.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-[#6495ed] hover:text-[#5a82cc]",children:"Read More"})]})}function xo({year:e,title:t,description:r}){return u.jsxs("div",{className:"flex",children:[u.jsx("div",{className:"w-24 font-semibold text-green-600",children:e}),u.jsxs("div",{children:[u.jsx("h3",{className:"font-semibold mb-1 text-[#6495ed]",children:t}),u.jsx("p",{className:"text-gray-700",children:r})]})]})}function Jy({name:e,image:t,profileUrl:r,bio:n,location:o,company:s}){return u.jsxs("div",{className:"text-center bg-white p-6 rounded-lg shadow-lg hover:shadow-2xl transition-shadow transform hover:scale-105",children:[u.jsx("img",{src:t,alt:e,className:"w-32 h-32 rounded-full mx-auto mb-4 object-cover border-4 border-[#6495ed]"}),u.jsx("h3",{className:"font-semibold text-lg text-gray-800 mb-2",children:e}),u.jsx("p",{className:"text-gray-600 text-sm",children:n}),u.jsx("p",{className:"text-gray-500 text-sm mt-2",children:o}),u.jsx("p",{className:"text-gray-500 text-sm mt-1",children:s}),u.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-[#6495ed] hover:text-[#5a82cc] mt-2 inline-block",children:"View Profile"})]})}function Zy(){const[e,t]=j.useState(null),[r,n]=j.useState(null);j.useEffect(()=>{async function i(){try{const l=await(await fetch("https://ipapi.co/json/")).json();t(`${l.city}, ${l.country}`),n(l.country)}catch(a){console.error("Failed to fetch user location:",a),t(null),n(null)}}i()},[]);const s=(()=>{if(!r)return null;const a={"united states":"north america",canada:"north america",brazil:"south america",argentina:"south america",germany:"europe",france:"europe",india:"asia",japan:"asia","south africa":"africa",australia:"australia"}[r.toLowerCase()]||r.toLowerCase();return ac.find(l=>l.region.toLowerCase().includes(a))})();return u.jsx("div",{className:"py-12",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsxs("section",{className:"text-center mb-16",children:[u.jsx("h1",{className:"text-4xl font-bold mb-6 text-indigo-600",children:"Download Snigdha OS"}),u.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Choose the edition that best suits your needs. All versions are free to download and use, providing the best experience for developers, students, and professionals alike."}),u.jsxs("div",{className:"mt-8 space-y-6",children:[u.jsxs("div",{className:"flex justify-center items-center space-x-4",children:[u.jsx(hi,{color:"indigo",text:"Lightweight & Fast"}),u.jsx(hi,{color:"indigo",text:"Open Source & Free"}),u.jsx(hi,{color:"indigo",text:"Customizable & Secure"})]}),u.jsx("p",{className:"text-lg text-gray-700 max-w-4xl mx-auto",children:"Snigdha OS is designed to provide an unparalleled experience, whether you're working on an older device or a high-end system. Built with efficiency, reliability, and beauty in mind, it’s perfect for home users, professionals, and enterprises. Download today to unlock the full potential of your hardware."})]})]}),u.jsx("section",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8 mb-16",children:tv.map((i,a)=>u.jsx(ev,{...i},a))}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-bold text-center mb-8 text-indigo-600",children:"System Requirements"}),u.jsx("div",{className:"rounded-lg p-10 shadow-lg",children:u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-10",children:[u.jsx(sc,{title:"Minimum Requirements",specs:["2GB RAM (4GB recommended)","20GB of disk space (100GB recommended)","1024×768 resolution"],notes:"These are the minimum requirements to run Snigdha OS smoothly. For basic tasks such as web browsing, office applications, and media playback, this setup is sufficient."}),u.jsx(sc,{title:"Recommended Requirements",specs:["4GB RAM or more","100GB of disk space or more","1920×1080 resolution or higher"],notes:"These specifications provide an optimal experience, enabling smooth performance for multitasking, using modern applications, and running resource-intensive tasks like video editing or gaming."})]})})]}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-bold text-center mb-8",children:"Download Mirrors"}),u.jsxs("p",{className:"text-lg text-gray-600 text-center mb-6 max-w-2xl mx-auto",children:["Select a mirror closest to your location for faster download speeds."," ",u.jsx("br",{}),e?u.jsxs("span",{className:"text-gray-600 font-regular",children:["Your detected location: ",u.jsx("span",{className:"text-green-600 font-bold",children:e})]}):u.jsx("span",{children:"Detecting your location..."})]}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:ac.map((i,a)=>u.jsx(ic,{...i},a))}),s&&u.jsxs("div",{className:"mt-8 text-center",children:[u.jsx("h3",{className:"text-2xl font-bold text-indigo-600",children:"Suggested Mirror for You"}),u.jsx(ic,{...s})]})]})]})})}function hi({color:e,text:t}){return u.jsx("span",{className:`inline-block px-4 py-2 text-sm bg-${e}-600 text-white rounded-[5px] shadow-md`,children:t})}function ev({title:e,description:t,keyFeatures:r,idealFor:n,icon:o,recommended:s}){return u.jsxs("div",{className:`bg-white rounded-lg shadow-lg p-8 relative ${s?"border-2 border-indigo-500":""}`,children:[s&&u.jsx("div",{className:"absolute top-4 right-4 bg-indigo-500 text-white px-2 py-1 rounded-[5px] text-sm",children:"Recommended"}),u.jsx("div",{className:"flex justify-center mb-4",children:o}),u.jsx("h3",{className:"text-xl font-bold mb-2 text-center",children:e}),u.jsx("p",{className:"text-gray-600 text-center mb-4",children:t}),u.jsxs("div",{className:"mb-4",children:[u.jsx("h4",{className:"text-sm font-bold text-indigo-600",children:"Key Features:"}),u.jsx("ul",{className:"list-disc list-inside text-gray-600 text-sm",children:r.map((i,a)=>u.jsx("li",{children:i},a))})]}),u.jsxs("div",{children:[u.jsx("h4",{className:"text-sm font-bold text-indigo-600",children:"Ideal For:"}),u.jsx("p",{className:"text-gray-600 text-sm",children:n})]}),u.jsx("div",{className:"flex justify-center mt-6",children:u.jsxs("button",{className:"flex items-center space-x-2 bg-indigo-600 text-white px-6 py-2 rounded-[5px] hover:bg-indigo-700 transition-colors",children:[u.jsx(ma,{className:"h-5 w-5"}),u.jsx("span",{children:"Download"})]})})]})}function sc({title:e,specs:t,notes:r}){return u.jsxs("div",{className:"bg-white rounded-lg p-6 shadow-xl hover:shadow-2xl transition-shadow",children:[u.jsx("h3",{className:"text-xl font-bold text-indigo-600",children:e}),u.jsx("ul",{className:"space-y-3 text-gray-700",children:t.map((n,o)=>u.jsx("li",{children:n},o))}),u.jsx("p",{className:"mt-4 text-gray-600 text-sm",children:r})]})}function ic({region:e,speed:t,host:r,url:n,suggested:o=!1}){const s={"Very Fast":"text-green-500",Fast:"text-blue-500",Moderate:"text-orange-500"}[t];return u.jsx("a",{href:n,className:`block bg-white rounded-lg shadow hover:shadow-lg transition-shadow p-6 border border-gray-200 ${o?"border-2 border-indigo-500 bg-indigo-100":""}`,children:u.jsxs("div",{className:"flex flex-col space-y-3",children:[u.jsxs("div",{className:"text-center",children:[u.jsx("h3",{className:"text-xl font-bold",children:e}),u.jsx("p",{className:"text-sm",children:r})]}),u.jsx("div",{className:"text-center",children:u.jsx("span",{className:`font-semibold ${s}`,children:t})}),u.jsx("button",{className:"bg-indigo-600 text-white py-2 px-4 rounded-lg",children:"Download"}),o&&u.jsx("div",{className:"absolute top-2 right-2 bg-indigo-600 text-white text-sm px-2 py-1 rounded-lg",children:"Suggested Mirror"})]})})}const tv=[{title:"Gnome Edition",description:"Modern, innovative features while being traditional and familiar.",keyFeatures:["Dynamic Workspaces","Extensible Extensions","Built-in Accessibility"],idealFor:"General users who prefer a sleek and functional desktop experience.",icon:u.jsx(Et,{className:"h-12 w-12 text-indigo-600"}),recommended:!0},{title:"MATE Edition",description:"Traditional desktop experience, highly stable and reliable.",keyFeatures:["Low Resource Usage","Consistent Workflow","Legacy Support"],idealFor:"Users who value simplicity and reliability over modern features.",icon:u.jsx(tc,{className:"h-12 w-12 text-blue-600"})},{title:"Xfce Edition",description:"Lightweight and stable. Perfect for older computers.",keyFeatures:["Minimal Resource Usage","Fast Boot Times","Highly Customizable"],idealFor:"Users with older hardware or those who need maximum performance.",icon:u.jsx(Iy,{className:"h-12 w-12 text-purple-600"})},{title:"KDE Plasma Edition",description:"Customizable and visually stunning, perfect for power users.",keyFeatures:["Advanced Widgets","Custom Themes","Built-in Productivity Apps"],idealFor:"Tech enthusiasts and power users who love customization.",icon:u.jsx(ec,{className:"h-12 w-12 text-pink-600"})},{title:"Minimal Edition",description:"Barebones version for advanced users who prefer custom setups.",keyFeatures:["Minimal Preinstalled Apps","Manual Configuration","Highly Flexible"],idealFor:"Experienced users who want a clean slate to build their OS.",icon:u.jsx(ec,{className:"h-12 w-12 text-gray-600"})},{title:"ARM Edition",description:"Optimized for ARM-based devices like Raspberry Pi.",keyFeatures:["Optimized for ARM","Pre-configured Packages","Energy Efficient"],idealFor:"Raspberry Pi enthusiasts and developers working on ARM devices.",icon:u.jsx(By,{className:"h-12 w-12 text-teal-600"})},{title:"Education Edition",description:"Packed with educational tools for students and teachers.",keyFeatures:["Preloaded Educational Software","Child-friendly Interface","Classroom Tools"],idealFor:"Students, teachers, and educational institutions.",icon:u.jsx(tc,{className:"h-12 w-12 text-orange-600"})},{title:"Gaming Edition",description:"Enhanced with gaming tools and pre-installed gaming libraries.",keyFeatures:["Gaming Drivers","Pre-installed Steam","Optimized Performance"],idealFor:"Gamers who need a robust environment for PC gaming.",icon:u.jsx(Et,{className:"h-12 w-12 text-red-600"})}],ac=[{region:"North America",speed:"Fast",host:"MirrorHost USA",url:"#"},{region:"Europe",speed:"Very Fast",host:"EuroMirror DE",url:"#"},{region:"Asia",speed:"Fast",host:"AsiaNet JP",url:"#"},{region:"Australia",speed:"Moderate",host:"AusSpeed AU",url:"#"},{region:"South America",speed:"Moderate",host:"LATAM Mirror BR",url:"#"},{region:"Africa",speed:"Fast",host:"Afrinet ZA",url:"#"}];var nh={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},lc=lt.createContext&<.createContext(nh),rv=["attr","size","title"];function nv(e,t){if(e==null)return{};var r=ov(e,t),n,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)n=s[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ov(e,t){if(e==null)return{};var r={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}function ls(){return ls=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ls.apply(this,arguments)}function uc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function us(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uc(Object(r),!0).forEach(function(n){sv(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function sv(e,t,r){return t=iv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iv(e){var t=av(e,"string");return typeof t=="symbol"?t:t+""}function av(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oh(e){return e&&e.map((t,r)=>lt.createElement(t.tag,us({key:r},t.attr),oh(t.child)))}function lv(e){return t=>lt.createElement(uv,ls({attr:us({},e.attr)},t),oh(e.child))}function uv(e){var t=r=>{var{attr:n,size:o,title:s}=e,i=nv(e,rv),a=o||r.size||"1em",l;return r.className&&(l=r.className),e.className&&(l=(l?l+" ":"")+e.className),lt.createElement("svg",ls({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,i,{className:l,style:us(us({color:e.color||r.color},r.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),s&<.createElement("title",null,s),e.children)};return lc!==void 0?lt.createElement(lc.Consumer,null,r=>t(r)):t(nh)}function cv(e){return lv({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M308 96c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v44.748c0 6.627 5.373 12 12 12h85.28c27.308 0 48.261 9.958 60.97 27.252H12c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h158.757c-6.217 36.086-32.961 58.632-74.757 58.632H12c-6.627 0-12 5.373-12 12v53.012c0 3.349 1.4 6.546 3.861 8.818l165.052 152.356a12.001 12.001 0 0 0 8.139 3.182h82.562c10.924 0 16.166-13.408 8.139-20.818L116.871 319.906c76.499-2.34 131.144-53.395 138.318-127.906H308c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-58.69c-3.486-11.541-8.28-22.246-14.252-32H308z"},child:[]}]})(e)}function dv(){return u.jsx("div",{className:"py-12",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsxs("section",{className:"text-center mb-16",children:[u.jsx(rh,{className:"h-16 w-16 text-red-500 mx-auto mb-6"}),u.jsx("h1",{className:"text-4xl font-bold mb-6",children:"Our Amazing Donors"}),u.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:"Snigdha OS is made possible thanks to the generous support of our donors. We are grateful for their contributions to keep our project running."})]}),u.jsxs("section",{className:"mb-16",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-8 text-center",children:[u.jsx(Eo,{className:"inline-block h-6 w-6 text-yellow-500 mr-2"}),"Donation Tiers"]}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[u.jsx(fi,{title:"Platinum Donors",amount:"₹500+",icon:u.jsx(Eo,{className:"h-6 w-6 text-gray-500"}),color:"bg-gradient-to-r from-gray-200 to-gray-100",donors:["TechCorp International","Global Systems Ltd","Future Computing Inc"]}),u.jsx(fi,{title:"Gold Donors",amount:"₹100-₹499",icon:u.jsx(Eo,{className:"h-6 w-6 text-yellow-500"}),color:"bg-gradient-to-r from-yellow-100 to-yellow-50",donors:["Sarah Johnson","Michael Chang","DataFlow Solutions","Robert Wilson","Emma Thompson"]}),u.jsx(fi,{title:"Silver Donors",amount:"$₹10-₹99",icon:u.jsx(Eo,{className:"h-6 w-6 text-gray-400"}),color:"bg-gradient-to-r from-gray-100 to-white",donors:["Rajesh Kumar","Priya Sharma","Aryan Patel","Meena Iyer","Vikram Singh"]})]})]}),u.jsxs("section",{className:"bg-indigo-50 rounded-lg p-8 text-center",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-4",children:[u.jsx(cv,{className:"inline-block h-6 w-6 text-green-500 mr-2"}),"Become a Donor"]}),u.jsx("p",{className:"text-gray-600 mb-8 max-w-2xl mx-auto",children:"Your support helps us maintain and improve Snigdha OS. Every donation, big or small, makes a difference in keeping our project independent and sustainable."}),u.jsx("button",{className:"bg-indigo-600 text-white px-8 py-3 rounded-[5px] hover:bg-indigo-700 transition-colors",children:"Make a Donation"})]}),u.jsxs("section",{className:"mt-16",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-8",children:[u.jsx(wo,{className:"inline-block h-6 w-6 text-blue-500 mr-2"}),"Yearly Donation Report"]}),u.jsx("div",{className:"bg-white rounded-lg shadow-lg p-8",children:u.jsxs("div",{className:"space-y-6",children:[u.jsx(pv,{month:"Year - 2024",amount:15750,donors:14,averageDonation:1125}),u.jsxs("div",{className:"border-t pt-6",children:[u.jsx("h3",{className:"font-bold mb-4",children:"How Donations Are Used"}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[u.jsx(mi,{percentage:40,category:"Development",description:"Supporting core developers and infrastructure",icon:u.jsx(wo,{className:"h-6 w-6 text-green-500"})}),u.jsx(mi,{percentage:35,category:"Server Costs",description:"Maintaining mirrors and websites",icon:u.jsx(wo,{className:"h-6 w-6 text-blue-500"})}),u.jsx(mi,{percentage:25,category:"Community",description:"Supporting community projects and events",icon:u.jsx(wo,{className:"h-6 w-6 text-indigo-500"})})]})]})]})})]})]})})}function fi({title:e,amount:t,color:r,icon:n,donors:o}){return u.jsxs("div",{className:`rounded-lg shadow-lg p-6 ${r}`,children:[u.jsxs("h3",{className:"text-xl font-bold mb-2 flex items-center gap-2",children:[n,e]}),u.jsx("p",{className:"text-gray-600 mb-4",children:t}),u.jsx("ul",{className:"space-y-2",children:o.map((s,i)=>u.jsx("li",{className:"text-gray-700",children:s},i))})]})}function pv({month:e,amount:t,donors:r,averageDonation:n}){return u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-4",children:e}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[u.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg",children:[u.jsx("p",{className:"text-sm text-gray-600",children:"Total Donations"}),u.jsxs("p",{className:"text-2xl font-bold",children:["₹",t.toLocaleString()]})]}),u.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg",children:[u.jsx("p",{className:"text-sm text-gray-600",children:"Number of Donors"}),u.jsx("p",{className:"text-2xl font-bold",children:r})]}),u.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg",children:[u.jsx("p",{className:"text-sm text-gray-600",children:"Average Donation"}),u.jsxs("p",{className:"text-2xl font-bold",children:["₹",n]})]})]})]})}function mi({percentage:e,category:t,description:r,icon:n}){return u.jsxs("div",{className:"bg-gray-50 p-4 rounded-lg",children:[u.jsxs("div",{className:"flex items-center mb-2",children:[n,u.jsxs("span",{className:"ml-2 text-xl font-semibold text-indigo-600",children:[e,"%"]})]}),u.jsx("h4",{className:"font-regular mb-1",children:t}),u.jsx("p",{className:"text-sm text-gray-600",children:r})]})}function zt(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}const hv=Object.freeze(Object.defineProperty({__proto__:null,getUserAgent:zt},Symbol.toStringTag,{value:"Module"}));var Os={exports:{}},fv=sh;function sh(e,t,r,n){if(typeof r!="function")throw new Error("method for before hook must be a function");return n||(n={}),Array.isArray(t)?t.reverse().reduce(function(o,s){return sh.bind(null,e,s,o,n)},r)():Promise.resolve().then(function(){return e.registry[t]?e.registry[t].reduce(function(o,s){return s.hook.bind(null,o,n)},r)():r(n)})}var mv=gv;function gv(e,t,r,n){var o=n;e.registry[r]||(e.registry[r]=[]),t==="before"&&(n=function(s,i){return Promise.resolve().then(o.bind(null,i)).then(s.bind(null,i))}),t==="after"&&(n=function(s,i){var a;return Promise.resolve().then(s.bind(null,i)).then(function(l){return a=l,o(a,i)}).then(function(){return a})}),t==="error"&&(n=function(s,i){return Promise.resolve().then(s.bind(null,i)).catch(function(a){return o(a,i)})}),e.registry[r].push({hook:n,orig:o})}var yv=vv;function vv(e,t,r){if(e.registry[t]){var n=e.registry[t].map(function(o){return o.orig}).indexOf(r);n!==-1&&e.registry[t].splice(n,1)}}var ih=fv,wv=mv,Ev=yv,cc=Function.bind,dc=cc.bind(cc);function ah(e,t,r){var n=dc(Ev,null).apply(null,r?[t,r]:[t]);e.api={remove:n},e.remove=n,["before","error","after","wrap"].forEach(function(o){var s=r?[t,o,r]:[t,o];e[o]=e.api[o]=dc(wv,null).apply(null,s)})}function xv(){var e="h",t={registry:{}},r=ih.bind(null,t,e);return ah(r,t,e),r}function lh(){var e={registry:{}},t=ih.bind(null,e);return ah(t,e),t}var pc=!1;function Xr(){return pc||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),pc=!0),lh()}Xr.Singular=xv.bind();Xr.Collection=lh.bind();Os.exports=Xr;Os.exports.Hook=Xr;Os.exports.Singular=Xr.Singular;var _v=Os.exports.Collection=Xr.Collection,kv="9.0.5",Tv=`octokit-endpoint.js/${kv} ${zt()}`,Sv={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":Tv},mediaType:{format:""}};function bv(e){return e?Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{}):{}}function Pv(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function uh(e,t){const r=Object.assign({},e);return Object.keys(t).forEach(n=>{Pv(t[n])?n in e?r[n]=uh(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r}function hc(e){for(const t in e)e[t]===void 0&&delete e[t];return e}function ya(e,t,r){var o;if(typeof t=="string"){let[s,i]=t.split(" ");r=Object.assign(i?{method:s,url:i}:{url:s},r)}else r=Object.assign({},t);r.headers=bv(r.headers),hc(r),hc(r.headers);const n=uh(e||{},r);return r.url==="/graphql"&&(e&&((o=e.mediaType.previews)!=null&&o.length)&&(n.mediaType.previews=e.mediaType.previews.filter(s=>!n.mediaType.previews.includes(s)).concat(n.mediaType.previews)),n.mediaType.previews=(n.mediaType.previews||[]).map(s=>s.replace(/-preview/,""))),n}function Ov(e,t){const r=/\?/.test(e)?"&":"?",n=Object.keys(t);return n.length===0?e:e+r+n.map(o=>o==="q"?"q="+t.q.split("+").map(encodeURIComponent).join("+"):`${o}=${encodeURIComponent(t[o])}`).join("&")}var jv=/\{[^}]+\}/g;function Rv(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function Cv(e){const t=e.match(jv);return t?t.map(Rv).reduce((r,n)=>r.concat(n),[]):[]}function fc(e,t){const r={__proto__:null};for(const n of Object.keys(e))t.indexOf(n)===-1&&(r[n]=e[n]);return r}function ch(e){return e.split(/(%[0-9A-Fa-f]{2})/g).map(function(t){return/%[0-9A-Fa-f]/.test(t)||(t=encodeURI(t).replace(/%5B/g,"[").replace(/%5D/g,"]")),t}).join("")}function Cr(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function cn(e,t,r){return t=e==="+"||e==="#"?ch(t):Cr(t),r?Cr(r)+"="+t:t}function yr(e){return e!=null}function gi(e){return e===";"||e==="&"||e==="?"}function Av(e,t,r,n){var o=e[r],s=[];if(yr(o)&&o!=="")if(typeof o=="string"||typeof o=="number"||typeof o=="boolean")o=o.toString(),n&&n!=="*"&&(o=o.substring(0,parseInt(n,10))),s.push(cn(t,o,gi(t)?r:""));else if(n==="*")Array.isArray(o)?o.filter(yr).forEach(function(i){s.push(cn(t,i,gi(t)?r:""))}):Object.keys(o).forEach(function(i){yr(o[i])&&s.push(cn(t,o[i],i))});else{const i=[];Array.isArray(o)?o.filter(yr).forEach(function(a){i.push(cn(t,a))}):Object.keys(o).forEach(function(a){yr(o[a])&&(i.push(Cr(a)),i.push(cn(t,o[a].toString())))}),gi(t)?s.push(Cr(r)+"="+i.join(",")):i.length!==0&&s.push(i.join(","))}else t===";"?yr(o)&&s.push(Cr(r)):o===""&&(t==="&"||t==="?")?s.push(Cr(r)+"="):o===""&&s.push("");return s}function Nv(e){return{expand:Fv.bind(null,e)}}function Fv(e,t){var r=["+","#",".","/",";","?","&"];return e=e.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,function(n,o,s){if(o){let a="";const l=[];if(r.indexOf(o.charAt(0))!==-1&&(a=o.charAt(0),o=o.substr(1)),o.split(/,/g).forEach(function(c){var g=/([^:\*]*)(?::(\d+)|(\*))?/.exec(c);l.push(Av(t,a,g[1],g[2]||g[3]))}),a&&a!=="+"){var i=",";return a==="?"?i="&":a!=="#"&&(i=a),(l.length!==0?a:"")+l.join(i)}else return l.join(",")}else return ch(s)}),e==="/"?e:e.replace(/\/$/,"")}function dh(e){var g;let t=e.method.toUpperCase(),r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),o,s=fc(e,["method","baseUrl","url","headers","request","mediaType"]);const i=Cv(r);r=Nv(r).expand(s),/^http/.test(r)||(r=e.baseUrl+r);const a=Object.keys(e).filter(h=>i.includes(h)).concat("baseUrl"),l=fc(s,a);if(!/application\/octet-stream/i.test(n.accept)&&(e.mediaType.format&&(n.accept=n.accept.split(/,/).map(h=>h.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${e.mediaType.format}`)).join(",")),r.endsWith("/graphql")&&(g=e.mediaType.previews)!=null&&g.length)){const h=n.accept.match(/[\w-]+(?=-preview)/g)||[];n.accept=h.concat(e.mediaType.previews).map(y=>{const x=e.mediaType.format?`.${e.mediaType.format}`:"+json";return`application/vnd.github.${y}-preview${x}`}).join(",")}return["GET","HEAD"].includes(t)?r=Ov(r,l):"data"in l?o=l.data:Object.keys(l).length&&(o=l),!n["content-type"]&&typeof o<"u"&&(n["content-type"]="application/json; charset=utf-8"),["PATCH","PUT"].includes(t)&&typeof o>"u"&&(o=""),Object.assign({method:t,url:r,headers:n},typeof o<"u"?{body:o}:null,e.request?{request:e.request}:null)}function Gv(e,t,r){return dh(ya(e,t,r))}function ph(e,t){const r=ya(e,t),n=Gv.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:ph.bind(null,r),merge:ya.bind(null,r),parse:dh})}var Dv=ph(null,Sv);class mc extends Error{constructor(t){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}}var wl={exports:{}},Uv=hh;function hh(e,t){if(e&&t)return hh(e)(t);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(n){r[n]=e[n]}),r;function r(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];var s=e.apply(this,n),i=n[n.length-1];return typeof s=="function"&&s!==i&&Object.keys(i).forEach(function(a){s[a]=i[a]}),s}}var fh=Uv;wl.exports=fh(Fo);wl.exports.strict=fh(mh);Fo.proto=Fo(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return Fo(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return mh(this)},configurable:!0})});function Fo(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function mh(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}var Lv=wl.exports;const gh=cs(Lv);var Iv=gh(e=>console.warn(e)),zv=gh(e=>console.warn(e)),Kt=class extends Error{constructor(e,t,r){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="HttpError",this.status=t;let n;"headers"in r&&typeof r.headers<"u"&&(n=r.headers),"response"in r&&(this.response=r.response,n=r.response.headers);const o=Object.assign({},r.request);r.request.headers.authorization&&(o.headers=Object.assign({},r.request.headers,{authorization:r.request.headers.authorization.replace(/ .*$/," [REDACTED]")})),o.url=o.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]"),this.request=o,Object.defineProperty(this,"code",{get(){return Iv(new mc("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),t}}),Object.defineProperty(this,"headers",{get(){return zv(new mc("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),n||{}}})}},$v="8.4.0";function Mv(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const r=Object.prototype.hasOwnProperty.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Function.prototype.call(r)===Function.prototype.call(e)}function Bv(e){return e.arrayBuffer()}function gc(e){var a,l,c,g;const t=e.request&&e.request.log?e.request.log:console,r=((a=e.request)==null?void 0:a.parseSuccessResponseBody)!==!1;(Mv(e.body)||Array.isArray(e.body))&&(e.body=JSON.stringify(e.body));let n={},o,s,{fetch:i}=globalThis;if((l=e.request)!=null&&l.fetch&&(i=e.request.fetch),!i)throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing");return i(e.url,{method:e.method,body:e.body,redirect:(c=e.request)==null?void 0:c.redirect,headers:e.headers,signal:(g=e.request)==null?void 0:g.signal,...e.body&&{duplex:"half"}}).then(async h=>{s=h.url,o=h.status;for(const y of h.headers)n[y[0]]=y[1];if("deprecation"in n){const y=n.link&&n.link.match(/<([^>]+)>; rel="deprecation"/),x=y&&y.pop();t.warn(`[@octokit/request] "${e.method} ${e.url}" is deprecated. It is scheduled to be removed on ${n.sunset}${x?`. See ${x}`:""}`)}if(!(o===204||o===205)){if(e.method==="HEAD"){if(o<400)return;throw new Kt(h.statusText,o,{response:{url:s,status:o,headers:n,data:void 0},request:e})}if(o===304)throw new Kt("Not modified",o,{response:{url:s,status:o,headers:n,data:await yi(h)},request:e});if(o>=400){const y=await yi(h);throw new Kt(Hv(y),o,{response:{url:s,status:o,headers:n,data:y},request:e})}return r?await yi(h):h.body}}).then(h=>({status:o,url:s,headers:n,data:h})).catch(h=>{if(h instanceof Kt)throw h;if(h.name==="AbortError")throw h;let y=h.message;throw h.name==="TypeError"&&"cause"in h&&(h.cause instanceof Error?y=h.cause.message:typeof h.cause=="string"&&(y=h.cause)),new Kt(y,500,{request:e})})}async function yi(e){const t=e.headers.get("content-type");return/application\/json/.test(t)?e.json().catch(()=>e.text()).catch(()=>""):!t||/^text\/|charset=utf-8$/.test(t)?e.text():Bv(e)}function Hv(e){if(typeof e=="string")return e;let t;return"documentation_url"in e?t=` - ${e.documentation_url}`:t="","message"in e?Array.isArray(e.errors)?`${e.message}: ${e.errors.map(JSON.stringify).join(", ")}${t}`:`${e.message}${t}`:`Unknown error: ${JSON.stringify(e)}`}function va(e,t){const r=e.defaults(t);return Object.assign(function(o,s){const i=r.merge(o,s);if(!i.request||!i.request.hook)return gc(r.parse(i));const a=(l,c)=>gc(r.parse(r.merge(l,c)));return Object.assign(a,{endpoint:r,defaults:va.bind(null,r)}),i.request.hook(a,i)},{endpoint:r,defaults:va.bind(null,r)})}var Ee=va(Dv,{headers:{"user-agent":`octokit-request.js/${$v} ${zt()}`}}),qv="7.1.0";function Wv(e){return`Request failed due to following response errors:
|
||
`+e.errors.map(t=>` - ${t.message}`).join(`
|
||
`)}var Vv=class extends Error{constructor(e,t,r){super(Wv(r)),this.request=e,this.headers=t,this.response=r,this.name="GraphqlResponseError",this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},Kv=["method","baseUrl","url","headers","request","query","mediaType"],Qv=["query","method","url"],yc=/\/api\/v3\/?$/;function Yv(e,t,r){if(r){if(typeof t=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(const i in r)if(Qv.includes(i))return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}const n=typeof t=="string"?Object.assign({query:t},r):t,o=Object.keys(n).reduce((i,a)=>Kv.includes(a)?(i[a]=n[a],i):(i.variables||(i.variables={}),i.variables[a]=n[a],i),{}),s=n.baseUrl||e.endpoint.DEFAULTS.baseUrl;return yc.test(s)&&(o.url=s.replace(yc,"/api/graphql")),e(o).then(i=>{if(i.data.errors){const a={};for(const l of Object.keys(i.headers))a[l]=i.headers[l];throw new Vv(o,a,i.data)}return i.data.data})}function El(e,t){const r=e.defaults(t);return Object.assign((o,s)=>Yv(r,o,s),{defaults:El.bind(null,r),endpoint:r.endpoint})}El(Ee,{headers:{"user-agent":`octokit-graphql.js/${qv} ${zt()}`},method:"POST",url:"/graphql"});function Xv(e){return El(e,{method:"POST",url:"/graphql"})}var Jv=/^v1\./,Zv=/^ghs_/,e0=/^ghu_/;async function t0(e){const t=e.split(/\./).length===3,r=Jv.test(e)||Zv.test(e),n=e0.test(e);return{type:"token",token:e,tokenType:t?"app":r?"installation":n?"user-to-server":"oauth"}}function r0(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function n0(e,t,r,n){const o=t.endpoint.merge(r,n);return o.headers.authorization=r0(e),t(o)}var o0=function(t){if(!t)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof t!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return t=t.replace(/^(token|bearer) +/i,""),Object.assign(t0.bind(null,t),{hook:n0.bind(null,t)})},yh="5.2.0",vc=()=>{},s0=console.warn.bind(console),i0=console.error.bind(console),wc=`octokit-core.js/${yh} ${zt()}`,tr,vh=(tr=class{static defaults(t){return class extends this{constructor(...n){const o=n[0]||{};if(typeof t=="function"){super(t(o));return}super(Object.assign({},t,o,o.userAgent&&t.userAgent?{userAgent:`${o.userAgent} ${t.userAgent}`}:null))}}}static plugin(...t){var o;const r=this.plugins;return o=class extends this{},o.plugins=r.concat(t.filter(i=>!r.includes(i))),o}constructor(t={}){const r=new _v,n={baseUrl:Ee.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=t.userAgent?`${t.userAgent} ${wc}`:wc,t.baseUrl&&(n.baseUrl=t.baseUrl),t.previews&&(n.mediaType.previews=t.previews),t.timeZone&&(n.headers["time-zone"]=t.timeZone),this.request=Ee.defaults(n),this.graphql=Xv(this.request).defaults(n),this.log=Object.assign({debug:vc,info:vc,warn:s0,error:i0},t.log),this.hook=r,t.authStrategy){const{authStrategy:s,...i}=t,a=s(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:i},t.auth));r.wrap("request",a.hook),this.auth=a}else if(!t.auth)this.auth=async()=>({type:"unauthenticated"});else{const s=o0(t.auth);r.wrap("request",s.hook),this.auth=s}const o=this.constructor;for(let s=0;s<o.plugins.length;++s)Object.assign(this,o.plugins[s](this,t))}},tr.VERSION=yh,tr.plugins=[],tr);const a0=Object.freeze(Object.defineProperty({__proto__:null,Octokit:vh},Symbol.toStringTag,{value:"Module"}));var l0="11.3.1";function u0(e){if(!e.data)return{...e,data:[]};if(!("total_count"in e.data&&!("url"in e.data)))return e;const r=e.data.incomplete_results,n=e.data.repository_selection,o=e.data.total_count;delete e.data.incomplete_results,delete e.data.repository_selection,delete e.data.total_count;const s=Object.keys(e.data)[0],i=e.data[s];return e.data=i,typeof r<"u"&&(e.data.incomplete_results=r),typeof n<"u"&&(e.data.repository_selection=n),e.data.total_count=o,e}function xl(e,t,r){const n=typeof t=="function"?t.endpoint(r):e.request.endpoint(t,r),o=typeof t=="function"?t:e.request,s=n.method,i=n.headers;let a=n.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!a)return{done:!0};try{const l=await o({method:s,url:a,headers:i}),c=u0(l);return a=((c.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1],{value:c}}catch(l){if(l.status!==409)throw l;return a="",{value:{status:200,headers:{},data:[]}}}}})}}function wh(e,t,r,n){return typeof r=="function"&&(n=r,r=void 0),Eh(e,[],xl(e,t,r)[Symbol.asyncIterator](),n)}function Eh(e,t,r,n){return r.next().then(o=>{if(o.done)return t;let s=!1;function i(){s=!0}return t=t.concat(n?n(o.value,i):o.value.data),s?t:Eh(e,t,r,n)})}Object.assign(wh,{iterator:xl});function xh(e){return{paginate:Object.assign(wh.bind(null,e),{iterator:xl.bind(null,e)})}}xh.VERSION=l0;var c0=(e,t)=>`The cursor at "${e.join(",")}" did not change its value "${t}" after a page transition. Please make sure your that your query is set up correctly.`,d0=class extends Error{constructor(e,t){super(c0(e.pathInQuery,t)),this.pageInfo=e,this.cursorValue=t,this.name="MissingCursorChangeError",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},p0=class extends Error{constructor(e){super(`No pageInfo property found in response. Please make sure to specify the pageInfo in your query. Response-Data: ${JSON.stringify(e,null,2)}`),this.response=e,this.name="MissingPageInfo",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},h0=e=>Object.prototype.toString.call(e)==="[object Object]";function _h(e){const t=kh(e,"pageInfo");if(t.length===0)throw new p0(e);return t}var kh=(e,t,r=[])=>{for(const n of Object.keys(e)){const o=[...r,n],s=e[n];if(s.hasOwnProperty(t))return o;if(h0(s)){const i=kh(s,t,o);if(i.length>0)return i}}return[]},Sn=(e,t)=>t.reduce((r,n)=>r[n],e),vi=(e,t,r)=>{const n=t[t.length-1],o=[...t].slice(0,-1),s=Sn(e,o);typeof r=="function"?s[n]=r(s[n]):s[n]=r},f0=e=>{const t=_h(e);return{pathInQuery:t,pageInfo:Sn(e,[...t,"pageInfo"])}},Th=e=>e.hasOwnProperty("hasNextPage"),m0=e=>Th(e)?e.endCursor:e.startCursor,g0=e=>Th(e)?e.hasNextPage:e.hasPreviousPage,Sh=e=>(t,r={})=>{let n=!0,o={...r};return{[Symbol.asyncIterator]:()=>({async next(){if(!n)return{done:!0,value:{}};const s=await e.graphql(t,o),i=f0(s),a=m0(i.pageInfo);if(n=g0(i.pageInfo),n&&a===o.cursor)throw new d0(i,a);return o={...o,cursor:a},{done:!1,value:s}}})}},y0=(e,t)=>{if(Object.keys(e).length===0)return Object.assign(e,t);const r=_h(e),n=[...r,"nodes"],o=Sn(t,n);o&&vi(e,n,l=>[...l,...o]);const s=[...r,"edges"],i=Sn(t,s);i&&vi(e,s,l=>[...l,...i]);const a=[...r,"pageInfo"];return vi(e,a,Sn(t,a)),e},v0=e=>{const t=Sh(e);return async(r,n={})=>{let o={};for await(const s of t(r,n))o=y0(o,s);return o}};function w0(e){return e.graphql,{graphql:Object.assign(e.graphql,{paginate:Object.assign(v0(e),{iterator:Sh(e)})})}}var E0="13.2.2",x0={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repos/{owner}/{repo}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repos/{owner}/{repo}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"],usageMetricsForEnterprise:["GET /enterprises/{enterprise}/copilot/usage"],usageMetricsForOrg:["GET /orgs/{org}/copilot/usage"],usageMetricsForTeam:["GET /orgs/{org}/team/{team_slug}/copilot/usage"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkPrivateVulnerabilityReporting:["GET /repos/{owner}/{repo}/private-vulnerability-reporting"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}},_0=x0,er=new Map;for(const[e,t]of Object.entries(_0))for(const[r,n]of Object.entries(t)){const[o,s,i]=n,[a,l]=o.split(/ /),c=Object.assign({method:a,url:l},s);er.has(e)||er.set(e,new Map),er.get(e).set(r,{scope:e,methodName:r,endpointDefaults:c,decorations:i})}var k0={has({scope:e},t){return er.get(e).has(t)},getOwnPropertyDescriptor(e,t){return{value:this.get(e,t),configurable:!0,writable:!0,enumerable:!0}},defineProperty(e,t,r){return Object.defineProperty(e.cache,t,r),!0},deleteProperty(e,t){return delete e.cache[t],!0},ownKeys({scope:e}){return[...er.get(e).keys()]},set(e,t,r){return e.cache[t]=r},get({octokit:e,scope:t,cache:r},n){if(r[n])return r[n];const o=er.get(t).get(n);if(!o)return;const{endpointDefaults:s,decorations:i}=o;return i?r[n]=S0(e,t,n,s,i):r[n]=e.request.defaults(s),r[n]}};function T0(e){const t={};for(const r of er.keys())t[r]=new Proxy({octokit:e,scope:r,cache:{}},k0);return t}function S0(e,t,r,n,o){const s=e.request.defaults(n);function i(...a){let l=s.endpoint.merge(...a);if(o.mapToData)return l=Object.assign({},l,{data:l[o.mapToData],[o.mapToData]:void 0}),s(l);if(o.renamed){const[c,g]=o.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${c}.${g}()`)}if(o.deprecated&&e.log.warn(o.deprecated),o.renamedParameters){const c=s.endpoint.merge(...a);for(const[g,h]of Object.entries(o.renamedParameters))g in c&&(e.log.warn(`"${g}" parameter is deprecated for "octokit.${t}.${r}()". Use "${h}" instead`),h in c||(c[h]=c[g]),delete c[g]);return s(c)}return s(...a)}return Object.assign(i,s)}function bh(e){return{rest:T0(e)}}bh.VERSION=E0;var Ph={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Us,function(){var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Us<"u"?Us:typeof self<"u"?self:{};function n(D){return D&&D.default||D}var o=function(D,v,d={}){var w,E,k;for(w in v)k=v[w],d[w]=(E=D[w])!=null?E:k;return d},s=function(D,v,d={}){var w,E;for(w in D)E=D[w],v[w]!==void 0&&(d[w]=E);return d},i={load:o,overwrite:s},a;a=class{constructor(v,d){this.incr=v,this.decr=d,this._first=null,this._last=null,this.length=0}push(v){var d;this.length++,typeof this.incr=="function"&&this.incr(),d={value:v,prev:this._last,next:null},this._last!=null?(this._last.next=d,this._last=d):this._first=this._last=d}shift(){var v;if(this._first!=null)return this.length--,typeof this.decr=="function"&&this.decr(),v=this._first.value,(this._first=this._first.next)!=null?this._first.prev=null:this._last=null,v}first(){if(this._first!=null)return this._first.value}getArray(){var v,d,w;for(v=this._first,w=[];v!=null;)w.push((d=v,v=v.next,d.value));return w}forEachShift(v){var d;for(d=this.shift();d!=null;)v(d),d=this.shift()}debug(){var v,d,w,E,k;for(v=this._first,k=[];v!=null;)k.push((d=v,v=v.next,{value:d.value,prev:(w=d.prev)!=null?w.value:void 0,next:(E=d.next)!=null?E.value:void 0}));return k}};var l=a,c;c=class{constructor(v){if(this.instance=v,this._events={},this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null)throw new Error("An Emitter already exists for this object");this.instance.on=(d,w)=>this._addListener(d,"many",w),this.instance.once=(d,w)=>this._addListener(d,"once",w),this.instance.removeAllListeners=(d=null)=>d!=null?delete this._events[d]:this._events={}}_addListener(v,d,w){var E;return(E=this._events)[v]==null&&(E[v]=[]),this._events[v].push({cb:w,status:d}),this.instance}listenerCount(v){return this._events[v]!=null?this._events[v].length:0}async trigger(v,...d){var w,E;try{return v!=="debug"&&this.trigger("debug",`Event triggered: ${v}`,d),this._events[v]==null?void 0:(this._events[v]=this._events[v].filter(function(k){return k.status!=="none"}),E=this._events[v].map(async k=>{var O,G;if(k.status!=="none"){k.status==="once"&&(k.status="none");try{return G=typeof k.cb=="function"?k.cb(...d):void 0,typeof(G!=null?G.then:void 0)=="function"?await G:G}catch(B){return O=B,this.trigger("error",O),null}}}),(await Promise.all(E)).find(function(k){return k!=null}))}catch(k){return w=k,this.trigger("error",w),null}}};var g=c,h,y,x;h=l,y=g,x=class{constructor(v){this.Events=new y(this),this._length=0,this._lists=(function(){var d,w,E;for(E=[],d=1,w=v;1<=w?d<=w:d>=w;1<=w?++d:--d)E.push(new h(()=>this.incr(),()=>this.decr()));return E}).call(this)}incr(){if(this._length++===0)return this.Events.trigger("leftzero")}decr(){if(--this._length===0)return this.Events.trigger("zero")}push(v){return this._lists[v.options.priority].push(v)}queued(v){return v!=null?this._lists[v].length:this._length}shiftAll(v){return this._lists.forEach(function(d){return d.forEachShift(v)})}getFirst(v=this._lists){var d,w,E;for(d=0,w=v.length;d<w;d++)if(E=v[d],E.length>0)return E;return[]}shiftLastFrom(v){return this.getFirst(this._lists.slice(v).reverse()).shift()}};var S=x,T;T=class extends Error{};var P=T,f,p,m,_,R;_=10,p=5,R=i,f=P,m=class{constructor(v,d,w,E,k,O,G,B){this.task=v,this.args=d,this.rejectOnDrop=k,this.Events=O,this._states=G,this.Promise=B,this.options=R.load(w,E),this.options.priority=this._sanitizePriority(this.options.priority),this.options.id===E.id&&(this.options.id=`${this.options.id}-${this._randomIndex()}`),this.promise=new this.Promise((de,me)=>{this._resolve=de,this._reject=me}),this.retryCount=0}_sanitizePriority(v){var d;return d=~~v!==v?p:v,d<0?0:d>_-1?_-1:d}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:v,message:d="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(v??new f(d)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(v){var d;if(d=this._states.jobStatus(this.options.id),!(d===v||v==="DONE"&&d===null))throw new f(`Invalid job status ${d}, expected ${v}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}doReceive(){return this._states.start(this.options.id),this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(v,d){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:v,blocked:d})}doRun(){return this.retryCount===0?(this._assertStatus("QUEUED"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(v,d,w,E){var k,O,G;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),O={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",O);try{if(G=await(v!=null?v.schedule(this.options,this.task,...this.args):this.task(...this.args)),d())return this.doDone(O),await E(this.options,O),this._assertStatus("DONE"),this._resolve(G)}catch(B){return k=B,this._onFailure(k,O,d,w,E)}}doExpire(v,d,w){var E,k;return this._states.jobStatus(this.options.id==="RUNNING")&&this._states.next(this.options.id),this._assertStatus("EXECUTING"),k={args:this.args,options:this.options,retryCount:this.retryCount},E=new f(`This job timed out after ${this.options.expiration} ms.`),this._onFailure(E,k,v,d,w)}async _onFailure(v,d,w,E,k){var O,G;if(w())return O=await this.Events.trigger("failed",v,d),O!=null?(G=~~O,this.Events.trigger("retry",`Retrying ${this.options.id} after ${G} ms`,d),this.retryCount++,E(G)):(this.doDone(d),await k(this.options,d),this._assertStatus("DONE"),this._reject(v))}doDone(v){return this._assertStatus("EXECUTING"),this._states.next(this.options.id),this.Events.trigger("done",v)}};var C=m,F,U,W;W=i,F=P,U=class{constructor(v,d,w){this.instance=v,this.storeOptions=d,this.clientId=this.instance._randomIndex(),W.load(w,w,this),this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now(),this._running=0,this._done=0,this._unblockTime=0,this.ready=this.Promise.resolve(),this.clients={},this._startHeartbeat()}_startHeartbeat(){var v;return this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)?typeof(v=this.heartbeat=setInterval(()=>{var d,w,E,k,O;if(k=Date.now(),this.storeOptions.reservoirRefreshInterval!=null&&k>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval&&(this._lastReservoirRefresh=k,this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount,this.instance._drainAll(this.computeCapacity())),this.storeOptions.reservoirIncreaseInterval!=null&&k>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval&&({reservoirIncreaseAmount:d,reservoirIncreaseMaximum:E,reservoir:O}=this.storeOptions,this._lastReservoirIncrease=k,w=E!=null?Math.min(d,E-O):d,w>0))return this.storeOptions.reservoir+=w,this.instance._drainAll(this.computeCapacity())},this.heartbeatInterval)).unref=="function"?v.unref():void 0:clearInterval(this.heartbeat)}async __publish__(v){return await this.yieldLoop(),this.instance.Events.trigger("message",v.toString())}async __disconnect__(v){return await this.yieldLoop(),clearInterval(this.heartbeat),this.Promise.resolve()}yieldLoop(v=0){return new this.Promise(function(d,w){return setTimeout(d,v)})}computePenalty(){var v;return(v=this.storeOptions.penalty)!=null?v:15*this.storeOptions.minTime||5e3}async __updateSettings__(v){return await this.yieldLoop(),W.overwrite(v,v,this.storeOptions),this._startHeartbeat(),this.instance._drainAll(this.computeCapacity()),!0}async __running__(){return await this.yieldLoop(),this._running}async __queued__(){return await this.yieldLoop(),this.instance.queued()}async __done__(){return await this.yieldLoop(),this._done}async __groupCheck__(v){return await this.yieldLoop(),this._nextRequest+this.timeout<v}computeCapacity(){var v,d;return{maxConcurrent:v,reservoir:d}=this.storeOptions,v!=null&&d!=null?Math.min(v-this._running,d):v!=null?v-this._running:d??null}conditionsCheck(v){var d;return d=this.computeCapacity(),d==null||v<=d}async __incrementReservoir__(v){var d;return await this.yieldLoop(),d=this.storeOptions.reservoir+=v,this.instance._drainAll(this.computeCapacity()),d}async __currentReservoir__(){return await this.yieldLoop(),this.storeOptions.reservoir}isBlocked(v){return this._unblockTime>=v}check(v,d){return this.conditionsCheck(v)&&this._nextRequest-d<=0}async __check__(v){var d;return await this.yieldLoop(),d=Date.now(),this.check(v,d)}async __register__(v,d,w){var E,k;return await this.yieldLoop(),E=Date.now(),this.conditionsCheck(d)?(this._running+=d,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=d),k=Math.max(this._nextRequest-E,0),this._nextRequest=E+k+this.storeOptions.minTime,{success:!0,wait:k,reservoir:this.storeOptions.reservoir}):{success:!1}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(v,d){var w,E,k;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&d>this.storeOptions.maxConcurrent)throw new F(`Impossible to add a job having a weight of ${d} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`);return E=Date.now(),k=this.storeOptions.highWater!=null&&v===this.storeOptions.highWater&&!this.check(d,E),w=this.strategyIsBlock()&&(k||this.isBlocked(E)),w&&(this._unblockTime=E+this.computePenalty(),this._nextRequest=this._unblockTime+this.storeOptions.minTime,this.instance._dropAllQueued()),{reachedHWM:k,blocked:w,strategy:this.storeOptions.strategy}}async __free__(v,d){return await this.yieldLoop(),this._running-=d,this._done+=d,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var z=U,Se,gt;Se=P,gt=class{constructor(v){this.status=v,this._jobs={},this.counts=this.status.map(function(){return 0})}next(v){var d,w;if(d=this._jobs[v],w=d+1,d!=null&&w<this.status.length)return this.counts[d]--,this.counts[w]++,this._jobs[v]++;if(d!=null)return this.counts[d]--,delete this._jobs[v]}start(v){var d;return d=0,this._jobs[v]=d,this.counts[d]++}remove(v){var d;return d=this._jobs[v],d!=null&&(this.counts[d]--,delete this._jobs[v]),d!=null}jobStatus(v){var d;return(d=this.status[this._jobs[v]])!=null?d:null}statusJobs(v){var d,w,E,k,O;if(v!=null){if(w=this.status.indexOf(v),w<0)throw new Se(`status must be one of ${this.status.join(", ")}`);E=this._jobs,k=[];for(d in E)O=E[d],O===w&&k.push(d);return k}else return Object.keys(this._jobs)}statusCounts(){return this.counts.reduce((v,d,w)=>(v[this.status[w]]=d,v),{})}};var Bt=gt,Jr,Zn;Jr=l,Zn=class{constructor(v,d){this.schedule=this.schedule.bind(this),this.name=v,this.Promise=d,this._running=0,this._queue=new Jr}isEmpty(){return this._queue.length===0}async _tryToRun(){var v,d,w,E,k,O,G;if(this._running<1&&this._queue.length>0)return this._running++,{task:G,args:v,resolve:k,reject:E}=this._queue.shift(),d=await async function(){try{return O=await G(...v),function(){return k(O)}}catch(B){return w=B,function(){return E(w)}}}(),this._running--,this._tryToRun(),d()}schedule(v,...d){var w,E,k;return k=E=null,w=new this.Promise(function(O,G){return k=O,E=G}),this._queue.push({task:v,args:d,resolve:k,reject:E}),this._tryToRun(),w}};var Zr=Zn,hr="2.19.5",A={version:hr},L=Object.freeze({version:hr,default:A}),I=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Y=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),oe=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Ht,Ye,fr,Xe,qt,eo;eo=i,Ht=g,Xe=I,fr=Y,qt=oe,Ye=(function(){class D{constructor(d={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=d,eo.load(this.limiterOptions,this.defaults,this),this.Events=new Ht(this),this.instances={},this.Bottleneck=Fl,this._startAutoCleanup(),this.sharedConnection=this.connection!=null,this.connection==null&&(this.limiterOptions.datastore==="redis"?this.connection=new Xe(Object.assign({},this.limiterOptions,{Events:this.Events})):this.limiterOptions.datastore==="ioredis"&&(this.connection=new fr(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(d=""){var w;return(w=this.instances[d])!=null?w:(()=>{var E;return E=this.instances[d]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${d}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",E,d),E})()}async deleteKey(d=""){var w,E;return E=this.instances[d],this.connection&&(w=await this.connection.__runCommand__(["del",...qt.allKeys(`${this.id}-${d}`)])),E!=null&&(delete this.instances[d],await E.disconnect()),E!=null||w>0}limiters(){var d,w,E,k;w=this.instances,E=[];for(d in w)k=w[d],E.push({key:d,limiter:k});return E}keys(){return Object.keys(this.instances)}async clusterKeys(){var d,w,E,k,O,G,B,de,me;if(this.connection==null)return this.Promise.resolve(this.keys());for(G=[],d=null,me=`b_${this.id}-`.length,w=9;d!==0;)for([de,E]=await this.connection.__runCommand__(["scan",d??0,"match",`b_${this.id}-*_settings`,"count",1e4]),d=~~de,k=0,B=E.length;k<B;k++)O=E[k],G.push(O.slice(me,-w));return G}_startAutoCleanup(){var d;return clearInterval(this.interval),typeof(d=this.interval=setInterval(async()=>{var w,E,k,O,G,B;G=Date.now(),k=this.instances,O=[];for(E in k){B=k[E];try{await B._store.__groupCheck__(G)?O.push(this.deleteKey(E)):O.push(void 0)}catch(de){w=de,O.push(B.Events.trigger("error",w))}}return O},this.timeout/2)).unref=="function"?d.unref():void 0}updateSettings(d={}){if(eo.overwrite(d,this.defaults,this),eo.overwrite(d,d,this.limiterOptions),d.timeout!=null)return this._startAutoCleanup()}disconnect(d=!0){var w;if(!this.sharedConnection)return(w=this.connection)!=null?w.disconnect(d):void 0}}return D.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},D}).call(r);var Xh=Ye,Tl,Sl,bl;bl=i,Sl=g,Tl=(function(){class D{constructor(d={}){this.options=d,bl.load(this.options,this.defaults,this),this.Events=new Sl(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((d,w)=>this._resolve=d)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(d){var w;return this._arr.push(d),w=this._promise,this._arr.length===this.maxSize?this._flush():this.maxTime!=null&&this._arr.length===1&&(this._timeout=setTimeout(()=>this._flush(),this.maxTime)),w}}return D.prototype.defaults={maxTime:null,maxSize:null,Promise},D}).call(r);var Jh=Tl,Zh=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),ef=n(L),Pl,Ol,Ns,Fs,jl,Gs,Rl,Cl,Al,Ds,Je,Nl=[].splice;Gs=10,Ol=5,Je=i,Rl=S,Fs=C,jl=z,Cl=Zh,Ns=g,Al=Bt,Ds=Zr,Pl=(function(){class D{constructor(d={},...w){var E,k;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(d,w),Je.load(d,this.instanceDefaults,this),this._queues=new Rl(Gs),this._scheduled={},this._states=new Al(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new Ns(this),this._submitLock=new Ds("submit",this.Promise),this._registerLock=new Ds("register",this.Promise),k=Je.load(d,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return E=Je.load(d,this.redisStoreDefaults,{}),new Cl(this,k,E);if(this.datastore==="local")return E=Je.load(d,this.localStoreDefaults,{}),new jl(this,k,E);throw new D.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on("leftzero",()=>{var O;return(O=this._store.heartbeat)!=null&&typeof O.ref=="function"?O.ref():void 0}),this._queues.on("zero",()=>{var O;return(O=this._store.heartbeat)!=null&&typeof O.unref=="function"?O.unref():void 0})}_validateOptions(d,w){if(!(d!=null&&typeof d=="object"&&w.length===0))throw new D.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(d){return this._store.__publish__(d)}disconnect(d=!0){return this._store.__disconnect__(d)}chain(d){return this._limiter=d,this}queued(d){return this._queues.queued(d)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(d){return this._states.jobStatus(d)}jobs(d){return this._states.statusJobs(d)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(d=1){return this._store.__check__(d)}_clearGlobalState(d){return this._scheduled[d]!=null?(clearTimeout(this._scheduled[d].expiration),delete this._scheduled[d],!0):!1}async _free(d,w,E,k){var O,G;try{if({running:G}=await this._store.__free__(d,E.weight),this.Events.trigger("debug",`Freed ${E.id}`,k),G===0&&this.empty())return this.Events.trigger("idle")}catch(B){return O=B,this.Events.trigger("error",O)}}_run(d,w,E){var k,O,G;return w.doRun(),k=this._clearGlobalState.bind(this,d),G=this._run.bind(this,d,w),O=this._free.bind(this,d,w),this._scheduled[d]={timeout:setTimeout(()=>w.doExecute(this._limiter,k,G,O),E),expiration:w.options.expiration!=null?setTimeout(function(){return w.doExpire(k,G,O)},E+w.options.expiration):void 0,job:w}}_drainOne(d){return this._registerLock.schedule(()=>{var w,E,k,O,G;return this.queued()===0?this.Promise.resolve(null):(G=this._queues.getFirst(),{options:O,args:w}=k=G.first(),d!=null&&O.weight>d?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${O.id}`,{args:w,options:O}),E=this._randomIndex(),this._store.__register__(E,O.weight,O.expiration).then(({success:B,wait:de,reservoir:me})=>{var en;return this.Events.trigger("debug",`Drained ${O.id}`,{success:B,args:w,options:O}),B?(G.shift(),en=this.empty(),en&&this.Events.trigger("empty"),me===0&&this.Events.trigger("depleted",en),this._run(E,k,de),this.Promise.resolve(O.weight)):this.Promise.resolve(null)})))})}_drainAll(d,w=0){return this._drainOne(d).then(E=>{var k;return E!=null?(k=d!=null?d-E:d,this._drainAll(k,w+E)):this.Promise.resolve(w)}).catch(E=>this.Events.trigger("error",E))}_dropAllQueued(d){return this._queues.shiftAll(function(w){return w.doDrop({message:d})})}stop(d={}){var w,E;return d=Je.load(d,this.stopDefaults),E=k=>{var O;return O=()=>{var G;return G=this._states.counts,G[0]+G[1]+G[2]+G[3]===k},new this.Promise((G,B)=>O()?G():this.on("done",()=>{if(O())return this.removeAllListeners("done"),G()}))},w=d.dropWaitingJobs?(this._run=function(k,O){return O.doDrop({message:d.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var k,O,G;O=this._scheduled;for(k in O)G=O[k],this.jobStatus(G.job.options.id)==="RUNNING"&&(clearTimeout(G.timeout),clearTimeout(G.expiration),G.job.doDrop({message:d.dropErrorMessage}));return this._dropAllQueued(d.dropErrorMessage),E(0)}))):this.schedule({priority:Gs-1,weight:0},()=>E(1)),this._receive=function(k){return k._reject(new D.prototype.BottleneckError(d.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new D.prototype.BottleneckError("stop() has already been called")),w}async _addToQueue(d){var w,E,k,O,G,B,de;({args:w,options:O}=d);try{({reachedHWM:G,blocked:E,strategy:de}=await this._store.__submit__(this.queued(),O.weight))}catch(me){return k=me,this.Events.trigger("debug",`Could not queue ${O.id}`,{args:w,options:O,error:k}),d.doDrop({error:k}),!1}return E?(d.doDrop(),!0):G&&(B=de===D.prototype.strategy.LEAK?this._queues.shiftLastFrom(O.priority):de===D.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(O.priority+1):de===D.prototype.strategy.OVERFLOW?d:void 0,B!=null&&B.doDrop(),B==null||de===D.prototype.strategy.OVERFLOW)?(B==null&&d.doDrop(),G):(d.doQueue(G,E),this._queues.push(d),await this._drainAll(),G)}_receive(d){return this._states.jobStatus(d.options.id)!=null?(d._reject(new D.prototype.BottleneckError(`A job with the same id already exists (id=${d.options.id})`)),!1):(d.doReceive(),this._submitLock.schedule(this._addToQueue,d))}submit(...d){var w,E,k,O,G,B,de;return typeof d[0]=="function"?(G=d,[E,...d]=G,[w]=Nl.call(d,-1),O=Je.load({},this.jobDefaults)):(B=d,[O,E,...d]=B,[w]=Nl.call(d,-1),O=Je.load(O,this.jobDefaults)),de=(...me)=>new this.Promise(function(en,rf){return E(...me,function(...Gl){return(Gl[0]!=null?rf:en)(Gl)})}),k=new Fs(de,d,O,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),k.promise.then(function(me){return typeof w=="function"?w(...me):void 0}).catch(function(me){return Array.isArray(me)?typeof w=="function"?w(...me):void 0:typeof w=="function"?w(me):void 0}),this._receive(k)}schedule(...d){var w,E,k;return typeof d[0]=="function"?([k,...d]=d,E={}):[E,k,...d]=d,w=new Fs(k,d,E,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(w),w.promise}wrap(d){var w,E;return w=this.schedule.bind(this),E=function(...k){return w(d.bind(this),...k)},E.withOptions=function(k,...O){return w(k,d,...O)},E}async updateSettings(d={}){return await this._store.__updateSettings__(Je.overwrite(d,this.storeDefaults)),Je.overwrite(d,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(d=0){return this._store.__incrementReservoir__(d)}}return D.default=D,D.Events=Ns,D.version=D.prototype.version=ef.version,D.strategy=D.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},D.BottleneckError=D.prototype.BottleneckError=P,D.Group=D.prototype.Group=Xh,D.RedisConnection=D.prototype.RedisConnection=I,D.IORedisConnection=D.prototype.IORedisConnection=Y,D.Batcher=D.prototype.Batcher=Jh,D.prototype.jobDefaults={priority:Ol,weight:1,expiration:null,id:"<no-id>"},D.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:D.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null},D.prototype.localStoreDefaults={Promise,timeout:null,heartbeatInterval:250},D.prototype.redisStoreDefaults={Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:!1,connection:null},D.prototype.instanceDefaults={datastore:"local",connection:null,id:"<no-id>",rejectOnDrop:!0,trackDoneStatus:!1,Promise},D.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:!0,dropErrorMessage:"This limiter has been stopped."},D}).call(r);var Fl=Pl,tf=Fl;return tf})})(Ph);var b0=Ph.exports;const Oh=cs(b0);async function jh(e,t,r,n){if(!r.request||!r.request.request)throw r;if(r.status>=400&&!e.doNotRetry.includes(r.status)){const o=n.request.retries!=null?n.request.retries:e.retries,s=Math.pow((n.request.retryCount||0)+1,2);throw t.retry.retryRequest(r,o,s)}throw r}async function P0(e,t,r,n){const o=new Oh;return o.on("failed",function(s,i){const a=~~s.request.request.retries,l=~~s.request.request.retryAfter;if(n.request.retryCount=i.retryCount+1,a>i.retryCount)return l*e.retryAfterBaseValue}),o.schedule(O0.bind(null,e,t,r),n)}async function O0(e,t,r,n){const o=await r(r,n);if(o.data&&o.data.errors&&o.data.errors.length>0&&/Something went wrong while executing your query/.test(o.data.errors[0].message)){const s=new Kt(o.data.errors[0].message,500,{request:n,response:o});return jh(e,t,s,n)}return o}var j0="6.1.0";function Rh(e,t){const r=Object.assign({enabled:!0,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422,451],retries:3},t.retry);return r.enabled&&(e.hook.error("request",jh.bind(null,r,e)),e.hook.wrap("request",P0.bind(null,r,e))),{retry:{retryRequest:(n,o,s)=>(n.request.request=Object.assign({},n.request.request,{retries:o,retryAfter:s}),n)}}}Rh.VERSION=j0;var R0="8.2.0",wi=()=>Promise.resolve();function C0(e,t,r){return e.retryLimiter.schedule(A0,e,t,r)}async function A0(e,t,r){const n=r.method!=="GET"&&r.method!=="HEAD",{pathname:o}=new URL(r.url,"http://github.test"),s=r.method==="GET"&&o.startsWith("/search/"),i=o.startsWith("/graphql"),l=~~t.retryCount>0?{priority:0,weight:0}:{};e.clustering&&(l.expiration=1e3*60),(n||i)&&await e.write.key(e.id).schedule(l,wi),n&&e.triggersNotification(o)&&await e.notifications.key(e.id).schedule(l,wi),s&&await e.search.key(e.id).schedule(l,wi);const c=e.global.key(e.id).schedule(l,t,r);if(i){const g=await c;if(g.data.errors!=null&&g.data.errors.some(h=>h.type==="RATE_LIMITED"))throw Object.assign(new Error("GraphQL Rate Limit Exceeded"),{response:g,data:g.data})}return c}var N0=["/orgs/{org}/invitations","/orgs/{org}/invitations/{invitation_id}","/orgs/{org}/teams/{team_slug}/discussions","/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","/repos/{owner}/{repo}/collaborators/{username}","/repos/{owner}/{repo}/commits/{commit_sha}/comments","/repos/{owner}/{repo}/issues","/repos/{owner}/{repo}/issues/{issue_number}/comments","/repos/{owner}/{repo}/pulls","/repos/{owner}/{repo}/pulls/{pull_number}/comments","/repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies","/repos/{owner}/{repo}/pulls/{pull_number}/merge","/repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers","/repos/{owner}/{repo}/pulls/{pull_number}/reviews","/repos/{owner}/{repo}/releases","/teams/{team_id}/discussions","/teams/{team_id}/discussions/{discussion_number}/comments"];function F0(e){const r=`^(?:${e.map(n=>n.split("/").map(o=>o.startsWith("{")?"(?:.+?)":o).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(r,"i")}var Ec=F0(N0),Ch=Ec.test.bind(Ec),Ar={},G0=function(e,t){Ar.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),Ar.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),Ar.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),Ar.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function _l(e,t){const{enabled:r=!0,Bottleneck:n=Oh,id:o="no-id",timeout:s=1e3*60*2,connection:i}=t.throttle||{};if(!r)return{};const a={connection:i,timeout:s};Ar.global==null&&G0(n,a);const l=Object.assign({clustering:i!=null,triggersNotification:Ch,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:o,...Ar},t.throttle);if(typeof l.onSecondaryRateLimit!="function"||typeof l.onRateLimit!="function")throw new Error(`octokit/plugin-throttling error:
|
||
You must pass the onSecondaryRateLimit and onRateLimit error handlers.
|
||
See https://octokit.github.io/rest.js/#throttling
|
||
|
||
const octokit = new Octokit({
|
||
throttle: {
|
||
onSecondaryRateLimit: (retryAfter, options) => {/* ... */},
|
||
onRateLimit: (retryAfter, options) => {/* ... */}
|
||
}
|
||
})
|
||
`);const c={},g=new n.Events(c);return c.on("secondary-limit",l.onSecondaryRateLimit),c.on("rate-limit",l.onRateLimit),c.on("error",h=>e.log.warn("Error in throttling-plugin limit handler",h)),l.retryLimiter.on("failed",async function(h,y){const[x,S,T]=y.args,{pathname:P}=new URL(T.url,"http://github.test");if(!(P.startsWith("/graphql")&&h.status!==401||h.status===403))return;const p=~~S.retryCount;S.retryCount=p,T.request.retryCount=p;const{wantRetry:m,retryAfter:_=0}=await async function(){var R;if(/\bsecondary rate\b/i.test(h.message)){const C=Number(h.response.headers["retry-after"])||x.fallbackSecondaryRateRetryAfter;return{wantRetry:await g.trigger("secondary-limit",C,T,e,p),retryAfter:C}}if(h.response.headers!=null&&h.response.headers["x-ratelimit-remaining"]==="0"||(((R=h.response.data)==null?void 0:R.errors)??[]).some(C=>C.type==="RATE_LIMITED")){const C=new Date(~~h.response.headers["x-ratelimit-reset"]*1e3).getTime(),F=Math.max(Math.ceil((C-Date.now())/1e3)+1,0);return{wantRetry:await g.trigger("rate-limit",F,T,e,p),retryAfter:F}}return{}}();if(m)return S.retryCount++,_*x.retryAfterBaseValue}),e.hook.wrap("request",C0.bind(null,l)),{}}_l.VERSION=R0;_l.triggersNotification=Ch;const D0=Vr(hv);var U0=function(t){return btoa(t)};const $t=cs(U0),L0="4.1.0";function I0(e){const t=e.clientType||"oauth-app",r=e.baseUrl||"https://github.com",n={clientType:t,allowSignup:e.allowSignup!==!1,clientId:e.clientId,login:e.login||null,redirectUrl:e.redirectUrl||null,state:e.state||Math.random().toString(36).substr(2),url:""};if(t==="oauth-app"){const o="scopes"in e?e.scopes:[];n.scopes=typeof o=="string"?o.split(/[,\s]+/).filter(Boolean):o}return n.url=z0(`${r}/login/oauth/authorize`,n),n}function z0(e,t){const r={allowSignup:"allow_signup",clientId:"client_id",login:"login",redirectUrl:"redirect_uri",scopes:"scope",state:"state"};let n=e;return Object.keys(r).filter(o=>t[o]!==null).filter(o=>o!=="scopes"?!0:t.clientType==="github-app"?!1:!Array.isArray(t[o])||t[o].length>0).map(o=>[r[o],`${t[o]}`]).forEach(([o,s],i)=>{n+=i===0?"?":"&",n+=`${o}=${encodeURIComponent(s)}`}),n}function Ah(e){const t=e.endpoint.DEFAULTS;return/^https:\/\/(api\.)?github\.com$/.test(t.baseUrl)?"https://github.com":t.baseUrl.replace("/api/v3","")}async function js(e,t,r){const n={baseUrl:Ah(e),headers:{accept:"application/json"},...r},o=await e(t,n);if("error"in o.data){const s=new Kt(`${o.data.error_description} (${o.data.error}, ${o.data.error_uri})`,400,{request:e.endpoint.merge(t,n),headers:o.headers});throw s.response=o,s}return o}function $0({request:e=Ee,...t}){const r=Ah(e);return I0({...t,baseUrl:r})}async function Nh(e){const t=e.request||Ee,r=await js(t,"POST /login/oauth/access_token",{client_id:e.clientId,client_secret:e.clientSecret,code:e.code,redirect_uri:e.redirectUrl}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.data.access_token,scopes:r.data.scope.split(/\s+/).filter(Boolean)};if(e.clientType==="github-app"){if("refresh_token"in r.data){const o=new Date(r.headers.date).getTime();n.refreshToken=r.data.refresh_token,n.expiresAt=xc(o,r.data.expires_in),n.refreshTokenExpiresAt=xc(o,r.data.refresh_token_expires_in)}delete n.scopes}return{...r,authentication:n}}function xc(e,t){return new Date(e+t*1e3).toISOString()}async function Fh(e){const t=e.request||Ee,r={client_id:e.clientId};return"scopes"in e&&Array.isArray(e.scopes)&&(r.scope=e.scopes.join(" ")),js(t,"POST /login/device/code",r)}async function wa(e){const t=e.request||Ee,r=await js(t,"POST /login/oauth/access_token",{client_id:e.clientId,device_code:e.code,grant_type:"urn:ietf:params:oauth:grant-type:device_code"}),n={clientType:e.clientType,clientId:e.clientId,token:r.data.access_token,scopes:r.data.scope.split(/\s+/).filter(Boolean)};if("clientSecret"in e&&(n.clientSecret=e.clientSecret),e.clientType==="github-app"){if("refresh_token"in r.data){const o=new Date(r.headers.date).getTime();n.refreshToken=r.data.refresh_token,n.expiresAt=_c(o,r.data.expires_in),n.refreshTokenExpiresAt=_c(o,r.data.refresh_token_expires_in)}delete n.scopes}return{...r,authentication:n}}function _c(e,t){return new Date(e+t*1e3).toISOString()}async function Gh(e){const r=await(e.request||Ee)("POST /applications/{client_id}/token",{headers:{authorization:`basic ${$t(`${e.clientId}:${e.clientSecret}`)}`},client_id:e.clientId,access_token:e.token}),n={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.token,scopes:r.data.scopes};return r.data.expires_at&&(n.expiresAt=r.data.expires_at),e.clientType==="github-app"&&delete n.scopes,{...r,authentication:n}}async function Dh(e){const t=e.request||Ee,r=await js(t,"POST /login/oauth/access_token",{client_id:e.clientId,client_secret:e.clientSecret,grant_type:"refresh_token",refresh_token:e.refreshToken}),n=new Date(r.headers.date).getTime(),o={clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,token:r.data.access_token,refreshToken:r.data.refresh_token,expiresAt:kc(n,r.data.expires_in),refreshTokenExpiresAt:kc(n,r.data.refresh_token_expires_in)};return{...r,authentication:o}}function kc(e,t){return new Date(e+t*1e3).toISOString()}async function M0(e){const{request:t,clientType:r,clientId:n,clientSecret:o,token:s,...i}=e,l=await(t||Ee)("POST /applications/{client_id}/token/scoped",{headers:{authorization:`basic ${$t(`${n}:${o}`)}`},client_id:n,access_token:s,...i}),c=Object.assign({clientType:r,clientId:n,clientSecret:o,token:l.data.token},l.data.expires_at?{expiresAt:l.data.expires_at}:{});return{...l,authentication:c}}async function Uh(e){const t=e.request||Ee,r=$t(`${e.clientId}:${e.clientSecret}`),n=await t("PATCH /applications/{client_id}/token",{headers:{authorization:`basic ${r}`},client_id:e.clientId,access_token:e.token}),o={clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.data.token,scopes:n.data.scopes};return n.data.expires_at&&(o.expiresAt=n.data.expires_at),e.clientType==="github-app"&&delete o.scopes,{...n,authentication:o}}async function Lh(e){const t=e.request||Ee,r=$t(`${e.clientId}:${e.clientSecret}`);return t("DELETE /applications/{client_id}/token",{headers:{authorization:`basic ${r}`},client_id:e.clientId,access_token:e.token})}async function Ih(e){const t=e.request||Ee,r=$t(`${e.clientId}:${e.clientSecret}`);return t("DELETE /applications/{client_id}/grant",{headers:{authorization:`basic ${r}`},client_id:e.clientId,access_token:e.token})}const B0=Object.freeze(Object.defineProperty({__proto__:null,VERSION:L0,checkToken:Gh,createDeviceCode:Fh,deleteAuthorization:Ih,deleteToken:Lh,exchangeDeviceCode:wa,exchangeWebFlowCode:Nh,getWebFlowAuthorizationUrl:$0,refreshToken:Dh,resetToken:Uh,scopeToken:M0},Symbol.toStringTag,{value:"Module"}));async function zh(e,t){const r=H0(e,t.auth);if(r)return r;const{data:n}=await Fh({clientType:e.clientType,clientId:e.clientId,request:t.request||e.request,scopes:t.auth.scopes||e.scopes});await e.onVerification(n);const o=await Ea(t.request||e.request,e.clientId,e.clientType,n);return e.authentication=o,o}function H0(e,t){if(t.refresh===!0||!e.authentication)return!1;if(e.clientType==="github-app")return e.authentication;const r=e.authentication,n=("scopes"in t&&t.scopes||e.scopes).join(" "),o=r.scopes.join(" ");return n===o?r:!1}async function Tc(e){await new Promise(t=>setTimeout(t,e*1e3))}async function Ea(e,t,r,n){try{const o={clientId:t,request:e,code:n.device_code},{authentication:s}=r==="oauth-app"?await wa({...o,clientType:"oauth-app"}):await wa({...o,clientType:"github-app"});return{type:"token",tokenType:"oauth",...s}}catch(o){if(!o.response)throw o;const s=o.response.data.error;if(s==="authorization_pending")return await Tc(n.interval),Ea(e,t,r,n);if(s==="slow_down")return await Tc(n.interval+5),Ea(e,t,r,n);throw o}}async function q0(e,t){return zh(e,{auth:t})}async function W0(e,t,r,n){let o=t.endpoint.merge(r,n);if(/\/login\/(oauth\/access_token|device\/code)$/.test(o.url))return t(o);const{token:s}=await zh(e,{request:t,auth:{type:"oauth"}});return o.headers.authorization=`token ${s}`,t(o)}var V0="6.1.0";function K0(e){const t=e.request||Ee.defaults({headers:{"user-agent":`octokit-auth-oauth-device.js/${V0} ${zt()}`}}),{request:r=t,...n}=e,o=e.clientType==="github-app"?{...n,clientType:"github-app",request:r}:{...n,clientType:"oauth-app",request:r,scopes:e.scopes||[]};if(!e.clientId)throw new Error('[@octokit/auth-oauth-device] "clientId" option must be set (https://github.com/octokit/auth-oauth-device.js#usage)');if(!e.onVerification)throw new Error('[@octokit/auth-oauth-device] "onVerification" option must be a function (https://github.com/octokit/auth-oauth-device.js#usage)');return Object.assign(q0.bind(null,o),{hook:W0.bind(null,o)})}var $h="4.1.0";async function Sc(e){if("code"in e.strategyOptions){const{authentication:t}=await Nh({clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request});return{type:"token",tokenType:"oauth",...t}}if("onVerification"in e.strategyOptions){const r=await K0({clientType:e.clientType,clientId:e.clientId,onTokenCreated:e.onTokenCreated,...e.strategyOptions,request:e.request})({type:"oauth"});return{clientSecret:e.clientSecret,...r}}if("token"in e.strategyOptions)return{type:"token",tokenType:"oauth",clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,onTokenCreated:e.onTokenCreated,...e.strategyOptions};throw new Error("[@octokit/auth-oauth-user] Invalid strategy options")}async function xa(e,t={}){var n,o;if(e.authentication||(e.authentication=e.clientType==="oauth-app"?await Sc(e):await Sc(e)),e.authentication.invalid)throw new Error("[@octokit/auth-oauth-user] Token is invalid");const r=e.authentication;if("expiresAt"in r&&(t.type==="refresh"||new Date(r.expiresAt)<new Date)){const{authentication:s}=await Dh({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,refreshToken:r.refreshToken,request:e.request});e.authentication={tokenType:"oauth",type:"token",...s}}if(t.type==="refresh"){if(e.clientType==="oauth-app")throw new Error("[@octokit/auth-oauth-user] OAuth Apps do not support expiring tokens");if(!r.hasOwnProperty("expiresAt"))throw new Error("[@octokit/auth-oauth-user] Refresh token missing");await((n=e.onTokenCreated)==null?void 0:n.call(e,e.authentication,{type:t.type}))}if(t.type==="check"||t.type==="reset"){const s=t.type==="check"?Gh:Uh;try{const{authentication:i}=await s({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.authentication.token,request:e.request});return e.authentication={tokenType:"oauth",type:"token",...i},t.type==="reset"&&await((o=e.onTokenCreated)==null?void 0:o.call(e,e.authentication,{type:t.type})),e.authentication}catch(i){throw i.status===404&&(i.message="[@octokit/auth-oauth-user] Token is invalid",e.authentication.invalid=!0),i}}if(t.type==="delete"||t.type==="deleteAuthorization"){const s=t.type==="delete"?Lh:Ih;try{await s({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:e.authentication.token,request:e.request})}catch(i){if(i.status!==404)throw i}return e.authentication.invalid=!0,e.authentication}return e.authentication}var Q0=/\/applications\/[^/]+\/(token|grant)s?/;function kl(e){return e&&Q0.test(e)}async function Y0(e,t,r,n={}){const o=t.endpoint.merge(r,n);if(/\/login\/(oauth\/access_token|device\/code)$/.test(o.url))return t(o);if(kl(o.url)){const i=$t(`${e.clientId}:${e.clientSecret}`);return o.headers.authorization=`basic ${i}`,t(o)}const{token:s}=e.clientType==="oauth-app"?await xa({...e,request:t}):await xa({...e,request:t});return o.headers.authorization="token "+s,t(o)}function qn({clientId:e,clientSecret:t,clientType:r="oauth-app",request:n=Ee.defaults({headers:{"user-agent":`octokit-auth-oauth-app.js/${$h} ${zt()}`}}),onTokenCreated:o,...s}){const i=Object.assign({clientType:r,clientId:e,clientSecret:t,onTokenCreated:o,strategyOptions:s,request:n});return Object.assign(xa.bind(null,i),{hook:Y0.bind(null,i)})}qn.VERSION=$h;const X0=Object.freeze(Object.defineProperty({__proto__:null,createOAuthUserAuth:qn,requiresBasicAuth:kl},Symbol.toStringTag,{value:"Module"}));async function J0(e,t){if(t.type==="oauth-app")return{type:"oauth-app",clientId:e.clientId,clientSecret:e.clientSecret,clientType:e.clientType,headers:{authorization:`basic ${$t(`${e.clientId}:${e.clientSecret}`)}`}};if("factory"in t){const{type:o,...s}={...t,...e};return t.factory(s)}const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.request,...t};return(e.clientType==="oauth-app"?await qn({...r,clientType:e.clientType}):await qn({...r,clientType:e.clientType}))()}async function Z0(e,t,r,n){let o=t.endpoint.merge(r,n);if(/\/login\/(oauth\/access_token|device\/code)$/.test(o.url))return t(o);if(e.clientType==="github-app"&&!kl(o.url))throw new Error(`[@octokit/auth-oauth-app] GitHub Apps cannot use their client ID/secret for basic authentication for endpoints other than "/applications/{client_id}/**". "${o.method} ${o.url}" is not supported.`);const s=$t(`${e.clientId}:${e.clientSecret}`);o.headers.authorization=`basic ${s}`;try{return await t(o)}catch(i){throw i.status!==401||(i.message=`[@octokit/auth-oauth-app] "${o.method} ${o.url}" does not support clientId/clientSecret basic authentication.`),i}}var ew="7.1.0";function tw(e){const t=Object.assign({request:Ee.defaults({headers:{"user-agent":`octokit-auth-oauth-app.js/${ew} ${zt()}`}}),clientType:"oauth-app"},e);return Object.assign(J0.bind(null,t),{hook:Z0.bind(null,t)})}const rw=Object.freeze(Object.defineProperty({__proto__:null,createOAuthAppAuth:tw,createOAuthUserAuth:qn},Symbol.toStringTag,{value:"Module"})),Mh=Vr(rw),Rs=Vr(X0),nw=Vr(a0),pr=Vr(B0);async function ow(e){return{type:"unauthenticated",reason:e}}function sw(e){return e.status!==403||!e.response?!1:e.response.headers["x-ratelimit-remaining"]==="0"}var iw=/\babuse\b/i;function aw(e){return e.status!==403?!1:iw.test(e.message)}async function lw(e,t,r,n){const o=t.endpoint.merge(r,n);return t(o).catch(s=>{throw s.status===404?(s.message=`Not found. May be due to lack of authentication. Reason: ${e}`,s):sw(s)?(s.message=`API rate limit exceeded. This maybe caused by the lack of authentication. Reason: ${e}`,s):aw(s)?(s.message=`You have triggered an abuse detection mechanism. This maybe caused by the lack of authentication. Reason: ${e}`,s):s.status===401?(s.message=`Unauthorized. "${o.method} ${o.url}" failed most likely due to lack of authentication. Reason: ${e}`,s):(s.status>=400&&s.status<500&&(s.message=s.message.replace(/\.?$/,`. May be caused by lack of authentication (${e}).`)),s)})}var uw=function(t){if(!t||!t.reason)throw new Error("[@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth");return Object.assign(ow.bind(null,t.reason),{hook:lw.bind(null,t.reason)})};const cw=Object.freeze(Object.defineProperty({__proto__:null,createUnauthenticatedAuth:uw},Symbol.toStringTag,{value:"Module"})),Bh=Vr(cw);var dw=Object.create,Cs=Object.defineProperty,pw=Object.getOwnPropertyDescriptor,hw=Object.getOwnPropertyNames,fw=Object.getPrototypeOf,mw=Object.prototype.hasOwnProperty,gw=(e,t)=>{for(var r in t)Cs(e,r,{get:t[r],enumerable:!0})},Hh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of hw(t))!mw.call(e,o)&&o!==r&&Cs(e,o,{get:()=>t[o],enumerable:!(n=pw(t,o))||n.enumerable});return e},Mt=(e,t,r)=>(r=e!=null?dw(fw(e)):{},Hh(!e||!e.__esModule?Cs(r,"default",{value:e,enumerable:!0}):r,e)),yw=e=>Hh(Cs({},"__esModule",{value:!0}),e),qh={};gw(qh,{OAuthApp:()=>Qw,createAWSLambdaAPIGatewayV2Handler:()=>Kw,createNodeMiddleware:()=>Mw,createWebWorkerHandler:()=>qw,handleRequest:()=>As,sendNodeResponse:()=>Qh,unknownRouteResponse:()=>Kh});var vw=yw(qh),ww=Mh,Wh="6.1.0";function Vh(e,t,r){if(Array.isArray(t)){for(const n of t)Vh(e,n,r);return}e.eventHandlers[t]||(e.eventHandlers[t]=[]),e.eventHandlers[t].push(r)}var Ew=nw,xw=D0,_w=Ew.Octokit.defaults({userAgent:`octokit-oauth-app.js/${Wh} ${(0,xw.getUserAgent)()}`}),kw=Rs;async function ft(e,t){const{name:r,action:n}=t;if(e.eventHandlers[`${r}.${n}`])for(const o of e.eventHandlers[`${r}.${n}`])await o(t);if(e.eventHandlers[r])for(const o of e.eventHandlers[r])await o(t)}async function Tw(e,t){return e.octokit.auth({type:"oauth-user",...t,async factory(r){const n=new e.Octokit({authStrategy:kw.createOAuthUserAuth,auth:r}),o=await n.auth({type:"get"});return await ft(e,{name:"token",action:"created",token:o.token,scopes:o.scopes,authentication:o,octokit:n}),n}})}var Sw=Mt(pr);function bw(e,t){const r={clientId:e.clientId,request:e.octokit.request,...t,allowSignup:e.allowSignup??t.allowSignup,redirectUrl:t.redirectUrl??e.redirectUrl,scopes:t.scopes??e.defaultScopes};return Sw.getWebFlowAuthorizationUrl({clientType:e.clientType,...r})}var Pw=Mt(Mh);async function Ow(e,t){const r=await e.octokit.auth({type:"oauth-user",...t});return await ft(e,{name:"token",action:"created",token:r.token,scopes:r.scopes,authentication:r,octokit:new e.Octokit({authStrategy:Pw.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.token,scopes:r.scopes,refreshToken:r.refreshToken,expiresAt:r.expiresAt,refreshTokenExpiresAt:r.refreshTokenExpiresAt}})}),{authentication:r}}var jw=Mt(pr);async function Rw(e,t){const r=await jw.checkToken({clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t});return Object.assign(r.authentication,{type:"token",tokenType:"oauth"}),r}var bc=Mt(pr),Pc=Rs;async function Cw(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t};if(e.clientType==="oauth-app"){const s=await bc.resetToken({clientType:"oauth-app",...r}),i=Object.assign(s.authentication,{type:"token",tokenType:"oauth"});return await ft(e,{name:"token",action:"reset",token:s.authentication.token,scopes:s.authentication.scopes||void 0,authentication:i,octokit:new e.Octokit({authStrategy:Pc.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:s.authentication.token,scopes:s.authentication.scopes}})}),{...s,authentication:i}}const n=await bc.resetToken({clientType:"github-app",...r}),o=Object.assign(n.authentication,{type:"token",tokenType:"oauth"});return await ft(e,{name:"token",action:"reset",token:n.authentication.token,authentication:o,octokit:new e.Octokit({authStrategy:Pc.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:o}}var Aw=Mt(pr),Nw=Rs;async function Fw(e,t){if(e.clientType==="oauth-app")throw new Error("[@octokit/oauth-app] app.refreshToken() is not supported for OAuth Apps");const r=await Aw.refreshToken({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,refreshToken:t.refreshToken}),n=Object.assign(r.authentication,{type:"token",tokenType:"oauth"});return await ft(e,{name:"token",action:"refreshed",token:r.authentication.token,authentication:n,octokit:new e.Octokit({authStrategy:Nw.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:n}}var Gw=Mt(pr),Dw=Rs;async function Uw(e,t){if(e.clientType==="oauth-app")throw new Error("[@octokit/oauth-app] app.scopeToken() is not supported for OAuth Apps");const r=await Gw.scopeToken({clientType:"github-app",clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t}),n=Object.assign(r.authentication,{type:"token",tokenType:"oauth"});return await ft(e,{name:"token",action:"scoped",token:r.authentication.token,authentication:n,octokit:new e.Octokit({authStrategy:Dw.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:n}}var Oc=Mt(pr),Lw=Bh;async function Iw(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},n=e.clientType==="oauth-app"?await Oc.deleteToken({clientType:"oauth-app",...r}):await Oc.deleteToken({clientType:"github-app",...r});return await ft(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:Lw.createUnauthenticatedAuth,auth:{reason:'Handling "token.deleted" event. The access for the token has been revoked.'}})}),n}var jc=Mt(pr),Rc=Bh;async function zw(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},n=e.clientType==="oauth-app"?await jc.deleteAuthorization({clientType:"oauth-app",...r}):await jc.deleteAuthorization({clientType:"github-app",...r});return await ft(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:Rc.createUnauthenticatedAuth,auth:{reason:'Handling "token.deleted" event. The access for the token has been revoked.'}})}),await ft(e,{name:"authorization",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:Rc.createUnauthenticatedAuth,auth:{reason:'Handling "authorization.deleted" event. The access for the app has been revoked.'}})}),n}function Kh(e){return{status:404,headers:{"content-type":"application/json"},text:JSON.stringify({error:`Unknown route: ${e.method} ${e.url}`})}}async function As(e,{pathPrefix:t="/api/github/oauth"},r){var g,h,y,x,S,T;if(r.method==="OPTIONS")return{status:200,headers:{"access-control-allow-origin":"*","access-control-allow-methods":"*","access-control-allow-headers":"Content-Type, User-Agent, Authorization"}};let{pathname:n}=new URL(r.url,"http://localhost");if(!n.startsWith(`${t}/`))return;n=n.slice(t.length+1);const o=[r.method,n].join(" "),s={getLogin:"GET login",getCallback:"GET callback",createToken:"POST token",getToken:"GET token",patchToken:"PATCH token",patchRefreshToken:"PATCH refresh-token",scopeToken:"POST token/scoped",deleteToken:"DELETE token",deleteGrant:"DELETE grant"};if(!Object.values(s).includes(o))return Kh(r);let i;try{const P=await r.text();i=P?JSON.parse(P):{}}catch{return{status:400,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify({error:"[@octokit/oauth-app] request error"})}}const{searchParams:a}=new URL(r.url,"http://localhost"),l=Object.fromEntries(a),c=r.headers;try{if(o===s.getLogin){const{url:f}=e.getWebFlowAuthorizationUrl({state:l.state,scopes:l.scopes?l.scopes.split(","):void 0,allowSignup:l.allowSignup?l.allowSignup==="true":void 0,redirectUrl:l.redirectUrl});return{status:302,headers:{location:f}}}if(o===s.getCallback){if(l.error)throw new Error(`[@octokit/oauth-app] ${l.error} ${l.error_description}`);if(!l.code)throw new Error('[@octokit/oauth-app] "code" parameter is required');const{authentication:{token:f}}=await e.createToken({code:l.code});return{status:200,headers:{"content-type":"text/html"},text:`<h1>Token created successfully</h1>
|
||
|
||
<p>Your token is: <strong>${f}</strong>. Copy it now as it cannot be shown again.</p>`}}if(o===s.createToken){const{code:f,redirectUrl:p}=i;if(!f)throw new Error('[@octokit/oauth-app] "code" parameter is required');const m=await e.createToken({code:f,redirectUrl:p});return delete m.authentication.clientSecret,{status:201,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(m)}}if(o===s.getToken){const f=(g=c.authorization)==null?void 0:g.substr(6);if(!f)throw new Error('[@octokit/oauth-app] "Authorization" header is required');const p=await e.checkToken({token:f});return delete p.authentication.clientSecret,{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(p)}}if(o===s.patchToken){const f=(h=c.authorization)==null?void 0:h.substr(6);if(!f)throw new Error('[@octokit/oauth-app] "Authorization" header is required');const p=await e.resetToken({token:f});return delete p.authentication.clientSecret,{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(p)}}if(o===s.patchRefreshToken){if(!((y=c.authorization)==null?void 0:y.substr(6)))throw new Error('[@octokit/oauth-app] "Authorization" header is required');const{refreshToken:p}=i;if(!p)throw new Error("[@octokit/oauth-app] refreshToken must be sent in request body");const m=await e.refreshToken({refreshToken:p});return delete m.authentication.clientSecret,{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(m)}}if(o===s.scopeToken){const f=(x=c.authorization)==null?void 0:x.substr(6);if(!f)throw new Error('[@octokit/oauth-app] "Authorization" header is required');const p=await e.scopeToken({token:f,...i});return delete p.authentication.clientSecret,{status:200,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify(p)}}if(o===s.deleteToken){const f=(S=c.authorization)==null?void 0:S.substr(6);if(!f)throw new Error('[@octokit/oauth-app] "Authorization" header is required');return await e.deleteToken({token:f}),{status:204,headers:{"access-control-allow-origin":"*"}}}const P=(T=c.authorization)==null?void 0:T.substr(6);if(!P)throw new Error('[@octokit/oauth-app] "Authorization" header is required');return await e.deleteAuthorization({token:P}),{status:204,headers:{"access-control-allow-origin":"*"}}}catch(P){return{status:400,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify({error:P.message})}}}function $w(e){const{method:t,url:r,headers:n}=e;async function o(){return await new Promise((i,a)=>{let l=[];e.on("error",a).on("data",c=>l.push(c)).on("end",()=>i(Buffer.concat(l).toString()))})}return{method:t,url:r,headers:n,text:o}}function Qh(e,t){t.writeHead(e.status,e.headers),t.end(e.text)}function Mw(e,t={}){return async function(r,n,o){const s=await $w(r),i=await As(e,t,s);return i?(Qh(i,n),!0):(o==null||o(),!1)}}function Bw(e){const t=Object.fromEntries(e.headers.entries());return{method:e.method,url:e.url,headers:t,text:()=>e.text()}}function Hw(e){return new Response(e.text,{status:e.status,headers:e.headers})}function qw(e,t={}){return async function(r){const n=await Bw(r),o=await As(e,t,n);return o?Hw(o):void 0}}function Ww(e){const{method:t}=e.requestContext.http;let r=e.rawPath;const{stage:n}=e.requestContext;r.startsWith("/"+n)&&(r=r.substring(n.length+1)),e.rawQueryString&&(r+="?"+e.rawQueryString);const o=e.headers;return{method:t,url:r,headers:o,text:async()=>e.body||""}}function Vw(e){return{statusCode:e.status,headers:e.headers,body:e.text}}function Kw(e,t={}){return async function(r){const n=Ww(r),o=await As(e,t,n);return o?Vw(o):void 0}}var Ir,Qw=(Ir=class{static defaults(t){return class extends this{constructor(...n){super({...t,...n[0]})}}}constructor(t){const r=t.Octokit||_w;this.type=t.clientType||"oauth-app";const n=new r({authStrategy:ww.createOAuthAppAuth,auth:{clientType:this.type,clientId:t.clientId,clientSecret:t.clientSecret}}),o={clientType:this.type,clientId:t.clientId,clientSecret:t.clientSecret,defaultScopes:t.defaultScopes||[],allowSignup:t.allowSignup,baseUrl:t.baseUrl,redirectUrl:t.redirectUrl,log:t.log,Octokit:r,octokit:n,eventHandlers:{}};this.on=Vh.bind(null,o),this.octokit=n,this.getUserOctokit=Tw.bind(null,o),this.getWebFlowAuthorizationUrl=bw.bind(null,o),this.createToken=Ow.bind(null,o),this.checkToken=Rw.bind(null,o),this.resetToken=Cw.bind(null,o),this.refreshToken=Fw.bind(null,o),this.scopeToken=Uw.bind(null,o),this.deleteToken=Iw.bind(null,o),this.deleteAuthorization=zw.bind(null,o)}},Ir.VERSION=Wh,Ir),Yw="3.2.1",Yh=vh.plugin(bh,xh,w0,Rh,_l).defaults({userAgent:`octokit.js/${Yw}`,throttle:{onRateLimit:Xw,onSecondaryRateLimit:Jw}});function Xw(e,t,r){if(r.log.warn(`Request quota exhausted for request ${t.method} ${t.url}`),t.request.retryCount===0)return r.log.info(`Retrying after ${e} seconds!`),!0}function Jw(e,t,r){if(r.log.warn(`SecondaryRateLimit detected for request ${t.method} ${t.url}`),t.request.retryCount===0)return r.log.info(`Retrying after ${e} seconds!`),!0}vw.OAuthApp.defaults({Octokit:Yh});const Zw=new Yh;async function eE(){const e=["eshanized","iconized","alokified","utkrshift","d3v1l0n","myself-meghna"];return(await Promise.all(e.map(async r=>{try{const{data:n}=await Zw.rest.users.getByUsername({username:r});return{login:n.login,name:n.name,avatarUrl:n.avatar_url,bio:n.bio,location:n.location,blog:n.blog,twitterUsername:n.twitter_username,followers:n.followers,following:n.following}}catch(n){return console.error(`Error fetching data for ${r}:`,n),null}}))).filter(r=>r!==null)}function tE(){const[e,t]=j.useState([]),[r,n]=j.useState(!0),[o,s]=j.useState(null);return j.useEffect(()=>{(async()=>{try{const a=await eE();t(a)}catch(a){s("Failed to load maintainers data"),console.error(a)}finally{n(!1)}})()},[]),r?u.jsx("div",{className:"min-h-screen flex items-center justify-center",children:u.jsx("div",{className:"animate-spin rounded-full h-16 w-16 border-4 border-indigo-500 border-t-transparent"})}):o?u.jsx("div",{className:"min-h-screen flex items-center justify-center",children:u.jsxs("div",{className:"text-center",children:[u.jsx("p",{className:"text-red-500 text-xl",children:o}),u.jsx("p",{className:"text-gray-600 mt-2",children:"Please try again later"})]})}):u.jsx("div",{className:"py-12",children:u.jsxs("div",{className:"container mx-auto px-4",children:[u.jsxs("section",{className:"text-center mb-16",children:[u.jsx("h1",{className:"text-4xl font-bold text-gray-800 mb-6",children:"Meet Our Maintainers"}),u.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"These dedicated individuals work tirelessly to make Snigdha OS one of the best Linux distributions available."})]}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map(i=>u.jsx(rE,{maintainer:i},i.login))})]})})}function rE({maintainer:e}){return u.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-6 transition-transform transform hover:scale-105 hover:shadow-xl ease-in-out duration-300",children:[u.jsxs("div",{className:"flex items-center space-x-4 mb-4",children:[u.jsx("img",{src:e.avatarUrl,alt:e.name||e.login,className:"w-24 h-24 rounded-full ring-2 ring-indigo-50"}),u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl font-semibold text-gray-800",children:e.name||e.login}),u.jsxs("p",{className:"text-sm text-gray-500",children:["@",e.login]})]})]}),e.bio&&u.jsx("p",{className:"text-gray-700 mb-4",children:e.bio}),u.jsxs("div",{className:"space-y-2 mb-4",children:[e.location&&u.jsxs("div",{className:"flex items-center space-x-2 text-gray-600",children:[u.jsx(zy,{className:"h-5 w-5 text-gray-600"}),u.jsx("span",{children:e.location})]}),u.jsxs("div",{className:"flex items-center space-x-2 text-gray-600",children:[u.jsx(as,{className:"h-5 w-5 text-gray-600"}),u.jsxs("span",{children:[e.followers," followers | ",e.following," following"]})]})]}),u.jsxs("div",{className:"flex space-x-4 mt-4",children:[u.jsx("a",{href:`https://github.com/${e.login}`,target:"_blank",rel:"noopener noreferrer",className:"text-gray-600 hover:text-gray-900 transition-colors duration-200",children:u.jsx(th,{className:"h-6 w-6"})}),e.twitterUsername&&u.jsx("a",{href:`https://twitter.com/${e.twitterUsername}`,target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:text-blue-700 transition-colors duration-200",children:u.jsx(qy,{className:"h-6 w-6"})}),e.blog&&u.jsx("a",{href:e.blog,target:"_blank",rel:"noopener noreferrer",className:"text-indigo-500 hover:text-indigo-700 transition-colors duration-200",children:u.jsx(Ly,{className:"h-6 w-6"})})]})]})}function nE(){return u.jsx(jy,{children:u.jsx(Qy,{children:u.jsxs(_y,{children:[u.jsx(vr,{path:"/",element:u.jsx(Yy,{})}),u.jsx(vr,{path:"/about",element:u.jsx(Xy,{})}),u.jsx(vr,{path:"/download",element:u.jsx(Zy,{})}),u.jsx(vr,{path:"/donors",element:u.jsx(dv,{})}),u.jsx(vr,{path:"/maintainers",element:u.jsx(tE,{})})]})})})}Bp(document.getElementById("root")).render(u.jsx(j.StrictMode,{children:u.jsx(nE,{})}));
|