diff --git a/assets/index-9ezF5qoJ.js b/assets/index-Dr8eK0XQ.js similarity index 75% rename from assets/index-9ezF5qoJ.js rename to assets/index-Dr8eK0XQ.js index b5ec81c3..e53816f7 100644 --- a/assets/index-9ezF5qoJ.js +++ b/assets/index-Dr8eK0XQ.js @@ -1,4 +1,4 @@ -function Zh(e,t){for(var r=0;rn[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 Ds=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function us(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 Pc={exports:{}},cs={},Oc={exports:{}},$={};/** +function Zh(e,t){for(var r=0;rn[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 Ds=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Hr(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 bc={exports:{}},cs={},Pc={exports:{}},$={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function Zh(e,t){for(var r=0;r>>1,oe=A[Q];if(0>>1;Qo(fr,I))Xeo(Ht,fr)?(A[Q]=Ht,A[Xe]=I,Q=Xe):(A[Q]=fr,A[Ye]=I,Q=Ye);else if(Xeo(Ht,I))A[Q]=Ht,A[Xe]=I,Q=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 Q=h.callback;if(typeof Q=="function"){h.callback=null,y=h.priorityLevel;var oe=Q(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 Bt=!0;else{var Ye=r(c);Ye!==null&&hr(_,Ye.startTime-L),Bt=!1}return Bt}finally{h=null,y=I,x=!1}}var C=!1,F=null,U=-1,q=5,z=-1;function Se(){return!(e.unstable_now()-zA||125Q?(A.sortIndex=I,t(c,A),r(l)===null&&A===r(c)&&(T?(f(U),U=-1):T=!0,hr(_,I-Q))):(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}}}})(zc);Ic.exports=zc;var kf=Ic.exports;/** + */(function(e){function t(A,L){var I=A.length;A.push(L);e:for(;0>>1,oe=A[Q];if(0>>1;Qo(hr,I))Xeo(qt,hr)?(A[Q]=qt,A[Xe]=I,Q=Xe):(A[Q]=hr,A[Ye]=I,Q=Ye);else if(Xeo(qt,I))A[Q]=qt,A[Xe]=I,Q=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=[],d=[],g=1,h=null,y=3,x=!1,S=!1,T=!1,O=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(d);L!==null;){if(L.callback===null)n(d);else if(L.startTime<=A)n(d),L.sortIndex=L.expirationTime,t(l,L);else break;L=r(d)}}function _(A){if(T=!1,m(A),!S)if(r(l)!==null)S=!0,Zr(R);else{var L=r(d);L!==null&&pr(_,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 Q=h.callback;if(typeof Q=="function"){h.callback=null,y=h.priorityLevel;var oe=Q(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 Bt=!0;else{var Ye=r(d);Ye!==null&&pr(_,Ye.startTime-L),Bt=!1}return Bt}finally{h=null,y=I,x=!1}}var C=!1,F=null,U=-1,H=5,z=-1;function Se(){return!(e.unstable_now()-zA||125Q?(A.sortIndex=I,t(d,A),r(l)===null&&A===r(d)&&(T?(f(U),U=-1):T=!0,pr(_,I-Q))):(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}}}})(Ic);Lc.exports=Ic;var kf=Lc.exports;/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function Zh(e,t){for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,Sf=/^[: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]*$/,Ul={},Ll={};function bf(e){return vi.call(Ll,e)?!0:vi.call(Ul,e)?!1:Sf.test(e)?Ll[e]=!0:(Ul[e]=!0,!1)}function Pf(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 Of(e,t,r,n){if(t===null||typeof t>"u"||Pf(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 Ta=/[\-:]([a-z])/g;function Sa(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ta,Sa);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(Ta,Sa);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(Ta,Sa);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 ba(e,t,r,n){var o=fe.hasOwnProperty(t)?fe[t]:null;(o!==null?o.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vi=Object.prototype.hasOwnProperty,Sf=/^[: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]*$/,Dl={},Ul={};function bf(e){return vi.call(Ul,e)?!0:vi.call(Dl,e)?!1:Sf.test(e)?Ul[e]=!0:(Dl[e]=!0,!1)}function Pf(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 Of(e,t,r,n){if(t===null||typeof t>"u"||Pf(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 Ta=/[\-:]([a-z])/g;function Sa(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ta,Sa);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(Ta,Sa);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(Ta,Sa);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 ba(e,t,r,n){var o=fe.hasOwnProperty(t)?fe[t]:null;(o!==null?o.type!==0:n||!(2a||o[i]!==s[a]){var l=` -`+o[i].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Is=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?dn(e):""}function jf(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=zs(e.type,!1),e;case 11:return e=zs(e.type.render,!1),e;case 1:return e=zs(e.type,!0),e;default:return""}}function _i(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 wi:return"Profiler";case Pa:return"StrictMode";case Ei:return"Suspense";case xi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Bc:return(e.displayName||"Context")+".Consumer";case Mc:return(e._context.displayName||"Context")+".Provider";case Oa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ja:return t=e.displayName||null,t!==null?t:_i(e.type)||"Memo";case vt:t=e._payload,e=e._init;try{return _i(e(t))}catch{}}return null}function Rf(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 _i(t);case 8:return t===Pa?"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 Ft(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Wc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Cf(e){var t=Wc(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=Cf(e))}function qc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Wc(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Fo(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 ki(e,t){var r=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function zl(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Ft(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 Vc(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function Ti(e,t){Vc(e,t);var r=Ft(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")?Si(e,t.type,r):t.hasOwnProperty("defaultValue")&&Si(e,t.type,Ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $l(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 Si(e,t,r){(t!=="number"||Fo(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"+t.valueOf().toString()+"",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},Af=["Webkit","ms","Moz","O"];Object.keys(mn).forEach(function(e){Af.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),mn[t]=mn[e]})});function Xc(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 Jc(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Xc(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Nf=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Oi(e,t){if(t){if(Nf[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 ji(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 Ri=null;function Ra(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,Fr=null,Gr=null;function Hl(e){if(e=Qn(e)){if(typeof Ci!="function")throw Error(b(280));var t=e.stateNode;t&&(t=ms(t),Ci(e.stateNode,e.type,t))}}function Zc(e){Fr?Gr?Gr.push(e):Gr=[e]:Fr=e}function ed(){if(Fr){var e=Fr,t=Gr;if(Gr=Fr=null,Hl(e),t)for(e=0;e>>=0,e===0?32:31-(Hf(e)/Wf|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 Lo(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;0r;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 Qf(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=yn),Zl=" ",eu=!1;function Ed(e,t){switch(e){case"keyup":return km.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xd(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xr=!1;function Sm(e,t){switch(e){case"compositionend":return xd(t);case"keypress":return t.which!==32?null:(eu=!0,Zl);case"textInput":return e=t.data,e===Zl&&eu?null:e;default:return null}}function bm(e,t){if(xr)return e==="compositionend"||!La&&Ed(e,t)?(e=vd(),To=Ga=_t=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)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=ou(r)}}function Sd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Sd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bd(){for(var e=window,t=Fo();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Fo(e.document)}return t}function Ia(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 Gm(e){var t=bd(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Sd(r.ownerDocument.documentElement,r)){if(n!==null&&Ia(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=su(r,s);var i=su(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=document.documentMode,_r=null,Ui=null,wn=null,Li=!1;function iu(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Li||_r==null||_r!==Fo(n)||(n=_r,"selectionStart"in n&&Ia(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=$o(Ui,"onSelect"),0Sr||(e.current=Hi[Sr],Hi[Sr]=null,Sr--)}function W(e,t){Sr++,Hi[Sr]=e.current,e.current=t}var Gt={},we=Ut(Gt),Oe=Ut(!1),rr=Gt;function $r(e,t){var r=e.type.contextTypes;if(!r)return Gt;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 Bo(){K(Oe),K(we)}function hu(e,t,r){if(we.current!==Gt)throw Error(b(168));W(we,t),W(Oe,r)}function Gd(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,Rf(e)||"Unknown",o));return Z({},r,n)}function Ho(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,rr=we.current,W(we,e),W(Oe,Oe.current),!0}function fu(e,t,r){var n=e.stateNode;if(!n)throw Error(b(169));r?(e=Gd(e,t,rr),n.__reactInternalMemoizedMergedChildContext=e,K(Oe),K(we),W(we,e)):K(Oe),W(Oe,r)}var st=null,gs=!1,ei=!1;function Dd(e){st===null?st=[e]:st.push(e)}function Vm(e){gs=!0,Dd(e)}function Lt(){if(!ei&&st!==null){ei=!0;var e=0,t=H;try{var r=st;for(H=1;e>=i,o-=i,it=1<<32-Ve(t)+o|r<U?(q=F,F=null):q=F.sibling;var z=y(f,F,m[U],_);if(z===null){F===null&&(F=q);break}e&&F&&z.alternate===null&&t(f,F),p=s(z,p,U),C===null?R=z:C.sibling=z,C=z,F=q}if(U===m.length)return r(f,F),Y&&Wt(f,U),R;if(F===null){for(;UU?(q=F,F=null):q=F.sibling;var Se=y(f,F,z.value,_);if(Se===null){F===null&&(F=q);break}e&&F&&Se.alternate===null&&t(f,F),p=s(Se,p,U),C===null?R=Se:C.sibling=Se,C=Se,F=q}if(z.done)return r(f,F),Y&&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 Y&&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)}),Y&&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&&yu(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):(_=Ao(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=li(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=ai(m,f.mode,_),p.return=f,f=p),i(f)):r(f,p)}return P}var Br=zd(!0),$d=zd(!1),Vo=Ut(null),Ko=null,Or=null,Ba=null;function Ha(){Ba=Or=Ko=null}function Wa(e){var t=Vo.current;K(Vo),e._currentValue=t}function Vi(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){Ko=e,Ba=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(Ba!==e)if(e={context:e,memoizedValue:t,next:null},Or===null){if(Ko===null)throw Error(b(308));Or=e,Ko.dependencies={lanes:0,firstContext:e}}else Or=Or.next=e;return t}var Yt=null;function qa(e){Yt===null?Yt=[e]:Yt.push(e)}function Md(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,qa(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 Va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bd(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 jt(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,qa(n)):(t.next=o.next,o.next=t),n.interleaved=t,pt(e,r)}function bo(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,Aa(e,r)}}function vu(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 Qo(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=Z({},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 wu(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=ri.transition;ri.transition={};try{e(!1),t()}finally{H=r,ri.transition=n}}function ip(){return Me().memoizedState}function Xm(e,t,r){var n=Ct(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},ap(e))lp(t,r);else if(r=Md(e,t,r,n),r!==null){var o=_e();Ke(r,e,n,o),up(r,t,n)}}function Jm(e,t,r){var n=Ct(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(ap(e))lp(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,qa(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=Md(e,t,o,n),r!==null&&(o=_e(),Ke(r,e,n,o),up(r,t,n))}}function ap(e){var t=e.alternate;return e===J||t!==null&&t===J}function lp(e,t){En=Xo=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function up(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Aa(e,r)}}var Jo={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},Zm={readContext:$e,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:xu,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Oo(4194308,4,tp.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Oo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oo(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=Xm.bind(null,J,e),[n.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:Eu,useDebugValue:tl,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=Eu(!1),t=e[0];return e=Ym.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=J,o=et();if(Y){if(r===void 0)throw Error(b(407));r=r()}else{if(r=t(),ce===null)throw Error(b(349));or&30||Vd(n,t,r)}o.memoizedState=r;var s={value:r,getSnapshot:t};return o.queue=s,xu(Qd.bind(null,n,s,e),[e]),n.flags|=2048,$n(9,Kd.bind(null,n,s,r,t),void 0,null),r},useId:function(){var e=et(),t=ce.identifierPrefix;if(Y){var r=at,n=it;r=(n&~(1<<32-Ve(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=In++,0")&&(l=l.replace("",e.displayName)),l}while(1<=i&&0<=a);break}}}finally{Is=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?dn(e):""}function jf(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=zs(e.type,!1),e;case 11:return e=zs(e.type.render,!1),e;case 1:return e=zs(e.type,!0),e;default:return""}}function _i(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 wr:return"Fragment";case vr:return"Portal";case wi:return"Profiler";case Pa:return"StrictMode";case Ei:return"Suspense";case xi:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Mc:return(e.displayName||"Context")+".Consumer";case $c:return(e._context.displayName||"Context")+".Provider";case Oa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ja:return t=e.displayName||null,t!==null?t:_i(e.type)||"Memo";case vt:t=e._payload,e=e._init;try{return _i(e(t))}catch{}}return null}function Rf(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 _i(t);case 8:return t===Pa?"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 Ft(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 Cf(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=Cf(e))}function Wc(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 Fo(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 ki(e,t){var r=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function Il(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Ft(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 Hc(e,t){t=t.checked,t!=null&&ba(e,"checked",t,!1)}function Ti(e,t){Hc(e,t);var r=Ft(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")?Si(e,t.type,r):t.hasOwnProperty("defaultValue")&&Si(e,t.type,Ft(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function zl(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 Si(e,t,r){(t!=="number"||Fo(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var pn=Array.isArray;function Ar(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",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},Af=["Webkit","ms","Moz","O"];Object.keys(mn).forEach(function(e){Af.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),mn[t]=mn[e]})});function Yc(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 Xc(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,o=Yc(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}var Nf=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Oi(e,t){if(t){if(Nf[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 ji(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 Ri=null;function Ra(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ci=null,Nr=null,Fr=null;function Bl(e){if(e=Qn(e)){if(typeof Ci!="function")throw Error(b(280));var t=e.stateNode;t&&(t=ms(t),Ci(e.stateNode,e.type,t))}}function Jc(e){Nr?Fr?Fr.push(e):Fr=[e]:Nr=e}function Zc(){if(Nr){var e=Nr,t=Fr;if(Fr=Nr=null,Bl(e),t)for(e=0;e>>=0,e===0?32:31-(qf(e)/Wf|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 Lo(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;0r;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 Qf(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=yn),Jl=" ",Zl=!1;function wd(e,t){switch(e){case"keyup":return km.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ed(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Er=!1;function Sm(e,t){switch(e){case"compositionend":return Ed(t);case"keypress":return t.which!==32?null:(Zl=!0,Jl);case"textInput":return e=t.data,e===Jl&&Zl?null:e;default:return null}}function bm(e,t){if(Er)return e==="compositionend"||!La&&wd(e,t)?(e=yd(),To=Ga=_t=null,Er=!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)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=nu(r)}}function Td(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Td(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Sd(){for(var e=window,t=Fo();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Fo(e.document)}return t}function Ia(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 Gm(e){var t=Sd(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&Td(r.ownerDocument.documentElement,r)){if(n!==null&&Ia(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=ou(r,s);var i=ou(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=document.documentMode,xr=null,Ui=null,wn=null,Li=!1;function su(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Li||xr==null||xr!==Fo(n)||(n=xr,"selectionStart"in n&&Ia(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=$o(Ui,"onSelect"),0Tr||(e.current=qi[Tr],qi[Tr]=null,Tr--)}function W(e,t){Tr++,qi[Tr]=e.current,e.current=t}var Gt={},we=Ut(Gt),Oe=Ut(!1),rr=Gt;function zr(e,t){var r=e.type.contextTypes;if(!r)return Gt;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 Bo(){K(Oe),K(we)}function pu(e,t,r){if(we.current!==Gt)throw Error(b(168));W(we,t),W(Oe,r)}function Fd(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,Rf(e)||"Unknown",o));return Z({},r,n)}function qo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Gt,rr=we.current,W(we,e),W(Oe,Oe.current),!0}function hu(e,t,r){var n=e.stateNode;if(!n)throw Error(b(169));r?(e=Fd(e,t,rr),n.__reactInternalMemoizedMergedChildContext=e,K(Oe),K(we),W(we,e)):K(Oe),W(Oe,r)}var st=null,gs=!1,ei=!1;function Gd(e){st===null?st=[e]:st.push(e)}function Vm(e){gs=!0,Gd(e)}function Lt(){if(!ei&&st!==null){ei=!0;var e=0,t=q;try{var r=st;for(q=1;e>=i,o-=i,it=1<<32-Ve(t)+o|r<U?(H=F,F=null):H=F.sibling;var z=y(f,F,m[U],_);if(z===null){F===null&&(F=H);break}e&&F&&z.alternate===null&&t(f,F),p=s(z,p,U),C===null?R=z:C.sibling=z,C=z,F=H}if(U===m.length)return r(f,F),Y&&Wt(f,U),R;if(F===null){for(;UU?(H=F,F=null):H=F.sibling;var Se=y(f,F,z.value,_);if(Se===null){F===null&&(F=H);break}e&&F&&Se.alternate===null&&t(f,F),p=s(Se,p,U),C===null?R=Se:C.sibling=Se,C=Se,F=H}if(z.done)return r(f,F),Y&&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 Y&&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)}),Y&&Wt(f,U),R}function O(f,p,m,_){if(typeof m=="object"&&m!==null&&m.type===wr&&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===wr){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&&gu(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===wr?(p=Zt(m.props.children,f.mode,_,m.key),p.return=f,f=p):(_=Ao(m.type,m.key,m.props,null,f.mode,_),_.ref=an(f,p,m),_.return=f,f=_)}return i(f);case vr: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=li(m,f.mode,_),p.return=f,f=p}return i(f);case vt:return C=m._init,O(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=ai(m,f.mode,_),p.return=f,f=p),i(f)):r(f,p)}return O}var Mr=Id(!0),zd=Id(!1),Vo=Ut(null),Ko=null,Pr=null,Ba=null;function qa(){Ba=Pr=Ko=null}function Wa(e){var t=Vo.current;K(Vo),e._currentValue=t}function Vi(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 Dr(e,t){Ko=e,Ba=Pr=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(Ba!==e)if(e={context:e,memoizedValue:t,next:null},Pr===null){if(Ko===null)throw Error(b(308));Pr=e,Ko.dependencies={lanes:0,firstContext:e}}else Pr=Pr.next=e;return t}var Yt=null;function Ha(e){Yt===null?Yt=[e]:Yt.push(e)}function $d(e,t,r,n){var o=t.interleaved;return o===null?(r.next=r,Ha(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 Va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Md(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 jt(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,Ha(n)):(t.next=o.next,o.next=t),n.interleaved=t,pt(e,r)}function bo(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,Aa(e,r)}}function yu(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 Qo(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,d=l.next;l.next=null,i===null?s=d:i.next=d,i=l;var g=e.alternate;g!==null&&(g=g.updateQueue,a=g.lastBaseUpdate,a!==i&&(a===null?g.firstBaseUpdate=d:a.next=d,g.lastBaseUpdate=l))}if(s!==null){var h=o.baseState;i=0,g=d=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=Z({},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?(d=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=d,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 vu(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=ri.transition;ri.transition={};try{e(!1),t()}finally{q=r,ri.transition=n}}function sp(){return Me().memoizedState}function Xm(e,t,r){var n=Ct(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},ip(e))ap(t,r);else if(r=$d(e,t,r,n),r!==null){var o=_e();Ke(r,e,n,o),lp(r,t,n)}}function Jm(e,t,r){var n=Ct(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(ip(e))ap(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,Ha(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}r=$d(e,t,o,n),r!==null&&(o=_e(),Ke(r,e,n,o),lp(r,t,n))}}function ip(e){var t=e.alternate;return e===J||t!==null&&t===J}function ap(e,t){En=Xo=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function lp(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,Aa(e,r)}}var Jo={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},Zm={readContext:$e,useCallback:function(e,t){return et().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:Eu,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Oo(4194308,4,ep.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Oo(4194308,4,e,t)},useInsertionEffect:function(e,t){return Oo(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=Xm.bind(null,J,e),[n.memoizedState,e]},useRef:function(e){var t=et();return e={current:e},t.memoizedState=e},useState:wu,useDebugValue:tl,useDeferredValue:function(e){return et().memoizedState=e},useTransition:function(){var e=wu(!1),t=e[0];return e=Ym.bind(null,e[1]),et().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=J,o=et();if(Y){if(r===void 0)throw Error(b(407));r=r()}else{if(r=t(),ce===null)throw Error(b(349));or&30||Hd(n,t,r)}o.memoizedState=r;var s={value:r,getSnapshot:t};return o.queue=s,Eu(Kd.bind(null,n,s,e),[e]),n.flags|=2048,$n(9,Vd.bind(null,n,s,r,t),void 0,null),r},useId:function(){var e=et(),t=ce.identifierPrefix;if(Y){var r=at,n=it;r=(n&~(1<<32-Ve(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=In++,0<\/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,wp(e,t,!1,!1),t.stateNode=e;e:{switch(i=ji(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;oqr&&(t.flags|=128,n=!0,ln(s,!1),t.lanes=4194304)}else{if(!n)if(e=Yo(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&&!Y)return ye(t),null}else 2*ne()-s.renderingStartTime>qr&&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=X.current,W(X,n?r&1|2:r&1),t):(ye(t),null);case 22:case 23:return al(),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 ag(e,t){switch($a(t),t.tag){case 1:return je(t.type)&&Bo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hr(),K(Oe),K(we),Ya(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qa(t),null;case 13:if(K(X),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(X),null;case 4:return Hr(),null;case 10:return Wa(t.type._context),null;case 22:case 23:return al(),null;case 24:return null;default:return null}}var go=!1,ve=!1,lg=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 ra(e,t,r){try{r()}catch(n){te(e,t,n)}}var Au=!1;function ug(e,t){if(Ii=Io,e=bd(),Ia(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(zi={focusedElem:e,selectionRange:r},Io=!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=Au,Au=!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&&ra(t,r,s)}o=o.next}while(o!==n)}}function ws(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 na(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 _p(e){var t=e.alternate;t!==null&&(e.alternate=null,_p(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[Bi],delete t[Wm],delete t[qm])),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 kp(e){return e.tag===5||e.tag===3||e.tag===4}function Nu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kp(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 oa(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=Mo));else if(n!==4&&(e=e.child,e!==null))for(oa(e,t,r),e=e.sibling;e!==null;)oa(e,t,r),e=e.sibling}function sa(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(sa(e,t,r),e=e.sibling;e!==null;)sa(e,t,r),e=e.sibling}var pe=null,We=!1;function yt(e,t,r){for(r=r.child;r!==null;)Tp(e,t,r),r=r.sibling}function Tp(e,t,r){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(ds,r)}catch{}switch(r.tag){case 5:ve||jr(r,t);case 6:var n=pe,o=We;pe=null,yt(e,t,r),pe=n,We=o,pe!==null&&(We?(e=pe,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):pe.removeChild(r.stateNode));break;case 18:pe!==null&&(We?(e=pe,r=r.stateNode,e.nodeType===8?Zs(e.parentNode,r):e.nodeType===1&&Zs(e,r),Cn(e)):Zs(pe,r.stateNode));break;case 4:n=pe,o=We,pe=r.stateNode.containerInfo,We=!0,yt(e,t,r),pe=n,We=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)&&ra(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 Fu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new lg),t.forEach(function(n){var o=vg.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;no&&(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*dg(n/1960))-n,10e?16:e,kt===null)var n=!1;else{if(e=kt,kt=null,ts=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;lne()-sl?Jt(e,0):ol|=r),Re(e,t)}function Ap(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 yg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Ap(e,r)}function vg(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),Ap(e,r)}var Np;Np=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,sg(e,t,r);Pe=!!(e.flags&131072)}else Pe=!1,Y&&t.flags&1048576&&Ud(t,qo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;jo(e,t),e=t.pendingProps;var o=$r(t,we.current);Ur(t,r),o=Ja(null,t,n,e,o,r);var s=Za();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,Ho(t)):s=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Va(t),o.updater=vs,t.stateNode=o,o._reactInternals=t,Qi(t,n,e,r),t=Ji(null,t,n,!0,s,r)):(t.tag=0,Y&&s&&za(t),xe(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(jo(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Eg(n),e=He(n,e),o){case 0:t=Xi(null,t,n,e,r);break e;case 1:t=ju(null,t,n,e,r);break e;case 11:t=Pu(null,t,n,e,r);break e;case 14:t=Ou(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),Xi(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:He(n,o),ju(e,t,n,o,r);case 3:e:{if(gp(t),e===null)throw Error(b(387));n=t.pendingProps,s=t.memoizedState,o=s.element,Bd(e,t),Qo(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=Wr(Error(b(423)),t),t=Ru(e,t,n,r,o);break e}else if(n!==o){o=Wr(Error(b(424)),t),t=Ru(e,t,n,r,o);break e}else for(Ae=Ot(t.stateNode.containerInfo.firstChild),Ne=t,Y=!0,qe=null,r=$d(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 Hd(t),e===null&&qi(t),n=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,$i(n,o)?i=null:s!==null&&$i(n,s)&&(t.flags|=32),mp(e,t),xe(e,t,i,r),t.child;case 6:return e===null&&qi(t),null;case 13:return yp(e,t,r);case 4:return Ka(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),Pu(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,W(Vo,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),Vi(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),Vi(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),Ou(e,t,n,o,r);case 15:return hp(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:He(n,o),jo(e,t),t.tag=1,je(n)?(e=!0,Ho(t)):e=!1,Ur(t,r),cp(t,n,o),Qi(t,n,o,r),Ji(null,t,n,!0,e,r);case 19:return vp(e,t,r);case 22:return fp(e,t,r)}throw Error(b(156,t.tag))};function Fp(e,t){return ad(e,t)}function wg(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 wg(e,t,r,n)}function ul(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Eg(e){if(typeof e=="function")return ul(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Oa)return 11;if(e===ja)return 14}return 2}function At(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 Ao(e,t,r,n,o,s){var i=2;if(n=e,typeof e=="function")ul(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Er:return Zt(r.children,o,s,t);case Pa:i=8,o|=8;break;case wi:return e=Ie(12,r,t,o|2),e.elementType=wi,e.lanes=s,e;case Ei:return e=Ie(13,r,t,o),e.elementType=Ei,e.lanes=s,e;case xi:return e=Ie(19,r,t,o),e.elementType=xi,e.lanes=s,e;case Hc:return xs(r,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Mc:i=10;break e;case Bc:i=9;break e;case Oa:i=11;break e;case ja: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 xs(e,t,r,n){return e=Ie(22,e,n,t),e.elementType=Hc,e.lanes=r,e.stateNode={isHidden:!1},e}function ai(e,t,r){return e=Ie(6,e,null,t),e.lanes=r,e}function li(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 xg(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=Ms(0),this.expirationTimes=Ms(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ms(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cl(e,t,r,n,o,s,i,a,l){return e=new xg(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},Va(s),e}function _g(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Lp)}catch(e){console.error(e)}}Lp(),Lc.exports=Ge;var bg=Lc.exports,Ip,Mu=bg;Ip=Mu.createRoot,Mu.hydrateRoot;/** +`+s.stack}return{value:e,source:t,stack:o,digest:null}}function si(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Yi(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var rg=typeof WeakMap=="function"?WeakMap:Map;function cp(e,t,r){r=ut(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){es||(es=!0,ia=n),Yi(e,t)},r}function dp(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(){Yi(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Yi(e,t),typeof n!="function"&&(Rt===null?Rt=new Set([this]):Rt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function ku(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new rg;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=gg.bind(null,e,t,r),t.then(e,e))}function Tu(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 Su(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,jt(r,t,1))),r.lanes|=1),e)}var ng=mt.ReactCurrentOwner,Pe=!1;function xe(e,t,r,n){t.child=e===null?zd(t,null,r,n):Mr(t,e.child,r,n)}function bu(e,t,r,n,o){r=r.render;var s=t.ref;return Dr(t,o),n=Ja(e,t,r,n,s,o),r=Za(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ht(e,t,o)):(Y&&r&&za(t),t.flags|=1,xe(e,t,n,o),t.child)}function Pu(e,t,r,n,o){if(e===null){var s=r.type;return typeof s=="function"&&!ul(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,pp(e,t,s,n,o)):(e=Ao(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=At(s,n),e.ref=t.ref,e.return=t,t.child=e}function pp(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 Xi(e,t,r,n,o)}function hp(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},W(jr,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,W(jr,Ce),Ce|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=s!==null?s.baseLanes:r,W(jr,Ce),Ce|=n}else s!==null?(n=s.baseLanes|r,t.memoizedState=null):n=r,W(jr,Ce),Ce|=n;return xe(e,t,o,r),t.child}function fp(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Xi(e,t,r,n,o){var s=je(r)?rr:we.current;return s=zr(t,s),Dr(t,o),r=Ja(e,t,r,n,s,o),n=Za(),e!==null&&!Pe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ht(e,t,o)):(Y&&n&&za(t),t.flags|=1,xe(e,t,r,o),t.child)}function Ou(e,t,r,n,o){if(je(r)){var s=!0;qo(t)}else s=!1;if(Dr(t,o),t.stateNode===null)jo(e,t),up(t,r,n),Qi(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,a=t.memoizedProps;i.props=a;var l=i.context,d=r.contextType;typeof d=="object"&&d!==null?d=$e(d):(d=je(r)?rr:we.current,d=zr(t,d));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!==d)&&_u(t,i,n,d),wt=!1;var y=t.memoizedState;i.state=y,Qo(t,n,i,o),l=t.memoizedState,a!==n||y!==l||Oe.current||wt?(typeof g=="function"&&(Ki(t,r,g,n),l=t.memoizedState),(a=wt||xu(t,r,a,n,y,l,d))?(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=d,n=a):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Md(e,t),a=t.memoizedProps,d=t.type===t.elementType?a:qe(t.type,a),i.props=d,h=t.pendingProps,y=i.context,l=r.contextType,typeof l=="object"&&l!==null?l=$e(l):(l=je(r)?rr:we.current,l=zr(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)&&_u(t,i,n,l),wt=!1,y=t.memoizedState,i.state=y,Qo(t,n,i,o);var S=t.memoizedState;a!==h||y!==S||Oe.current||wt?(typeof x=="function"&&(Ki(t,r,x,n),S=t.memoizedState),(d=wt||xu(t,r,d,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=d):(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 Ji(e,t,r,n,s,o)}function Ji(e,t,r,n,o,s){fp(e,t);var i=(t.flags&128)!==0;if(!n&&!i)return o&&hu(t,r,!1),ht(e,t,s);n=t.stateNode,ng.current=t;var a=i&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&i?(t.child=Mr(t,e.child,null,s),t.child=Mr(t,null,a,s)):xe(e,t,a,s),t.memoizedState=n.state,o&&hu(t,r,!0),t.child}function mp(e){var t=e.stateNode;t.pendingContext?pu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&pu(e,t.context,!1),Ka(e,t.containerInfo)}function ju(e,t,r,n,o){return $r(),Ma(o),t.flags|=256,xe(e,t,r,n),t.child}var Zi={dehydrated:null,treeContext:null,retryLane:0};function ea(e){return{baseLanes:e,cachePool:null,transitions:null}}function gp(e,t,r){var n=t.pendingProps,o=X.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),W(X,o&1),e===null)return Hi(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=xs(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=ea(r),t.memoizedState=Zi,e):rl(t,i));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return og(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=At(o,l),n.subtreeFlags=o.subtreeFlags&14680064),a!==null?s=At(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?ea(r):{baseLanes:i.baseLanes|r,cachePool:null,transitions:i.transitions},s.memoizedState=i,s.childLanes=e.childLanes&~r,t.memoizedState=Zi,n}return s=e.child,e=s.sibling,n=At(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 rl(e,t){return t=xs({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function mo(e,t,r,n){return n!==null&&Ma(n),Mr(t,e.child,null,r),e=rl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function og(e,t,r,n,o,s,i){if(r)return t.flags&256?(t.flags&=-257,n=si(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=xs({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&&Mr(t,e.child,null,i),t.child.memoizedState=ea(i),t.memoizedState=Zi,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=si(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 ll(),n=si(Error(b(421))),mo(e,t,i,n)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=yg.bind(null,e),o._reactRetry=t,null):(e=s.treeContext,Ae=Ot(o.nextSibling),Ne=t,Y=!0,He=null,e!==null&&(Ue[Le++]=it,Ue[Le++]=at,Ue[Le++]=nr,it=e.id,at=e.overflow,nr=t),t=rl(t,n.children),t.flags|=4096,t)}function Ru(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Vi(e.return,t,r)}function ii(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 yp(e,t,r){var n=t.pendingProps,o=n.revealOrder,s=n.tail;if(xe(e,t,n.children,r),n=X.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&&Ru(e,r,t);else if(e.tag===19)Ru(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(W(X,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&&Yo(e)===null&&(o=r),r=r.sibling;r=o,r===null?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),ii(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&&Yo(e)===null){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}ii(t,!0,r,null,s);break;case"together":ii(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function jo(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=At(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=At(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function sg(e,t,r){switch(t.tag){case 3:mp(t),$r();break;case 5:Bd(t);break;case 1:je(t.type)&&qo(t);break;case 4:Ka(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;W(Vo,n._currentValue),n._currentValue=o;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(W(X,X.current&1),t.flags|=128,null):r&t.child.childLanes?gp(e,t,r):(W(X,X.current&1),e=ht(e,t,r),e!==null?e.sibling:null);W(X,X.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return yp(e,t,r);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),W(X,X.current),n)break;return null;case 22:case 23:return t.lanes=0,hp(e,t,r)}return ht(e,t,r)}var vp,ta,wp,Ep;vp=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}};ta=function(){};wp=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=ki(e,o),n=ki(e,n),s=[];break;case"select":o=Z({},o,{value:void 0}),n=Z({},n,{value:void 0}),s=[];break;case"textarea":o=bi(e,o),n=bi(e,n),s=[];break;default:typeof o.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Mo)}Oi(r,n);var i;r=null;for(d in o)if(!n.hasOwnProperty(d)&&o.hasOwnProperty(d)&&o[d]!=null)if(d==="style"){var a=o[d];for(i in a)a.hasOwnProperty(i)&&(r||(r={}),r[i]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(bn.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in n){var l=n[d];if(a=o!=null?o[d]:void 0,n.hasOwnProperty(d)&&l!==a&&(l!=null||a!=null))if(d==="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(d,r)),r=l;else d==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(d,l)):d==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(d,""+l):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(bn.hasOwnProperty(d)?(l!=null&&d==="onScroll"&&V("scroll",e),s||a===l||(s=[])):(s=s||[]).push(d,l))}r&&(s=s||[]).push("style",r);var d=s;(t.updateQueue=d)&&(t.flags|=4)}};Ep=function(e,t,r,n){r!==n&&(t.flags|=4)};function ln(e,t){if(!Y)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 ig(e,t,r){var n=t.pendingProps;switch($a(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)&&Bo(),ye(t),null;case 3:return n=t.stateNode,Br(),K(Oe),K(we),Ya(),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,He!==null&&(ua(He),He=null))),ta(e,t),ye(t),null;case 5:Qa(t);var o=Xt(Ln.current);if(r=t.type,e!==null&&t.stateNode!=null)wp(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<\/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,vp(e,t,!1,!1),t.stateNode=e;e:{switch(i=ji(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;oWr&&(t.flags|=128,n=!0,ln(s,!1),t.lanes=4194304)}else{if(!n)if(e=Yo(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&&!Y)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=X.current,W(X,n?r&1|2:r&1),t):(ye(t),null);case 22:case 23:return al(),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 ag(e,t){switch($a(t),t.tag){case 1:return je(t.type)&&Bo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Br(),K(Oe),K(we),Ya(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qa(t),null;case 13:if(K(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(b(340));$r()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(X),null;case 4:return Br(),null;case 10:return Wa(t.type._context),null;case 22:case 23:return al(),null;case 24:return null;default:return null}}var go=!1,ve=!1,lg=typeof WeakSet=="function"?WeakSet:Set,N=null;function Or(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 ra(e,t,r){try{r()}catch(n){te(e,t,n)}}var Cu=!1;function ug(e,t){if(Ii=Io,e=Sd(),Ia(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,d=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&&++d===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(zi={focusedElem:e,selectionRange:r},Io=!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,O=S.memoizedState,f=t.stateNode,p=f.getSnapshotBeforeUpdate(t.elementType===t.type?T:qe(t.type,T),O);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=Cu,Cu=!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&&ra(t,r,s)}o=o.next}while(o!==n)}}function ws(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 na(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 xp(e){var t=e.alternate;t!==null&&(e.alternate=null,xp(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[Bi],delete t[Wm],delete t[Hm])),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 _p(e){return e.tag===5||e.tag===3||e.tag===4}function Au(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_p(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 oa(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=Mo));else if(n!==4&&(e=e.child,e!==null))for(oa(e,t,r),e=e.sibling;e!==null;)oa(e,t,r),e=e.sibling}function sa(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(sa(e,t,r),e=e.sibling;e!==null;)sa(e,t,r),e=e.sibling}var pe=null,We=!1;function yt(e,t,r){for(r=r.child;r!==null;)kp(e,t,r),r=r.sibling}function kp(e,t,r){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(ds,r)}catch{}switch(r.tag){case 5:ve||Or(r,t);case 6:var n=pe,o=We;pe=null,yt(e,t,r),pe=n,We=o,pe!==null&&(We?(e=pe,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):pe.removeChild(r.stateNode));break;case 18:pe!==null&&(We?(e=pe,r=r.stateNode,e.nodeType===8?Zs(e.parentNode,r):e.nodeType===1&&Zs(e,r),Cn(e)):Zs(pe,r.stateNode));break;case 4:n=pe,o=We,pe=r.stateNode.containerInfo,We=!0,yt(e,t,r),pe=n,We=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)&&ra(r,t,i),o=o.next}while(o!==n)}yt(e,t,r);break;case 1:if(!ve&&(Or(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 Nu(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new lg),t.forEach(function(n){var o=vg.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;no&&(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*dg(n/1960))-n,10e?16:e,kt===null)var n=!1;else{if(e=kt,kt=null,ts=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;lne()-sl?Jt(e,0):ol|=r),Re(e,t)}function Cp(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 yg(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),Cp(e,r)}function vg(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),Cp(e,r)}var Ap;Ap=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,sg(e,t,r);Pe=!!(e.flags&131072)}else Pe=!1,Y&&t.flags&1048576&&Dd(t,Ho,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;jo(e,t),e=t.pendingProps;var o=zr(t,we.current);Dr(t,r),o=Ja(null,t,n,e,o,r);var s=Za();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,Va(t),o.updater=vs,t.stateNode=o,o._reactInternals=t,Qi(t,n,e,r),t=Ji(null,t,n,!0,s,r)):(t.tag=0,Y&&s&&za(t),xe(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch(jo(e,t),e=t.pendingProps,o=n._init,n=o(n._payload),t.type=n,o=t.tag=Eg(n),e=qe(n,e),o){case 0:t=Xi(null,t,n,e,r);break e;case 1:t=Ou(null,t,n,e,r);break e;case 11:t=bu(null,t,n,e,r);break e;case 14:t=Pu(null,t,n,qe(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:qe(n,o),Xi(e,t,n,o,r);case 1:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qe(n,o),Ou(e,t,n,o,r);case 3:e:{if(mp(t),e===null)throw Error(b(387));n=t.pendingProps,s=t.memoizedState,o=s.element,Md(e,t),Qo(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=ju(e,t,n,r,o);break e}else if(n!==o){o=qr(Error(b(424)),t),t=ju(e,t,n,r,o);break e}else for(Ae=Ot(t.stateNode.containerInfo.firstChild),Ne=t,Y=!0,He=null,r=zd(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if($r(),n===o){t=ht(e,t,r);break e}xe(e,t,n,r)}t=t.child}return t;case 5:return Bd(t),e===null&&Hi(t),n=t.type,o=t.pendingProps,s=e!==null?e.memoizedProps:null,i=o.children,$i(n,o)?i=null:s!==null&&$i(n,s)&&(t.flags|=32),fp(e,t),xe(e,t,i,r),t.child;case 6:return e===null&&Hi(t),null;case 13:return gp(e,t,r);case 4:return Ka(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Mr(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:qe(n,o),bu(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,W(Vo,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 d=s.updateQueue;if(d!==null){d=d.shared;var g=d.pending;g===null?l.next=l:(l.next=g.next,g.next=l),d.pending=l}}s.lanes|=r,l=s.alternate,l!==null&&(l.lanes|=r),Vi(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),Vi(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,Dr(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=qe(n,t.pendingProps),o=qe(n.type,o),Pu(e,t,n,o,r);case 15:return pp(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:qe(n,o),jo(e,t),t.tag=1,je(n)?(e=!0,qo(t)):e=!1,Dr(t,r),up(t,n,o),Qi(t,n,o,r),Ji(null,t,n,!0,e,r);case 19:return yp(e,t,r);case 22:return hp(e,t,r)}throw Error(b(156,t.tag))};function Np(e,t){return id(e,t)}function wg(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 wg(e,t,r,n)}function ul(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Eg(e){if(typeof e=="function")return ul(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Oa)return 11;if(e===ja)return 14}return 2}function At(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 Ao(e,t,r,n,o,s){var i=2;if(n=e,typeof e=="function")ul(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case wr:return Zt(r.children,o,s,t);case Pa:i=8,o|=8;break;case wi:return e=Ie(12,r,t,o|2),e.elementType=wi,e.lanes=s,e;case Ei:return e=Ie(13,r,t,o),e.elementType=Ei,e.lanes=s,e;case xi:return e=Ie(19,r,t,o),e.elementType=xi,e.lanes=s,e;case Bc:return xs(r,o,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $c:i=10;break e;case Mc:i=9;break e;case Oa:i=11;break e;case ja: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 xs(e,t,r,n){return e=Ie(22,e,n,t),e.elementType=Bc,e.lanes=r,e.stateNode={isHidden:!1},e}function ai(e,t,r){return e=Ie(6,e,null,t),e.lanes=r,e}function li(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 xg(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=Ms(0),this.expirationTimes=Ms(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ms(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function cl(e,t,r,n,o,s,i,a,l){return e=new xg(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},Va(s),e}function _g(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Up)}catch(e){console.error(e)}}Up(),Uc.exports=Ge;var bg=Uc.exports,Lp,$u=bg;Lp=$u.createRoot,$u.hydrateRoot;/** * @remix-run/router v1.21.0 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+s.message+` * 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"u")throw new Error(t)}function fl(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Og(){return Math.random().toString(36).substr(2,8)}function Hu(e,t){return{usr:e.state,key:e.key,idx:t}}function ca(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||Og()})}function os(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 jg(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:s=!1}=n,i=o.history,a=Tt.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=Tt.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=Tt.Push;let p=ca(T.location,P,f);r(p,P),c=g()+1;let m=Hu(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=Tt.Replace;let p=ca(T.location,P,f);r(p,P),c=g();let m=Hu(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:os(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(Bu,h),l=P,()=>{o.removeEventListener(Bu,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 Wu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Wu||(Wu={}));function Rg(e,t,r){return r===void 0&&(r="/"),Cg(e,t,r)}function Cg(e,t,r,n){let o=typeof t=="string"?ur(t):t,s=ml(o.pathname||"/",r);if(s==null)return null;let i=zp(e);Ag(i);let a=null;for(let l=0;a==null&&l{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=Nt([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+'".')),zp(s.children,t,g,c)),!(s.path==null&&!s.index)&&t.push({path:c,score:Ig(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 $p(s.path))o(s,i,l)}),t}function $p(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=$p(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 Ag(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:zg(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Ng=/^:[\w-]+$/,Fg=3,Gg=2,Dg=1,Ug=10,Lg=-2,qu=e=>e==="*";function Ig(e,t){let r=e.split("/"),n=r.length;return r.some(qu)&&(n+=Lg),t&&(n+=Gg),r.filter(o=>!qu(o)).reduce((o,s)=>o+(Ng.test(s)?Fg:s===""?Dg:Ug),n)}function zg(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 $g(e,t,r){let{routesMeta:n}=e,o={},s="/",i=[];for(let a=0;a{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 Bg(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),fl(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 Hg(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return fl(!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 ml(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 Wg(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:qg(r,t):t,search:Qg(n),hash:Yg(o)}}function qg(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 ui(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 and the router will parse it for you.'}function Vg(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Mp(e,t){let r=Vg(e);return t?r.map((n,o)=>o===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Bp(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("?"),ui("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),ui("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),ui("#","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=Wg(o,a),c=i&&i!=="/"&&i.endsWith("/"),g=(s||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||g)&&(l.pathname+="/"),l}const Nt=e=>e.join("/").replace(/\/\/+/g,"/"),Kg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Qg=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Yg=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Xg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hp=["post","put","patch","delete"];new Set(Hp);const Jg=["get",...Hp];new Set(Jg);/** + */function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ip(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Og(){return Math.random().toString(36).substr(2,8)}function Bu(e,t){return{usr:e.state,key:e.key,idx:t}}function ca(e,t,r,n){return r===void 0&&(r=null),Bn({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Yr(t):t,{state:r,key:t&&t.key||n||Og()})}function os(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 Yr(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 jg(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:s=!1}=n,i=o.history,a=Tt.Pop,l=null,d=g();d==null&&(d=0,i.replaceState(Bn({},i.state,{idx:d}),""));function g(){return(i.state||{idx:null}).idx}function h(){a=Tt.Pop;let O=g(),f=O==null?null:O-d;d=O,l&&l({action:a,location:T.location,delta:f})}function y(O,f){a=Tt.Push;let p=ca(T.location,O,f);d=g()+1;let m=Bu(p,d),_=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(O,f){a=Tt.Replace;let p=ca(T.location,O,f);d=g();let m=Bu(p,d),_=T.createHref(p);i.replaceState(m,"",_),s&&l&&l({action:a,location:T.location,delta:0})}function S(O){let f=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof O=="string"?O:os(O);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(O){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Mu,h),l=O,()=>{o.removeEventListener(Mu,h),l=null}},createHref(O){return t(o,O)},createURL:S,encodeLocation(O){let f=S(O);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:y,replace:x,go(O){return i.go(O)}};return T}var qu;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(qu||(qu={}));function Rg(e,t,r){return r===void 0&&(r="/"),Cg(e,t,r)}function Cg(e,t,r,n){let o=typeof t=="string"?Yr(t):t,s=fl(o.pathname||"/",r);if(s==null)return null;let i=zp(e);Ag(i);let a=null;for(let l=0;a==null&&l{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 d=Nt([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 "'+d+'".')),zp(s.children,t,g,d)),!(s.path==null&&!s.index)&&t.push({path:d,score:Ig(d,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 $p(s.path))o(s,i,l)}),t}function $p(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=$p(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 Ag(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:zg(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const Ng=/^:[\w-]+$/,Fg=3,Gg=2,Dg=1,Ug=10,Lg=-2,Wu=e=>e==="*";function Ig(e,t){let r=e.split("/"),n=r.length;return r.some(Wu)&&(n+=Lg),t&&(n+=Gg),r.filter(o=>!Wu(o)).reduce((o,s)=>o+(Ng.test(s)?Fg:s===""?Dg:Ug),n)}function zg(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 $g(e,t,r){let{routesMeta:n}=e,o={},s="/",i=[];for(let a=0;a{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?d[y]=void 0:d[y]=(S||"").replace(/%2F/g,"/"),d},{}),pathname:s,pathnameBase:i,pattern:e}}function Bg(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ip(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 qg(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ip(!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 fl(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 Wg(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?Yr(e):e;return{pathname:r?r.startsWith("/")?r:Hg(r,t):t,search:Qg(n),hash:Yg(o)}}function Hg(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 ui(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 and the router will parse it for you.'}function Vg(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Mp(e,t){let r=Vg(e);return t?r.map((n,o)=>o===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function Bp(e,t,r,n){n===void 0&&(n=!1);let o;typeof e=="string"?o=Yr(e):(o=Bn({},e),ie(!o.pathname||!o.pathname.includes("?"),ui("?","pathname","search",o)),ie(!o.pathname||!o.pathname.includes("#"),ui("#","pathname","hash",o)),ie(!o.search||!o.search.includes("#"),ui("#","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=Wg(o,a),d=i&&i!=="/"&&i.endsWith("/"),g=(s||i===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(d||g)&&(l.pathname+="/"),l}const Nt=e=>e.join("/").replace(/\/\/+/g,"/"),Kg=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Qg=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Yg=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Xg(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const qp=["post","put","patch","delete"];new Set(qp);const Jg=["get",...qp];new Set(Jg);/** * React Router v6.28.1 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+s.message+` * 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{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=Bp(c,JSON.parse(i),s,g.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Nt([t,h.pathname])),(g.replace?n.replace:n.push)(h,g.state,g)},[t,n,i,s,e])}function Vp(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(Mp(o,n.v7_relativeSplatPath));return j.useMemo(()=>Bp(e,JSON.parse(i),s,r==="path"),[e,i,s,r])}function ny(e,t){return oy(e,t)}function oy(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=Rg(e,{pathname:x}),T=uy(S&&S.map(P=>Object.assign({},P,{params:Object.assign({},a,P.params),pathname:Nt([l,o.encodeLocation?o.encodeLocation(P.pathname).pathname:P.pathname]),pathnameBase:P.pathnameBase==="/"?l:Nt([l,o.encodeLocation?o.encodeLocation(P.pathnameBase).pathname:P.pathnameBase])})),s,r,n);return t&&T?j.createElement(bs.Provider,{value:{location:Hn({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Tt.Pop}},T):T}function sy(){let e=hy(),t=Xg(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 iy=j.createElement(sy,null);class ay 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(Wp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ly(e){let{routeContext:t,match:r,children:n}=e,o=j.useContext(gl);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 uy(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=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||iy,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(ly,{match:h,routeContext:{outlet:g,matches:f,isDataRoute:r!=null},children:m})};return r&&(h.route.ErrorBoundary||h.route.errorElement||y===0)?j.createElement(ay,{location:r.location,revalidation:r.revalidation,component:T,error:x,children:p(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):p()},null)}var Kp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Kp||{}),ss=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}(ss||{});function cy(e){let t=j.useContext(gl);return t||ie(!1),t}function dy(e){let t=j.useContext(Zg);return t||ie(!1),t}function py(e){let t=j.useContext(dr);return t||ie(!1),t}function Qp(e){let t=py(),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function hy(){var e;let t=j.useContext(Wp),r=dy(ss.UseRouteError),n=Qp(ss.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function fy(){let{router:e}=cy(Kp.UseNavigateStable),t=Qp(ss.UseNavigateStable),r=j.useRef(!1);return qp(()=>{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 Vu={};function my(e,t){Vu[t]||(Vu[t]=!0,console.warn(t))}const Ku=(e,t,r)=>my(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+r+"."));function gy(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Ku("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&&Ku("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 yy(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Tt.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=ml(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(bs.Provider,{children:r,value:T}))}function vy(e){let{children:t,location:r}=e;return ny(da(t),r)}new Promise(()=>{});function da(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,da(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=da(n.props.children,s)),r.push(i)}),r}/** + */function qn(){return qn=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.current=!0}),j.useCallback(function(d,g){if(g===void 0&&(g={}),!a.current)return;if(typeof d=="number"){n.go(d);return}let h=Bp(d,JSON.parse(i),s,g.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Nt([t,h.pathname])),(g.replace?n.replace:n.push)(h,g.state,g)},[t,n,i,s,e])}function Vp(e,t){let{relative:r}=t===void 0?{}:t,{future:n}=j.useContext(ur),{matches:o}=j.useContext(cr),{pathname:s}=Jn(),i=JSON.stringify(Mp(o,n.v7_relativeSplatPath));return j.useMemo(()=>Bp(e,JSON.parse(i),s,r==="path"),[e,i,s,r])}function ny(e,t){return oy(e,t)}function oy(e,t,r,n){Xn()||ie(!1);let{navigator:o}=j.useContext(ur),{matches:s}=j.useContext(cr),i=s[s.length-1],a=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let d=Jn(),g;if(t){var h;let O=typeof t=="string"?Yr(t):t;l==="/"||(h=O.pathname)!=null&&h.startsWith(l)||ie(!1),g=O}else g=d;let y=g.pathname||"/",x=y;if(l!=="/"){let O=l.replace(/^\//,"").split("/");x="/"+y.replace(/^\//,"").split("/").slice(O.length).join("/")}let S=Rg(e,{pathname:x}),T=uy(S&&S.map(O=>Object.assign({},O,{params:Object.assign({},a,O.params),pathname:Nt([l,o.encodeLocation?o.encodeLocation(O.pathname).pathname:O.pathname]),pathnameBase:O.pathnameBase==="/"?l:Nt([l,o.encodeLocation?o.encodeLocation(O.pathnameBase).pathname:O.pathnameBase])})),s,r,n);return t&&T?j.createElement(bs.Provider,{value:{location:qn({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Tt.Pop}},T):T}function sy(){let e=hy(),t=Xg(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 iy=j.createElement(sy,null);class ay 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(cr.Provider,{value:this.props.routeContext},j.createElement(Wp.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ly(e){let{routeContext:t,match:r,children:n}=e,o=j.useContext(ml);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),j.createElement(cr.Provider,{value:t},n)}function uy(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,d=-1;if(r&&n&&n.v7_partialHydration)for(let g=0;g=0?i=i.slice(0,d+1):i=[i[0]];break}}}return i.reduceRight((g,h,y)=>{let x,S=!1,T=null,O=null;r&&(x=a&&h.route.id?a[h.route.id]:void 0,T=h.route.errorElement||iy,l&&(d<0&&y===0?(S=!0,O=null):d===y&&(S=!0,O=h.route.hydrateFallbackElement||null)));let f=t.concat(i.slice(0,y+1)),p=()=>{let m;return x?m=T:S?m=O:h.route.Component?m=j.createElement(h.route.Component,null):h.route.element?m=h.route.element:m=g,j.createElement(ly,{match:h,routeContext:{outlet:g,matches:f,isDataRoute:r!=null},children:m})};return r&&(h.route.ErrorBoundary||h.route.errorElement||y===0)?j.createElement(ay,{location:r.location,revalidation:r.revalidation,component:T,error:x,children:p(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):p()},null)}var Kp=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Kp||{}),ss=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}(ss||{});function cy(e){let t=j.useContext(ml);return t||ie(!1),t}function dy(e){let t=j.useContext(Zg);return t||ie(!1),t}function py(e){let t=j.useContext(cr);return t||ie(!1),t}function Qp(e){let t=py(),r=t.matches[t.matches.length-1];return r.route.id||ie(!1),r.route.id}function hy(){var e;let t=j.useContext(Wp),r=dy(ss.UseRouteError),n=Qp(ss.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function fy(){let{router:e}=cy(Kp.UseNavigateStable),t=Qp(ss.UseNavigateStable),r=j.useRef(!1);return Hp(()=>{r.current=!0}),j.useCallback(function(o,s){s===void 0&&(s={}),r.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,qn({fromRouteId:t},s)))},[e,t])}const Hu={};function my(e,t){Hu[t]||(Hu[t]=!0,console.warn(t))}const Vu=(e,t,r)=>my(e,"⚠️ React Router Future Flag Warning: "+t+". "+("You can use the `"+e+"` future flag to opt-in early. ")+("For more information, see "+r+"."));function gy(e,t){(e==null?void 0:e.v7_startTransition)===void 0&&Vu("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&&Vu("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath")}function yr(e){ie(!1)}function yy(e){let{basename:t="/",children:r=null,location:n,navigationType:o=Tt.Pop,navigator:s,static:i=!1,future:a}=e;Xn()&&ie(!1);let l=t.replace(/^\/*/,"/"),d=j.useMemo(()=>({basename:l,navigator:s,static:i,future:qn({v7_relativeSplatPath:!1},a)}),[l,a,s,i]);typeof n=="string"&&(n=Yr(n));let{pathname:g="/",search:h="",hash:y="",state:x=null,key:S="default"}=n,T=j.useMemo(()=>{let O=fl(g,l);return O==null?null:{location:{pathname:O,search:h,hash:y,state:x,key:S},navigationType:o}},[l,g,h,y,x,S,o]);return T==null?null:j.createElement(ur.Provider,{value:d},j.createElement(bs.Provider,{children:r,value:T}))}function vy(e){let{children:t,location:r}=e;return ny(da(t),r)}new Promise(()=>{});function da(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,da(n.props.children,s));return}n.type!==yr&&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=da(n.props.children,s)),r.push(i)}),r}/** * React Router DOM v6.28.1 * * Copyright (c) Remix Software Inc. @@ -64,7 +64,7 @@ Error generating stack: `+s.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function pa(){return pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function Ey(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xy(e,t){return e.button===0&&(!t||t==="_self")&&!Ey(e)}const _y=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ky="6";try{window.__reactRouterVersion=ky}catch{}const Ty="startTransition",Qu=gf[Ty];function Sy(e){let{basename:t,children:r,future:n,window:o}=e,s=j.useRef();s.current==null&&(s.current=Pg({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&&Qu?Qu(()=>l(h)):l(h)},[l,c]);return j.useLayoutEffect(()=>i.listen(g),[i,g]),j.useEffect(()=>gy(n),[n]),j.createElement(yy,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:i,future:n})}const by=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Py=/^(?:[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=wy(t,_y),{basename:x}=j.useContext(cr),S,T=!1;if(typeof c=="string"&&Py.test(c)&&(S=c,by))try{let m=new URL(window.location.href),_=c.startsWith("//")?new URL(m.protocol+c):new URL(c),R=ml(_.pathname,x);_.origin===m.origin&&R!=null?c=R+_.search+_.hash:T=!0}catch{}let P=ey(c,{relative:o}),f=Oy(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",pa({},y,{href:S||P,onClick:T||s?n:p,ref:r,target:l}))});var Yu;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Yu||(Yu={}));var Xu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Xu||(Xu={}));function Oy(e,t){let{target:r,replace:n,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=ty(),c=Jn(),g=Vp(e,{relative:i});return j.useCallback(h=>{if(xy(h,r)){h.preventDefault();let y=n!==void 0?n:os(c)===os(g);l(e,{replace:y,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[c,l,g,n,o,r,e,s,i,a])}/** + */function pa(){return pa=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}function Ey(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xy(e,t){return e.button===0&&(!t||t==="_self")&&!Ey(e)}const _y=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],ky="6";try{window.__reactRouterVersion=ky}catch{}const Ty="startTransition",Ku=gf[Ty];function Sy(e){let{basename:t,children:r,future:n,window:o}=e,s=j.useRef();s.current==null&&(s.current=Pg({window:o,v5Compat:!0}));let i=s.current,[a,l]=j.useState({action:i.action,location:i.location}),{v7_startTransition:d}=n||{},g=j.useCallback(h=>{d&&Ku?Ku(()=>l(h)):l(h)},[l,d]);return j.useLayoutEffect(()=>i.listen(g),[i,g]),j.useEffect(()=>gy(n),[n]),j.createElement(yy,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:i,future:n})}const by=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Py=/^(?:[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:d,preventScrollReset:g,viewTransition:h}=t,y=wy(t,_y),{basename:x}=j.useContext(ur),S,T=!1;if(typeof d=="string"&&Py.test(d)&&(S=d,by))try{let m=new URL(window.location.href),_=d.startsWith("//")?new URL(m.protocol+d):new URL(d),R=fl(_.pathname,x);_.origin===m.origin&&R!=null?d=R+_.search+_.hash:T=!0}catch{}let O=ey(d,{relative:o}),f=Oy(d,{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",pa({},y,{href:S||O,onClick:T||s?n:p,ref:r,target:l}))});var Qu;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Qu||(Qu={}));var Yu;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Yu||(Yu={}));function Oy(e,t){let{target:r,replace:n,state:o,preventScrollReset:s,relative:i,viewTransition:a}=t===void 0?{}:t,l=ty(),d=Jn(),g=Vp(e,{relative:i});return j.useCallback(h=>{if(xy(h,r)){h.preventDefault();let y=n!==void 0?n:os(d)===os(g);l(e,{replace:y,state:o,preventScrollReset:s,relative:i,viewTransition:a})}},[d,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. @@ -74,7 +74,7 @@ Error generating stack: `+s.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ry=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),ee=(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,...jy,width:o,height:o,stroke:n,strokeWidth:i?Number(s)*24/Number(o):s,className:["lucide",`lucide-${Ry(e)}`,a].join(" "),...c},[...t.map(([h,y])=>j.createElement(h,y)),...Array.isArray(l)?l:[l]]));return r.displayName=`${e}`,r};/** + */const Ry=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),ee=(e,t)=>{const r=j.forwardRef(({color:n="currentColor",size:o=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:a="",children:l,...d},g)=>j.createElement("svg",{ref:g,...jy,width:o,height:o,stroke:n,strokeWidth:i?Number(s)*24/Number(o):s,className:["lucide",`lucide-${Ry(e)}`,a].join(" "),...d},[...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. @@ -99,7 +99,7 @@ Error generating stack: `+s.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gr=ee("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"}]]);/** + */const mr=ee("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. @@ -174,7 +174,7 @@ Error generating stack: `+s.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Ju=ee("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]]);/** + */const Xu=ee("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. @@ -189,7 +189,7 @@ Error generating stack: `+s.message+` * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const By=ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Hy(){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(By,{className:"h-7 w-7 animate-spin-reverse"}):u.jsx(Uy,{className:"h-7 w-7 animate-spin"})}),u.jsx("nav",{className:"hidden md:flex space-x-10",children:u.jsx(Zu,{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(Zu,{isActive:n,closeMenu:()=>r(!1),animate:!0})})})})]}),u.jsx("style",{children:` + */const By=ee("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function qy(){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(By,{className:"h-7 w-7 animate-spin-reverse"}):u.jsx(Uy,{className:"h-7 w-7 animate-spin"})}),u.jsx("nav",{className:"hidden md:flex space-x-10",children:u.jsx(Ju,{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(Ju,{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); } @@ -204,7 +204,7 @@ Error generating stack: `+s.message+` 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } } - `})]})}function Zu({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 Wy(){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(Xp,{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:` + `})]})}function Ju({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 Wy(){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(Xp,{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%; @@ -244,7 +244,7 @@ Error generating stack: `+s.message+` opacity: 0; } } - `})]})}function qy({children:e}){return u.jsxs("div",{className:"flex flex-col min-h-screen",children:[u.jsx(Hy,{})," ",u.jsx("main",{className:"flex-grow",children:e}),u.jsx(Wy,{})," "]})}function Vy(){return u.jsxs("div",{children:[u.jsx("style",{children:` + `})]})}function Hy({children:e}){return u.jsxs("div",{className:"flex flex-col min-h-screen",children:[u.jsx(qy,{})," ",u.jsx("main",{className:"flex-grow",children:e}),u.jsx(Wy,{})," "]})}function Vy(){return u.jsxs("div",{children:[u.jsx("style",{children:` /* New Gradient Animation for Hero Section */ @keyframes gradientAnimation { 0% { @@ -396,9 +396,9 @@ Error generating stack: `+s.message+` 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",children:"SNIGDHA OS 🔥"}),u.jsx("h2",{className:"text-2xl font-semibold mb-8 max-w-3xl mx-auto text-shadow-lg text-center",children:u.jsx("span",{className:"typing-effect",children:'"Where Performance Meets Innovation ✨"'})}),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(ha,{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(Ny,{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(is,{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(fa,{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(Ju,{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(ha,{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(Ay,{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(is,{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($y,{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(Yp,{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(Cy,{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(Ju,{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(Vt,{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(Vt,{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(Vt,{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(Vt,{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(Vt,{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(Vt,{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 Ky(){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(ci,{icon:u.jsx(Ly,{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(ci,{icon:u.jsx(fa,{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(ci,{icon:u.jsx(Yp,{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(di,{icon:u.jsx(Jp,{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(di,{icon:u.jsx(is,{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(di,{icon:u.jsx(fa,{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(Eo,{year:"Q1 2025",title:"User Interface Overhaul",description:"Introducing a more intuitive and modern user interface with customizable features."}),u.jsx(Eo,{year:"Q2 2025",title:"Security Enhancements",description:"Improving system-level security, including advanced encryption support and better intrusion detection mechanisms."}),u.jsx(Eo,{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(Eo,{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(ec,{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(ec,{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(Qy,{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 ci({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 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 ec({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 Eo({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 Qy({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 Yy(){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 nc.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-[#6495ed]",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(pi,{color:"#6495ed",text:"Lightweight & Fast"}),u.jsx(pi,{color:"#6495ed",text:"Open Source & Free"}),u.jsx(pi,{color:"#6495ed",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:Jy.map((i,a)=>u.jsx(Xy,{...i},a))}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-bold text-center mb-8 text-[#6495ed]",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(tc,{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(tc,{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:nc.map((i,a)=>u.jsx(rc,{...i},a))}),s&&u.jsxs("div",{className:"mt-8 text-center",children:[u.jsx("h3",{className:"text-2xl font-bold text-[#6495ed]",children:"Suggested Mirror for You"}),u.jsx(rc,{...s})]})]})]})})}function pi({color:e,text:t}){return u.jsx("span",{className:`inline-block px-4 py-2 text-sm bg-[${e}] text-white rounded-[5px] shadow-md`,children:t})}function Xy({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-[#6495ed]":""}`,children:[s&&u.jsx("div",{className:"absolute top-4 right-4 bg-[#6495ed] 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-[#6495ed]",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-[#6495ed]",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-[#6495ed] text-white px-6 py-2 rounded-[5px] hover:bg-[#4169e1] transition-colors",children:[u.jsx(ha,{className:"h-5 w-5"}),u.jsx("span",{children:"Download"})]})})]})}function tc({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-[#6495ed]",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 rc({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-[#6495ed] bg-[#e6f0ff]":""}`,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-[#6495ed] text-white py-2 px-4 rounded-lg",children:"Download"}),o&&u.jsx("div",{className:"absolute top-2 right-2 bg-[#6495ed] text-white text-sm px-2 py-1 rounded-lg",children:"Suggested Mirror"})]})})}const Jy=[{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(Vt,{className:"h-12 w-12 text-[#6495ed]"}),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(Iy,{className:"h-12 w-12 text-[#6495ed]"})},{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(Gy,{className:"h-12 w-12 text-[#6495ed]"})},{title:"KDE Plasma Edition",description:"Feature-rich, eye-catching, and offers tons of customization.",keyFeatures:["Cutting-edge Visuals","Full Customization","Highly Extensible"],idealFor:"Power users who want control and beauty in equal measure.",icon:u.jsx(zy,{className:"h-12 w-12 text-[#6495ed]"})}],nc=[{region:"North America (USA)",speed:"Very Fast",host:"ExampleMirrorHost.com",url:"https://example.com/download"},{region:"Europe (Germany)",speed:"Fast",host:"EU-Mirror.com",url:"https://eu-mirror.com/download"},{region:"Asia (India)",speed:"Moderate",host:"IN-Mirror.com",url:"https://in-mirror.com/download"}];var Zp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},oc=lt.createContext&<.createContext(Zp),Zy=["attr","size","title"];function ev(e,t){if(e==null)return{};var r=tv(e,t),n,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function tv(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 as(){return as=Object.assign?Object.assign.bind():function(e){for(var t=1;tlt.createElement(t.tag,ls({key:r},t.attr),eh(t.child)))}function sv(e){return t=>lt.createElement(iv,as({attr:ls({},e.attr)},t),eh(e.child))}function iv(e){var t=r=>{var{attr:n,size:o,title:s}=e,i=ev(e,Zy),a=o||r.size||"1em",l;return r.className&&(l=r.className),e.className&&(l=(l?l+" ":"")+e.className),lt.createElement("svg",as({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,i,{className:l,style:ls(ls({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 oc!==void 0?lt.createElement(oc.Consumer,null,r=>t(r)):t(Zp)}function av(e){return sv({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)}async function lv(e){try{const t=await fetch(`https://api.github.com/users/${e}`);if(!t.ok)throw new Error(`User not found: ${e}`);const r=await t.json();return{name:r.name||e,avatar_url:r.avatar_url||""}}catch(t){return console.error(t),{name:e,avatar_url:""}}}function uv(e){const[t,r]=j.useState({});return j.useEffect(()=>{(async()=>{const o={};for(let s of e){const i=await lv(s);o[s]=i}r(o)})()},[e]),t}function cv(){const e=["eshanized","TIAsCode","IXINTL","SarahJohnson","MichaelChang","DataFlowSolutions","RobertWilson","EmmaThompson","RajeshKumar","PriyaSharma","AryanPatel","MeenaIyer","VikramSingh"],t=uv(e);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(Jp,{className:"h-16 w-16 text-[#6495ed] mx-auto mb-6"}),u.jsx("h1",{className:"text-4xl font-bold mb-6 text-[#6495ed]",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.jsx("h2",{className:"text-3xl font-bold mb-8 text-center text-[#6495ed]",children:"Donors List"}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:e.map(r=>{var n,o;return u.jsxs("div",{className:"flex items-center gap-4",children:[(n=t[r])!=null&&n.avatar_url?u.jsx("img",{src:t[r].avatar_url,alt:t[r].name,className:"h-12 w-12 rounded-full"}):u.jsx("div",{className:"h-12 w-12 rounded-full bg-gray-300"}),u.jsxs("div",{children:[u.jsx("span",{className:"font-semibold",children:((o=t[r])==null?void 0:o.name)||r}),u.jsx("br",{}),u.jsx("span",{className:"text-sm text-gray-500",children:u.jsxs("a",{href:`https://github.com/${r}`,target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:underline",children:["@",r]})})]})]},r)})})]}),u.jsxs("section",{className:"bg-[#6495ed] rounded-lg p-8 text-center",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-4 text-white",children:[u.jsx(av,{className:"inline-block h-6 w-6 text-green-500 mr-2"}),"Become a Donor"]}),u.jsx("p",{className:"text-white 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-[#6495ed] text-white px-8 py-3 rounded-[5px] hover:bg-[#6495ed] transition-colors",children:"Make a Donation"})]}),u.jsxs("section",{className:"mt-16",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-8 text-[#6495ed]",children:[u.jsx(wo,{className:"inline-block h-6 w-6 text-[#6495ed] 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(dv,{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 text-[#6495ed]",children:"How Donations Are Used"}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[u.jsx(hi,{percentage:40,category:"Development",description:"Supporting core developers and infrastructure",icon:u.jsx(wo,{className:"h-6 w-6 text-[#6495ed]"})}),u.jsx(hi,{percentage:35,category:"Server Costs",description:"Maintaining mirrors and websites",icon:u.jsx(wo,{className:"h-6 w-6 text-[#6495ed]"})}),u.jsx(hi,{percentage:25,category:"Community",description:"Supporting community projects and events",icon:u.jsx(wo,{className:"h-6 w-6 text-[#6495ed]"})})]})]})]})})]})]})})}function dv({month:e,amount:t,donors:r,averageDonation:n}){return u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-4 text-[#6495ed]",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 hi({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-[#6495ed]",children:[e,"%"]})]}),u.jsx("h4",{className:"font-regular mb-1 text-[#6495ed]",children:t}),u.jsx("p",{className:"text-sm text-gray-600",children:r})]})}function It(){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})`:""}const pv=Object.freeze(Object.defineProperty({__proto__:null,getUserAgent:It},Symbol.toStringTag,{value:"Module"}));var Ps={exports:{}},hv=th;function th(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 th.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 fv=mv;function mv(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 gv=yv;function yv(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 rh=hv,vv=fv,wv=gv,ic=Function.bind,ac=ic.bind(ic);function nh(e,t,r){var n=ac(wv,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]=ac(vv,null).apply(null,s)})}function Ev(){var e="h",t={registry:{}},r=rh.bind(null,t,e);return nh(r,t,e),r}function oh(){var e={registry:{}},t=rh.bind(null,e);return nh(t,e),t}var lc=!1;function Xr(){return lc||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),lc=!0),oh()}Xr.Singular=Ev.bind();Xr.Collection=oh.bind();Ps.exports=Xr;Ps.exports.Hook=Xr;Ps.exports.Singular=Xr.Singular;var xv=Ps.exports.Collection=Xr.Collection,_v="9.0.5",kv=`octokit-endpoint.js/${_v} ${It()}`,Tv={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":kv},mediaType:{format:""}};function Sv(e){return e?Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{}):{}}function bv(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 sh(e,t){const r=Object.assign({},e);return Object.keys(t).forEach(n=>{bv(t[n])?n in e?r[n]=sh(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r}function uc(e){for(const t in e)e[t]===void 0&&delete e[t];return e}function ma(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=Sv(r.headers),uc(r),uc(r.headers);const n=sh(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 Pv(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 Ov=/\{[^}]+\}/g;function jv(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function Rv(e){const t=e.match(Ov);return t?t.map(jv).reduce((r,n)=>r.concat(n),[]):[]}function cc(e,t){const r={__proto__:null};for(const n of Object.keys(e))t.indexOf(n)===-1&&(r[n]=e[n]);return r}function ih(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==="#"?ih(t):Cr(t),r?Cr(r)+"="+t:t}function yr(e){return e!=null}function fi(e){return e===";"||e==="&"||e==="?"}function Cv(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,fi(t)?r:""));else if(n==="*")Array.isArray(o)?o.filter(yr).forEach(function(i){s.push(cn(t,i,fi(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())))}),fi(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 Av(e){return{expand:Nv.bind(null,e)}}function Nv(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(Cv(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 ih(s)}),e==="/"?e:e.replace(/\/$/,"")}function ah(e){var g;let t=e.method.toUpperCase(),r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),o,s=cc(e,["method","baseUrl","url","headers","request","mediaType"]);const i=Rv(r);r=Av(r).expand(s),/^http/.test(r)||(r=e.baseUrl+r);const a=Object.keys(e).filter(h=>i.includes(h)).concat("baseUrl"),l=cc(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=Pv(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 Fv(e,t,r){return ah(ma(e,t,r))}function lh(e,t){const r=ma(e,t),n=Fv.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:lh.bind(null,r),merge:ma.bind(null,r),parse:ah})}var Gv=lh(null,Tv);class dc extends Error{constructor(t){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}}var yl={exports:{}},Dv=uh;function uh(e,t){if(e&&t)return uh(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;oconsole.warn(e)),Iv=ph(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 Lv(new dc("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),t}}),Object.defineProperty(this,"headers",{get(){return Iv(new dc("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),n||{}}})}},zv="8.4.0";function $v(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 Mv(e){return e.arrayBuffer()}function pc(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;($v(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 mi(h)},request:e});if(o>=400){const y=await mi(h);throw new Kt(Bv(y),o,{response:{url:s,status:o,headers:n,data:y},request:e})}return r?await mi(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 mi(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():Mv(e)}function Bv(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 ga(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 pc(r.parse(i));const a=(l,c)=>pc(r.parse(r.merge(l,c)));return Object.assign(a,{endpoint:r,defaults:ga.bind(null,r)}),i.request.hook(a,i)},{endpoint:r,defaults:ga.bind(null,r)})}var Ee=ga(Gv,{headers:{"user-agent":`octokit-request.js/${zv} ${It()}`}}),Hv="7.1.0";function Wv(e){return`Request failed due to following response errors: + `}),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",children:"SNIGDHA OS 🔥"}),u.jsx("h2",{className:"text-2xl font-semibold mb-8 max-w-3xl mx-auto text-shadow-lg text-center",children:u.jsx("span",{className:"typing-effect",children:'"Where Performance Meets Innovation ✨"'})}),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(ha,{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(Ny,{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(is,{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(fa,{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(Xu,{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(ha,{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(Ay,{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(is,{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($y,{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(Yp,{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(Cy,{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(Xu,{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(Vt,{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(Vt,{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(Vt,{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(Vt,{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(Vt,{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(Vt,{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(mr,{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(mr,{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(mr,{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(mr,{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(mr,{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(mr,{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 Ky(){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 d=await fetch(`https://api.github.com/users/${l}`);if(!d.ok)throw new Error(`Failed to fetch data for ${l}`);return await d.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(ci,{icon:u.jsx(Ly,{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(ci,{icon:u.jsx(fa,{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(ci,{icon:u.jsx(Yp,{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(di,{icon:u.jsx(Jp,{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(di,{icon:u.jsx(is,{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(di,{icon:u.jsx(fa,{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(Eo,{year:"Q1 2025",title:"User Interface Overhaul",description:"Introducing a more intuitive and modern user interface with customizable features."}),u.jsx(Eo,{year:"Q2 2025",title:"Security Enhancements",description:"Improving system-level security, including advanced encryption support and better intrusion detection mechanisms."}),u.jsx(Eo,{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(Eo,{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(Zu,{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(Zu,{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(Qy,{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 ci({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 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 Zu({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 Eo({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 Qy({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 Yy(){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 rc.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-[#6495ed]",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(pi,{color:"#6495ed",text:"Lightweight & Fast"}),u.jsx(pi,{color:"#6495ed",text:"Open Source & Free"}),u.jsx(pi,{color:"#6495ed",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:Jy.map((i,a)=>u.jsx(Xy,{...i},a))}),u.jsxs("section",{className:"mb-16",children:[u.jsx("h2",{className:"text-3xl font-bold text-center mb-8 text-[#6495ed]",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(ec,{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(ec,{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:rc.map((i,a)=>u.jsx(tc,{...i},a))}),s&&u.jsxs("div",{className:"mt-8 text-center",children:[u.jsx("h3",{className:"text-2xl font-bold text-[#6495ed]",children:"Suggested Mirror for You"}),u.jsx(tc,{...s})]})]})]})})}function pi({color:e,text:t}){return u.jsx("span",{className:`inline-block px-4 py-2 text-sm bg-[${e}] text-white rounded-[5px] shadow-md`,children:t})}function Xy({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-[#6495ed]":""}`,children:[s&&u.jsx("div",{className:"absolute top-4 right-4 bg-[#6495ed] 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-[#6495ed]",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-[#6495ed]",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-[#6495ed] text-white px-6 py-2 rounded-[5px] hover:bg-[#4169e1] transition-colors",children:[u.jsx(ha,{className:"h-5 w-5"}),u.jsx("span",{children:"Download"})]})})]})}function ec({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-[#6495ed]",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 tc({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-[#6495ed] bg-[#e6f0ff]":""}`,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-[#6495ed] text-white py-2 px-4 rounded-lg",children:"Download"}),o&&u.jsx("div",{className:"absolute top-2 right-2 bg-[#6495ed] text-white text-sm px-2 py-1 rounded-lg",children:"Suggested Mirror"})]})})}const Jy=[{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(Vt,{className:"h-12 w-12 text-[#6495ed]"}),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(Iy,{className:"h-12 w-12 text-[#6495ed]"})},{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(Gy,{className:"h-12 w-12 text-[#6495ed]"})},{title:"KDE Plasma Edition",description:"Feature-rich, eye-catching, and offers tons of customization.",keyFeatures:["Cutting-edge Visuals","Full Customization","Highly Extensible"],idealFor:"Power users who want control and beauty in equal measure.",icon:u.jsx(zy,{className:"h-12 w-12 text-[#6495ed]"})}],rc=[{region:"North America (USA)",speed:"Very Fast",host:"ExampleMirrorHost.com",url:"https://example.com/download"},{region:"Europe (Germany)",speed:"Fast",host:"EU-Mirror.com",url:"https://eu-mirror.com/download"},{region:"Asia (India)",speed:"Moderate",host:"IN-Mirror.com",url:"https://in-mirror.com/download"}];var Zp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},nc=lt.createContext&<.createContext(Zp),Zy=["attr","size","title"];function ev(e,t){if(e==null)return{};var r=tv(e,t),n,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function tv(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 as(){return as=Object.assign?Object.assign.bind():function(e){for(var t=1;tlt.createElement(t.tag,ls({key:r},t.attr),eh(t.child)))}function sv(e){return t=>lt.createElement(iv,as({attr:ls({},e.attr)},t),eh(e.child))}function iv(e){var t=r=>{var{attr:n,size:o,title:s}=e,i=ev(e,Zy),a=o||r.size||"1em",l;return r.className&&(l=r.className),e.className&&(l=(l?l+" ":"")+e.className),lt.createElement("svg",as({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,i,{className:l,style:ls(ls({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 nc!==void 0?lt.createElement(nc.Consumer,null,r=>t(r)):t(Zp)}function av(e){return sv({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)}async function lv(e){try{const t=await fetch(`https://api.github.com/users/${e}`);if(!t.ok)throw new Error(`User not found: ${e}`);const r=await t.json();return{name:r.name||e,avatar_url:r.avatar_url||""}}catch(t){return console.error(t),{name:e,avatar_url:""}}}function uv(e){const[t,r]=j.useState({});return j.useEffect(()=>{(async()=>{const o={};for(let s of e){const i=await lv(s);o[s]=i}r(o)})()},[e]),t}function cv(){const e=["eshanized","TIAsCode","IXINTL","SarahJohnson","MichaelChang","DataFlowSolutions","RobertWilson","EmmaThompson","RajeshKumar","PriyaSharma","AryanPatel","MeenaIyer","VikramSingh"],t=uv(e);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(Jp,{className:"h-16 w-16 text-[#6495ed] mx-auto mb-6"}),u.jsx("h1",{className:"text-4xl font-bold mb-6 text-[#6495ed]",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.jsx("h2",{className:"text-3xl font-bold mb-8 text-center text-[#6495ed]",children:"Donors List"}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:e.map(r=>{var n,o;return u.jsxs("div",{className:"flex items-center gap-4",children:[(n=t[r])!=null&&n.avatar_url?u.jsx("img",{src:t[r].avatar_url,alt:t[r].name,className:"h-12 w-12 rounded-full"}):u.jsx("div",{className:"h-12 w-12 rounded-full bg-gray-300"}),u.jsxs("div",{children:[u.jsx("span",{className:"font-semibold",children:((o=t[r])==null?void 0:o.name)||r}),u.jsx("br",{}),u.jsx("span",{className:"text-sm text-gray-500",children:u.jsxs("a",{href:`https://github.com/${r}`,target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:underline",children:["@",r]})})]})]},r)})})]}),u.jsxs("section",{className:"bg-[#6495ed] rounded-lg p-8 text-center",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-4 text-white",children:[u.jsx(av,{className:"inline-block h-6 w-6 text-green-500 mr-2"}),"Become a Donor"]}),u.jsx("p",{className:"text-white 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-[#6495ed] text-white px-8 py-3 rounded-[5px] hover:bg-[#6495ed] transition-colors",children:"Make a Donation"})]}),u.jsxs("section",{className:"mt-16",children:[u.jsxs("h2",{className:"text-3xl font-bold mb-8 text-[#6495ed]",children:[u.jsx(wo,{className:"inline-block h-6 w-6 text-[#6495ed] 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(dv,{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 text-[#6495ed]",children:"How Donations Are Used"}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[u.jsx(hi,{percentage:40,category:"Development",description:"Supporting core developers and infrastructure",icon:u.jsx(wo,{className:"h-6 w-6 text-[#6495ed]"})}),u.jsx(hi,{percentage:35,category:"Server Costs",description:"Maintaining mirrors and websites",icon:u.jsx(wo,{className:"h-6 w-6 text-[#6495ed]"})}),u.jsx(hi,{percentage:25,category:"Community",description:"Supporting community projects and events",icon:u.jsx(wo,{className:"h-6 w-6 text-[#6495ed]"})})]})]})]})})]})]})})}function dv({month:e,amount:t,donors:r,averageDonation:n}){return u.jsxs("div",{children:[u.jsx("h3",{className:"font-bold text-xl mb-4 text-[#6495ed]",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 hi({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-[#6495ed]",children:[e,"%"]})]}),u.jsx("h4",{className:"font-regular mb-1 text-[#6495ed]",children:t}),u.jsx("p",{className:"text-sm text-gray-600",children:r})]})}function It(){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})`:""}const pv=Object.freeze(Object.defineProperty({__proto__:null,getUserAgent:It},Symbol.toStringTag,{value:"Module"}));var Ps={exports:{}},hv=th;function th(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 th.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 fv=mv;function mv(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 gv=yv;function yv(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 rh=hv,vv=fv,wv=gv,sc=Function.bind,ic=sc.bind(sc);function nh(e,t,r){var n=ic(wv,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]=ic(vv,null).apply(null,s)})}function Ev(){var e="h",t={registry:{}},r=rh.bind(null,t,e);return nh(r,t,e),r}function oh(){var e={registry:{}},t=rh.bind(null,e);return nh(t,e),t}var ac=!1;function Xr(){return ac||(console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4'),ac=!0),oh()}Xr.Singular=Ev.bind();Xr.Collection=oh.bind();Ps.exports=Xr;Ps.exports.Hook=Xr;Ps.exports.Singular=Xr.Singular;var xv=Ps.exports.Collection=Xr.Collection,_v="9.0.5",kv=`octokit-endpoint.js/${_v} ${It()}`,Tv={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":kv},mediaType:{format:""}};function Sv(e){return e?Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{}):{}}function bv(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 sh(e,t){const r=Object.assign({},e);return Object.keys(t).forEach(n=>{bv(t[n])?n in e?r[n]=sh(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r}function lc(e){for(const t in e)e[t]===void 0&&delete e[t];return e}function ma(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=Sv(r.headers),lc(r),lc(r.headers);const n=sh(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 Pv(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 Ov=/\{[^}]+\}/g;function jv(e){return e.replace(/^\W+|\W+$/g,"").split(/,/)}function Rv(e){const t=e.match(Ov);return t?t.map(jv).reduce((r,n)=>r.concat(n),[]):[]}function uc(e,t){const r={__proto__:null};for(const n of Object.keys(e))t.indexOf(n)===-1&&(r[n]=e[n]);return r}function ih(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 Rr(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function cn(e,t,r){return t=e==="+"||e==="#"?ih(t):Rr(t),r?Rr(r)+"="+t:t}function gr(e){return e!=null}function fi(e){return e===";"||e==="&"||e==="?"}function Cv(e,t,r,n){var o=e[r],s=[];if(gr(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,fi(t)?r:""));else if(n==="*")Array.isArray(o)?o.filter(gr).forEach(function(i){s.push(cn(t,i,fi(t)?r:""))}):Object.keys(o).forEach(function(i){gr(o[i])&&s.push(cn(t,o[i],i))});else{const i=[];Array.isArray(o)?o.filter(gr).forEach(function(a){i.push(cn(t,a))}):Object.keys(o).forEach(function(a){gr(o[a])&&(i.push(Rr(a)),i.push(cn(t,o[a].toString())))}),fi(t)?s.push(Rr(r)+"="+i.join(",")):i.length!==0&&s.push(i.join(","))}else t===";"?gr(o)&&s.push(Rr(r)):o===""&&(t==="&"||t==="?")?s.push(Rr(r)+"="):o===""&&s.push("");return s}function Av(e){return{expand:Nv.bind(null,e)}}function Nv(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(d){var g=/([^:\*]*)(?::(\d+)|(\*))?/.exec(d);l.push(Cv(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 ih(s)}),e==="/"?e:e.replace(/\/$/,"")}function ah(e){var g;let t=e.method.toUpperCase(),r=(e.url||"/").replace(/:([a-z]\w+)/g,"{$1}"),n=Object.assign({},e.headers),o,s=uc(e,["method","baseUrl","url","headers","request","mediaType"]);const i=Rv(r);r=Av(r).expand(s),/^http/.test(r)||(r=e.baseUrl+r);const a=Object.keys(e).filter(h=>i.includes(h)).concat("baseUrl"),l=uc(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=Pv(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 Fv(e,t,r){return ah(ma(e,t,r))}function lh(e,t){const r=ma(e,t),n=Fv.bind(null,r);return Object.assign(n,{DEFAULTS:r,defaults:lh.bind(null,r),merge:ma.bind(null,r),parse:ah})}var Gv=lh(null,Tv);class cc extends Error{constructor(t){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),this.name="Deprecation"}}var gl={exports:{}},Dv=uh;function uh(e,t){if(e&&t)return uh(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;oconsole.warn(e)),Iv=ph(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 Lv(new cc("[@octokit/request-error] `error.code` is deprecated, use `error.status`.")),t}}),Object.defineProperty(this,"headers",{get(){return Iv(new cc("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`.")),n||{}}})}},zv="8.4.0";function $v(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 Mv(e){return e.arrayBuffer()}function dc(e){var a,l,d,g;const t=e.request&&e.request.log?e.request.log:console,r=((a=e.request)==null?void 0:a.parseSuccessResponseBody)!==!1;($v(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:(d=e.request)==null?void 0:d.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 mi(h)},request:e});if(o>=400){const y=await mi(h);throw new Kt(Bv(y),o,{response:{url:s,status:o,headers:n,data:y},request:e})}return r?await mi(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 mi(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():Mv(e)}function Bv(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 ga(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 dc(r.parse(i));const a=(l,d)=>dc(r.parse(r.merge(l,d)));return Object.assign(a,{endpoint:r,defaults:ga.bind(null,r)}),i.request.hook(a,i)},{endpoint:r,defaults:ga.bind(null,r)})}var Ee=ga(Gv,{headers:{"user-agent":`octokit-request.js/${zv} ${It()}`}}),qv="7.1.0";function Wv(e){return`Request failed due to following response errors: `+e.errors.map(t=>` - ${t.message}`).join(` -`)}var qv=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)}},Vv=["method","baseUrl","url","headers","request","query","mediaType"],Kv=["query","method","url"],hc=/\/api\/v3\/?$/;function Qv(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(Kv.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)=>Vv.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 hc.test(s)&&(o.url=s.replace(hc,"/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 qv(o,a,i.data)}return i.data.data})}function vl(e,t){const r=e.defaults(t);return Object.assign((o,s)=>Qv(r,o,s),{defaults:vl.bind(null,r),endpoint:r.endpoint})}vl(Ee,{headers:{"user-agent":`octokit-graphql.js/${Hv} ${It()}`},method:"POST",url:"/graphql"});function Yv(e){return vl(e,{method:"POST",url:"/graphql"})}var Xv=/^v1\./,Jv=/^ghs_/,Zv=/^ghu_/;async function e0(e){const t=e.split(/\./).length===3,r=Xv.test(e)||Jv.test(e),n=Zv.test(e);return{type:"token",token:e,tokenType:t?"app":r?"installation":n?"user-to-server":"oauth"}}function t0(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function r0(e,t,r,n){const o=t.endpoint.merge(r,n);return o.headers.authorization=t0(e),t(o)}var n0=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(e0.bind(null,t),{hook:r0.bind(null,t)})},hh="5.2.0",fc=()=>{},o0=console.warn.bind(console),s0=console.error.bind(console),mc=`octokit-core.js/${hh} ${It()}`,tr,fh=(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 xv,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} ${mc}`:mc,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=Yv(this.request).defaults(n),this.log=Object.assign({debug:fc,info:fc,warn:o0,error:s0},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=n0(t.auth);r.wrap("request",s.hook),this.auth=s}const o=this.constructor;for(let s=0;s({async next(){if(!a)return{done:!0};try{const l=await o({method:s,url:a,headers:i}),c=l0(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 mh(e,t,r,n){return typeof r=="function"&&(n=r,r=void 0),gh(e,[],wl(e,t,r)[Symbol.asyncIterator](),n)}function gh(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:gh(e,t,r,n)})}Object.assign(mh,{iterator:wl});function yh(e){return{paginate:Object.assign(mh.bind(null,e),{iterator:wl.bind(null,e)})}}yh.VERSION=a0;var u0=(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.`,c0=class extends Error{constructor(e,t){super(u0(e.pathInQuery,t)),this.pageInfo=e,this.cursorValue=t,this.name="MissingCursorChangeError",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},d0=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)}},p0=e=>Object.prototype.toString.call(e)==="[object Object]";function vh(e){const t=wh(e,"pageInfo");if(t.length===0)throw new d0(e);return t}var wh=(e,t,r=[])=>{for(const n of Object.keys(e)){const o=[...r,n],s=e[n];if(s.hasOwnProperty(t))return o;if(p0(s)){const i=wh(s,t,o);if(i.length>0)return i}}return[]},Sn=(e,t)=>t.reduce((r,n)=>r[n],e),gi=(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},h0=e=>{const t=vh(e);return{pathInQuery:t,pageInfo:Sn(e,[...t,"pageInfo"])}},Eh=e=>e.hasOwnProperty("hasNextPage"),f0=e=>Eh(e)?e.endCursor:e.startCursor,m0=e=>Eh(e)?e.hasNextPage:e.hasPreviousPage,xh=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=h0(s),a=f0(i.pageInfo);if(n=m0(i.pageInfo),n&&a===o.cursor)throw new c0(i,a);return o={...o,cursor:a},{done:!1,value:s}}})}},g0=(e,t)=>{if(Object.keys(e).length===0)return Object.assign(e,t);const r=vh(e),n=[...r,"nodes"],o=Sn(t,n);o&&gi(e,n,l=>[...l,...o]);const s=[...r,"edges"],i=Sn(t,s);i&&gi(e,s,l=>[...l,...i]);const a=[...r,"pageInfo"];return gi(e,a,Sn(t,a)),e},y0=e=>{const t=xh(e);return async(r,n={})=>{let o={};for await(const s of t(r,n))o=g0(o,s);return o}};function v0(e){return e.graphql,{graphql:Object.assign(e.graphql,{paginate:Object.assign(y0(e),{iterator:xh(e)})})}}var w0="13.2.2",E0={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"]}},x0=E0,er=new Map;for(const[e,t]of Object.entries(x0))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 _0={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]=T0(e,t,n,s,i):r[n]=e.request.defaults(s),r[n]}};function k0(e){const t={};for(const r of er.keys())t[r]=new Proxy({octokit:e,scope:r,cache:{}},_0);return t}function T0(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 _h(e){return{rest:k0(e)}}_h.VERSION=w0;var kh={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ds,function(){var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ds<"u"?Ds: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;d0)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,q;q=i,F=P,U=class{constructor(v,d,w){this.instance=v,this.storeOptions=d,this.clientId=this.instance._randomIndex(),q.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(),q.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}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(v[this.status[w]]=d,v),{})}};var Mt=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."),Q=()=>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."),Bt,Ye,fr,Xe,Ht,eo;eo=i,Bt=g,Xe=I,fr=Q,Ht=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 Bt(this),this.instances={},this.Bottleneck=Al,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",...Ht.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{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 Vh=Ye,_l,kl,Tl;Tl=i,kl=g,_l=(function(){class D{constructor(d={}){this.options=d,Tl.load(this.options,this.defaults,this),this.Events=new kl(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 Kh=_l,Qh=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Yh=n(L),Sl,bl,As,Ns,Pl,Fs,Ol,jl,Rl,Gs,Je,Cl=[].splice;Fs=10,bl=5,Je=i,Ol=S,Ns=C,Pl=z,jl=Qh,As=g,Rl=Mt,Gs=Zr,Sl=(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 Ol(Fs),this._scheduled={},this._states=new Rl(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new As(this),this._submitLock=new Gs("submit",this.Promise),this._registerLock=new Gs("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 jl(this,k,E);if(this.datastore==="local")return E=Je.load(d,this.localStoreDefaults,{}),new Pl(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:Fs-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]=Cl.call(d,-1),O=Je.load({},this.jobDefaults)):(B=d,[O,E,...d]=B,[w]=Cl.call(d,-1),O=Je.load(O,this.jobDefaults)),de=(...me)=>new this.Promise(function(en,Jh){return E(...me,function(...Nl){return(Nl[0]!=null?Jh:en)(Nl)})}),k=new Ns(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 Ns(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=As,D.version=D.prototype.version=Yh.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=Vh,D.RedisConnection=D.prototype.RedisConnection=I,D.IORedisConnection=D.prototype.IORedisConnection=Q,D.Batcher=D.prototype.Batcher=Kh,D.prototype.jobDefaults={priority:bl,weight:1,expiration:null,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:"",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 Al=Sl,Xh=Al;return Xh})})(kh);var S0=kh.exports;const Th=us(S0);async function Sh(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 b0(e,t,r,n){const o=new Th;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(P0.bind(null,e,t,r),n)}async function P0(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 Sh(e,t,s,n)}return o}var O0="6.1.0";function bh(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",Sh.bind(null,r,e)),e.hook.wrap("request",b0.bind(null,r,e))),{retry:{retryRequest:(n,o,s)=>(n.request.request=Object.assign({},n.request.request,{retries:o,retryAfter:s}),n)}}}bh.VERSION=O0;var j0="8.2.0",yi=()=>Promise.resolve();function R0(e,t,r){return e.retryLimiter.schedule(C0,e,t,r)}async function C0(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,yi),n&&e.triggersNotification(o)&&await e.notifications.key(e.id).schedule(l,yi),s&&await e.search.key(e.id).schedule(l,yi);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 A0=["/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 N0(e){const r=`^(?:${e.map(n=>n.split("/").map(o=>o.startsWith("{")?"(?:.+?)":o).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(r,"i")}var gc=N0(A0),Ph=gc.test.bind(gc),Ar={},F0=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 El(e,t){const{enabled:r=!0,Bottleneck:n=Th,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&&F0(n,a);const l=Object.assign({clustering:i!=null,triggersNotification:Ph,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: +`)}var Hv=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)}},Vv=["method","baseUrl","url","headers","request","query","mediaType"],Kv=["query","method","url"],pc=/\/api\/v3\/?$/;function Qv(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(Kv.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)=>Vv.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 pc.test(s)&&(o.url=s.replace(pc,"/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 Hv(o,a,i.data)}return i.data.data})}function yl(e,t){const r=e.defaults(t);return Object.assign((o,s)=>Qv(r,o,s),{defaults:yl.bind(null,r),endpoint:r.endpoint})}yl(Ee,{headers:{"user-agent":`octokit-graphql.js/${qv} ${It()}`},method:"POST",url:"/graphql"});function Yv(e){return yl(e,{method:"POST",url:"/graphql"})}var Xv=/^v1\./,Jv=/^ghs_/,Zv=/^ghu_/;async function ew(e){const t=e.split(/\./).length===3,r=Xv.test(e)||Jv.test(e),n=Zv.test(e);return{type:"token",token:e,tokenType:t?"app":r?"installation":n?"user-to-server":"oauth"}}function tw(e){return e.split(/\./).length===3?`bearer ${e}`:`token ${e}`}async function rw(e,t,r,n){const o=t.endpoint.merge(r,n);return o.headers.authorization=tw(e),t(o)}var nw=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(ew.bind(null,t),{hook:rw.bind(null,t)})},hh="5.2.0",hc=()=>{},ow=console.warn.bind(console),sw=console.error.bind(console),fc=`octokit-core.js/${hh} ${It()}`,tr,fh=(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 xv,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} ${fc}`:fc,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=Yv(this.request).defaults(n),this.log=Object.assign({debug:hc,info:hc,warn:ow,error:sw},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=nw(t.auth);r.wrap("request",s.hook),this.auth=s}const o=this.constructor;for(let s=0;s({async next(){if(!a)return{done:!0};try{const l=await o({method:s,url:a,headers:i}),d=lw(l);return a=((d.headers.link||"").match(/<([^>]+)>;\s*rel="next"/)||[])[1],{value:d}}catch(l){if(l.status!==409)throw l;return a="",{value:{status:200,headers:{},data:[]}}}}})}}function mh(e,t,r,n){return typeof r=="function"&&(n=r,r=void 0),gh(e,[],vl(e,t,r)[Symbol.asyncIterator](),n)}function gh(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:gh(e,t,r,n)})}Object.assign(mh,{iterator:vl});function yh(e){return{paginate:Object.assign(mh.bind(null,e),{iterator:vl.bind(null,e)})}}yh.VERSION=aw;var uw=(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.`,cw=class extends Error{constructor(e,t){super(uw(e.pathInQuery,t)),this.pageInfo=e,this.cursorValue=t,this.name="MissingCursorChangeError",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},dw=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)}},pw=e=>Object.prototype.toString.call(e)==="[object Object]";function vh(e){const t=wh(e,"pageInfo");if(t.length===0)throw new dw(e);return t}var wh=(e,t,r=[])=>{for(const n of Object.keys(e)){const o=[...r,n],s=e[n];if(s.hasOwnProperty(t))return o;if(pw(s)){const i=wh(s,t,o);if(i.length>0)return i}}return[]},Sn=(e,t)=>t.reduce((r,n)=>r[n],e),gi=(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},hw=e=>{const t=vh(e);return{pathInQuery:t,pageInfo:Sn(e,[...t,"pageInfo"])}},Eh=e=>e.hasOwnProperty("hasNextPage"),fw=e=>Eh(e)?e.endCursor:e.startCursor,mw=e=>Eh(e)?e.hasNextPage:e.hasPreviousPage,xh=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=hw(s),a=fw(i.pageInfo);if(n=mw(i.pageInfo),n&&a===o.cursor)throw new cw(i,a);return o={...o,cursor:a},{done:!1,value:s}}})}},gw=(e,t)=>{if(Object.keys(e).length===0)return Object.assign(e,t);const r=vh(e),n=[...r,"nodes"],o=Sn(t,n);o&&gi(e,n,l=>[...l,...o]);const s=[...r,"edges"],i=Sn(t,s);i&&gi(e,s,l=>[...l,...i]);const a=[...r,"pageInfo"];return gi(e,a,Sn(t,a)),e},yw=e=>{const t=xh(e);return async(r,n={})=>{let o={};for await(const s of t(r,n))o=gw(o,s);return o}};function vw(e){return e.graphql,{graphql:Object.assign(e.graphql,{paginate:Object.assign(yw(e),{iterator:xh(e)})})}}var ww="13.2.2",Ew={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"]}},xw=Ew,er=new Map;for(const[e,t]of Object.entries(xw))for(const[r,n]of Object.entries(t)){const[o,s,i]=n,[a,l]=o.split(/ /),d=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:d,decorations:i})}var _w={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]=Tw(e,t,n,s,i):r[n]=e.request.defaults(s),r[n]}};function kw(e){const t={};for(const r of er.keys())t[r]=new Proxy({octokit:e,scope:r,cache:{}},_w);return t}function Tw(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[d,g]=o.renamed;e.log.warn(`octokit.${t}.${r}() has been renamed to octokit.${d}.${g}()`)}if(o.deprecated&&e.log.warn(o.deprecated),o.renamedParameters){const d=s.endpoint.merge(...a);for(const[g,h]of Object.entries(o.renamedParameters))g in d&&(e.log.warn(`"${g}" parameter is deprecated for "octokit.${t}.${r}()". Use "${h}" instead`),h in d||(d[h]=d[g]),delete d[g]);return s(d)}return s(...a)}return Object.assign(i,s)}function _h(e){return{rest:kw(e)}}_h.VERSION=ww;var kh={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Ds,function(){var r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Ds<"u"?Ds:typeof self<"u"?self:{};function n(D){return D&&D.default||D}var o=function(D,v,c={}){var w,E,k;for(w in v)k=v[w],c[w]=(E=D[w])!=null?E:k;return c},s=function(D,v,c={}){var w,E;for(w in D)E=D[w],v[w]!==void 0&&(c[w]=E);return c},i={load:o,overwrite:s},a;a=class{constructor(v,c){this.incr=v,this.decr=c,this._first=null,this._last=null,this.length=0}push(v){var c;this.length++,typeof this.incr=="function"&&this.incr(),c={value:v,prev:this._last,next:null},this._last!=null?(this._last.next=c,this._last=c):this._first=this._last=c}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,c,w;for(v=this._first,w=[];v!=null;)w.push((c=v,v=v.next,c.value));return w}forEachShift(v){var c;for(c=this.shift();c!=null;)v(c),c=this.shift()}debug(){var v,c,w,E,k;for(v=this._first,k=[];v!=null;)k.push((c=v,v=v.next,{value:c.value,prev:(w=c.prev)!=null?w.value:void 0,next:(E=c.next)!=null?E.value:void 0}));return k}};var l=a,d;d=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=(c,w)=>this._addListener(c,"many",w),this.instance.once=(c,w)=>this._addListener(c,"once",w),this.instance.removeAllListeners=(c=null)=>c!=null?delete this._events[c]:this._events={}}_addListener(v,c,w){var E;return(E=this._events)[v]==null&&(E[v]=[]),this._events[v].push({cb:w,status:c}),this.instance}listenerCount(v){return this._events[v]!=null?this._events[v].length:0}async trigger(v,...c){var w,E;try{return v!=="debug"&&this.trigger("debug",`Event triggered: ${v}`,c),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 P,G;if(k.status!=="none"){k.status==="once"&&(k.status="none");try{return G=typeof k.cb=="function"?k.cb(...c):void 0,typeof(G!=null?G.then:void 0)=="function"?await G:G}catch(B){return P=B,this.trigger("error",P),null}}}),(await Promise.all(E)).find(function(k){return k!=null}))}catch(k){return w=k,this.trigger("error",w),null}}};var g=d,h,y,x;h=l,y=g,x=class{constructor(v){this.Events=new y(this),this._length=0,this._lists=(function(){var c,w,E;for(E=[],c=1,w=v;1<=w?c<=w:c>=w;1<=w?++c:--c)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(c){return c.forEachShift(v)})}getFirst(v=this._lists){var c,w,E;for(c=0,w=v.length;c0)return E;return[]}shiftLastFrom(v){return this.getFirst(this._lists.slice(v).reverse()).shift()}};var S=x,T;T=class extends Error{};var O=T,f,p,m,_,R;_=10,p=5,R=i,f=O,m=class{constructor(v,c,w,E,k,P,G,B){this.task=v,this.args=c,this.rejectOnDrop=k,this.Events=P,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 c;return c=~~v!==v?p:v,c<0?0:c>_-1?_-1:c}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:v,message:c="This job has been dropped by Bottleneck"}={}){return this._states.remove(this.options.id)?(this.rejectOnDrop&&this._reject(v??new f(c)),this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise}),!0):!1}_assertStatus(v){var c;if(c=this._states.jobStatus(this.options.id),!(c===v||v==="DONE"&&c===null))throw new f(`Invalid job status ${c}, 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,c){return this._assertStatus("RECEIVED"),this._states.next(this.options.id),this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:v,blocked:c})}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,c,w,E){var k,P,G;this.retryCount===0?(this._assertStatus("RUNNING"),this._states.next(this.options.id)):this._assertStatus("EXECUTING"),P={args:this.args,options:this.options,retryCount:this.retryCount},this.Events.trigger("executing",P);try{if(G=await(v!=null?v.schedule(this.options,this.task,...this.args):this.task(...this.args)),c())return this.doDone(P),await E(this.options,P),this._assertStatus("DONE"),this._resolve(G)}catch(B){return k=B,this._onFailure(k,P,c,w,E)}}doExpire(v,c,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,c,w)}async _onFailure(v,c,w,E,k){var P,G;if(w())return P=await this.Events.trigger("failed",v,c),P!=null?(G=~~P,this.Events.trigger("retry",`Retrying ${this.options.id} after ${G} ms`,c),this.retryCount++,E(G)):(this.doDone(c),await k(this.options,c),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,H;H=i,F=O,U=class{constructor(v,c,w){this.instance=v,this.storeOptions=c,this.clientId=this.instance._randomIndex(),H.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 c,w,E,k,P;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:c,reservoirIncreaseMaximum:E,reservoir:P}=this.storeOptions,this._lastReservoirIncrease=k,w=E!=null?Math.min(c,E-P):c,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(c,w){return setTimeout(c,v)})}computePenalty(){var v;return(v=this.storeOptions.penalty)!=null?v:15*this.storeOptions.minTime||5e3}async __updateSettings__(v){return await this.yieldLoop(),H.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}check(v,c){return this.conditionsCheck(v)&&this._nextRequest-c<=0}async __check__(v){var c;return await this.yieldLoop(),c=Date.now(),this.check(v,c)}async __register__(v,c,w){var E,k;return await this.yieldLoop(),E=Date.now(),this.conditionsCheck(c)?(this._running+=c,this.storeOptions.reservoir!=null&&(this.storeOptions.reservoir-=c),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,c){var w,E,k;if(await this.yieldLoop(),this.storeOptions.maxConcurrent!=null&&c>this.storeOptions.maxConcurrent)throw new F(`Impossible to add a job having a weight of ${c} 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(c,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,c){return await this.yieldLoop(),this._running-=c,this._done+=c,this.instance._drainAll(this.computeCapacity()),{running:this._running}}};var z=U,Se,gt;Se=O,gt=class{constructor(v){this.status=v,this._jobs={},this.counts=this.status.map(function(){return 0})}next(v){var c,w;if(c=this._jobs[v],w=c+1,c!=null&&w(v[this.status[w]]=c,v),{})}};var Mt=gt,Jr,Zn;Jr=l,Zn=class{constructor(v,c){this.schedule=this.schedule.bind(this),this.name=v,this.Promise=c,this._running=0,this._queue=new Jr}isEmpty(){return this._queue.length===0}async _tryToRun(){var v,c,w,E,k,P,G;if(this._running<1&&this._queue.length>0)return this._running++,{task:G,args:v,resolve:k,reject:E}=this._queue.shift(),c=await async function(){try{return P=await G(...v),function(){return k(P)}}catch(B){return w=B,function(){return E(w)}}}(),this._running--,this._tryToRun(),c()}schedule(v,...c){var w,E,k;return k=E=null,w=new this.Promise(function(P,G){return k=P,E=G}),this._queue.push({task:v,args:c,resolve:k,reject:E}),this._tryToRun(),w}};var Zr=Zn,pr="2.19.5",A={version:pr},L=Object.freeze({version:pr,default:A}),I=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Q=()=>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."),Bt,Ye,hr,Xe,qt,eo;eo=i,Bt=g,Xe=I,hr=Q,qt=oe,Ye=(function(){class D{constructor(c={}){this.deleteKey=this.deleteKey.bind(this),this.limiterOptions=c,eo.load(this.limiterOptions,this.defaults,this),this.Events=new Bt(this),this.instances={},this.Bottleneck=Cl,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 hr(Object.assign({},this.limiterOptions,{Events:this.Events}))))}key(c=""){var w;return(w=this.instances[c])!=null?w:(()=>{var E;return E=this.instances[c]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${c}`,timeout:this.timeout,connection:this.connection})),this.Events.trigger("created",E,c),E})()}async deleteKey(c=""){var w,E;return E=this.instances[c],this.connection&&(w=await this.connection.__runCommand__(["del",...qt.allKeys(`${this.id}-${c}`)])),E!=null&&(delete this.instances[c],await E.disconnect()),E!=null||w>0}limiters(){var c,w,E,k;w=this.instances,E=[];for(c in w)k=w[c],E.push({key:c,limiter:k});return E}keys(){return Object.keys(this.instances)}async clusterKeys(){var c,w,E,k,P,G,B,de,me;if(this.connection==null)return this.Promise.resolve(this.keys());for(G=[],c=null,me=`b_${this.id}-`.length,w=9;c!==0;)for([de,E]=await this.connection.__runCommand__(["scan",c??0,"match",`b_${this.id}-*_settings`,"count",1e4]),c=~~de,k=0,B=E.length;k{var w,E,k,P,G,B;G=Date.now(),k=this.instances,P=[];for(E in k){B=k[E];try{await B._store.__groupCheck__(G)?P.push(this.deleteKey(E)):P.push(void 0)}catch(de){w=de,P.push(B.Events.trigger("error",w))}}return P},this.timeout/2)).unref=="function"?c.unref():void 0}updateSettings(c={}){if(eo.overwrite(c,this.defaults,this),eo.overwrite(c,c,this.limiterOptions),c.timeout!=null)return this._startAutoCleanup()}disconnect(c=!0){var w;if(!this.sharedConnection)return(w=this.connection)!=null?w.disconnect(c):void 0}}return D.prototype.defaults={timeout:1e3*60*5,connection:null,Promise,id:"group-key"},D}).call(r);var Vh=Ye,xl,_l,kl;kl=i,_l=g,xl=(function(){class D{constructor(c={}){this.options=c,kl.load(this.options,this.defaults,this),this.Events=new _l(this),this._arr=[],this._resetPromise(),this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise((c,w)=>this._resolve=c)}_flush(){return clearTimeout(this._timeout),this._lastFlush=Date.now(),this._resolve(),this.Events.trigger("batch",this._arr),this._arr=[],this._resetPromise()}add(c){var w;return this._arr.push(c),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 Kh=xl,Qh=()=>console.log("You must import the full version of Bottleneck in order to use this feature."),Yh=n(L),Tl,Sl,As,Ns,bl,Fs,Pl,Ol,jl,Gs,Je,Rl=[].splice;Fs=10,Sl=5,Je=i,Pl=S,Ns=C,bl=z,Ol=Qh,As=g,jl=Mt,Gs=Zr,Tl=(function(){class D{constructor(c={},...w){var E,k;this._addToQueue=this._addToQueue.bind(this),this._validateOptions(c,w),Je.load(c,this.instanceDefaults,this),this._queues=new Pl(Fs),this._scheduled={},this._states=new jl(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[])),this._limiter=null,this.Events=new As(this),this._submitLock=new Gs("submit",this.Promise),this._registerLock=new Gs("register",this.Promise),k=Je.load(c,this.storeDefaults,{}),this._store=(function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null)return E=Je.load(c,this.redisStoreDefaults,{}),new Ol(this,k,E);if(this.datastore==="local")return E=Je.load(c,this.localStoreDefaults,{}),new bl(this,k,E);throw new D.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}).call(this),this._queues.on("leftzero",()=>{var P;return(P=this._store.heartbeat)!=null&&typeof P.ref=="function"?P.ref():void 0}),this._queues.on("zero",()=>{var P;return(P=this._store.heartbeat)!=null&&typeof P.unref=="function"?P.unref():void 0})}_validateOptions(c,w){if(!(c!=null&&typeof c=="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(c){return this._store.__publish__(c)}disconnect(c=!0){return this._store.__disconnect__(c)}chain(c){return this._limiter=c,this}queued(c){return this._queues.queued(c)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(c){return this._states.jobStatus(c)}jobs(c){return this._states.statusJobs(c)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(c=1){return this._store.__check__(c)}_clearGlobalState(c){return this._scheduled[c]!=null?(clearTimeout(this._scheduled[c].expiration),delete this._scheduled[c],!0):!1}async _free(c,w,E,k){var P,G;try{if({running:G}=await this._store.__free__(c,E.weight),this.Events.trigger("debug",`Freed ${E.id}`,k),G===0&&this.empty())return this.Events.trigger("idle")}catch(B){return P=B,this.Events.trigger("error",P)}}_run(c,w,E){var k,P,G;return w.doRun(),k=this._clearGlobalState.bind(this,c),G=this._run.bind(this,c,w),P=this._free.bind(this,c,w),this._scheduled[c]={timeout:setTimeout(()=>w.doExecute(this._limiter,k,G,P),E),expiration:w.options.expiration!=null?setTimeout(function(){return w.doExpire(k,G,P)},E+w.options.expiration):void 0,job:w}}_drainOne(c){return this._registerLock.schedule(()=>{var w,E,k,P,G;return this.queued()===0?this.Promise.resolve(null):(G=this._queues.getFirst(),{options:P,args:w}=k=G.first(),c!=null&&P.weight>c?this.Promise.resolve(null):(this.Events.trigger("debug",`Draining ${P.id}`,{args:w,options:P}),E=this._randomIndex(),this._store.__register__(E,P.weight,P.expiration).then(({success:B,wait:de,reservoir:me})=>{var en;return this.Events.trigger("debug",`Drained ${P.id}`,{success:B,args:w,options:P}),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(P.weight)):this.Promise.resolve(null)})))})}_drainAll(c,w=0){return this._drainOne(c).then(E=>{var k;return E!=null?(k=c!=null?c-E:c,this._drainAll(k,w+E)):this.Promise.resolve(w)}).catch(E=>this.Events.trigger("error",E))}_dropAllQueued(c){return this._queues.shiftAll(function(w){return w.doDrop({message:c})})}stop(c={}){var w,E;return c=Je.load(c,this.stopDefaults),E=k=>{var P;return P=()=>{var G;return G=this._states.counts,G[0]+G[1]+G[2]+G[3]===k},new this.Promise((G,B)=>P()?G():this.on("done",()=>{if(P())return this.removeAllListeners("done"),G()}))},w=c.dropWaitingJobs?(this._run=function(k,P){return P.doDrop({message:c.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule(()=>this._submitLock.schedule(()=>{var k,P,G;P=this._scheduled;for(k in P)G=P[k],this.jobStatus(G.job.options.id)==="RUNNING"&&(clearTimeout(G.timeout),clearTimeout(G.expiration),G.job.doDrop({message:c.dropErrorMessage}));return this._dropAllQueued(c.dropErrorMessage),E(0)}))):this.schedule({priority:Fs-1,weight:0},()=>E(1)),this._receive=function(k){return k._reject(new D.prototype.BottleneckError(c.enqueueErrorMessage))},this.stop=()=>this.Promise.reject(new D.prototype.BottleneckError("stop() has already been called")),w}async _addToQueue(c){var w,E,k,P,G,B,de;({args:w,options:P}=c);try{({reachedHWM:G,blocked:E,strategy:de}=await this._store.__submit__(this.queued(),P.weight))}catch(me){return k=me,this.Events.trigger("debug",`Could not queue ${P.id}`,{args:w,options:P,error:k}),c.doDrop({error:k}),!1}return E?(c.doDrop(),!0):G&&(B=de===D.prototype.strategy.LEAK?this._queues.shiftLastFrom(P.priority):de===D.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(P.priority+1):de===D.prototype.strategy.OVERFLOW?c:void 0,B!=null&&B.doDrop(),B==null||de===D.prototype.strategy.OVERFLOW)?(B==null&&c.doDrop(),G):(c.doQueue(G,E),this._queues.push(c),await this._drainAll(),G)}_receive(c){return this._states.jobStatus(c.options.id)!=null?(c._reject(new D.prototype.BottleneckError(`A job with the same id already exists (id=${c.options.id})`)),!1):(c.doReceive(),this._submitLock.schedule(this._addToQueue,c))}submit(...c){var w,E,k,P,G,B,de;return typeof c[0]=="function"?(G=c,[E,...c]=G,[w]=Rl.call(c,-1),P=Je.load({},this.jobDefaults)):(B=c,[P,E,...c]=B,[w]=Rl.call(c,-1),P=Je.load(P,this.jobDefaults)),de=(...me)=>new this.Promise(function(en,Jh){return E(...me,function(...Al){return(Al[0]!=null?Jh:en)(Al)})}),k=new Ns(de,c,P,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(...c){var w,E,k;return typeof c[0]=="function"?([k,...c]=c,E={}):[E,k,...c]=c,w=new Ns(k,c,E,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise),this._receive(w),w.promise}wrap(c){var w,E;return w=this.schedule.bind(this),E=function(...k){return w(c.bind(this),...k)},E.withOptions=function(k,...P){return w(k,c,...P)},E}async updateSettings(c={}){return await this._store.__updateSettings__(Je.overwrite(c,this.storeDefaults)),Je.overwrite(c,this.instanceDefaults,this),this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(c=0){return this._store.__incrementReservoir__(c)}}return D.default=D,D.Events=As,D.version=D.prototype.version=Yh.version,D.strategy=D.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3},D.BottleneckError=D.prototype.BottleneckError=O,D.Group=D.prototype.Group=Vh,D.RedisConnection=D.prototype.RedisConnection=I,D.IORedisConnection=D.prototype.IORedisConnection=Q,D.Batcher=D.prototype.Batcher=Kh,D.prototype.jobDefaults={priority:Sl,weight:1,expiration:null,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:"",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 Cl=Tl,Xh=Cl;return Xh})})(kh);var Sw=kh.exports;const Th=us(Sw);async function Sh(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 bw(e,t,r,n){const o=new Th;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(Pw.bind(null,e,t,r),n)}async function Pw(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 Sh(e,t,s,n)}return o}var Ow="6.1.0";function bh(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",Sh.bind(null,r,e)),e.hook.wrap("request",bw.bind(null,r,e))),{retry:{retryRequest:(n,o,s)=>(n.request.request=Object.assign({},n.request.request,{retries:o,retryAfter:s}),n)}}}bh.VERSION=Ow;var jw="8.2.0",yi=()=>Promise.resolve();function Rw(e,t,r){return e.retryLimiter.schedule(Cw,e,t,r)}async function Cw(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,yi),n&&e.triggersNotification(o)&&await e.notifications.key(e.id).schedule(l,yi),s&&await e.search.key(e.id).schedule(l,yi);const d=e.global.key(e.id).schedule(l,t,r);if(i){const g=await d;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 d}var Aw=["/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 Nw(e){const r=`^(?:${e.map(n=>n.split("/").map(o=>o.startsWith("{")?"(?:.+?)":o).join("/")).map(n=>`(?:${n})`).join("|")})[^/]*$`;return new RegExp(r,"i")}var mc=Nw(Aw),Ph=mc.test.bind(mc),Cr={},Fw=function(e,t){Cr.global=new e.Group({id:"octokit-global",maxConcurrent:10,...t}),Cr.search=new e.Group({id:"octokit-search",maxConcurrent:1,minTime:2e3,...t}),Cr.write=new e.Group({id:"octokit-write",maxConcurrent:1,minTime:1e3,...t}),Cr.notifications=new e.Group({id:"octokit-notifications",maxConcurrent:1,minTime:3e3,...t})};function wl(e,t){const{enabled:r=!0,Bottleneck:n=Th,id:o="no-id",timeout:s=1e3*60*2,connection:i}=t.throttle||{};if(!r)return{};const a={connection:i,timeout:s};Cr.global==null&&Fw(n,a);const l=Object.assign({clustering:i!=null,triggersNotification:Ph,fallbackSecondaryRateRetryAfter:60,retryAfterBaseValue:1e3,retryLimiter:new n,id:o,...Cr},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 @@ -408,6 +408,6 @@ Error generating stack: `+s.message+` 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",R0.bind(null,l)),{}}El.VERSION=j0;El.triggersNotification=Ph;const G0=Vr(pv);var D0=function(t){return btoa(t)};const zt=us(D0),U0="4.1.0";function L0(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=I0(`${r}/login/oauth/authorize`,n),n}function I0(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 Oh(e){const t=e.endpoint.DEFAULTS;return/^https:\/\/(api\.)?github\.com$/.test(t.baseUrl)?"https://github.com":t.baseUrl.replace("/api/v3","")}async function Os(e,t,r){const n={baseUrl:Oh(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 z0({request:e=Ee,...t}){const r=Oh(e);return L0({...t,baseUrl:r})}async function jh(e){const t=e.request||Ee,r=await Os(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=yc(o,r.data.expires_in),n.refreshTokenExpiresAt=yc(o,r.data.refresh_token_expires_in)}delete n.scopes}return{...r,authentication:n}}function yc(e,t){return new Date(e+t*1e3).toISOString()}async function Rh(e){const t=e.request||Ee,r={client_id:e.clientId};return"scopes"in e&&Array.isArray(e.scopes)&&(r.scope=e.scopes.join(" ")),Os(t,"POST /login/device/code",r)}async function ya(e){const t=e.request||Ee,r=await Os(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=vc(o,r.data.expires_in),n.refreshTokenExpiresAt=vc(o,r.data.refresh_token_expires_in)}delete n.scopes}return{...r,authentication:n}}function vc(e,t){return new Date(e+t*1e3).toISOString()}async function Ch(e){const r=await(e.request||Ee)("POST /applications/{client_id}/token",{headers:{authorization:`basic ${zt(`${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 Ah(e){const t=e.request||Ee,r=await Os(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:wc(n,r.data.expires_in),refreshTokenExpiresAt:wc(n,r.data.refresh_token_expires_in)};return{...r,authentication:o}}function wc(e,t){return new Date(e+t*1e3).toISOString()}async function $0(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 ${zt(`${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 Nh(e){const t=e.request||Ee,r=zt(`${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 Fh(e){const t=e.request||Ee,r=zt(`${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 Gh(e){const t=e.request||Ee,r=zt(`${e.clientId}:${e.clientSecret}`);return t("DELETE /applications/{client_id}/grant",{headers:{authorization:`basic ${r}`},client_id:e.clientId,access_token:e.token})}const M0=Object.freeze(Object.defineProperty({__proto__:null,VERSION:U0,checkToken:Ch,createDeviceCode:Rh,deleteAuthorization:Gh,deleteToken:Fh,exchangeDeviceCode:ya,exchangeWebFlowCode:jh,getWebFlowAuthorizationUrl:z0,refreshToken:Ah,resetToken:Nh,scopeToken:$0},Symbol.toStringTag,{value:"Module"}));async function Dh(e,t){const r=B0(e,t.auth);if(r)return r;const{data:n}=await Rh({clientType:e.clientType,clientId:e.clientId,request:t.request||e.request,scopes:t.auth.scopes||e.scopes});await e.onVerification(n);const o=await va(t.request||e.request,e.clientId,e.clientType,n);return e.authentication=o,o}function B0(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 Ec(e){await new Promise(t=>setTimeout(t,e*1e3))}async function va(e,t,r,n){try{const o={clientId:t,request:e,code:n.device_code},{authentication:s}=r==="oauth-app"?await ya({...o,clientType:"oauth-app"}):await ya({...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 Ec(n.interval),va(e,t,r,n);if(s==="slow_down")return await Ec(n.interval+5),va(e,t,r,n);throw o}}async function H0(e,t){return Dh(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 Dh(e,{request:t,auth:{type:"oauth"}});return o.headers.authorization=`token ${s}`,t(o)}var q0="6.1.0";function V0(e){const t=e.request||Ee.defaults({headers:{"user-agent":`octokit-auth-oauth-device.js/${q0} ${It()}`}}),{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(H0.bind(null,o),{hook:W0.bind(null,o)})}var Uh="4.1.0";async function xc(e){if("code"in e.strategyOptions){const{authentication:t}=await jh({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 V0({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 wa(e,t={}){var n,o;if(e.authentication||(e.authentication=e.clientType==="oauth-app"?await xc(e):await xc(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){throw s.status===404?(s.message=`Not found. May be due to lack of authentication. Reason: ${e}`,s):ow(s)?(s.message=`API rate limit exceeded. This maybe caused by the lack of authentication. Reason: ${e}`,s):iw(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 lw=function(t){if(!t||!t.reason)throw new Error("[@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth");return Object.assign(nw.bind(null,t.reason),{hook:aw.bind(null,t.reason)})};const uw=Object.freeze(Object.defineProperty({__proto__:null,createUnauthenticatedAuth:lw},Symbol.toStringTag,{value:"Module"})),Ih=Vr(uw);var cw=Object.create,Rs=Object.defineProperty,dw=Object.getOwnPropertyDescriptor,pw=Object.getOwnPropertyNames,hw=Object.getPrototypeOf,fw=Object.prototype.hasOwnProperty,mw=(e,t)=>{for(var r in t)Rs(e,r,{get:t[r],enumerable:!0})},zh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of pw(t))!fw.call(e,o)&&o!==r&&Rs(e,o,{get:()=>t[o],enumerable:!(n=dw(t,o))||n.enumerable});return e},$t=(e,t,r)=>(r=e!=null?cw(hw(e)):{},zh(!e||!e.__esModule?Rs(r,"default",{value:e,enumerable:!0}):r,e)),gw=e=>zh(Rs({},"__esModule",{value:!0}),e),$h={};mw($h,{OAuthApp:()=>Kw,createAWSLambdaAPIGatewayV2Handler:()=>Vw,createNodeMiddleware:()=>$w,createWebWorkerHandler:()=>Hw,handleRequest:()=>Cs,sendNodeResponse:()=>Wh,unknownRouteResponse:()=>Hh});var yw=gw($h),vw=Lh,Mh="6.1.0";function Bh(e,t,r){if(Array.isArray(t)){for(const n of t)Bh(e,n,r);return}e.eventHandlers[t]||(e.eventHandlers[t]=[]),e.eventHandlers[t].push(r)}var ww=rw,Ew=G0,xw=ww.Octokit.defaults({userAgent:`octokit-oauth-app.js/${Mh} ${(0,Ew.getUserAgent)()}`}),_w=js;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 kw(e,t){return e.octokit.auth({type:"oauth-user",...t,async factory(r){const n=new e.Octokit({authStrategy:_w.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 Tw=$t(pr);function Sw(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 Tw.getWebFlowAuthorizationUrl({clientType:e.clientType,...r})}var bw=$t(Lh);async function Pw(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:bw.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 Ow=$t(pr);async function jw(e,t){const r=await Ow.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 _c=$t(pr),kc=js;async function Rw(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t};if(e.clientType==="oauth-app"){const s=await _c.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:kc.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 _c.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:kc.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:o}}var Cw=$t(pr),Aw=js;async function Nw(e,t){if(e.clientType==="oauth-app")throw new Error("[@octokit/oauth-app] app.refreshToken() is not supported for OAuth Apps");const r=await Cw.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:Aw.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:n}}var Fw=$t(pr),Gw=js;async function Dw(e,t){if(e.clientType==="oauth-app")throw new Error("[@octokit/oauth-app] app.scopeToken() is not supported for OAuth Apps");const r=await Fw.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:Gw.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:n}}var Tc=$t(pr),Uw=Ih;async function Lw(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},n=e.clientType==="oauth-app"?await Tc.deleteToken({clientType:"oauth-app",...r}):await Tc.deleteToken({clientType:"github-app",...r});return await ft(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:Uw.createUnauthenticatedAuth,auth:{reason:'Handling "token.deleted" event. The access for the token has been revoked.'}})}),n}var Sc=$t(pr),bc=Ih;async function Iw(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},n=e.clientType==="oauth-app"?await Sc.deleteAuthorization({clientType:"oauth-app",...r}):await Sc.deleteAuthorization({clientType:"github-app",...r});return await ft(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:bc.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:bc.createUnauthenticatedAuth,auth:{reason:'Handling "authorization.deleted" event. The access for the app has been revoked.'}})}),n}function Hh(e){return{status:404,headers:{"content-type":"application/json"},text:JSON.stringify({error:`Unknown route: ${e.method} ${e.url}`})}}async function Cs(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 Hh(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:`

Token created successfully

+ `);const d={},g=new n.Events(d);return d.on("secondary-limit",l.onSecondaryRateLimit),d.on("rate-limit",l.onRateLimit),d.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:O}=new URL(T.url,"http://github.test");if(!(O.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",Rw.bind(null,l)),{}}wl.VERSION=jw;wl.triggersNotification=Ph;const Gw=Hr(pv);var Dw=function(t){return btoa(t)};const zt=us(Dw),Uw="4.1.0";function Lw(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=Iw(`${r}/login/oauth/authorize`,n),n}function Iw(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 Oh(e){const t=e.endpoint.DEFAULTS;return/^https:\/\/(api\.)?github\.com$/.test(t.baseUrl)?"https://github.com":t.baseUrl.replace("/api/v3","")}async function Os(e,t,r){const n={baseUrl:Oh(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 zw({request:e=Ee,...t}){const r=Oh(e);return Lw({...t,baseUrl:r})}async function jh(e){const t=e.request||Ee,r=await Os(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=gc(o,r.data.expires_in),n.refreshTokenExpiresAt=gc(o,r.data.refresh_token_expires_in)}delete n.scopes}return{...r,authentication:n}}function gc(e,t){return new Date(e+t*1e3).toISOString()}async function Rh(e){const t=e.request||Ee,r={client_id:e.clientId};return"scopes"in e&&Array.isArray(e.scopes)&&(r.scope=e.scopes.join(" ")),Os(t,"POST /login/device/code",r)}async function ya(e){const t=e.request||Ee,r=await Os(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=yc(o,r.data.expires_in),n.refreshTokenExpiresAt=yc(o,r.data.refresh_token_expires_in)}delete n.scopes}return{...r,authentication:n}}function yc(e,t){return new Date(e+t*1e3).toISOString()}async function Ch(e){const r=await(e.request||Ee)("POST /applications/{client_id}/token",{headers:{authorization:`basic ${zt(`${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 Ah(e){const t=e.request||Ee,r=await Os(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:vc(n,r.data.expires_in),refreshTokenExpiresAt:vc(n,r.data.refresh_token_expires_in)};return{...r,authentication:o}}function vc(e,t){return new Date(e+t*1e3).toISOString()}async function $w(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 ${zt(`${n}:${o}`)}`},client_id:n,access_token:s,...i}),d=Object.assign({clientType:r,clientId:n,clientSecret:o,token:l.data.token},l.data.expires_at?{expiresAt:l.data.expires_at}:{});return{...l,authentication:d}}async function Nh(e){const t=e.request||Ee,r=zt(`${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 Fh(e){const t=e.request||Ee,r=zt(`${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 Gh(e){const t=e.request||Ee,r=zt(`${e.clientId}:${e.clientSecret}`);return t("DELETE /applications/{client_id}/grant",{headers:{authorization:`basic ${r}`},client_id:e.clientId,access_token:e.token})}const Mw=Object.freeze(Object.defineProperty({__proto__:null,VERSION:Uw,checkToken:Ch,createDeviceCode:Rh,deleteAuthorization:Gh,deleteToken:Fh,exchangeDeviceCode:ya,exchangeWebFlowCode:jh,getWebFlowAuthorizationUrl:zw,refreshToken:Ah,resetToken:Nh,scopeToken:$w},Symbol.toStringTag,{value:"Module"}));async function Dh(e,t){const r=Bw(e,t.auth);if(r)return r;const{data:n}=await Rh({clientType:e.clientType,clientId:e.clientId,request:t.request||e.request,scopes:t.auth.scopes||e.scopes});await e.onVerification(n);const o=await va(t.request||e.request,e.clientId,e.clientType,n);return e.authentication=o,o}function Bw(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 wc(e){await new Promise(t=>setTimeout(t,e*1e3))}async function va(e,t,r,n){try{const o={clientId:t,request:e,code:n.device_code},{authentication:s}=r==="oauth-app"?await ya({...o,clientType:"oauth-app"}):await ya({...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 wc(n.interval),va(e,t,r,n);if(s==="slow_down")return await wc(n.interval+5),va(e,t,r,n);throw o}}async function qw(e,t){return Dh(e,{auth:t})}async function Ww(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 Dh(e,{request:t,auth:{type:"oauth"}});return o.headers.authorization=`token ${s}`,t(o)}var Hw="6.1.0";function Vw(e){const t=e.request||Ee.defaults({headers:{"user-agent":`octokit-auth-oauth-device.js/${Hw} ${It()}`}}),{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(qw.bind(null,o),{hook:Ww.bind(null,o)})}var Uh="4.1.0";async function Ec(e){if("code"in e.strategyOptions){const{authentication:t}=await jh({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 Vw({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 wa(e,t={}){var n,o;if(e.authentication||(e.authentication=e.clientType==="oauth-app"?await Ec(e):await Ec(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){throw s.status===404?(s.message=`Not found. May be due to lack of authentication. Reason: ${e}`,s):o0(s)?(s.message=`API rate limit exceeded. This maybe caused by the lack of authentication. Reason: ${e}`,s):i0(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 l0=function(t){if(!t||!t.reason)throw new Error("[@octokit/auth-unauthenticated] No reason passed to createUnauthenticatedAuth");return Object.assign(n0.bind(null,t.reason),{hook:a0.bind(null,t.reason)})};const u0=Object.freeze(Object.defineProperty({__proto__:null,createUnauthenticatedAuth:l0},Symbol.toStringTag,{value:"Module"})),Ih=Hr(u0);var c0=Object.create,Rs=Object.defineProperty,d0=Object.getOwnPropertyDescriptor,p0=Object.getOwnPropertyNames,h0=Object.getPrototypeOf,f0=Object.prototype.hasOwnProperty,m0=(e,t)=>{for(var r in t)Rs(e,r,{get:t[r],enumerable:!0})},zh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of p0(t))!f0.call(e,o)&&o!==r&&Rs(e,o,{get:()=>t[o],enumerable:!(n=d0(t,o))||n.enumerable});return e},$t=(e,t,r)=>(r=e!=null?c0(h0(e)):{},zh(!e||!e.__esModule?Rs(r,"default",{value:e,enumerable:!0}):r,e)),g0=e=>zh(Rs({},"__esModule",{value:!0}),e),$h={};m0($h,{OAuthApp:()=>K0,createAWSLambdaAPIGatewayV2Handler:()=>V0,createNodeMiddleware:()=>$0,createWebWorkerHandler:()=>q0,handleRequest:()=>Cs,sendNodeResponse:()=>Wh,unknownRouteResponse:()=>qh});var y0=g0($h),v0=Lh,Mh="6.1.0";function Bh(e,t,r){if(Array.isArray(t)){for(const n of t)Bh(e,n,r);return}e.eventHandlers[t]||(e.eventHandlers[t]=[]),e.eventHandlers[t].push(r)}var w0=r0,E0=Gw,x0=w0.Octokit.defaults({userAgent:`octokit-oauth-app.js/${Mh} ${(0,E0.getUserAgent)()}`}),_0=js;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 k0(e,t){return e.octokit.auth({type:"oauth-user",...t,async factory(r){const n=new e.Octokit({authStrategy:_0.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 T0=$t(dr);function S0(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 T0.getWebFlowAuthorizationUrl({clientType:e.clientType,...r})}var b0=$t(Lh);async function P0(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:b0.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 O0=$t(dr);async function j0(e,t){const r=await O0.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 xc=$t(dr),_c=js;async function R0(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t};if(e.clientType==="oauth-app"){const s=await xc.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:_c.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 xc.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:_c.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:n.authentication.token}})}),{...n,authentication:o}}var C0=$t(dr),A0=js;async function N0(e,t){if(e.clientType==="oauth-app")throw new Error("[@octokit/oauth-app] app.refreshToken() is not supported for OAuth Apps");const r=await C0.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:A0.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:n}}var F0=$t(dr),G0=js;async function D0(e,t){if(e.clientType==="oauth-app")throw new Error("[@octokit/oauth-app] app.scopeToken() is not supported for OAuth Apps");const r=await F0.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:G0.createOAuthUserAuth,auth:{clientType:e.clientType,clientId:e.clientId,clientSecret:e.clientSecret,token:r.authentication.token}})}),{...r,authentication:n}}var kc=$t(dr),U0=Ih;async function L0(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},n=e.clientType==="oauth-app"?await kc.deleteToken({clientType:"oauth-app",...r}):await kc.deleteToken({clientType:"github-app",...r});return await ft(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:U0.createUnauthenticatedAuth,auth:{reason:'Handling "token.deleted" event. The access for the token has been revoked.'}})}),n}var Tc=$t(dr),Sc=Ih;async function I0(e,t){const r={clientId:e.clientId,clientSecret:e.clientSecret,request:e.octokit.request,...t},n=e.clientType==="oauth-app"?await Tc.deleteAuthorization({clientType:"oauth-app",...r}):await Tc.deleteAuthorization({clientType:"github-app",...r});return await ft(e,{name:"token",action:"deleted",token:t.token,octokit:new e.Octokit({authStrategy:Sc.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:Sc.createUnauthenticatedAuth,auth:{reason:'Handling "authorization.deleted" event. The access for the app has been revoked.'}})}),n}function qh(e){return{status:404,headers:{"content-type":"application/json"},text:JSON.stringify({error:`Unknown route: ${e.method} ${e.url}`})}}async function Cs(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 qh(r);let i;try{const O=await r.text();i=O?JSON.parse(O):{}}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),d=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:`

Token created successfully

-

Your token is: ${f}. Copy it now as it cannot be shown again.

`}}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 zw(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 Wh(e,t){t.writeHead(e.status,e.headers),t.end(e.text)}function $w(e,t={}){return async function(r,n,o){const s=await zw(r),i=await Cs(e,t,s);return i?(Wh(i,n),!0):(o==null||o(),!1)}}function Mw(e){const t=Object.fromEntries(e.headers.entries());return{method:e.method,url:e.url,headers:t,text:()=>e.text()}}function Bw(e){return new Response(e.text,{status:e.status,headers:e.headers})}function Hw(e,t={}){return async function(r){const n=await Mw(r),o=await Cs(e,t,n);return o?Bw(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 qw(e){return{statusCode:e.status,headers:e.headers,body:e.text}}function Vw(e,t={}){return async function(r){const n=Ww(r),o=await Cs(e,t,n);return o?qw(o):void 0}}var Ir,Kw=(Ir=class{static defaults(t){return class extends this{constructor(...n){super({...t,...n[0]})}}}constructor(t){const r=t.Octokit||xw;this.type=t.clientType||"oauth-app";const n=new r({authStrategy:vw.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=Bh.bind(null,o),this.octokit=n,this.getUserOctokit=kw.bind(null,o),this.getWebFlowAuthorizationUrl=Sw.bind(null,o),this.createToken=Pw.bind(null,o),this.checkToken=jw.bind(null,o),this.resetToken=Rw.bind(null,o),this.refreshToken=Nw.bind(null,o),this.scopeToken=Dw.bind(null,o),this.deleteToken=Lw.bind(null,o),this.deleteAuthorization=Iw.bind(null,o)}},Ir.VERSION=Mh,Ir),Qw="3.2.1",qh=fh.plugin(_h,yh,v0,bh,El).defaults({userAgent:`octokit.js/${Qw}`,throttle:{onRateLimit:Yw,onSecondaryRateLimit:Xw}});function Yw(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 Xw(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}yw.OAuthApp.defaults({Octokit:qh});const Jw=new qh;async function Zw(){const e=["eshanized","iconized","alokified","utkrshift","d3v1l0n","myself-meghna"];return(await Promise.all(e.map(async r=>{try{const{data:n}=await Jw.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 eE(){const[e,t]=j.useState([]),[r,n]=j.useState(!0),[o,s]=j.useState(null);return j.useEffect(()=>{(async()=>{try{const a=await Zw();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(tE,{maintainer:i},i.login))})]})})}function tE({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(Dy,{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(is,{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(Xp,{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(My,{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(Fy,{className:"h-6 w-6"})})]})]})}function rE(){return u.jsx(Sy,{children:u.jsx(qy,{children:u.jsxs(vy,{children:[u.jsx(vr,{path:"/",element:u.jsx(Vy,{})}),u.jsx(vr,{path:"/about",element:u.jsx(Ky,{})}),u.jsx(vr,{path:"/download",element:u.jsx(Yy,{})}),u.jsx(vr,{path:"/donors",element:u.jsx(cv,{})}),u.jsx(vr,{path:"/maintainers",element:u.jsx(eE,{})})]})})})}Ip(document.getElementById("root")).render(u.jsx(j.StrictMode,{children:u.jsx(rE,{})})); +

Your token is: ${f}. Copy it now as it cannot be shown again.

`}}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=d.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=d.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=d.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=d.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=d.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 O=(T=d.authorization)==null?void 0:T.substr(6);if(!O)throw new Error('[@octokit/oauth-app] "Authorization" header is required');return await e.deleteAuthorization({token:O}),{status:204,headers:{"access-control-allow-origin":"*"}}}catch(O){return{status:400,headers:{"content-type":"application/json","access-control-allow-origin":"*"},text:JSON.stringify({error:O.message})}}}function z0(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",d=>l.push(d)).on("end",()=>i(Buffer.concat(l).toString()))})}return{method:t,url:r,headers:n,text:o}}function Wh(e,t){t.writeHead(e.status,e.headers),t.end(e.text)}function $0(e,t={}){return async function(r,n,o){const s=await z0(r),i=await Cs(e,t,s);return i?(Wh(i,n),!0):(o==null||o(),!1)}}function M0(e){const t=Object.fromEntries(e.headers.entries());return{method:e.method,url:e.url,headers:t,text:()=>e.text()}}function B0(e){return new Response(e.text,{status:e.status,headers:e.headers})}function q0(e,t={}){return async function(r){const n=await M0(r),o=await Cs(e,t,n);return o?B0(o):void 0}}function W0(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 H0(e){return{statusCode:e.status,headers:e.headers,body:e.text}}function V0(e,t={}){return async function(r){const n=W0(r),o=await Cs(e,t,n);return o?H0(o):void 0}}var Lr,K0=(Lr=class{static defaults(t){return class extends this{constructor(...n){super({...t,...n[0]})}}}constructor(t){const r=t.Octokit||x0;this.type=t.clientType||"oauth-app";const n=new r({authStrategy:v0.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=Bh.bind(null,o),this.octokit=n,this.getUserOctokit=k0.bind(null,o),this.getWebFlowAuthorizationUrl=S0.bind(null,o),this.createToken=P0.bind(null,o),this.checkToken=j0.bind(null,o),this.resetToken=R0.bind(null,o),this.refreshToken=N0.bind(null,o),this.scopeToken=D0.bind(null,o),this.deleteToken=L0.bind(null,o),this.deleteAuthorization=I0.bind(null,o)}},Lr.VERSION=Mh,Lr),Q0="3.2.1",Hh=fh.plugin(_h,yh,vw,bh,wl).defaults({userAgent:`octokit.js/${Q0}`,throttle:{onRateLimit:Y0,onSecondaryRateLimit:X0}});function Y0(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 X0(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}y0.OAuthApp.defaults({Octokit:Hh});const J0=new Hh;async function Z0(){const e=["eshanized","iconized","alokified","utkrshift","d3v1l0n","myself-meghna"];return(await Promise.all(e.map(async r=>{try{const{data:n}=await J0.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 eE(){const[e,t]=j.useState([]),[r,n]=j.useState(!0),[o,s]=j.useState(null);return j.useEffect(()=>{(async()=>{try{const a=await Z0();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(tE,{maintainer:i},i.login))})]})})}function tE({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(Dy,{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(is,{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(Xp,{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(My,{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(Fy,{className:"h-6 w-6"})})]})]})}function rE(){return u.jsx(Sy,{children:u.jsx(Hy,{children:u.jsxs(vy,{children:[u.jsx(yr,{path:"/",element:u.jsx(Vy,{})}),u.jsx(yr,{path:"/about",element:u.jsx(Ky,{})}),u.jsx(yr,{path:"/download",element:u.jsx(Yy,{})}),u.jsx(yr,{path:"/donors",element:u.jsx(cv,{})}),u.jsx(yr,{path:"/maintainers",element:u.jsx(eE,{})})]})})})}Lp(document.getElementById("root")).render(u.jsx(j.StrictMode,{children:u.jsx(rE,{})})); diff --git a/index.html b/index.html index 51df9ad0..f0b5e999 100644 --- a/index.html +++ b/index.html @@ -90,8 +90,21 @@ gtag('js', new Date()); gtag('config', 'GTM-5HXGM54C'); + + - + diff --git a/sitemap.xml b/sitemap.xml index 8eae174f..c5296fe7 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1 +1 @@ -https://snigdha-os.github.io/4042024-12-23T04:50:22.558Zdaily1.0https://snigdha-os.github.io/2024-12-23T04:50:22.558Zdaily1.0 \ No newline at end of file +https://snigdha-os.github.io/4042024-12-23T05:03:41.911Zdaily1.0https://snigdha-os.github.io/2024-12-23T05:03:41.911Zdaily1.0 \ No newline at end of file