(e3)
| 8385 | }(this); |
| 8386 | } |
| 8387 | enqueue(e3) { |
| 8388 | if (!de(this)) throw Ae("enqueue"); |
| 8389 | if ($5(e3, 1, "enqueue"), !ArrayBuffer.isView(e3)) throw new TypeError("chunk must be an array buffer view"); |
| 8390 | if (0 === e3.byteLength) throw new TypeError("chunk must have non-zero byteLength"); |
| 8391 | if (0 === e3.buffer.byteLength) throw new TypeError("chunk's buffer must have non-zero byteLength"); |
| 8392 | if (this._closeRequested) throw new TypeError("stream is closed or draining"); |
| 8393 | const t2 = this._controlledReadableByteStream._state; |
| 8394 | if ("readable" !== t2) throw new TypeError(`The stream (in ${t2} state) is not in the readable state and cannot be enqueued to`); |
| 8395 | !function(e4, t3) { |
| 8396 | const r3 = e4._controlledReadableByteStream; |
| 8397 | if (e4._closeRequested || "readable" !== r3._state) return; |
| 8398 | const o3 = t3.buffer, n2 = t3.byteOffset, a4 = t3.byteLength, i3 = o3; |
| 8399 | if (e4._pendingPullIntos.length > 0) { |
| 8400 | const t4 = e4._pendingPullIntos.peek(); |
| 8401 | t4.buffer, 0, Re(e4), t4.buffer = t4.buffer, "none" === t4.readerType && ge(e4, t4); |
| 8402 | } |
| 8403 | if (J5(r3)) if (function(e5) { |
| 8404 | const t4 = e5._controlledReadableByteStream._reader; |
| 8405 | for (; t4._readRequests.length > 0; ) { |
| 8406 | if (0 === e5._queueTotalSize) return; |
| 8407 | We(e5, t4._readRequests.shift()); |
| 8408 | } |
| 8409 | }(e4), 0 === X4(r3)) me(e4, i3, n2, a4); |
| 8410 | else { |
| 8411 | e4._pendingPullIntos.length > 0 && Ce(e4); |
| 8412 | G6(r3, new Uint8Array(i3, n2, a4), false); |
| 8413 | } |
| 8414 | else Le(r3) ? (me(e4, i3, n2, a4), Te(e4)) : me(e4, i3, n2, a4); |
| 8415 | be(e4); |
| 8416 | }(this, e3); |
| 8417 | } |
| 8418 | error(e3) { |
| 8419 | if (!de(this)) throw Ae("error"); |
| 8420 | Pe(this, e3); |
no test coverage detected