chore: update generated content

This commit is contained in:
github-actions[bot] committed 2026-03-18 19:24:41 +00:00
1 parent e724a31677
commit d3cc762016
2 files changed
+4 -4

No files matched your search

Generated Vendored
+3 -3
View File
@@ -25,11 +25,11 @@ import './sourcemap-register.cjs';import{createRequire as t}from"module";var r={
* governing permissions and limitations under the License.
*/if(new p.URL(t.url).hostname!==u.hostname){t.headers.delete("authorization");t.headers.delete("cookie")}if(r.status===303||t.method==="POST"&&[301,302].includes(r.status)){i.method="GET";i.body=null;t.headers.delete("content-length")}i.headers={};t.headers.forEach(((t,r)=>{i.headers[r]=t}));i.counter=++t.counter;const l=new a(p.format(u),i);return{request:l,options:i}};const fetch=async(t,r)=>{const o=u.storable(t,r)?await l(t,r):await d(t,r);if(!["GET","HEAD"].includes(t.method)&&o.status>=200&&o.status<=399){await l.invalidate(t,r)}if(!canFollowRedirect(t,o,r)){return o}const i=getRedirect(t,o,r);return fetch(i.request,i.options)};t.exports=fetch},39310:(t,r,o)=>{const{FetchError:i,Headers:a,Request:c,Response:p}=o(88483);const u=o(99824);const l=o(67242);const makeFetchHappen=(t,r)=>{const o=u(r);const i=new c(t,o);return l(i,o)};makeFetchHappen.defaults=(t,r={},o=makeFetchHappen)=>{if(typeof t==="object"){r=t;t=null}const defaultedFetch=(i,a={})=>{const c=i||t;const p={...r,...a,headers:{...r.headers,...a.headers}};return o(c,p)};defaultedFetch.defaults=(t,r={})=>makeFetchHappen.defaults(t,r,defaultedFetch);return defaultedFetch};t.exports=makeFetchHappen;t.exports.FetchError=i;t.exports.Headers=a;t.exports.Request=c;t.exports.Response=p},99824:(t,r,o)=>{const i=o(72250);const a=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"];const configureOptions=t=>{const{strictSSL:r,...o}={...t};o.method=o.method?o.method.toUpperCase():"GET";if(r===undefined||r===null){o.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0"}else{o.rejectUnauthorized=r!==false}if(!o.retry){o.retry={retries:0}}else if(typeof o.retry==="string"){const t=parseInt(o.retry,10);if(isFinite(t)){o.retry={retries:t}}else{o.retry={retries:0}}}else if(typeof o.retry==="number"){o.retry={retries:o.retry}}else{o.retry={retries:0,...o.retry}}o.dns={ttl:5*60*1e3,lookup:i.lookup,...o.dns};o.cache=o.cache||"default";if(o.cache==="default"){const t=Object.keys(o.headers||{}).some((t=>a.includes(t.toLowerCase())));if(t){o.cache="no-store"}}o.cacheAdditionalHeaders=o.cacheAdditionalHeaders||[];if(o.cacheManager&&!o.cachePath){o.cachePath=o.cacheManager}return o};t.exports=configureOptions},22314:(t,r,o)=>{const i=o(52899);class CachingMinipassPipeline extends i{#d=[];#A=new Map;constructor(t,...r){super();this.#d=t.events;if(r.length){this.push(...r)}}on(t,r){if(this.#d.includes(t)&&this.#A.has(t)){return r(...this.#A.get(t))}return super.on(t,r)}emit(t,...r){if(this.#d.includes(t)){this.#A.set(t,r)}return super.emit(t,...r)}}t.exports=CachingMinipassPipeline},20766:(t,r,o)=>{const{Minipass:i}=o(78275);const a=o(88483);const{promiseRetry:c}=o(49498);const p=o(45457);const{log:u}=o(26687);const l=o(22314);const{getAgent:d}=o(57995);const A=o(96734);const b=`${A.name}/${A.version} (+https://npm.im/${A.name})`;const h=["ECONNRESET","ECONNREFUSED","EADDRINUSE","ETIMEDOUT","ECONNECTIONTIMEOUT","EIDLETIMEOUT","ERESPONSETIMEOUT","ETRANSFERTIMEOUT"];const M=["request-timeout"];const remoteFetch=(t,r)=>{const o=d(t.url,{...r,signal:undefined});if(!t.headers.has("connection")){t.headers.set("connection",o?"keep-alive":"close")}if(!t.headers.has("user-agent")){t.headers.set("user-agent",b)}const A={...r,agent:o,redirect:"manual"};return c((async(o,c)=>{const d=new a.Request(t,A);try{let t=await a(d,A);if(A.integrity&&t.status===200){const r=p.integrityStream({algorithms:A.algorithms,integrity:A.integrity,size:A.size});const o=new l({events:["integrity","size"]},t.body,r);r.on("integrity",(t=>o.emit("integrity",t)));r.on("size",(t=>o.emit("size",t)));t=new a.Response(o,t);t.body.hasIntegrityEmitter=true}t.headers.set("x-fetch-attempts",c);const b=i.isStream(d.body);const h=d.method!=="POST"&&!b&&([408,420,429].includes(t.status)||t.status>=500);if(h){if(typeof r.onRetry==="function"){r.onRetry(t)}u.http("fetch",`${d.method} ${d.url} attempt ${c} failed with ${t.status}`);return o(t)}return t}catch(t){const i=t.code==="EPROMISERETRY"?t.retried.code:t.code;const p=t.retried instanceof a.Response||h.includes(i)&&M.includes(t.type);if(d.method==="POST"||p){throw t}if(typeof r.onRetry==="function"){r.onRetry(t)}u.http("fetch",`${d.method} ${d.url} attempt ${c} failed with ${t.code}`);return o(t)}}),r.retry).catch((t=>{if(t.status>=400&&t.type!=="system"){return t}throw t}))};t.exports=remoteFetch},45457:(t,r,o)=>{const i=o(76982);const{Minipass:a}=o(78275);const c=["sha512","sha384","sha256"];const p=["sha512"];const u=i.getHashes();const l=/^[a-z0-9+/]+(?:=?=?)$/i;const d=/^([a-z0-9]+)-([^?]+)(\?[?\S*]*)?$/;const A=/^([a-z0-9]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/;const b=/^[\x21-\x7E]+$/;const h=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter((t=>u.includes(t)));const getOptString=t=>t?.length?`?${t.join("?")}`:"";class IntegrityStream extends a{#a;#c;#p;constructor(t){super();this.size=0;this.opts=t;this.#u();if(t?. Line truncated
//! moment-timezone.js
//! version : 0.6.0
//! version : 0.6.1
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function(r,i){"use strict";if(true&&t.exports){t.exports=i(o(93350))}else if(typeof define==="function"&&define.amd){define(["moment"],i)}else{i(r.moment)}})(this,(function(t){"use strict";if(t.version===undefined&&t.default){t=t.default}var r="0.6.0",o={},i={},a={},c={},p={},u;if(!t||typeof t.version!=="string"){logError("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/")}var l=t.version.split("."),d=+l[0],A=+l[1];if(d<2||d===2&&A<6){logError("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com")}function charCodeToInt(t){if(t>96){return t-87}else if(t>64){return t-29}return t-48}function unpackBase60(t){var r=0,o=t.split("."),i=o[0],a=o[1]||"",c=1,p,u=0,l=1;if(t.charCodeAt(0)===45){r=1;l=-1}for(r;r<i.length;r++){p=charCodeToInt(i.charCodeAt(r));u=60*u+p}for(r=0;r<a.length;r++){c=c/60;p=charCodeToInt(a.charCodeAt(r));u+=p*c}return u*l}function arrayToInt(t){for(var r=0;r<t.length;r++){t[r]=unpackBase60(t[r])}}function intToUntil(t,r){for(var o=0;o<r;o++){t[o]=Math.round((t[o-1]||0)+t[o]*6e4)}t[r-1]=Infinity}function mapIndices(t,r){var o=[],i;for(i=0;i<r.length;i++){o[i]=t[r[i]]}return o}function unpack(t){var r=t.split("|"),o=r[2].split(" "),i=r[3].split(""),a=r[4].split(" ");arrayToInt(o);arrayToInt(i);arrayToInt(a);intToUntil(a,i.length);return{name:r[0],abbrs:mapIndices(r[1].split(" "),i),offsets:mapIndices(o,i),untils:a,population:r[5]|0}}function Zone(t){if(t){this._set(unpack(t))}}function closest(t,r){var o=r.length;if(t<r[0]){return 0}else if(o>1&&r[o-1]===Infinity&&t>=r[o-2]){return o-1}else if(t>=r[o-1]){return-1}var i;var a=0;var c=o-1;while(c-a>1){i=Math.floor((a+c)/2);if(r[i]<=t){a=i}else{c=i}}return c}Zone.prototype={_set:function(t){this.name=t.name;this.abbrs=t.abbrs;this.untils=t.untils;this.offsets=t.offsets;this.population=t.population},_index:function(t){var r=+t,o=this.untils,i;i=closest(r,o);if(i>=0){return i}},countries:function(){var t=this.name;return Object.keys(a).filter((function(r){return a[r].zones.indexOf(t)!==-1}))},parse:function(t){var r=+t,o=this.offsets,i=this.untils,a=i.length-1,c,p,u,l;for(l=0;l<a;l++){c=o[l];p=o[l+1];u=o[l?l-1:l];if(c<p&&tz.moveAmbiguousForward){c=p}else if(c>u&&tz.moveInvalidForward){c=u}if(r<i[l]-c*6e4){return o[l]}}return o[a]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){logError("zone.offset has been deprecated in favor of zone.utcOffset");return this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}};function Country(t,r){this.name=t;this.zones=r}function OffsetAt(t){var r=t.toTimeString();var o=r.match(/\([a-z ]+\)/i);if(o&&o[0]){o=o[0].match(/[A-Z]/g);o=o?o.join(""):undefined}else{o=r.match(/[A-Z]{3,5}/g);o=o?o[0]:undefined}if(o==="GMT"){o=undefined}this.at=+t;this.abbr=o;this.offset=t.getTimezoneOffset()}function ZoneScore(t){this.zone=t;this.offsetScore=0;this.abbrScore=0}ZoneScore.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset);if(this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr){this.abbrScore++}};function findChange(t,r){var o,i;while(i=((r.at-t.at)/12e4|0)*6e4){o=new OffsetAt(new Date(t.at+i));if(o.offset===t.offset){t=o}else{r=o}}return t}function userOffsets(){var t=(new Date).getFullYear()-2,r=new OffsetAt(new Date(t,0,1)),o=r.offset,i=[r],a,c,p,u;for(u=1;u<48;u++){p=new Date(t,u,1).getTimezoneOffset();if(p!==o){c=new OffsetAt(new Date(t,u,1));a=findChange(r,c);i.push(a);i.push(new OffsetAt(new Date(a.at+6e4)));r=c;o=p}}for(u=0;u<4;u++){i.push(new OffsetAt(new Date(t+u,0,1)));i.push(new OffsetAt(new Date(t+u,6,1)))}return i}function sortZoneScores(t,r){if(t.offsetScore!==r.offsetScore){return t.offsetScore-r.offsetScore}if(t.abbrScore!==r.abbrScore){return t.abbrScore-r.abbrScore}if(t.zone.population!==r.zone.population){return r.zone.population-t.zone.population}return r.zone.name.localeCompare(t.zone.name)}function addToGuesses(t,r){var o,i;arrayToInt(r);for(o=0;o<r.length;o++){i=r[o];p[i]=p[i]||{};p[i][t]=true}}function guessesForUserOffsets(t){var r=t.length,o={},i=[],a={},u,l,d,A;for(u=0;u<r;u++){d=t[u].offset;if(a.hasOwnProperty(d)){continue}A=p[d]||{};for(l in A){if(A.hasOwnProperty(l)){o[l]=true}}a[d]=true}for(u in o){if(o.hasOwnProperty(u)){i.push(c[u])}}return i}function rebuildGuess(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var r=c[normalizeName(t)];if(r){return r}logError("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var o=userOffsets(),i=o.length,a=guessesForUserOffsets(o),p=[],u,l,d;for(l=0;l<a.length;l++){u=new ZoneScore(getZone(a[l]),i);for(d=0;d<i;d++){u.scoreOffsetAt(o[d])}p.push(u)}p.sort(sortZoneScores);return p.length>0?p[0].zone.name:undefined}function guess(t){if(!u||t){u=rebuildGuess()}return u}function normalizeName(t){return(t||"").toLowerCase().replace(/\//g,"_")}function addZone(t){var r,i,a,p;if(typeof t==="string"Line truncated
(function(r,i){"use strict";if(true&&t.exports){t.exports=i(o(93350))}else if(typeof define==="function"&&define.amd){define(["moment"],i)}else{i(r.moment)}})(this,(function(t){"use strict";if(t.version===undefined&&t.default){t=t.default}var r="0.6.1",o={},i={},a={},c={},p={},u;if(!t||typeof t.version!=="string"){logError("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/")}var l=t.version.split("."),d=+l[0],A=+l[1];if(d<2||d===2&&A<6){logError("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com")}function charCodeToInt(t){if(t>96){return t-87}else if(t>64){return t-29}return t-48}function unpackBase60(t){var r=0,o=t.split("."),i=o[0],a=o[1]||"",c=1,p,u=0,l=1;if(t.charCodeAt(0)===45){r=1;l=-1}for(r;r<i.length;r++){p=charCodeToInt(i.charCodeAt(r));u=60*u+p}for(r=0;r<a.length;r++){c=c/60;p=charCodeToInt(a.charCodeAt(r));u+=p*c}return u*l}function arrayToInt(t){for(var r=0;r<t.length;r++){t[r]=unpackBase60(t[r])}}function intToUntil(t,r){for(var o=0;o<r;o++){t[o]=Math.round((t[o-1]||0)+t[o]*6e4)}t[r-1]=Infinity}function mapIndices(t,r){var o=[],i;for(i=0;i<r.length;i++){o[i]=t[r[i]]}return o}function unpack(t){var r=t.split("|"),o=r[2].split(" "),i=r[3].split(""),a=r[4].split(" ");arrayToInt(o);arrayToInt(i);arrayToInt(a);intToUntil(a,i.length);return{name:r[0],abbrs:mapIndices(r[1].split(" "),i),offsets:mapIndices(o,i),untils:a,population:r[5]|0}}function Zone(t){if(t){this._set(unpack(t))}}function closest(t,r){var o=r.length;if(t<r[0]){return 0}else if(o>1&&r[o-1]===Infinity&&t>=r[o-2]){return o-1}else if(t>=r[o-1]){return-1}var i;var a=0;var c=o-1;while(c-a>1){i=Math.floor((a+c)/2);if(r[i]<=t){a=i}else{c=i}}return c}Zone.prototype={_set:function(t){this.name=t.name;this.abbrs=t.abbrs;this.untils=t.untils;this.offsets=t.offsets;this.population=t.population},_index:function(t){var r=+t,o=this.untils,i;i=closest(r,o);if(i>=0){return i}},countries:function(){var t=this.name;return Object.keys(a).filter((function(r){return a[r].zones.indexOf(t)!==-1}))},parse:function(t){var r=+t,o=this.offsets,i=this.untils,a=i.length-1,c,p,u,l;for(l=0;l<a;l++){c=o[l];p=o[l+1];u=o[l?l-1:l];if(c<p&&tz.moveAmbiguousForward){c=p}else if(c>u&&tz.moveInvalidForward){c=u}if(r<i[l]-c*6e4){return o[l]}}return o[a]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){logError("zone.offset has been deprecated in favor of zone.utcOffset");return this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}};function Country(t,r){this.name=t;this.zones=r}function OffsetAt(t){var r=t.toTimeString();var o=r.match(/\([a-z ]+\)/i);if(o&&o[0]){o=o[0].match(/[A-Z]/g);o=o?o.join(""):undefined}else{o=r.match(/[A-Z]{3,5}/g);o=o?o[0]:undefined}if(o==="GMT"){o=undefined}this.at=+t;this.abbr=o;this.offset=t.getTimezoneOffset()}function ZoneScore(t){this.zone=t;this.offsetScore=0;this.abbrScore=0}ZoneScore.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset);if(this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr){this.abbrScore++}};function findChange(t,r){var o,i;while(i=((r.at-t.at)/12e4|0)*6e4){o=new OffsetAt(new Date(t.at+i));if(o.offset===t.offset){t=o}else{r=o}}return t}function userOffsets(){var t=(new Date).getFullYear()-2,r=new OffsetAt(new Date(t,0,1)),o=r.offset,i=[r],a,c,p,u;for(u=1;u<48;u++){p=new Date(t,u,1).getTimezoneOffset();if(p!==o){c=new OffsetAt(new Date(t,u,1));a=findChange(r,c);i.push(a);i.push(new OffsetAt(new Date(a.at+6e4)));r=c;o=p}}for(u=0;u<4;u++){i.push(new OffsetAt(new Date(t+u,0,1)));i.push(new OffsetAt(new Date(t+u,6,1)))}return i}function sortZoneScores(t,r){if(t.offsetScore!==r.offsetScore){return t.offsetScore-r.offsetScore}if(t.abbrScore!==r.abbrScore){return t.abbrScore-r.abbrScore}if(t.zone.population!==r.zone.population){return r.zone.population-t.zone.population}return r.zone.name.localeCompare(t.zone.name)}function addToGuesses(t,r){var o,i;arrayToInt(r);for(o=0;o<r.length;o++){i=r[o];p[i]=p[i]||{};p[i][t]=true}}function guessesForUserOffsets(t){var r=t.length,o={},i=[],a={},u,l,d,A;for(u=0;u<r;u++){d=t[u].offset;if(a.hasOwnProperty(d)){continue}A=p[d]||{};for(l in A){if(A.hasOwnProperty(l)){o[l]=true}}a[d]=true}for(u in o){if(o.hasOwnProperty(u)){i.push(c[u])}}return i}function rebuildGuess(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var r=c[normalizeName(t)];if(r){return r}logError("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var o=userOffsets(),i=o.length,a=guessesForUserOffsets(o),p=[],u,l,d;for(l=0;l<a.length;l++){u=new ZoneScore(getZone(a[l]),i);for(d=0;d<i;d++){u.scoreOffsetAt(o[d])}p.push(u)}p.sort(sortZoneScores);return p.length>0?p[0].zone.name:undefined}function guess(t){if(!u||t){u=rebuildGuess()}return u}function normalizeName(t){return(t||"").toLowerCase().replace(/\//g,"_")}function addZone(t){var r,i,a,p;if(typeof t==="string"Line truncated
//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
@@ -98,7 +98,7 @@ var i=o(79168);var a=o(25111);var c=o(56008);var p=o(53672);t.exports=Negotiator
* XRegExp 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2007-present MIT License
*/var I="xregexp";var R={astral:false,namespacing:false};var S={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split};var q={};var w={};var N={};var v=[];var T="default";var W="class";var L={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/};var _=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g;var x=S.exec.call(/()??/,"")[1]===undefined;var k=(0,B["default"])(/x/)!==undefined;var Q={},D=Q.toString;function hasNativeFlag(t){var r=true;try{new RegExp("",t);if(t==="y"){var o=function(){return"gy"}();var i=".a".replace(new RegExp("a",o),".")==="..";if(i){r=false}}}catch(t){r=false}return r}var P=hasNativeFlag("u");var U=hasNativeFlag("y");var H={g:true,i:true,m:true,u:P,y:U};function augment(t,r,o,i,a){var c;t[I]={captureNames:r};if(a){return t}if(t.__proto__){t.__proto__=XRegExp.prototype}else{for(var p in XRegExp.prototype){t[p]=XRegExp.prototype[p]}}t[I].source=o;t[I].flags=i?(0,C["default"])(c=i.split("")).call(c).join(""):i;return t}function clipDuplicates(t){return S.replace.call(t,/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(t,r){var o;if(!XRegExp.isRegExp(t)){throw new TypeError("Type RegExp expected")}var i=t[I]||{};var a=getNativeFlags(t);var c="";var p="";var u=null;var l=null;r=r||{};if(r.removeG){p+="g"}if(r.removeY){p+="y"}if(p){a=S.replace.call(a,new RegExp("[".concat(p,"]+"),"g"),"")}if(r.addG){c+="g"}if(r.addY){c+="y"}if(c){a=clipDuplicates(a+c)}if(!r.isInternalOnly){if(i.source!==undefined){u=i.source}if((0,B["default"])(i)!=null){l=c?clipDuplicates((0,B["default"])(i)+c):(0,B["default"])(i)}}t=augment(new RegExp(r.source||t.source,a),hasNamedCapture(t)?(0,y["default"])(o=i.captureNames).call(o,0):null,u,l,r.isInternalOnly);return t}function dec(t){return(0,O["default"])(t,16)}function getContextualTokenSeparator(t,r,o){if(t.input[t.index-1]==="("||t.input[t.index+t[0].length]===")"||t.input[t.index-1]==="|"||t.input[t.index+t[0].length]==="|"||t.index<1||t.index+t[0].length>=t.input.length||S.test.call(/^\(\?[:=!]/,t.input.substr(t.index-3,3))||isQuantifierNext(t.input,t.index+t[0].length,o)){return""}return"(?:)"}function getNativeFlags(t){return k?(0,B["default"])(t):S.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(t))[1]}function hasNamedCapture(t){return!!(t[I]&&t[I].captureNames)}function hex(t){return(0,O["default"])(t,10).toString(16)}function isQuantifierNext(t,r,o){var i="\\(\\?#[^)]*\\)";var a="#[^#\\n]*";var c="[?*+]|{\\d+(?:,\\d*)?}";return S.test.call((0,z["default"])(o).call(o,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,(0,y["default"])(t).call(t,r))}function isType(t,r){return D.call(t)==="[object ".concat(r,"]")}function pad4(t){while(t.length<4){t="0".concat(t)}return t}function prepareFlags(t,r){if(clipDuplicates(r)!==r){throw new SyntaxError("Invalid duplicate regex flag ".concat(r))}t=S.replace.call(t,/^\(\?([\w$]+)\)/,(function(t,o){if(S.test.call(/[gy]/,o)){throw new SyntaxError("Cannot use flag g or y in mode modifier ".concat(t))}r=clipDuplicates(r+o);return""}));var o=_createForOfIteratorHelper(r),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;if(!H[a]){throw new SyntaxError("Unknown regex flag ".concat(a))}}}catch(t){o.e(t)}finally{o.f()}return{pattern:t,flags:r}}function prepareOptions(t){var r={};if(isType(t,"String")){(0,g["default"])(XRegExp).call(XRegExp,t,/[^\s,]+/,(function(t){r[t]=true}));return r}return t}function registerFlag(t){if(!/^[\w$]$/.test(t)){throw new Error("Flag must be a single character A-Za-z0-9_$")}H[t]=true}function runTokens(t,r,o,i,a){var c=v.length;var p=t[o];var u=null;var l;var d;while(c--){d=v[c];if(d.leadChar&&d.leadChar!==p||d.scope!==i&&d.scope!=="all"||d.flag&&!(0,z["default"])(r).call(r,d.flag)){continue}l=XRegExp.exec(t,d.regex,o,"sticky");if(l){u={matchLength:l[0].length,output:d.handler.call(a,l,i,r),reparse:d.reparse};break}}return u}function setAstral(t){R.astral=t}function setNamespacing(t){R.namespacing=t}function toObject(t){if(t==null){throw new TypeError("Cannot convert null or undefined to object")}return t}function XRegExp(t,r){if(XRegExp.isRegExp(t)){if(r!==undefined){throw new TypeError("Cannot supply flags when copying a RegExp")}return copyRegex(t)}t=t===undefined?"":String(t);r=r===undefined?"":String(r);if(XRegExp.isInstalled("astral")&&!(0,z["default"])(r).call(r,"A")){r+="A"}if(!N[t]){N[t]={}}if(!N[t][r]){var o={hasNamedCapture:false,captureNames:[]};var i=T;var a="";var c=0;var p;var u=prepareFlags(t,r);var l=u.pattern;var d=(0,B["default"])(u);while(c<l.length){do{p=runTokens(l,d,c,i,o);if(p&&p.reparse){l=(0,y["default"])(l).call(l,0,c)+p.output+(0,y["default"])(l).call(l,c+p.matchLength)}}while(p&&p.reparsLine truncated
*/var I="xregexp";var R={astral:false,namespacing:false};var S={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split};var q={};var w={};var N={};var v=[];var T="default";var W="class";var L={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/};var _=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g;var x=S.exec.call(/()??/,"")[1]===undefined;var k=(0,B["default"])(/x/)!==undefined;var Q={},D=Q.toString;function hasNativeFlag(t){var r=true;try{new RegExp("",t);if(t==="y"){var o=function(){return"gy"}();var i=".a".replace(new RegExp("a",o),".")==="..";if(i){r=false}}}catch(t){r=false}return r}var P=hasNativeFlag("u");var U=hasNativeFlag("y");var H={g:true,i:true,m:true,u:P,y:U};function augment(t,r,o,i,a){var c;t[I]={captureNames:r};if(a){return t}if(t.__proto__){t.__proto__=XRegExp.prototype}else{for(var p in XRegExp.prototype){t[p]=XRegExp.prototype[p]}}t[I].source=o;t[I].flags=i?(0,C["default"])(c=i.split("")).call(c).join(""):i;return t}function clipDuplicates(t){return S.replace.call(t,/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(t,r){var o;if(!XRegExp.isRegExp(t)){throw new TypeError("Type RegExp expected")}var i=t[I]||{};var a=getNativeFlags(t);var c="";var p="";var u=null;var l=null;r=r||{};if(r.removeG){p+="g"}if(r.removeY){p+="y"}if(p){a=S.replace.call(a,new RegExp("[".concat(p,"]+"),"g"),"")}if(r.addG){c+="g"}if(r.addY){c+="y"}if(c){a=clipDuplicates(a+c)}if(!r.isInternalOnly){if(i.source!==undefined){u=i.source}if((0,B["default"])(i)!=null){l=c?clipDuplicates((0,B["default"])(i)+c):(0,B["default"])(i)}}t=augment(new RegExp(r.source||t.source,a),hasNamedCapture(t)?(0,y["default"])(o=i.captureNames).call(o,0):null,u,l,r.isInternalOnly);return t}function dec(t){return(0,O["default"])(t,16)}function getContextualTokenSeparator(t,r,o){if(t.input[t.index-1]==="("||t.input[t.index+t[0].length]===")"||t.input[t.index-1]==="|"||t.input[t.index+t[0].length]==="|"||t.index<1||t.index+t[0].length>=t.input.length||S.test.call(/^\(\?[:=!]/,t.input.substr(t.index-3,3))||isQuantifierNext(t.input,t.index+t[0].length,o)){return""}return"(?:)"}function getNativeFlags(t){return k?(0,B["default"])(t):S.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(t))[1]}function hasNamedCapture(t){return!!(t[I]&&t[I].captureNames)}function hex(t){return(0,O["default"])(t,10).toString(16)}function isQuantifierNext(t,r,o){var i="\\(\\?#[^)]*\\)";var a="#[^#\\n]*";var c="[?*+]|{\\d+(?:,\\d*)?}";return S.test.call((0,z["default"])(o).call(o,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,(0,y["default"])(t).call(t,r))}function isType(t,r){return D.call(t)==="[object ".concat(r,"]")}function pad4(t){while(t.length<4){t="0".concat(t)}return t}function prepareFlags(t,r){if(clipDuplicates(r)!==r){throw new SyntaxError("Invalid duplicate regex flag ".concat(r))}t=S.replace.call(t,/^\(\?([\w$]+)\)/,(function(t,o){if(S.test.call(/[gy]/,o)){throw new SyntaxError("Cannot use flag g or y in mode modifier ".concat(t))}r=clipDuplicates(r+o);return""}));var o=_createForOfIteratorHelper(r),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;if(!H[a]){throw new SyntaxError("Unknown regex flag ".concat(a))}}}catch(t){o.e(t)}finally{o.f()}return{pattern:t,flags:r}}function prepareOptions(t){var r={};if(isType(t,"String")){(0,g["default"])(XRegExp).call(XRegExp,t,/[^\s,]+/,(function(t){r[t]=true}));return r}return t}function registerFlag(t){if(!/^[\w$]$/.test(t)){throw new Error("Flag must be a single character A-Za-z0-9_$")}H[t]=true}function runTokens(t,r,o,i,a){var c=v.length;var p=t[o];var u=null;var l;var d;while(c--){d=v[c];if(d.leadChar&&d.leadChar!==p||d.scope!==i&&d.scope!=="all"||d.flag&&!(0,z["default"])(r).call(r,d.flag)){continue}l=XRegExp.exec(t,d.regex,o,"sticky");if(l){u={matchLength:l[0].length,output:d.handler.call(a,l,i,r),reparse:d.reparse};break}}return u}function setAstral(t){R.astral=t}function setNamespacing(t){R.namespacing=t}function toObject(t){if(t==null){throw new TypeError("Cannot convert null or undefined to object")}return t}function XRegExp(t,r){if(XRegExp.isRegExp(t)){if(r!==undefined){throw new TypeError("Cannot supply flags when copying a RegExp")}return copyRegex(t)}t=t===undefined?"":String(t);r=r===undefined?"":String(r);if(XRegExp.isInstalled("astral")&&!(0,z["default"])(r).call(r,"A")){r+="A"}if(!N[t]){N[t]={}}if(!N[t][r]){var o={hasNamedCapture:false,captureNames:[]};var i=T;var a="";var c=0;var p;var u=prepareFlags(t,r);var l=u.pattern;var d=(0,B["default"])(u);while(c<l.length){do{p=runTokens(l,d,c,i,o);if(p&&p.reparse){l=(0,y["default"])(l).call(l,0,c)+p.output+(0,y["default"])(l).call(l,c+p.matchLength)}}while(p&&p.reparsLine truncated
/* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */if("response"in o){this.response=o.response}const i=Object.assign({},o.request);if(o.request.headers.authorization){i.headers=Object.assign({},o.request.headers,{authorization:o.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i}}var bf="10.0.8";var hf={headers:{"user-agent":`octokit-request.js/${bf} ${getUserAgent()}`}};function dist_bundle_isPlainObject(t){if(typeof t!=="object"||t===null)return false;if(Object.prototype.toString.call(t)!=="[object Object]")return false;const r=Object.getPrototypeOf(t);if(r===null)return true;const o=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof o==="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(t)}var noop=()=>"";async function fetchWrapper(t){const r=t.request?.fetch||globalThis.fetch;if(!r){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")}const o=t.request?.log||console;const i=t.request?.parseSuccessResponseBody!==false;const a=dist_bundle_isPlainObject(t.body)||Array.isArray(t.body)?JSONStringify(t.body):t.body;const c=Object.fromEntries(Object.entries(t.headers).map((([t,r])=>[t,String(r)])));let p;try{p=await r(t.url,{method:t.method,body:a,redirect:t.request?.redirect,headers:c,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(r){let o="Unknown Error";if(r instanceof Error){if(r.name==="AbortError"){r.status=500;throw r}o=r.message;if(r.name==="TypeError"&&"cause"in r){if(r.cause instanceof Error){o=r.cause.message}else if(typeof r.cause==="string"){o=r.cause}}}const i=new RequestError(o,500,{request:t});i.cause=r;throw i}const u=p.status;const l=p.url;const d={};for(const[t,r]of p.headers){d[t]=r}const A={url:l,status:u,headers:d,data:""};if("deprecation"in d){const r=d.link&&d.link.match(/<([^<>]+)>; rel="deprecation"/);const i=r&&r.pop();o.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${d.sunset}${i?`. See ${i}`:""}`)}if(u===204||u===205){return A}if(t.method==="HEAD"){if(u<400){return A}throw new RequestError(p.statusText,u,{response:A,request:t})}if(u===304){A.data=await getResponseData(p);throw new RequestError("Not modified",u,{response:A,request:t})}if(u>=400){A.data=await getResponseData(p);throw new RequestError(toErrorMessage(A.data),u,{response:A,request:t})}A.data=i?await getResponseData(p):p.body;return A}async function getResponseData(t){const r=t.headers.get("content-type");if(!r){return t.text().catch(noop)}const o=(0,rf.xL)(r);if(isJSONResponse(o)){let r="";try{r=await t.text();return JSONParse(r)}catch(t){return r}}else if(o.type.startsWith("text/")||o.parameters.charset?.toLowerCase()==="utf-8"){return t.text().catch(noop)}else{return t.arrayBuffer().catch((
/* v8 ignore next -- @preserve */
()=>new ArrayBuffer(0)))}}function isJSONResponse(t){return t.type==="application/json"||t.type==="application/scim+json"}function toErrorMessage(t){if(typeof t==="string"){return t}if(t instanceof ArrayBuffer){return"Unknown error"}if("message"in t){const r="documentation_url"in t?` - ${t.documentation_url}`:"";return Array.isArray(t.errors)?`${t.message}: ${t.errors.map((t=>JSON.stringify(t))).join(", ")}${r}`:`${t.message}${r}`}return`Unknown error: ${JSON.stringify(t)}`}function dist_bundle_withDefaults(t,r){const o=t.defaults(r);const newApi=function(t,r){const i=o.merge(t,r);if(!i.request||!i.request.hook){return fetchWrapper(o.parse(i))}const request2=(t,r)=>fetchWrapper(o.parse(o.merge(t,r)));Object.assign(request2,{endpoint:o,defaults:dist_bundle_withDefaults.bind(null,o)});return i.request.hook(request2,i)};return Object.assign(newApi,{endpoint:o,defaults:dist_bundle_withDefaults.bind(null,o)})}var Mf=dist_bundle_withDefaults(tf,hf);