setup-cpp/dist/legacy/assets/proxy-agent-B6ncb0bd.js

3 lines
332 KiB
JavaScript
Raw Permalink Normal View History

"use strict";function A(A,e){for(var t=0;e.length>t;t++){const Q=e[t];if("string"!=typeof Q&&!Array.isArray(Q))for(const e in Q)if("default"!==e&&!(e in A)){const t=Object.getOwnPropertyDescriptor(Q,e);t&&Object.defineProperty(A,e,t.get?t:{enumerable:!0,get:()=>Q[e]})}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}function e(){}function t(A){return"object"==typeof A&&null!==A||"function"==typeof A}function Q(A,e){try{Object.defineProperty(A,"name",{value:e,configurable:!0})}catch(t){}}function E(A){return new VE(A)}function r(A){return E((e=>e(A)))}function g(A){return vE(A)}function B(A,e,t){return WE.call(A,e,t)}function o(A,e,t){B(B(A,e,t),void 0,HE)}function C(A,e){o(A,e)}function I(A,e){o(A,void 0,e)}function i(A,e,t){return B(A,e,t)}function n(A){B(A,void 0,HE)}function s(A,e,t){if("function"!=typeof A)throw new TypeError("Argument is not a function");return function(){}.apply.call(A,e,t)}function a(A,e,t){try{return r(s(A,e,t))}catch(Q){return g(Q)}}function h(A,e){var t;A._ownerReadableStream=e,e._reader=A,"readable"===e._state?d(A):"closed"===e._state?(d(t=A),f(t)):D(A,e._storedError)}function c(A,e){return At(A._ownerReadableStream,e)}function l(A){const e=A._ownerReadableStream;"readable"===e._state?R(A,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):D(A,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._readableStreamController[KE](),e._reader=void 0,A._ownerReadableStream=void 0}function u(A){return new TypeError("Cannot "+A+" a stream using a released reader")}function d(A){A._closedPromise=E(((e,t)=>{A._closedPromise_resolve=e,A._closedPromise_reject=t}))}function D(A,e){d(A),R(A,e)}function R(A,e){void 0!==A._closedPromise_reject&&(n(A._closedPromise),A._closedPromise_reject(e),A._closedPromise_resolve=void 0,A._closedPromise_reject=void 0)}function f(A){void 0!==A._closedPromise_resolve&&(A._closedPromise_resolve(void 0),A._closedPromise_resolve=void 0,A._closedPromise_reject=void 0)}function y(A,e){if(void 0!==A&&"object"!=typeof(t=A)&&"function"!=typeof t)throw new TypeError(e+" is not an object.");var t}function w(A,e){if("function"!=typeof A)throw new TypeError(e+" is not a function.")}function F(A,e){if(!function(A){return"object"==typeof A&&null!==A||"function"==typeof A}(A))throw new TypeError(e+" is not an object.")}function N(A,e,t){if(void 0===A)throw new TypeError(`Parameter ${e} is required in '${t}'.`)}function S(A,e,t){if(void 0===A)throw new TypeError(`${e} is required in '${t}'.`)}function k(A){return+A}function b(A){return 0===A?0:A}function p(A,e){const t=Number.MAX_SAFE_INTEGER;let Q=+A;if(Q=b(Q),!jE(Q))throw new TypeError(e+" is not a finite number");if(Q=b($E(Q)),0>Q||Q>t)throw new TypeError(`${e} is outside the accepted range of 0 to ${t}, inclusive`);return jE(Q)&&0!==Q?Q:0}function U(A,e){if(!je(A))throw new TypeError(e+" is not a ReadableStream.")}function m(A){return new Ar(A)}function L(A,e){A._reader._readRequests.push(e)}function M(A,e,t){const Q=A._reader._readRequests.shift();t?Q._closeSteps():Q._chunkSteps(e)}function Y(A){return A._reader._readRequests.length}function J(A){const e=A._reader;return void 0!==e&&!!G(e)}function G(A){return!!t(A)&&!!{}.hasOwnProperty.call(A,"_readRequests")&&A instanceof Ar}function T(A,e){const t=A._ownerReadableStream;t._disturbed=!0,"closed"===t._state?e._closeSteps():"errored"===t._state?e._errorSteps(t._storedError):t._readableStreamController[zE](e)}function H(A,e){const t=A._readRequests;A._readRequests=new xE,t.forEach((A=>{A._errorSteps(e)}))}function V(A){return new TypeError(`ReadableStreamDefaultReader.prototype.${A} can only be used on a ReadableStreamDefaultReader`)}function _(A){return A.slice()}function W(A,e,t,Q,E){new Uint8Array(A).set(new Uint8Array(t,Q,E),e)}function v(A,e,t){if(A.slice)return A.slice(e,t);const Q=t-e,E=new ArrayBuffer(Q);return W(E,0,A,e,Q),E}function q(A,e){const t=A[e];if(null!=t){if("function"!=typeof t)throw new TypeError(e+" is not a function");return t}}function
//# sourceMappingURL=proxy-agent-B6ncb0bd.js.map