contentful-management
Version:
Client for Contentful's Content Management API
2 lines • 463 kB
JavaScript
/*! For license information please see contentful-management.browser.min.js.LICENSE.txt */
!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return function(){var t={343:function(t,e,n){"use strict";var r=n(897),o=n(179),i=o(r("String.prototype.indexOf"));t.exports=function(t,e){var n=r(t,!!e);return"function"==typeof n&&i(t,".prototype.")>-1?o(n):n}},179:function(t,e,n){"use strict";var r=n(499),o=n(897),i=n(973),a=n(711),c=o("%Function.prototype.apply%"),u=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||r.call(u,c),p=n(539),f=o("%Math.max%");t.exports=function(t){if("function"!=typeof t)throw new a("a function is required");var e=s(r,u,arguments);return i(e,1+f(0,t.length-(arguments.length-1)),!0)};var l=function(){return s(r,c,arguments)};p?p(t.exports,"apply",{value:l}):t.exports.apply=l},889:function(t,e,n){t.exports=function(){"use strict";var t=Function.prototype.toString,e=Object.create,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,c=Object.getPrototypeOf,u=Object.prototype,s=u.hasOwnProperty,p=u.propertyIsEnumerable,f="function"==typeof a,l="function"==typeof WeakMap,y=function(){if(l)return function(){return new WeakMap};var t=function(){function t(){this._keys=[],this._values=[]}return t.prototype.has=function(t){return!!~this._keys.indexOf(t)},t.prototype.get=function(t){return this._values[this._keys.indexOf(t)]},t.prototype.set=function(t,e){this._keys.push(t),this._values.push(e)},t}();return function(){return new t}}(),d=function(n,r){var o=n.__proto__||c(n);if(!o)return e(null);var i=o.constructor;if(i===r.Object)return o===r.Object.prototype?{}:e(o);if(~t.call(i).indexOf("[native code]"))try{return new i}catch(t){}return e(o)},h=function(t,e,n,r){var o=d(t,e);for(var i in r.set(t,o),t)s.call(t,i)&&(o[i]=n(t[i],r));if(f)for(var c=a(t),u=0,l=c.length,y=void 0;u<l;++u)y=c[u],p.call(t,y)&&(o[y]=n(t[y],r));return o},v=function(t,e,n,c){var u=d(t,e);c.set(t,u);for(var s=f?i(t).concat(a(t)):i(t),p=0,l=s.length,y=void 0,h=void 0;p<l;++p)if("callee"!==(y=s[p])&&"caller"!==y)if(h=o(t,y)){h.get||h.set||(h.value=n(t[y],c));try{r(u,y,h)}catch(t){u[y]=h.value}}else u[y]=n(t[y],c);return u},m=Array.isArray,g=Object.getPrototypeOf,b=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function w(t,e){var n=!(!e||!e.isStrict),r=e&&e.realm||b,o=n?v:h,i=function(t,e){if(!t||"object"!=typeof t)return t;if(e.has(t))return e.get(t);var a,c,u,s=t.__proto__||g(t),p=s&&s.constructor;if(!p||p===r.Object)return o(t,r,i,e);if(m(t)){if(n)return v(t,r,i,e);a=new p,e.set(t,a);for(var f=0,l=t.length;f<l;++f)a[f]=i(t[f],e);return a}if(t instanceof r.Date)return new p(t.getTime());if(t instanceof r.RegExp)return(a=new p(t.source,t.flags||(c=t,u="",c.global&&(u+="g"),c.ignoreCase&&(u+="i"),c.multiline&&(u+="m"),c.unicode&&(u+="u"),c.sticky&&(u+="y"),u))).lastIndex=t.lastIndex,a;if(r.Map&&t instanceof r.Map)return a=new p,e.set(t,a),t.forEach((function(t,n){a.set(n,i(t,e))})),a;if(r.Set&&t instanceof r.Set)return a=new p,e.set(t,a),t.forEach((function(t){a.add(i(t,e))})),a;if(r.Blob&&t instanceof r.Blob)return t.slice(0,t.size,t.type);if(r.Buffer&&r.Buffer.isBuffer(t))return a=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(t.length):new p(t.length),e.set(t,a),t.copy(a),a;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(t))return a=new p(t.buffer.slice(0)),e.set(t,a),a;if(t instanceof r.ArrayBuffer)return a=t.slice(0),e.set(t,a),a}return"function"==typeof t.then||t instanceof Error||r.WeakMap&&t instanceof r.WeakMap||r.WeakSet&&t instanceof r.WeakSet?t:o(t,r,i,e)};return i(t,y())}return w.default=w,w.strict=function(t,e){return w(t,{isStrict:!0,realm:e?e.realm:void 0})},w}()},20:function(t){"use strict";var e=String.prototype.replace,n=/%20/g,r="RFC3986";t.exports={default:r,formatters:{RFC1738:function(t){return e.call(t,n,"+")},RFC3986:function(t){return String(t)}},RFC1738:"RFC1738",RFC3986:r}},780:function(t,e,n){"use strict";var r=n(270),o=n(735),i=n(20);t.exports={formats:i,parse:o,stringify:r}},735:function(t,e,n){"use strict";var r=n(285),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},c=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"==typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},s=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/g,c=n.depth>0&&/(\[[^[\]]*])/.exec(i),s=c?i.slice(0,c.index):i,p=[];if(s){if(!n.plainObjects&&o.call(Object.prototype,s)&&!n.allowPrototypes)return;p.push(s)}for(var f=0;n.depth>0&&null!==(c=a.exec(i))&&f<n.depth;){if(f+=1,!n.plainObjects&&o.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;p.push(c[1])}return c&&p.push("["+i.slice(c.index)+"]"),function(t,e,n,r){for(var o=r?e:u(e,n),i=t.length-1;i>=0;--i){var a,c=t[i];if("[]"===c&&n.parseArrays)a=[].concat(o);else{a=n.plainObjects?Object.create(null):{};var s="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,p=parseInt(s,10);n.parseArrays||""!==s?!isNaN(p)&&c!==s&&String(p)===s&&p>=0&&n.parseArrays&&p<=n.arrayLimit?(a=[])[p]=o:"__proto__"!==s&&(a[s]=o):a={0:o}}o=a}return o}(p,e,n,r)}};t.exports=function(t,e){var n=function(t){if(!t)return a;if(null!==t.decoder&&void 0!==t.decoder&&"function"!=typeof t.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e=void 0===t.charset?a.charset:t.charset;return{allowDots:void 0===t.allowDots?a.allowDots:!!t.allowDots,allowPrototypes:"boolean"==typeof t.allowPrototypes?t.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof t.allowSparse?t.allowSparse:a.allowSparse,arrayLimit:"number"==typeof t.arrayLimit?t.arrayLimit:a.arrayLimit,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof t.comma?t.comma:a.comma,decoder:"function"==typeof t.decoder?t.decoder:a.decoder,delimiter:"string"==typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:a.delimiter,depth:"number"==typeof t.depth||!1===t.depth?+t.depth:a.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof t.interpretNumericEntities?t.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof t.parameterLimit?t.parameterLimit:a.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"==typeof t.plainObjects?t.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:a.strictNullHandling}}(e);if(""===t||null==t)return n.plainObjects?Object.create(null):{};for(var p="string"==typeof t?function(t,e){var n,s={__proto__:null},p=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,f=e.parameterLimit===1/0?void 0:e.parameterLimit,l=p.split(e.delimiter,f),y=-1,d=e.charset;if(e.charsetSentinel)for(n=0;n<l.length;++n)0===l[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===l[n]?d="utf-8":"utf8=%26%2310003%3B"===l[n]&&(d="iso-8859-1"),y=n,n=l.length);for(n=0;n<l.length;++n)if(n!==y){var h,v,m=l[n],g=m.indexOf("]="),b=-1===g?m.indexOf("="):g+1;-1===b?(h=e.decoder(m,a.decoder,d,"key"),v=e.strictNullHandling?null:""):(h=e.decoder(m.slice(0,b),a.decoder,d,"key"),v=r.maybeMap(u(m.slice(b+1),e),(function(t){return e.decoder(t,a.decoder,d,"value")}))),v&&e.interpretNumericEntities&&"iso-8859-1"===d&&(v=c(v)),m.indexOf("[]=")>-1&&(v=i(v)?[v]:v),o.call(s,h)?s[h]=r.combine(s[h],v):s[h]=v}return s}(t,n):t,f=n.plainObjects?Object.create(null):{},l=Object.keys(p),y=0;y<l.length;++y){var d=l[y],h=s(d,p[d],n,"string"==typeof t);f=r.merge(f,h,n)}return!0===n.allowSparse?f:r.compact(f)}},270:function(t,e,n){"use strict";var r=n(588),o=n(285),i=n(20),a=Object.prototype.hasOwnProperty,c={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},u=Array.isArray,s=Array.prototype.push,p=function(t,e){s.apply(t,u(e)?e:[e])},f=Date.prototype.toISOString,l=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:l,formatter:i.formatters[l],indices:!1,serializeDate:function(t){return f.call(t)},skipNulls:!1,strictNullHandling:!1},d={},h=function t(e,n,i,a,c,s,f,l,h,v,m,g,b,w,O,j){for(var P,I=e,S=j,E=0,T=!1;void 0!==(S=S.get(d))&&!T;){var x=S.get(e);if(E+=1,void 0!==x){if(x===E)throw new RangeError("Cyclic object value");T=!0}void 0===S.get(d)&&(E=0)}if("function"==typeof l?I=l(n,I):I instanceof Date?I=m(I):"comma"===i&&u(I)&&(I=o.maybeMap(I,(function(t){return t instanceof Date?m(t):t}))),null===I){if(c)return f&&!w?f(n,y.encoder,O,"key",g):n;I=""}if("string"==typeof(P=I)||"number"==typeof P||"boolean"==typeof P||"symbol"==typeof P||"bigint"==typeof P||o.isBuffer(I))return f?[b(w?n:f(n,y.encoder,O,"key",g))+"="+b(f(I,y.encoder,O,"value",g))]:[b(n)+"="+b(String(I))];var A,k=[];if(void 0===I)return k;if("comma"===i&&u(I))w&&f&&(I=o.maybeMap(I,f)),A=[{value:I.length>0?I.join(",")||null:void 0}];else if(u(l))A=l;else{var L=Object.keys(I);A=h?L.sort(h):L}for(var _=a&&u(I)&&1===I.length?n+"[]":n,D=0;D<A.length;++D){var M=A[D],C="object"==typeof M&&void 0!==M.value?M.value:I[M];if(!s||null!==C){var R=u(I)?"function"==typeof i?i(_,M):_:_+(v?"."+M:"["+M+"]");j.set(e,E);var F=r();F.set(d,j),p(k,t(C,R,i,a,c,s,"comma"===i&&w&&u(I)?null:f,l,h,v,m,g,b,w,O,F))}}return k};t.exports=function(t,e){var n,o=t,s=function(t){if(!t)return y;if(null!==t.encoder&&void 0!==t.encoder&&"function"!=typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||y.charset;if(void 0!==t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==t.format){if(!a.call(i.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=i.formatters[n],o=y.filter;return("function"==typeof t.filter||u(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"==typeof t.addQueryPrefix?t.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===t.allowDots?y.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"==typeof t.charsetSentinel?t.charsetSentinel:y.charsetSentinel,delimiter:void 0===t.delimiter?y.delimiter:t.delimiter,encode:"boolean"==typeof t.encode?t.encode:y.encode,encoder:"function"==typeof t.encoder?t.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof t.encodeValuesOnly?t.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof t.serializeDate?t.serializeDate:y.serializeDate,skipNulls:"boolean"==typeof t.skipNulls?t.skipNulls:y.skipNulls,sort:"function"==typeof t.sort?t.sort:null,strictNullHandling:"boolean"==typeof t.strictNullHandling?t.strictNullHandling:y.strictNullHandling}}(e);"function"==typeof s.filter?o=(0,s.filter)("",o):u(s.filter)&&(n=s.filter);var f,l=[];if("object"!=typeof o||null===o)return"";f=e&&e.arrayFormat in c?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var d=c[f];if(e&&"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var v="comma"===d&&e&&e.commaRoundTrip;n||(n=Object.keys(o)),s.sort&&n.sort(s.sort);for(var m=r(),g=0;g<n.length;++g){var b=n[g];s.skipNulls&&null===o[b]||p(l,h(o[b],b,d,v,s.strictNullHandling,s.skipNulls,s.encode?s.encoder:null,s.filter,s.sort,s.allowDots,s.serializeDate,s.format,s.formatter,s.encodeValuesOnly,s.charset,m))}var w=l.join(s.delimiter),O=!0===s.addQueryPrefix?"?":"";return s.charsetSentinel&&("iso-8859-1"===s.charset?O+="utf8=%26%2310003%3B&":O+="utf8=%E2%9C%93&"),w.length>0?O+w:""}},285:function(t,e,n){"use strict";var r=n(20),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),c=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)void 0!==t[r]&&(n[r]=t[r]);return n};t.exports={arrayToObject:c,assign:function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},combine:function(t,e){return[].concat(t,e)},compact:function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var o=e[r],a=o.obj[o.prop],c=Object.keys(a),u=0;u<c.length;++u){var s=c[u],p=a[s];"object"==typeof p&&null!==p&&-1===n.indexOf(p)&&(e.push({obj:a,prop:s}),n.push(p))}return function(t){for(;t.length>1;){var e=t.pop(),n=e.obj[e.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);e.obj[e.prop]=r}}}(e),t},decode:function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(t){return r}},encode:function(t,e,n,o,i){if(0===t.length)return t;var c=t;if("symbol"==typeof t?c=Symbol.prototype.toString.call(t):"string"!=typeof t&&(c=String(t)),"iso-8859-1"===n)return escape(c).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var u="",s=0;s<c.length;++s){var p=c.charCodeAt(s);45===p||46===p||95===p||126===p||p>=48&&p<=57||p>=65&&p<=90||p>=97&&p<=122||i===r.RFC1738&&(40===p||41===p)?u+=c.charAt(s):p<128?u+=a[p]:p<2048?u+=a[192|p>>6]+a[128|63&p]:p<55296||p>=57344?u+=a[224|p>>12]+a[128|p>>6&63]+a[128|63&p]:(s+=1,p=65536+((1023&p)<<10|1023&c.charCodeAt(s)),u+=a[240|p>>18]+a[128|p>>12&63]+a[128|p>>6&63]+a[128|63&p])}return u},isBuffer:function(t){return!(!t||"object"!=typeof t||!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t)))},isRegExp:function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},maybeMap:function(t,e){if(i(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)},merge:function t(e,n,r){if(!n)return e;if("object"!=typeof n){if(i(e))e.push(n);else{if(!e||"object"!=typeof e)return[e,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!=typeof e)return[e].concat(n);var a=e;return i(e)&&!i(n)&&(a=c(e,r)),i(e)&&i(n)?(n.forEach((function(n,i){if(o.call(e,i)){var a=e[i];a&&"object"==typeof a&&n&&"object"==typeof n?e[i]=t(a,n,r):e.push(n)}else e[i]=n})),e):Object.keys(n).reduce((function(e,i){var a=n[i];return o.call(e,i)?e[i]=t(e[i],a,r):e[i]=a,e}),a)}}},381:function(t,e,n){"use strict";var r=n(539),o=n(296),i=n(711),a=n(399);t.exports=function(t,e,n){if(!t||"object"!=typeof t&&"function"!=typeof t)throw new i("`obj` must be an object or a function`");if("string"!=typeof e&&"symbol"!=typeof e)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,p=arguments.length>6&&arguments[6],f=!!a&&a(t,e);if(r)r(t,e,{configurable:null===s&&f?f.configurable:!s,enumerable:null===c&&f?f.enumerable:!c,value:n,writable:null===u&&f?f.writable:!u});else{if(!p&&(c||u||s))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[e]=n}}},539:function(t,e,n){"use strict";var r=n(897)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(t){r=!1}t.exports=r},841:function(t){"use strict";t.exports=EvalError},219:function(t){"use strict";t.exports=Error},190:function(t){"use strict";t.exports=RangeError},950:function(t){"use strict";t.exports=ReferenceError},296:function(t){"use strict";t.exports=SyntaxError},711:function(t){"use strict";t.exports=TypeError},221:function(t){"use strict";t.exports=URIError},845:function(t){"use strict";var e=Object.prototype.toString,n=Math.max,r=function(t,e){for(var n=[],r=0;r<t.length;r+=1)n[r]=t[r];for(var o=0;o<e.length;o+=1)n[o+t.length]=e[o];return n};t.exports=function(t){var o=this;if("function"!=typeof o||"[object Function]"!==e.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var i,a=function(t){for(var e=[],n=1,r=0;n<t.length;n+=1,r+=1)e[r]=t[n];return e}(arguments),c=n(0,o.length-a.length),u=[],s=0;s<c;s++)u[s]="$"+s;if(i=Function("binder","return function ("+function(t){for(var e="",n=0;n<t.length;n+=1)e+=t[n],n+1<t.length&&(e+=",");return e}(u)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof i){var e=o.apply(this,r(a,arguments));return Object(e)===e?e:this}return o.apply(t,r(a,arguments))})),o.prototype){var p=function(){};p.prototype=o.prototype,i.prototype=new p,p.prototype=null}return i}},499:function(t,e,n){"use strict";var r=n(845);t.exports=Function.prototype.bind||r},897:function(t,e,n){"use strict";var r,o=n(219),i=n(841),a=n(190),c=n(950),u=n(296),s=n(711),p=n(221),f=Function,l=function(t){try{return f('"use strict"; return ('+t+").constructor;")()}catch(t){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(t){y=null}var d=function(){throw new s},h=y?function(){try{return d}catch(t){try{return y(arguments,"callee").get}catch(t){return d}}}():d,v=n(923)(),m=n(372)(),g=Object.getPrototypeOf||(m?function(t){return t.__proto__}:null),b={},w="undefined"!=typeof Uint8Array&&g?g(Uint8Array):r,O={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":v&&g?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":f,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&g?g(g([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&v&&g?g((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&v&&g?g((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&g?g(""[Symbol.iterator]()):r,"%Symbol%":v?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":h,"%TypedArray%":w,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(g)try{null.error}catch(t){var j=g(g(t));O["%Error.prototype%"]=j}var P=function t(e){var n;if("%AsyncFunction%"===e)n=l("async function () {}");else if("%GeneratorFunction%"===e)n=l("function* () {}");else if("%AsyncGeneratorFunction%"===e)n=l("async function* () {}");else if("%AsyncGenerator%"===e){var r=t("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===e){var o=t("%AsyncGenerator%");o&&g&&(n=g(o.prototype))}return O[e]=n,n},I={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=n(499),E=n(313),T=S.call(Function.call,Array.prototype.concat),x=S.call(Function.apply,Array.prototype.splice),A=S.call(Function.call,String.prototype.replace),k=S.call(Function.call,String.prototype.slice),L=S.call(Function.call,RegExp.prototype.exec),_=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,D=/\\(\\)?/g,M=function(t,e){var n,r=t;if(E(I,r)&&(r="%"+(n=I[r])[0]+"%"),E(O,r)){var o=O[r];if(o===b&&(o=P(r)),void 0===o&&!e)throw new s("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new u("intrinsic "+t+" does not exist!")};t.exports=function(t,e){if("string"!=typeof t||0===t.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof e)throw new s('"allowMissing" argument must be a boolean');if(null===L(/^%?[^%]*%?$/,t))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(t){var e=k(t,0,1),n=k(t,-1);if("%"===e&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==e)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return A(t,_,(function(t,e,n,o){r[r.length]=n?A(o,D,"$1"):e||t})),r}(t),r=n.length>0?n[0]:"",o=M("%"+r+"%",e),i=o.name,a=o.value,c=!1,p=o.alias;p&&(r=p[0],x(n,T([0,1],p)));for(var f=1,l=!0;f<n.length;f+=1){var d=n[f],h=k(d,0,1),v=k(d,-1);if(('"'===h||"'"===h||"`"===h||'"'===v||"'"===v||"`"===v)&&h!==v)throw new u("property names with quotes must have matching quotes");if("constructor"!==d&&l||(c=!0),E(O,i="%"+(r+="."+d)+"%"))a=O[i];else if(null!=a){if(!(d in a)){if(!e)throw new s("base intrinsic for "+t+" exists, but the property is not available.");return}if(y&&f+1>=n.length){var m=y(a,d);a=(l=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:a[d]}else l=E(a,d),a=a[d];l&&!c&&(O[i]=a)}}return a}},399:function(t,e,n){"use strict";var r=n(897)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(t){r=null}t.exports=r},900:function(t,e,n){"use strict";var r=n(539),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(t){return!0}},t.exports=o},372:function(t){"use strict";var e={__proto__:null,foo:{}},n=Object;t.exports=function(){return{__proto__:e}.foo===e.foo&&!(e instanceof n)}},923:function(t,e,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(361);t.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},361:function(t){"use strict";t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var t={},e=Symbol("test"),n=Object(e);if("string"==typeof e)return!1;if("[object Symbol]"!==Object.prototype.toString.call(e))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(e in t[e]=42,t)return!1;if("function"==typeof Object.keys&&0!==Object.keys(t).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(t).length)return!1;var r=Object.getOwnPropertySymbols(t);if(1!==r.length||r[0]!==e)return!1;if(!Object.prototype.propertyIsEnumerable.call(t,e))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(t,e);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},313:function(t,e,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(499);t.exports=i.call(r,o)},501:function(t){var e,n,r=Function.prototype,o=Object.prototype,i=r.toString,a=o.hasOwnProperty,c=i.call(Object),u=o.toString,s=(e=Object.getPrototypeOf,n=Object,function(t){return e(n(t))});t.exports=function(t){if(!function(t){return!!t&&"object"==typeof t}(t)||"[object Object]"!=u.call(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t))return!1;var e=s(t);if(null===e)return!0;var n=a.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&i.call(n)==c}},567:function(t){var e=Object.prototype.toString,n=Array.isArray;t.exports=function(t){return"string"==typeof t||!n(t)&&function(t){return!!t&&"object"==typeof t}(t)&&"[object String]"==e.call(t)}},527:function(t,e,n){var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=r&&o&&"function"==typeof o.get?o.get:null,a=r&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,u=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,s=c&&u&&"function"==typeof u.get?u.get:null,p=c&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,l="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,h=Object.prototype.toString,v=Function.prototype.toString,m=String.prototype.match,g=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,O=String.prototype.toLowerCase,j=RegExp.prototype.test,P=Array.prototype.concat,I=Array.prototype.join,S=Array.prototype.slice,E=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,x=Object.getOwnPropertySymbols,A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,L="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,_=Object.prototype.propertyIsEnumerable,D=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function M(t,e){if(t===1/0||t===-1/0||t!=t||t&&t>-1e3&&t<1e3||j.call(/e/,e))return e;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var r=t<0?-E(-t):E(t);if(r!==t){var o=String(r),i=g.call(e,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(e,n,"$&_")}var C=n(966),R=C.custom,F=B(R)?R:null;function z(t,e,n){var r="double"===(n.quoteStyle||e)?'"':"'";return r+t+r}function N(t){return b.call(String(t),/"/g,""")}function U(t){return!("[object Array]"!==K(t)||L&&"object"==typeof t&&L in t)}function q(t){return!("[object RegExp]"!==K(t)||L&&"object"==typeof t&&L in t)}function B(t){if(k)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!A)return!1;try{return A.call(t),!0}catch(t){}return!1}t.exports=function t(e,r,o,c){var u=r||{};if(G(u,"quoteStyle")&&"single"!==u.quoteStyle&&"double"!==u.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(G(u,"maxStringLength")&&("number"==typeof u.maxStringLength?u.maxStringLength<0&&u.maxStringLength!==1/0:null!==u.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!G(u,"customInspect")||u.customInspect;if("boolean"!=typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(u,"indent")&&null!==u.indent&&"\t"!==u.indent&&!(parseInt(u.indent,10)===u.indent&&u.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(u,"numericSeparator")&&"boolean"!=typeof u.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=u.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return H(e,u);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var j=String(e);return w?M(e,j):j}if("bigint"==typeof e){var E=String(e)+"n";return w?M(e,E):E}var x=void 0===u.depth?5:u.depth;if(void 0===o&&(o=0),o>=x&&x>0&&"object"==typeof e)return U(e)?"[Array]":"[Object]";var R,W=function(t,e){var n;if("\t"===t.indent)n="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;n=I.call(Array(t.indent+1)," ")}return{base:n,prev:I.call(Array(e+1),n)}}(u,o);if(void 0===c)c=[];else if(V(c,e)>=0)return"[Circular]";function X(e,n,r){if(n&&(c=S.call(c)).push(n),r){var i={depth:u.depth};return G(u,"quoteStyle")&&(i.quoteStyle=u.quoteStyle),t(e,i,o+1,c)}return t(e,u,o+1,c)}if("function"==typeof e&&!q(e)){var tt=function(t){if(t.name)return t.name;var e=m.call(v.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}(e),et=Z(e,X);return"[Function"+(tt?": "+tt:" (anonymous)")+"]"+(et.length>0?" { "+I.call(et,", ")+" }":"")}if(B(e)){var nt=k?b.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):A.call(e);return"object"!=typeof e||k?nt:Y(nt)}if((R=e)&&"object"==typeof R&&("undefined"!=typeof HTMLElement&&R instanceof HTMLElement||"string"==typeof R.nodeName&&"function"==typeof R.getAttribute)){for(var rt="<"+O.call(String(e.nodeName)),ot=e.attributes||[],it=0;it<ot.length;it++)rt+=" "+ot[it].name+"="+z(N(ot[it].value),"double",u);return rt+=">",e.childNodes&&e.childNodes.length&&(rt+="..."),rt+"</"+O.call(String(e.nodeName))+">"}if(U(e)){if(0===e.length)return"[]";var at=Z(e,X);return W&&!function(t){for(var e=0;e<t.length;e++)if(V(t[e],"\n")>=0)return!1;return!0}(at)?"["+Q(at,W)+"]":"[ "+I.call(at,", ")+" ]"}if(function(t){return!("[object Error]"!==K(t)||L&&"object"==typeof t&&L in t)}(e)){var ct=Z(e,X);return"cause"in Error.prototype||!("cause"in e)||_.call(e,"cause")?0===ct.length?"["+String(e)+"]":"{ ["+String(e)+"] "+I.call(ct,", ")+" }":"{ ["+String(e)+"] "+I.call(P.call("[cause]: "+X(e.cause),ct),", ")+" }"}if("object"==typeof e&&h){if(F&&"function"==typeof e[F]&&C)return C(e,{depth:x-o});if("symbol"!==h&&"function"==typeof e.inspect)return e.inspect()}if(function(t){if(!i||!t||"object"!=typeof t)return!1;try{i.call(t);try{s.call(t)}catch(t){return!0}return t instanceof Map}catch(t){}return!1}(e)){var ut=[];return a&&a.call(e,(function(t,n){ut.push(X(n,e,!0)+" => "+X(t,e))})),J("Map",i.call(e),ut,W)}if(function(t){if(!s||!t||"object"!=typeof t)return!1;try{s.call(t);try{i.call(t)}catch(t){return!0}return t instanceof Set}catch(t){}return!1}(e)){var st=[];return p&&p.call(e,(function(t){st.push(X(t,e))})),J("Set",s.call(e),st,W)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t,f);try{l.call(t,l)}catch(t){return!0}return t instanceof WeakMap}catch(t){}return!1}(e))return $("WeakMap");if(function(t){if(!l||!t||"object"!=typeof t)return!1;try{l.call(t,l);try{f.call(t,f)}catch(t){return!0}return t instanceof WeakSet}catch(t){}return!1}(e))return $("WeakSet");if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{return y.call(t),!0}catch(t){}return!1}(e))return $("WeakRef");if(function(t){return!("[object Number]"!==K(t)||L&&"object"==typeof t&&L in t)}(e))return Y(X(Number(e)));if(function(t){if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(t){}return!1}(e))return Y(X(T.call(e)));if(function(t){return!("[object Boolean]"!==K(t)||L&&"object"==typeof t&&L in t)}(e))return Y(d.call(e));if(function(t){return!("[object String]"!==K(t)||L&&"object"==typeof t&&L in t)}(e))return Y(X(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==n.g&&e===n.g)return"{ [object globalThis] }";if(!function(t){return!("[object Date]"!==K(t)||L&&"object"==typeof t&&L in t)}(e)&&!q(e)){var pt=Z(e,X),ft=D?D(e)===Object.prototype:e instanceof Object||e.constructor===Object,lt=e instanceof Object?"":"null prototype",yt=!ft&&L&&Object(e)===e&&L in e?g.call(K(e),8,-1):lt?"Object":"",dt=(ft||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(yt||lt?"["+I.call(P.call([],yt||[],lt||[]),": ")+"] ":"");return 0===pt.length?dt+"{}":W?dt+"{"+Q(pt,W)+"}":dt+"{ "+I.call(pt,", ")+" }"}return String(e)};var W=Object.prototype.hasOwnProperty||function(t){return t in this};function G(t,e){return W.call(t,e)}function K(t){return h.call(t)}function V(t,e){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function H(t,e){if(t.length>e.maxStringLength){var n=t.length-e.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return H(g.call(t,0,e.maxStringLength),e)+r}return z(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,X),"single",e)}function X(t){var e=t.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return n?"\\"+n:"\\x"+(e<16?"0":"")+w.call(e.toString(16))}function Y(t){return"Object("+t+")"}function $(t){return t+" { ? }"}function J(t,e,n,r){return t+" ("+e+") {"+(r?Q(n,r):I.call(n,", "))+"}"}function Q(t,e){if(0===t.length)return"";var n="\n"+e.prev+e.base;return n+I.call(t,","+n)+"\n"+e.prev}function Z(t,e){var n=U(t),r=[];if(n){r.length=t.length;for(var o=0;o<t.length;o++)r[o]=G(t,o)?e(t[o],t):""}var i,a="function"==typeof x?x(t):[];if(k){i={};for(var c=0;c<a.length;c++)i["$"+a[c]]=a[c]}for(var u in t)G(t,u)&&(n&&String(Number(u))===u&&u<t.length||k&&i["$"+u]instanceof Symbol||(j.call(/[^\w$]/,u)?r.push(e(u,t)+": "+e(t[u],t)):r.push(u+": "+e(t[u],t))));if("function"==typeof x)for(var s=0;s<a.length;s++)_.call(t,a[s])&&r.push("["+e(a[s])+"]: "+e(t[a[s]],t));return r}},370:function(t){"use strict";class e extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}t.exports=({limit:t,interval:n,strict:r})=>{if(!Number.isFinite(t))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw new TypeError("Expected `interval` to be a finite number");const o=new Map;let i=0,a=0;const c=[],u=r?function(){const e=Date.now();if(c.length<t)return c.push(e),0;const r=c.shift()+n;return e>=r?(c.push(e),0):(c.push(r),r-e)}:function(){const e=Date.now();return e-i>n?(a=1,i=e,0):(a<t?a++:(i+=n,a=1),i-e)};return t=>{const n=function(...e){if(!n.isEnabled)return(async()=>t.apply(this,e))();let r;return new Promise(((n,i)=>{r=setTimeout((()=>{n(t.apply(this,e)),o.delete(r)}),u()),o.set(r,i)}))};return n.abort=()=>{for(const t of o.keys())clearTimeout(t),o.get(t)(new e);o.clear(),c.splice(0,c.length)},n.isEnabled=!0,n}},t.exports.AbortError=e},973:function(t,e,n){"use strict";var r=n(897),o=n(381),i=n(900)(),a=n(399),c=n(711),u=r("%Math.floor%");t.exports=function(t,e){if("function"!=typeof t)throw new c("`fn` is not a function");if("number"!=typeof e||e<0||e>4294967295||u(e)!==e)throw new c("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,s=!0;if("length"in t&&a){var p=a(t,"length");p&&!p.configurable&&(r=!1),p&&!p.writable&&(s=!1)}return(r||s||!n)&&(i?o(t,"length",e,!0,!0):o(t,"length",e)),t}},588:function(t,e,n){"use strict";var r=n(897),o=n(343),i=n(527),a=r("%TypeError%"),c=r("%WeakMap%",!0),u=r("%Map%",!0),s=o("WeakMap.prototype.get",!0),p=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),l=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),h=function(t,e){for(var n,r=t;null!==(n=r.next);r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n};t.exports=function(){var t,e,n,r={assert:function(t){if(!r.has(t))throw new a("Side channel does not contain "+i(t))},get:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return s(t,r)}else if(u){if(e)return l(e,r)}else if(n)return function(t,e){var n=h(t,e);return n&&n.value}(n,r)},has:function(r){if(c&&r&&("object"==typeof r||"function"==typeof r)){if(t)return f(t,r)}else if(u){if(e)return d(e,r)}else if(n)return function(t,e){return!!h(t,e)}(n,r);return!1},set:function(r,o){c&&r&&("object"==typeof r||"function"==typeof r)?(t||(t=new c),p(t,r,o)):u?(e||(e=new u),y(e,r,o)):(n||(n={key:{},next:null}),function(t,e,n){var r=h(t,e);r?r.value=n:t.next={key:e,next:t.next,value:n}}(n,r,o))}};return r}},966:function(){}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){"use strict";n.r(r),n.d(r,{RestAdapter:function(){return uh},ScheduledActionReferenceFilters:function(){return nm},WorkflowStepPermissionAction:function(){return ub},WorkflowStepPermissionEffect:function(){return sb},WorkflowStepPermissionType:function(){return cb},asIterator:function(){return dw},createClient:function(){return Lw},editorInterfaceDefaults:function(){return le},fetchAll:function(){return Sw},isDraft:function(){return zh},isPublished:function(){return Rh},isUpdated:function(){return Fh}});var t={};n.r(t),n.d(t,{hasBrowserEnv:function(){return rr},hasStandardBrowserEnv:function(){return ir},hasStandardBrowserWebWorkerEnv:function(){return ar},navigator:function(){return or},origin:function(){return cr}});var e={};n.r(e),n.d(e,{create:function(){return ai},createWithId:function(){return ci},del:function(){return si},get:function(){return oi},getMany:function(){return ii},update:function(){return ui}});var o={};n.r(o),n.d(o,{create:function(){return Pi},del:function(){return ji},get:function(){return bi},getMany:function(){return wi},getManyForEnvironment:function(){return Oi},update:function(){return Ii}});var i={};n.r(i),n.d(i,{create:function(){return Ui},createWithResponse:function(){return Vi},getCallDetails:function(){return qi}});var a={};n.r(a),n.d(a,{create:function(){return Qi},del:function(){return Ji},get:function(){return Yi},getMany:function(){return $i}});var c={};n.r(c),n.d(c,{create:function(){return ca},del:function(){return sa},get:function(){return ia},getAppDefinitionUrl:function(){return oa},getInstallationsForOrg:function(){return pa},getMany:function(){return aa},update:function(){return ua}});var u={};n.r(u),n.d(u,{del:function(){return ya},get:function(){return fa},upsert:function(){return la}});var s={};n.r(s),n.d(s,{del:function(){return Pa},get:function(){return wa},getAppInstallationUrl:function(){return ba},getForOrganization:function(){return Ia},getMany:function(){return Oa},upsert:function(){return ja}});var p={};n.r(p),n.d(p,{create:function(){return Sa}});var f={};n.r(f),n.d(f,{del:function(){return xa},get:function(){return Ea},upsert:function(){return Ta}});var l={};n.r(l),n.d(l,{del:function(){return La},get:function(){return Aa},upsert:function(){return ka}});var y={};n.r(y),n.d(y,{create:function(){return Ma},del:function(){return Ca},get:function(){return _a},getMany:function(){return Da}});var d={};n.r(d),n.d(d,{create:function(){return Ra}});var h={};n.r(h),n.d(h,{create:function(){return Ba},del:function(){return qa},get:function(){return Ua}});var v={};n.r(v),n.d(v,{create:function(){return Ka},del:function(){return Va},get:function(){return Ha}});var m={};n.r(m),n.d(m,{archive:function(){return fc},create:function(){return yc},createFromFiles:function(){return hc},createWithId:function(){return dc},del:function(){return uc},get:function(){return oc},getMany:function(){return ac},getPublished:function(){return ic},processForAllLocales:function(){return Oc},processForLocale:function(){return wc},publish:function(){return sc},unarchive:function(){return lc},unpublish:function(){return pc},update:function(){return cc}});var g={};n.r(g),n.d(g,{ValidationError:function(){return Tc},create:function(){return xc}});var b={};n.r(b),n.d(b,{get:function(){return Ac},publish:function(){return kc},unpublish:function(){return Lc},validate:function(){return _c}});var w={};n.r(w),n.d(w,{create:function(){return Gc},del:function(){return Vc},get:function(){return Bc},getAll:function(){return Hc},getMany:function(){return Wc},update:function(){return Kc}});var O={};n.r(O),n.d(O,{create:function(){return Zc},del:function(){return nu},get:function(){return eu},getAncestors:function(){return iu},getDescendants:function(){return ou},getMany:function(){return ru},getTotal:function(){return au},update:function(){return tu}});var j={};n.r(j),n.d(j,{create:function(){return mu},del:function(){return du},get:function(){return yu},getMany:function(){return hu},getTotal:function(){return vu},update:function(){return gu}});var P={};n.r(P),n.d(P,{create:function(){return Tu},createWithId:function(){return xu},del:function(){return ku},get:function(){return Su},getMany:function(){return Eu},publish:function(){return Lu},unpublish:function(){return _u},update:function(){return Au}});var I={};n.r(I),n.d(I,{get:function(){return zu},getMany:function(){return Nu},update:function(){return Uu}});var S={};n.r(S),n.d(S,{archive:function(){return Zu},create:function(){return es},createWithId:function(){return ns},del:function(){return $u},get:function(){return Ku},getMany:function(){return Hu},getPublished:function(){return Vu},patch:function(){return Xu},publish:function(){return Ju},references:function(){return rs},unarchive:function(){return ts},unpublish:function(){return Qu},update:function(){return Yu}});var E={};n.r(E),n.d(E,{create:function(){return ls},createWithId:function(){return ys},del:function(){return fs},get:function(){return us},getMany:function(){return ss},update:function(){return ps}});var T={};n.r(T),n.d(T,{createWithId:function(){return js},del:function(){return Is},get:function(){return ws},getMany:function(){return Os},update:function(){return Ps}});var x={};n.r(x),n.d(x,{create:function(){return _s},del:function(){return Cs},disconnect:function(){return Ns},get:function(){return ks},getMany:function(){return Ls},install:function(){return zs},update:function(){return Ds},validate:function(){return Fs},versionUpdate:function(){return Ms},versions:function(){return Rs}});var A={};n.r(A),n.d(A,{getForEnvironment:function(){return Xs},getMany:function(){return Hs}});var k={};n.r(k),n.d(k,{create:function(){return ip},createWithId:function(){return ap},del:function(){return up},get:function(){return rp},getExtensionUrl:function(){return np},getMany:function(){return op},update:function(){return cp}});var L={};n.r(L),n.d(L,{del:function(){return yp},get:function(){return sp},patch:function(){return lp},post:function(){return pp},put:function(){return fp},request:function(){return dp}});var _={};n.r(_),n.d(_,{create:function(){return Op},del:function(){return Pp},get:function(){return bp},getMany:function(){return wp},update:function(){return jp}});var D={};n.r(D),n.d(D,{get:function(){return Sp},getMany:function(){return Ip}});var M={};n.r(M),n.d(M,{create:function(){return _p},get:function(){return Dp}});var C={};n.r(C),n.d(C,{del:function(){return Wp},get:function(){return Up},getMany:function(){return qp},update:function(){return Bp}});var R={};n.r(R),n.d(R,{create:function(){return Vp},get:function(){return Gp},getMany:function(){return Kp},revoke:function(){return Hp}});var F={};n.r(F),n.d(F,{createPersonalAccessToken:function(){return $p},get:function(){return Xp},getMany:function(){return Yp},getManyForOrganization:function(){return Qp},revoke:function(){return Jp}});var z={};n.r(z),n.d(z,{get:function(){return Zp},getMany:function(){return tf}});var N={};n.r(N),n.d(N,{archive:function(){return df},create:function(){return uf},del:function(){return pf},get:function(){return af},publish:function(){return ff},query:function(){return cf},unarchive:function(){return hf},unpublish:function(){return lf},update:function(){return sf},validate:function(){return yf}});var U={};n.r(U),n.d(U,{get:function(){return wf},getMany:function(){return Of},queryForRelease:function(){return jf}});var q={};n.r(q),n.d(q,{getMany:function(){return Pf}});var B={};n.r(B),n.d(B,{del:function(){return Tf},get:function(){return Sf},upsert:function(){return Ef}});var W={};n.r(W),n.d(W,{del:function(){return _f},get:function(){return kf},getForEnvironment:function(){return Mf},getMany:function(){return Df},upsert:function(){return Lf}});var G={};n.r(G),n.d(G,{create:function(){return Bf},createWithId:function(){return Wf},del:function(){return Kf},get:function(){return Nf},getMany:function(){return Uf},getManyForOrganization:function(){return qf},update:function(){return Gf}});var K={};n.r(K),n.d(K,{create:function(){return Xf},del:function(){return Yf},get:function(){return Vf},getMany:function(){return Hf},update:function(){return $f}});var V={};n.r(V),n.d(V,{getForContentType:function(){return nl},getForEntry:function(){return Zf},getManyForContentType:function(){return el},getManyForEntry:function(){return Qf}});var H={};n.r(H),n.d(H,{create:function(){return pl},del:function(){return ll},get:function(){return cl},getMany:function(){return ul},getManyForOrganization:function(){return sl},update:function(){return fl}});var X={};n.r(X),n.d(X,{get:function(){return yl},getMany:function(){return dl}});var Y={};n.r(Y),n.d(Y,{create:function(){return El},createWithId:function(){return Tl},del:function(){return Al},get:function(){return jl},getForOrganization:function(){return Il},getMany:function(){return Pl},getManyForOrganization:function(){return Sl},update:function(){return xl}});var $={};n.r($),n.d($,{createWithId:function(){return Nl},del:function(){return ql},get:function(){return Fl},getMany:function(){return zl},update:function(){return Ul}});var J={};n.r(J),n.d(J,{create:function(){return Ql},del:function(){return ty},get:function(){return Yl},getAll:function(){return Jl},getMany:function(){return $l},update:function(){return Zl}});var Q={};