@legendapp/state 0.14.4 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babel.js +283 -275
- package/babel.js.map +1 -1
- package/package.json +1 -1
- package/react.js +4 -2
- package/react.js.map +1 -1
- package/react.mjs +4 -2
- package/react.mjs.map +1 -1
package/babel.js
CHANGED
|
@@ -5293,331 +5293,339 @@ function isValidIdentifier(name, reserved = true) {
|
|
|
5293
5293
|
|
|
5294
5294
|
var lib = {};
|
|
5295
5295
|
|
|
5296
|
-
|
|
5297
|
-
value: true
|
|
5298
|
-
});
|
|
5299
|
-
lib.readCodePoint = readCodePoint;
|
|
5300
|
-
lib.readInt = readInt;
|
|
5301
|
-
lib.readStringContents = readStringContents;
|
|
5296
|
+
var hasRequiredLib$1;
|
|
5302
5297
|
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5298
|
+
function requireLib$1 () {
|
|
5299
|
+
if (hasRequiredLib$1) return lib;
|
|
5300
|
+
hasRequiredLib$1 = 1;
|
|
5306
5301
|
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
oct: ch => ch >= 48 && ch <= 55,
|
|
5314
|
-
dec: ch => ch >= 48 && ch <= 57,
|
|
5315
|
-
hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102
|
|
5316
|
-
};
|
|
5302
|
+
Object.defineProperty(lib, "__esModule", {
|
|
5303
|
+
value: true
|
|
5304
|
+
});
|
|
5305
|
+
lib.readCodePoint = readCodePoint;
|
|
5306
|
+
lib.readInt = readInt;
|
|
5307
|
+
lib.readStringContents = readStringContents;
|
|
5317
5308
|
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
const initialCurLine = curLine;
|
|
5322
|
-
let out = "";
|
|
5323
|
-
let containsInvalid = false;
|
|
5324
|
-
let chunkStart = pos;
|
|
5325
|
-
const {
|
|
5326
|
-
length
|
|
5327
|
-
} = input;
|
|
5309
|
+
var _isDigit = function isDigit(code) {
|
|
5310
|
+
return code >= 48 && code <= 57;
|
|
5311
|
+
};
|
|
5328
5312
|
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5313
|
+
const forbiddenNumericSeparatorSiblings = {
|
|
5314
|
+
decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]),
|
|
5315
|
+
hex: new Set([46, 88, 95, 120])
|
|
5316
|
+
};
|
|
5317
|
+
const isAllowedNumericSeparatorSibling = {
|
|
5318
|
+
bin: ch => ch === 48 || ch === 49,
|
|
5319
|
+
oct: ch => ch >= 48 && ch <= 55,
|
|
5320
|
+
dec: ch => ch >= 48 && ch <= 57,
|
|
5321
|
+
hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102
|
|
5322
|
+
};
|
|
5335
5323
|
|
|
5336
|
-
|
|
5324
|
+
function readStringContents(type, input, pos, lineStart, curLine, errors) {
|
|
5325
|
+
const initialPos = pos;
|
|
5326
|
+
const initialLineStart = lineStart;
|
|
5327
|
+
const initialCurLine = curLine;
|
|
5328
|
+
let out = "";
|
|
5329
|
+
let containsInvalid = false;
|
|
5330
|
+
let chunkStart = pos;
|
|
5331
|
+
const {
|
|
5332
|
+
length
|
|
5333
|
+
} = input;
|
|
5334
|
+
|
|
5335
|
+
for (;;) {
|
|
5336
|
+
if (pos >= length) {
|
|
5337
|
+
errors.unterminated(initialPos, initialLineStart, initialCurLine);
|
|
5338
|
+
out += input.slice(chunkStart, pos);
|
|
5339
|
+
break;
|
|
5340
|
+
}
|
|
5337
5341
|
|
|
5338
|
-
|
|
5339
|
-
out += input.slice(chunkStart, pos);
|
|
5340
|
-
break;
|
|
5341
|
-
}
|
|
5342
|
+
const ch = input.charCodeAt(pos);
|
|
5342
5343
|
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
ch: escaped,
|
|
5348
|
-
pos,
|
|
5349
|
-
lineStart,
|
|
5350
|
-
curLine
|
|
5351
|
-
} = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors));
|
|
5344
|
+
if (isStringEnd(type, ch, input, pos)) {
|
|
5345
|
+
out += input.slice(chunkStart, pos);
|
|
5346
|
+
break;
|
|
5347
|
+
}
|
|
5352
5348
|
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5349
|
+
if (ch === 92) {
|
|
5350
|
+
out += input.slice(chunkStart, pos);
|
|
5351
|
+
let escaped;
|
|
5352
|
+
({
|
|
5353
|
+
ch: escaped,
|
|
5354
|
+
pos,
|
|
5355
|
+
lineStart,
|
|
5356
|
+
curLine
|
|
5357
|
+
} = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors));
|
|
5358
|
+
|
|
5359
|
+
if (escaped === null) {
|
|
5360
|
+
containsInvalid = true;
|
|
5361
|
+
} else {
|
|
5362
|
+
out += escaped;
|
|
5363
|
+
}
|
|
5358
5364
|
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5365
|
+
chunkStart = pos;
|
|
5366
|
+
} else if (ch === 8232 || ch === 8233) {
|
|
5367
|
+
++pos;
|
|
5368
|
+
++curLine;
|
|
5369
|
+
lineStart = pos;
|
|
5370
|
+
} else if (ch === 10 || ch === 13) {
|
|
5371
|
+
if (type === "template") {
|
|
5372
|
+
out += input.slice(chunkStart, pos) + "\n";
|
|
5373
|
+
++pos;
|
|
5374
|
+
|
|
5375
|
+
if (ch === 13 && input.charCodeAt(pos) === 10) {
|
|
5376
|
+
++pos;
|
|
5377
|
+
}
|
|
5372
5378
|
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5379
|
+
++curLine;
|
|
5380
|
+
chunkStart = lineStart = pos;
|
|
5381
|
+
} else {
|
|
5382
|
+
errors.unterminated(initialPos, initialLineStart, initialCurLine);
|
|
5383
|
+
}
|
|
5384
|
+
} else {
|
|
5385
|
+
++pos;
|
|
5386
|
+
}
|
|
5387
|
+
}
|
|
5382
5388
|
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
}
|
|
5389
|
+
return {
|
|
5390
|
+
pos,
|
|
5391
|
+
str: out,
|
|
5392
|
+
containsInvalid,
|
|
5393
|
+
lineStart,
|
|
5394
|
+
curLine
|
|
5395
|
+
};
|
|
5396
|
+
}
|
|
5391
5397
|
|
|
5392
|
-
function isStringEnd(type, ch, input, pos) {
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5398
|
+
function isStringEnd(type, ch, input, pos) {
|
|
5399
|
+
if (type === "template") {
|
|
5400
|
+
return ch === 96 || ch === 36 && input.charCodeAt(pos + 1) === 123;
|
|
5401
|
+
}
|
|
5396
5402
|
|
|
5397
|
-
|
|
5398
|
-
}
|
|
5403
|
+
return ch === (type === "double" ? 34 : 39);
|
|
5404
|
+
}
|
|
5399
5405
|
|
|
5400
|
-
function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) {
|
|
5401
|
-
|
|
5402
|
-
|
|
5406
|
+
function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) {
|
|
5407
|
+
const throwOnInvalid = !inTemplate;
|
|
5408
|
+
pos++;
|
|
5403
5409
|
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
+
const res = ch => ({
|
|
5411
|
+
pos,
|
|
5412
|
+
ch,
|
|
5413
|
+
lineStart,
|
|
5414
|
+
curLine
|
|
5415
|
+
});
|
|
5410
5416
|
|
|
5411
|
-
|
|
5417
|
+
const ch = input.charCodeAt(pos++);
|
|
5412
5418
|
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5419
|
+
switch (ch) {
|
|
5420
|
+
case 110:
|
|
5421
|
+
return res("\n");
|
|
5416
5422
|
|
|
5417
|
-
|
|
5418
|
-
|
|
5423
|
+
case 114:
|
|
5424
|
+
return res("\r");
|
|
5419
5425
|
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5426
|
+
case 120:
|
|
5427
|
+
{
|
|
5428
|
+
let code;
|
|
5429
|
+
({
|
|
5430
|
+
code,
|
|
5431
|
+
pos
|
|
5432
|
+
} = readHexChar(input, pos, lineStart, curLine, 2, false, throwOnInvalid, errors));
|
|
5433
|
+
return res(code === null ? null : String.fromCharCode(code));
|
|
5434
|
+
}
|
|
5429
5435
|
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5436
|
+
case 117:
|
|
5437
|
+
{
|
|
5438
|
+
let code;
|
|
5439
|
+
({
|
|
5440
|
+
code,
|
|
5441
|
+
pos
|
|
5442
|
+
} = readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors));
|
|
5443
|
+
return res(code === null ? null : String.fromCodePoint(code));
|
|
5444
|
+
}
|
|
5439
5445
|
|
|
5440
|
-
|
|
5441
|
-
|
|
5446
|
+
case 116:
|
|
5447
|
+
return res("\t");
|
|
5442
5448
|
|
|
5443
|
-
|
|
5444
|
-
|
|
5449
|
+
case 98:
|
|
5450
|
+
return res("\b");
|
|
5445
5451
|
|
|
5446
|
-
|
|
5447
|
-
|
|
5452
|
+
case 118:
|
|
5453
|
+
return res("\u000b");
|
|
5448
5454
|
|
|
5449
|
-
|
|
5450
|
-
|
|
5455
|
+
case 102:
|
|
5456
|
+
return res("\f");
|
|
5451
5457
|
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5458
|
+
case 13:
|
|
5459
|
+
if (input.charCodeAt(pos) === 10) {
|
|
5460
|
+
++pos;
|
|
5461
|
+
}
|
|
5456
5462
|
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5463
|
+
case 10:
|
|
5464
|
+
lineStart = pos;
|
|
5465
|
+
++curLine;
|
|
5460
5466
|
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5467
|
+
case 8232:
|
|
5468
|
+
case 8233:
|
|
5469
|
+
return res("");
|
|
5464
5470
|
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5471
|
+
case 56:
|
|
5472
|
+
case 57:
|
|
5473
|
+
if (inTemplate) {
|
|
5474
|
+
return res(null);
|
|
5475
|
+
} else {
|
|
5476
|
+
errors.strictNumericEscape(pos - 1, lineStart, curLine);
|
|
5477
|
+
}
|
|
5472
5478
|
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
+
default:
|
|
5480
|
+
if (ch >= 48 && ch <= 55) {
|
|
5481
|
+
const startPos = pos - 1;
|
|
5482
|
+
const match = input.slice(startPos, pos + 2).match(/^[0-7]+/);
|
|
5483
|
+
let octalStr = match[0];
|
|
5484
|
+
let octal = parseInt(octalStr, 8);
|
|
5479
5485
|
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5486
|
+
if (octal > 255) {
|
|
5487
|
+
octalStr = octalStr.slice(0, -1);
|
|
5488
|
+
octal = parseInt(octalStr, 8);
|
|
5489
|
+
}
|
|
5484
5490
|
|
|
5485
|
-
|
|
5486
|
-
|
|
5491
|
+
pos += octalStr.length - 1;
|
|
5492
|
+
const next = input.charCodeAt(pos);
|
|
5487
5493
|
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5494
|
+
if (octalStr !== "0" || next === 56 || next === 57) {
|
|
5495
|
+
if (inTemplate) {
|
|
5496
|
+
return res(null);
|
|
5497
|
+
} else {
|
|
5498
|
+
errors.strictNumericEscape(startPos, lineStart, curLine);
|
|
5499
|
+
}
|
|
5500
|
+
}
|
|
5495
5501
|
|
|
5496
|
-
|
|
5497
|
-
|
|
5502
|
+
return res(String.fromCharCode(octal));
|
|
5503
|
+
}
|
|
5498
5504
|
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
}
|
|
5505
|
+
return res(String.fromCharCode(ch));
|
|
5506
|
+
}
|
|
5507
|
+
}
|
|
5502
5508
|
|
|
5503
|
-
function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) {
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5509
|
+
function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) {
|
|
5510
|
+
const initialPos = pos;
|
|
5511
|
+
let n;
|
|
5512
|
+
({
|
|
5513
|
+
n,
|
|
5514
|
+
pos
|
|
5515
|
+
} = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors));
|
|
5510
5516
|
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5517
|
+
if (n === null) {
|
|
5518
|
+
if (throwOnInvalid) {
|
|
5519
|
+
errors.invalidEscapeSequence(initialPos, lineStart, curLine);
|
|
5520
|
+
} else {
|
|
5521
|
+
pos = initialPos - 1;
|
|
5522
|
+
}
|
|
5523
|
+
}
|
|
5518
5524
|
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
}
|
|
5525
|
+
return {
|
|
5526
|
+
code: n,
|
|
5527
|
+
pos
|
|
5528
|
+
};
|
|
5529
|
+
}
|
|
5524
5530
|
|
|
5525
|
-
function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors) {
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
+
function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors) {
|
|
5532
|
+
const start = pos;
|
|
5533
|
+
const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct;
|
|
5534
|
+
const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin;
|
|
5535
|
+
let invalid = false;
|
|
5536
|
+
let total = 0;
|
|
5531
5537
|
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5538
|
+
for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) {
|
|
5539
|
+
const code = input.charCodeAt(pos);
|
|
5540
|
+
let val;
|
|
5535
5541
|
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5542
|
+
if (code === 95 && allowNumSeparator !== "bail") {
|
|
5543
|
+
const prev = input.charCodeAt(pos - 1);
|
|
5544
|
+
const next = input.charCodeAt(pos + 1);
|
|
5539
5545
|
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5546
|
+
if (!allowNumSeparator) {
|
|
5547
|
+
errors.numericSeparatorInEscapeSequence(pos, lineStart, curLine);
|
|
5548
|
+
} else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) {
|
|
5549
|
+
errors.unexpectedNumericSeparator(pos, lineStart, curLine);
|
|
5550
|
+
}
|
|
5545
5551
|
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5552
|
+
++pos;
|
|
5553
|
+
continue;
|
|
5554
|
+
}
|
|
5549
5555
|
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5556
|
+
if (code >= 97) {
|
|
5557
|
+
val = code - 97 + 10;
|
|
5558
|
+
} else if (code >= 65) {
|
|
5559
|
+
val = code - 65 + 10;
|
|
5560
|
+
} else if (_isDigit(code)) {
|
|
5561
|
+
val = code - 48;
|
|
5562
|
+
} else {
|
|
5563
|
+
val = Infinity;
|
|
5564
|
+
}
|
|
5559
5565
|
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5566
|
+
if (val >= radix) {
|
|
5567
|
+
if (val <= 9 && errors.invalidDigit(pos, lineStart, curLine, radix)) {
|
|
5568
|
+
val = 0;
|
|
5569
|
+
} else if (forceLen) {
|
|
5570
|
+
val = 0;
|
|
5571
|
+
invalid = true;
|
|
5572
|
+
} else {
|
|
5573
|
+
break;
|
|
5574
|
+
}
|
|
5575
|
+
}
|
|
5570
5576
|
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5577
|
+
++pos;
|
|
5578
|
+
total = total * radix + val;
|
|
5579
|
+
}
|
|
5574
5580
|
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
+
if (pos === start || len != null && pos - start !== len || invalid) {
|
|
5582
|
+
return {
|
|
5583
|
+
n: null,
|
|
5584
|
+
pos
|
|
5585
|
+
};
|
|
5586
|
+
}
|
|
5581
5587
|
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
}
|
|
5588
|
+
return {
|
|
5589
|
+
n: total,
|
|
5590
|
+
pos
|
|
5591
|
+
};
|
|
5592
|
+
}
|
|
5587
5593
|
|
|
5588
|
-
function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) {
|
|
5589
|
-
|
|
5590
|
-
|
|
5594
|
+
function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) {
|
|
5595
|
+
const ch = input.charCodeAt(pos);
|
|
5596
|
+
let code;
|
|
5591
5597
|
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5598
|
+
if (ch === 123) {
|
|
5599
|
+
++pos;
|
|
5600
|
+
({
|
|
5601
|
+
code,
|
|
5602
|
+
pos
|
|
5603
|
+
} = readHexChar(input, pos, lineStart, curLine, input.indexOf("}", pos) - pos, true, throwOnInvalid, errors));
|
|
5604
|
+
++pos;
|
|
5599
5605
|
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5606
|
+
if (code !== null && code > 0x10ffff) {
|
|
5607
|
+
if (throwOnInvalid) {
|
|
5608
|
+
errors.invalidCodePoint(pos, lineStart, curLine);
|
|
5609
|
+
} else {
|
|
5610
|
+
return {
|
|
5611
|
+
code: null,
|
|
5612
|
+
pos
|
|
5613
|
+
};
|
|
5614
|
+
}
|
|
5615
|
+
}
|
|
5616
|
+
} else {
|
|
5617
|
+
({
|
|
5618
|
+
code,
|
|
5619
|
+
pos
|
|
5620
|
+
} = readHexChar(input, pos, lineStart, curLine, 4, false, throwOnInvalid, errors));
|
|
5621
|
+
}
|
|
5616
5622
|
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5623
|
+
return {
|
|
5624
|
+
code,
|
|
5625
|
+
pos
|
|
5626
|
+
};
|
|
5627
|
+
}
|
|
5628
|
+
return lib;
|
|
5621
5629
|
}
|
|
5622
5630
|
|
|
5623
5631
|
var constants = {};
|
|
@@ -6039,7 +6047,7 @@ function requireCore () {
|
|
|
6039
6047
|
|
|
6040
6048
|
var _helperValidatorIdentifier = lib$1;
|
|
6041
6049
|
|
|
6042
|
-
var _helperStringParser =
|
|
6050
|
+
var _helperStringParser = requireLib$1();
|
|
6043
6051
|
|
|
6044
6052
|
var _constants = constants;
|
|
6045
6053
|
|