Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/embedpre.../assets/pdf/build
File: pdf.worker.js
}
[13000] Fix | Delete
let i,
[13001] Fix | Delete
j = bufferLength,
[13002] Fix | Delete
up,
[13003] Fix | Delete
c;
[13004] Fix | Delete
switch (predictor) {
[13005] Fix | Delete
case 0:
[13006] Fix | Delete
for (i = 0; i < rowBytes; ++i) {
[13007] Fix | Delete
buffer[j++] = rawBytes[i];
[13008] Fix | Delete
}
[13009] Fix | Delete
break;
[13010] Fix | Delete
case 1:
[13011] Fix | Delete
for (i = 0; i < pixBytes; ++i) {
[13012] Fix | Delete
buffer[j++] = rawBytes[i];
[13013] Fix | Delete
}
[13014] Fix | Delete
for (; i < rowBytes; ++i) {
[13015] Fix | Delete
buffer[j] = buffer[j - pixBytes] + rawBytes[i] & 0xff;
[13016] Fix | Delete
j++;
[13017] Fix | Delete
}
[13018] Fix | Delete
break;
[13019] Fix | Delete
case 2:
[13020] Fix | Delete
for (i = 0; i < rowBytes; ++i) {
[13021] Fix | Delete
buffer[j++] = prevRow[i] + rawBytes[i] & 0xff;
[13022] Fix | Delete
}
[13023] Fix | Delete
break;
[13024] Fix | Delete
case 3:
[13025] Fix | Delete
for (i = 0; i < pixBytes; ++i) {
[13026] Fix | Delete
buffer[j++] = (prevRow[i] >> 1) + rawBytes[i];
[13027] Fix | Delete
}
[13028] Fix | Delete
for (; i < rowBytes; ++i) {
[13029] Fix | Delete
buffer[j] = (prevRow[i] + buffer[j - pixBytes] >> 1) + rawBytes[i] & 0xff;
[13030] Fix | Delete
j++;
[13031] Fix | Delete
}
[13032] Fix | Delete
break;
[13033] Fix | Delete
case 4:
[13034] Fix | Delete
for (i = 0; i < pixBytes; ++i) {
[13035] Fix | Delete
up = prevRow[i];
[13036] Fix | Delete
c = rawBytes[i];
[13037] Fix | Delete
buffer[j++] = up + c;
[13038] Fix | Delete
}
[13039] Fix | Delete
for (; i < rowBytes; ++i) {
[13040] Fix | Delete
up = prevRow[i];
[13041] Fix | Delete
const upLeft = prevRow[i - pixBytes];
[13042] Fix | Delete
const left = buffer[j - pixBytes];
[13043] Fix | Delete
const p = left + up - upLeft;
[13044] Fix | Delete
let pa = p - left;
[13045] Fix | Delete
if (pa < 0) {
[13046] Fix | Delete
pa = -pa;
[13047] Fix | Delete
}
[13048] Fix | Delete
let pb = p - up;
[13049] Fix | Delete
if (pb < 0) {
[13050] Fix | Delete
pb = -pb;
[13051] Fix | Delete
}
[13052] Fix | Delete
let pc = p - upLeft;
[13053] Fix | Delete
if (pc < 0) {
[13054] Fix | Delete
pc = -pc;
[13055] Fix | Delete
}
[13056] Fix | Delete
c = rawBytes[i];
[13057] Fix | Delete
if (pa <= pb && pa <= pc) {
[13058] Fix | Delete
buffer[j++] = left + c;
[13059] Fix | Delete
} else if (pb <= pc) {
[13060] Fix | Delete
buffer[j++] = up + c;
[13061] Fix | Delete
} else {
[13062] Fix | Delete
buffer[j++] = upLeft + c;
[13063] Fix | Delete
}
[13064] Fix | Delete
}
[13065] Fix | Delete
break;
[13066] Fix | Delete
default:
[13067] Fix | Delete
throw new FormatError(`Unsupported predictor: ${predictor}`);
[13068] Fix | Delete
}
[13069] Fix | Delete
this.bufferLength += rowBytes;
[13070] Fix | Delete
}
[13071] Fix | Delete
}
[13072] Fix | Delete
[13073] Fix | Delete
;// CONCATENATED MODULE: ./src/core/run_length_stream.js
[13074] Fix | Delete
[13075] Fix | Delete
class RunLengthStream extends DecodeStream {
[13076] Fix | Delete
constructor(str, maybeLength) {
[13077] Fix | Delete
super(maybeLength);
[13078] Fix | Delete
this.str = str;
[13079] Fix | Delete
this.dict = str.dict;
[13080] Fix | Delete
}
[13081] Fix | Delete
readBlock() {
[13082] Fix | Delete
const repeatHeader = this.str.getBytes(2);
[13083] Fix | Delete
if (!repeatHeader || repeatHeader.length < 2 || repeatHeader[0] === 128) {
[13084] Fix | Delete
this.eof = true;
[13085] Fix | Delete
return;
[13086] Fix | Delete
}
[13087] Fix | Delete
let buffer;
[13088] Fix | Delete
let bufferLength = this.bufferLength;
[13089] Fix | Delete
let n = repeatHeader[0];
[13090] Fix | Delete
if (n < 128) {
[13091] Fix | Delete
buffer = this.ensureBuffer(bufferLength + n + 1);
[13092] Fix | Delete
buffer[bufferLength++] = repeatHeader[1];
[13093] Fix | Delete
if (n > 0) {
[13094] Fix | Delete
const source = this.str.getBytes(n);
[13095] Fix | Delete
buffer.set(source, bufferLength);
[13096] Fix | Delete
bufferLength += n;
[13097] Fix | Delete
}
[13098] Fix | Delete
} else {
[13099] Fix | Delete
n = 257 - n;
[13100] Fix | Delete
const b = repeatHeader[1];
[13101] Fix | Delete
buffer = this.ensureBuffer(bufferLength + n + 1);
[13102] Fix | Delete
for (let i = 0; i < n; i++) {
[13103] Fix | Delete
buffer[bufferLength++] = b;
[13104] Fix | Delete
}
[13105] Fix | Delete
}
[13106] Fix | Delete
this.bufferLength = bufferLength;
[13107] Fix | Delete
}
[13108] Fix | Delete
}
[13109] Fix | Delete
[13110] Fix | Delete
;// CONCATENATED MODULE: ./src/core/parser.js
[13111] Fix | Delete
[13112] Fix | Delete
[13113] Fix | Delete
[13114] Fix | Delete
[13115] Fix | Delete
[13116] Fix | Delete
[13117] Fix | Delete
[13118] Fix | Delete
[13119] Fix | Delete
[13120] Fix | Delete
[13121] Fix | Delete
[13122] Fix | Delete
[13123] Fix | Delete
[13124] Fix | Delete
[13125] Fix | Delete
[13126] Fix | Delete
[13127] Fix | Delete
[13128] Fix | Delete
[13129] Fix | Delete
[13130] Fix | Delete
[13131] Fix | Delete
[13132] Fix | Delete
[13133] Fix | Delete
[13134] Fix | Delete
const MAX_LENGTH_TO_CACHE = 1000;
[13135] Fix | Delete
function getInlineImageCacheKey(bytes) {
[13136] Fix | Delete
const strBuf = [],
[13137] Fix | Delete
ii = bytes.length;
[13138] Fix | Delete
let i = 0;
[13139] Fix | Delete
while (i < ii - 1) {
[13140] Fix | Delete
strBuf.push(bytes[i++] << 8 | bytes[i++]);
[13141] Fix | Delete
}
[13142] Fix | Delete
if (i < ii) {
[13143] Fix | Delete
strBuf.push(bytes[i]);
[13144] Fix | Delete
}
[13145] Fix | Delete
return ii + "_" + String.fromCharCode.apply(null, strBuf);
[13146] Fix | Delete
}
[13147] Fix | Delete
class Parser {
[13148] Fix | Delete
constructor({
[13149] Fix | Delete
lexer,
[13150] Fix | Delete
xref,
[13151] Fix | Delete
allowStreams = false,
[13152] Fix | Delete
recoveryMode = false
[13153] Fix | Delete
}) {
[13154] Fix | Delete
this.lexer = lexer;
[13155] Fix | Delete
this.xref = xref;
[13156] Fix | Delete
this.allowStreams = allowStreams;
[13157] Fix | Delete
this.recoveryMode = recoveryMode;
[13158] Fix | Delete
this.imageCache = Object.create(null);
[13159] Fix | Delete
this._imageId = 0;
[13160] Fix | Delete
this.refill();
[13161] Fix | Delete
}
[13162] Fix | Delete
refill() {
[13163] Fix | Delete
this.buf1 = this.lexer.getObj();
[13164] Fix | Delete
this.buf2 = this.lexer.getObj();
[13165] Fix | Delete
}
[13166] Fix | Delete
shift() {
[13167] Fix | Delete
if (this.buf2 instanceof Cmd && this.buf2.cmd === "ID") {
[13168] Fix | Delete
this.buf1 = this.buf2;
[13169] Fix | Delete
this.buf2 = null;
[13170] Fix | Delete
} else {
[13171] Fix | Delete
this.buf1 = this.buf2;
[13172] Fix | Delete
this.buf2 = this.lexer.getObj();
[13173] Fix | Delete
}
[13174] Fix | Delete
}
[13175] Fix | Delete
tryShift() {
[13176] Fix | Delete
try {
[13177] Fix | Delete
this.shift();
[13178] Fix | Delete
return true;
[13179] Fix | Delete
} catch (e) {
[13180] Fix | Delete
if (e instanceof MissingDataException) {
[13181] Fix | Delete
throw e;
[13182] Fix | Delete
}
[13183] Fix | Delete
return false;
[13184] Fix | Delete
}
[13185] Fix | Delete
}
[13186] Fix | Delete
getObj(cipherTransform = null) {
[13187] Fix | Delete
const buf1 = this.buf1;
[13188] Fix | Delete
this.shift();
[13189] Fix | Delete
if (buf1 instanceof Cmd) {
[13190] Fix | Delete
switch (buf1.cmd) {
[13191] Fix | Delete
case "BI":
[13192] Fix | Delete
return this.makeInlineImage(cipherTransform);
[13193] Fix | Delete
case "[":
[13194] Fix | Delete
const array = [];
[13195] Fix | Delete
while (!isCmd(this.buf1, "]") && this.buf1 !== EOF) {
[13196] Fix | Delete
array.push(this.getObj(cipherTransform));
[13197] Fix | Delete
}
[13198] Fix | Delete
if (this.buf1 === EOF) {
[13199] Fix | Delete
if (this.recoveryMode) {
[13200] Fix | Delete
return array;
[13201] Fix | Delete
}
[13202] Fix | Delete
throw new ParserEOFException("End of file inside array.");
[13203] Fix | Delete
}
[13204] Fix | Delete
this.shift();
[13205] Fix | Delete
return array;
[13206] Fix | Delete
case "<<":
[13207] Fix | Delete
const dict = new Dict(this.xref);
[13208] Fix | Delete
while (!isCmd(this.buf1, ">>") && this.buf1 !== EOF) {
[13209] Fix | Delete
if (!(this.buf1 instanceof Name)) {
[13210] Fix | Delete
info("Malformed dictionary: key must be a name object");
[13211] Fix | Delete
this.shift();
[13212] Fix | Delete
continue;
[13213] Fix | Delete
}
[13214] Fix | Delete
const key = this.buf1.name;
[13215] Fix | Delete
this.shift();
[13216] Fix | Delete
if (this.buf1 === EOF) {
[13217] Fix | Delete
break;
[13218] Fix | Delete
}
[13219] Fix | Delete
dict.set(key, this.getObj(cipherTransform));
[13220] Fix | Delete
}
[13221] Fix | Delete
if (this.buf1 === EOF) {
[13222] Fix | Delete
if (this.recoveryMode) {
[13223] Fix | Delete
return dict;
[13224] Fix | Delete
}
[13225] Fix | Delete
throw new ParserEOFException("End of file inside dictionary.");
[13226] Fix | Delete
}
[13227] Fix | Delete
if (isCmd(this.buf2, "stream")) {
[13228] Fix | Delete
return this.allowStreams ? this.makeStream(dict, cipherTransform) : dict;
[13229] Fix | Delete
}
[13230] Fix | Delete
this.shift();
[13231] Fix | Delete
return dict;
[13232] Fix | Delete
default:
[13233] Fix | Delete
return buf1;
[13234] Fix | Delete
}
[13235] Fix | Delete
}
[13236] Fix | Delete
if (Number.isInteger(buf1)) {
[13237] Fix | Delete
if (Number.isInteger(this.buf1) && isCmd(this.buf2, "R")) {
[13238] Fix | Delete
const ref = Ref.get(buf1, this.buf1);
[13239] Fix | Delete
this.shift();
[13240] Fix | Delete
this.shift();
[13241] Fix | Delete
return ref;
[13242] Fix | Delete
}
[13243] Fix | Delete
return buf1;
[13244] Fix | Delete
}
[13245] Fix | Delete
if (typeof buf1 === "string") {
[13246] Fix | Delete
if (cipherTransform) {
[13247] Fix | Delete
return cipherTransform.decryptString(buf1);
[13248] Fix | Delete
}
[13249] Fix | Delete
return buf1;
[13250] Fix | Delete
}
[13251] Fix | Delete
return buf1;
[13252] Fix | Delete
}
[13253] Fix | Delete
findDefaultInlineStreamEnd(stream) {
[13254] Fix | Delete
const E = 0x45,
[13255] Fix | Delete
I = 0x49,
[13256] Fix | Delete
SPACE = 0x20,
[13257] Fix | Delete
LF = 0xa,
[13258] Fix | Delete
CR = 0xd,
[13259] Fix | Delete
NUL = 0x0;
[13260] Fix | Delete
const {
[13261] Fix | Delete
knownCommands
[13262] Fix | Delete
} = this.lexer,
[13263] Fix | Delete
startPos = stream.pos,
[13264] Fix | Delete
n = 15;
[13265] Fix | Delete
let state = 0,
[13266] Fix | Delete
ch,
[13267] Fix | Delete
maybeEIPos;
[13268] Fix | Delete
while ((ch = stream.getByte()) !== -1) {
[13269] Fix | Delete
if (state === 0) {
[13270] Fix | Delete
state = ch === E ? 1 : 0;
[13271] Fix | Delete
} else if (state === 1) {
[13272] Fix | Delete
state = ch === I ? 2 : 0;
[13273] Fix | Delete
} else {
[13274] Fix | Delete
if (ch === SPACE || ch === LF || ch === CR) {
[13275] Fix | Delete
maybeEIPos = stream.pos;
[13276] Fix | Delete
const followingBytes = stream.peekBytes(n);
[13277] Fix | Delete
const ii = followingBytes.length;
[13278] Fix | Delete
if (ii === 0) {
[13279] Fix | Delete
break;
[13280] Fix | Delete
}
[13281] Fix | Delete
for (let i = 0; i < ii; i++) {
[13282] Fix | Delete
ch = followingBytes[i];
[13283] Fix | Delete
if (ch === NUL && followingBytes[i + 1] !== NUL) {
[13284] Fix | Delete
continue;
[13285] Fix | Delete
}
[13286] Fix | Delete
if (ch !== LF && ch !== CR && (ch < SPACE || ch > 0x7f)) {
[13287] Fix | Delete
state = 0;
[13288] Fix | Delete
break;
[13289] Fix | Delete
}
[13290] Fix | Delete
}
[13291] Fix | Delete
if (state !== 2) {
[13292] Fix | Delete
continue;
[13293] Fix | Delete
}
[13294] Fix | Delete
if (!knownCommands) {
[13295] Fix | Delete
warn("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");
[13296] Fix | Delete
continue;
[13297] Fix | Delete
}
[13298] Fix | Delete
const tmpLexer = new Lexer(new Stream(followingBytes.slice()), knownCommands);
[13299] Fix | Delete
tmpLexer._hexStringWarn = () => {};
[13300] Fix | Delete
let numArgs = 0;
[13301] Fix | Delete
while (true) {
[13302] Fix | Delete
const nextObj = tmpLexer.getObj();
[13303] Fix | Delete
if (nextObj === EOF) {
[13304] Fix | Delete
state = 0;
[13305] Fix | Delete
break;
[13306] Fix | Delete
}
[13307] Fix | Delete
if (nextObj instanceof Cmd) {
[13308] Fix | Delete
const knownCommand = knownCommands[nextObj.cmd];
[13309] Fix | Delete
if (!knownCommand) {
[13310] Fix | Delete
state = 0;
[13311] Fix | Delete
break;
[13312] Fix | Delete
} else if (knownCommand.variableArgs ? numArgs <= knownCommand.numArgs : numArgs === knownCommand.numArgs) {
[13313] Fix | Delete
break;
[13314] Fix | Delete
}
[13315] Fix | Delete
numArgs = 0;
[13316] Fix | Delete
continue;
[13317] Fix | Delete
}
[13318] Fix | Delete
numArgs++;
[13319] Fix | Delete
}
[13320] Fix | Delete
if (state === 2) {
[13321] Fix | Delete
break;
[13322] Fix | Delete
}
[13323] Fix | Delete
} else {
[13324] Fix | Delete
state = 0;
[13325] Fix | Delete
}
[13326] Fix | Delete
}
[13327] Fix | Delete
}
[13328] Fix | Delete
if (ch === -1) {
[13329] Fix | Delete
warn("findDefaultInlineStreamEnd: " + "Reached the end of the stream without finding a valid EI marker");
[13330] Fix | Delete
if (maybeEIPos) {
[13331] Fix | Delete
warn('... trying to recover by using the last "EI" occurrence.');
[13332] Fix | Delete
stream.skip(-(stream.pos - maybeEIPos));
[13333] Fix | Delete
}
[13334] Fix | Delete
}
[13335] Fix | Delete
let endOffset = 4;
[13336] Fix | Delete
stream.skip(-endOffset);
[13337] Fix | Delete
ch = stream.peekByte();
[13338] Fix | Delete
stream.skip(endOffset);
[13339] Fix | Delete
if (!isWhiteSpace(ch)) {
[13340] Fix | Delete
endOffset--;
[13341] Fix | Delete
}
[13342] Fix | Delete
return stream.pos - endOffset - startPos;
[13343] Fix | Delete
}
[13344] Fix | Delete
findDCTDecodeInlineStreamEnd(stream) {
[13345] Fix | Delete
const startPos = stream.pos;
[13346] Fix | Delete
let foundEOI = false,
[13347] Fix | Delete
b,
[13348] Fix | Delete
markerLength;
[13349] Fix | Delete
while ((b = stream.getByte()) !== -1) {
[13350] Fix | Delete
if (b !== 0xff) {
[13351] Fix | Delete
continue;
[13352] Fix | Delete
}
[13353] Fix | Delete
switch (stream.getByte()) {
[13354] Fix | Delete
case 0x00:
[13355] Fix | Delete
break;
[13356] Fix | Delete
case 0xff:
[13357] Fix | Delete
stream.skip(-1);
[13358] Fix | Delete
break;
[13359] Fix | Delete
case 0xd9:
[13360] Fix | Delete
foundEOI = true;
[13361] Fix | Delete
break;
[13362] Fix | Delete
case 0xc0:
[13363] Fix | Delete
case 0xc1:
[13364] Fix | Delete
case 0xc2:
[13365] Fix | Delete
case 0xc3:
[13366] Fix | Delete
case 0xc5:
[13367] Fix | Delete
case 0xc6:
[13368] Fix | Delete
case 0xc7:
[13369] Fix | Delete
case 0xc9:
[13370] Fix | Delete
case 0xca:
[13371] Fix | Delete
case 0xcb:
[13372] Fix | Delete
case 0xcd:
[13373] Fix | Delete
case 0xce:
[13374] Fix | Delete
case 0xcf:
[13375] Fix | Delete
case 0xc4:
[13376] Fix | Delete
case 0xcc:
[13377] Fix | Delete
case 0xda:
[13378] Fix | Delete
case 0xdb:
[13379] Fix | Delete
case 0xdc:
[13380] Fix | Delete
case 0xdd:
[13381] Fix | Delete
case 0xde:
[13382] Fix | Delete
case 0xdf:
[13383] Fix | Delete
case 0xe0:
[13384] Fix | Delete
case 0xe1:
[13385] Fix | Delete
case 0xe2:
[13386] Fix | Delete
case 0xe3:
[13387] Fix | Delete
case 0xe4:
[13388] Fix | Delete
case 0xe5:
[13389] Fix | Delete
case 0xe6:
[13390] Fix | Delete
case 0xe7:
[13391] Fix | Delete
case 0xe8:
[13392] Fix | Delete
case 0xe9:
[13393] Fix | Delete
case 0xea:
[13394] Fix | Delete
case 0xeb:
[13395] Fix | Delete
case 0xec:
[13396] Fix | Delete
case 0xed:
[13397] Fix | Delete
case 0xee:
[13398] Fix | Delete
case 0xef:
[13399] Fix | Delete
case 0xfe:
[13400] Fix | Delete
markerLength = stream.getUint16();
[13401] Fix | Delete
if (markerLength > 2) {
[13402] Fix | Delete
stream.skip(markerLength - 2);
[13403] Fix | Delete
} else {
[13404] Fix | Delete
stream.skip(-2);
[13405] Fix | Delete
}
[13406] Fix | Delete
break;
[13407] Fix | Delete
}
[13408] Fix | Delete
if (foundEOI) {
[13409] Fix | Delete
break;
[13410] Fix | Delete
}
[13411] Fix | Delete
}
[13412] Fix | Delete
const length = stream.pos - startPos;
[13413] Fix | Delete
if (b === -1) {
[13414] Fix | Delete
warn("Inline DCTDecode image stream: " + "EOI marker not found, searching for /EI/ instead.");
[13415] Fix | Delete
stream.skip(-length);
[13416] Fix | Delete
return this.findDefaultInlineStreamEnd(stream);
[13417] Fix | Delete
}
[13418] Fix | Delete
this.inlineStreamSkipEI(stream);
[13419] Fix | Delete
return length;
[13420] Fix | Delete
}
[13421] Fix | Delete
findASCII85DecodeInlineStreamEnd(stream) {
[13422] Fix | Delete
const TILDE = 0x7e,
[13423] Fix | Delete
GT = 0x3e;
[13424] Fix | Delete
const startPos = stream.pos;
[13425] Fix | Delete
let ch;
[13426] Fix | Delete
while ((ch = stream.getByte()) !== -1) {
[13427] Fix | Delete
if (ch === TILDE) {
[13428] Fix | Delete
const tildePos = stream.pos;
[13429] Fix | Delete
ch = stream.peekByte();
[13430] Fix | Delete
while (isWhiteSpace(ch)) {
[13431] Fix | Delete
stream.skip();
[13432] Fix | Delete
ch = stream.peekByte();
[13433] Fix | Delete
}
[13434] Fix | Delete
if (ch === GT) {
[13435] Fix | Delete
stream.skip();
[13436] Fix | Delete
break;
[13437] Fix | Delete
}
[13438] Fix | Delete
if (stream.pos > tildePos) {
[13439] Fix | Delete
const maybeEI = stream.peekBytes(2);
[13440] Fix | Delete
if (maybeEI[0] === 0x45 && maybeEI[1] === 0x49) {
[13441] Fix | Delete
break;
[13442] Fix | Delete
}
[13443] Fix | Delete
}
[13444] Fix | Delete
}
[13445] Fix | Delete
}
[13446] Fix | Delete
const length = stream.pos - startPos;
[13447] Fix | Delete
if (ch === -1) {
[13448] Fix | Delete
warn("Inline ASCII85Decode image stream: " + "EOD marker not found, searching for /EI/ instead.");
[13449] Fix | Delete
stream.skip(-length);
[13450] Fix | Delete
return this.findDefaultInlineStreamEnd(stream);
[13451] Fix | Delete
}
[13452] Fix | Delete
this.inlineStreamSkipEI(stream);
[13453] Fix | Delete
return length;
[13454] Fix | Delete
}
[13455] Fix | Delete
findASCIIHexDecodeInlineStreamEnd(stream) {
[13456] Fix | Delete
const GT = 0x3e;
[13457] Fix | Delete
const startPos = stream.pos;
[13458] Fix | Delete
let ch;
[13459] Fix | Delete
while ((ch = stream.getByte()) !== -1) {
[13460] Fix | Delete
if (ch === GT) {
[13461] Fix | Delete
break;
[13462] Fix | Delete
}
[13463] Fix | Delete
}
[13464] Fix | Delete
const length = stream.pos - startPos;
[13465] Fix | Delete
if (ch === -1) {
[13466] Fix | Delete
warn("Inline ASCIIHexDecode image stream: " + "EOD marker not found, searching for /EI/ instead.");
[13467] Fix | Delete
stream.skip(-length);
[13468] Fix | Delete
return this.findDefaultInlineStreamEnd(stream);
[13469] Fix | Delete
}
[13470] Fix | Delete
this.inlineStreamSkipEI(stream);
[13471] Fix | Delete
return length;
[13472] Fix | Delete
}
[13473] Fix | Delete
inlineStreamSkipEI(stream) {
[13474] Fix | Delete
const E = 0x45,
[13475] Fix | Delete
I = 0x49;
[13476] Fix | Delete
let state = 0,
[13477] Fix | Delete
ch;
[13478] Fix | Delete
while ((ch = stream.getByte()) !== -1) {
[13479] Fix | Delete
if (state === 0) {
[13480] Fix | Delete
state = ch === E ? 1 : 0;
[13481] Fix | Delete
} else if (state === 1) {
[13482] Fix | Delete
state = ch === I ? 2 : 0;
[13483] Fix | Delete
} else if (state === 2) {
[13484] Fix | Delete
break;
[13485] Fix | Delete
}
[13486] Fix | Delete
}
[13487] Fix | Delete
}
[13488] Fix | Delete
makeInlineImage(cipherTransform) {
[13489] Fix | Delete
const lexer = this.lexer;
[13490] Fix | Delete
const stream = lexer.stream;
[13491] Fix | Delete
const dictMap = Object.create(null);
[13492] Fix | Delete
let dictLength;
[13493] Fix | Delete
while (!isCmd(this.buf1, "ID") && this.buf1 !== EOF) {
[13494] Fix | Delete
if (!(this.buf1 instanceof Name)) {
[13495] Fix | Delete
throw new FormatError("Dictionary key must be a name object");
[13496] Fix | Delete
}
[13497] Fix | Delete
const key = this.buf1.name;
[13498] Fix | Delete
this.shift();
[13499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function