@applitools/eyes-browser 1.5.0 → 1.5.1
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/CHANGELOG.md +53 -0
- package/dist/index.js +74 -792
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.5.1](https://github.com/Applitools-Dev/sdk/compare/js/eyes-browser@1.5.0...js/eyes-browser@1.5.1) (2025-08-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* @applitools/utils bumped to 1.11.1
|
|
9
|
+
#### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* downgrade uuid to 9.0.1 ([#3169](https://github.com/Applitools-Dev/sdk/issues/3169)) ([30be8e3](https://github.com/Applitools-Dev/sdk/commit/30be8e35802b2c8bc970f62fdbd2d128f5a77fb7))
|
|
12
|
+
* @applitools/core bumped to 4.44.3
|
|
13
|
+
#### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* downgrade uuid to 9.0.1 ([#3169](https://github.com/Applitools-Dev/sdk/issues/3169)) ([30be8e3](https://github.com/Applitools-Dev/sdk/commit/30be8e35802b2c8bc970f62fdbd2d128f5a77fb7))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
* @applitools/logger bumped to 2.2.2
|
|
20
|
+
|
|
21
|
+
* @applitools/dom-snapshot bumped to 4.13.2
|
|
22
|
+
|
|
23
|
+
* @applitools/socket bumped to 1.3.2
|
|
24
|
+
|
|
25
|
+
* @applitools/req bumped to 1.8.2
|
|
26
|
+
|
|
27
|
+
* @applitools/image bumped to 1.2.2
|
|
28
|
+
|
|
29
|
+
* @applitools/dom-capture bumped to 11.6.2
|
|
30
|
+
|
|
31
|
+
* @applitools/driver bumped to 1.23.2
|
|
32
|
+
|
|
33
|
+
* @applitools/spec-driver-webdriver bumped to 1.4.2
|
|
34
|
+
|
|
35
|
+
* @applitools/spec-driver-selenium bumped to 1.7.2
|
|
36
|
+
|
|
37
|
+
* @applitools/spec-driver-puppeteer bumped to 1.6.2
|
|
38
|
+
|
|
39
|
+
* @applitools/screenshoter bumped to 3.12.2
|
|
40
|
+
|
|
41
|
+
* @applitools/nml-client bumped to 1.11.2
|
|
42
|
+
|
|
43
|
+
* @applitools/tunnel-client bumped to 1.10.3
|
|
44
|
+
|
|
45
|
+
* @applitools/ufg-client bumped to 1.17.2
|
|
46
|
+
|
|
47
|
+
* @applitools/core-base bumped to 1.27.2
|
|
48
|
+
|
|
49
|
+
* @applitools/ec-client bumped to 1.12.3
|
|
50
|
+
|
|
51
|
+
* @applitools/eyes bumped to 1.36.1
|
|
52
|
+
|
|
53
|
+
* @applitools/test-server bumped to 1.3.1
|
|
54
|
+
|
|
55
|
+
|
|
3
56
|
## [1.5.0](https://github.com/Applitools-Dev/sdk/compare/js/eyes-browser@1.4.27...js/eyes-browser@1.5.0) (2025-08-05)
|
|
4
57
|
|
|
5
58
|
|
package/dist/index.js
CHANGED
|
@@ -4357,769 +4357,51 @@ var require_guard = __commonJS({
|
|
|
4357
4357
|
}
|
|
4358
4358
|
});
|
|
4359
4359
|
|
|
4360
|
-
// ../utils/
|
|
4361
|
-
var
|
|
4362
|
-
"../utils/
|
|
4360
|
+
// ../utils/dist/uuid.js
|
|
4361
|
+
var require_uuid = __commonJS({
|
|
4362
|
+
"../utils/dist/uuid.js"(exports) {
|
|
4363
4363
|
"use strict";
|
|
4364
4364
|
init_process();
|
|
4365
4365
|
init_setImmediate();
|
|
4366
4366
|
init_buffer();
|
|
4367
4367
|
init_setInterval();
|
|
4368
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
var
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
if (
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
});
|
|
4397
|
-
exports.default = void 0;
|
|
4398
|
-
var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
4399
|
-
exports.default = _default;
|
|
4400
|
-
}
|
|
4401
|
-
});
|
|
4402
|
-
|
|
4403
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/validate.js
|
|
4404
|
-
var require_validate = __commonJS({
|
|
4405
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/validate.js"(exports) {
|
|
4406
|
-
"use strict";
|
|
4407
|
-
init_process();
|
|
4408
|
-
init_setImmediate();
|
|
4409
|
-
init_buffer();
|
|
4410
|
-
init_setInterval();
|
|
4411
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4412
|
-
value: true
|
|
4413
|
-
});
|
|
4414
|
-
exports.default = void 0;
|
|
4415
|
-
var _regex = _interopRequireDefault(require_regex());
|
|
4416
|
-
function _interopRequireDefault(obj) {
|
|
4417
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4418
|
-
}
|
|
4419
|
-
function validate(uuid) {
|
|
4420
|
-
return typeof uuid === "string" && _regex.default.test(uuid);
|
|
4421
|
-
}
|
|
4422
|
-
var _default = validate;
|
|
4423
|
-
exports.default = _default;
|
|
4424
|
-
}
|
|
4425
|
-
});
|
|
4426
|
-
|
|
4427
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/stringify.js
|
|
4428
|
-
var require_stringify = __commonJS({
|
|
4429
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/stringify.js"(exports) {
|
|
4430
|
-
"use strict";
|
|
4431
|
-
init_process();
|
|
4432
|
-
init_setImmediate();
|
|
4433
|
-
init_buffer();
|
|
4434
|
-
init_setInterval();
|
|
4435
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4436
|
-
value: true
|
|
4437
|
-
});
|
|
4438
|
-
exports.default = void 0;
|
|
4439
|
-
exports.unsafeStringify = unsafeStringify;
|
|
4440
|
-
var _validate = _interopRequireDefault(require_validate());
|
|
4441
|
-
function _interopRequireDefault(obj) {
|
|
4442
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4443
|
-
}
|
|
4444
|
-
var byteToHex = [];
|
|
4445
|
-
for (let i = 0; i < 256; ++i) {
|
|
4446
|
-
byteToHex.push((i + 256).toString(16).slice(1));
|
|
4447
|
-
}
|
|
4448
|
-
function unsafeStringify(arr, offset = 0) {
|
|
4449
|
-
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
4450
|
-
}
|
|
4451
|
-
function stringify(arr, offset = 0) {
|
|
4452
|
-
const uuid = unsafeStringify(arr, offset);
|
|
4453
|
-
if (!(0, _validate.default)(uuid)) {
|
|
4454
|
-
throw TypeError("Stringified UUID is invalid");
|
|
4455
|
-
}
|
|
4456
|
-
return uuid;
|
|
4457
|
-
}
|
|
4458
|
-
var _default = stringify;
|
|
4459
|
-
exports.default = _default;
|
|
4460
|
-
}
|
|
4461
|
-
});
|
|
4462
|
-
|
|
4463
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/v1.js
|
|
4464
|
-
var require_v1 = __commonJS({
|
|
4465
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/v1.js"(exports) {
|
|
4466
|
-
"use strict";
|
|
4467
|
-
init_process();
|
|
4468
|
-
init_setImmediate();
|
|
4469
|
-
init_buffer();
|
|
4470
|
-
init_setInterval();
|
|
4471
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4472
|
-
value: true
|
|
4473
|
-
});
|
|
4474
|
-
exports.default = void 0;
|
|
4475
|
-
var _rng = _interopRequireDefault(require_rng());
|
|
4476
|
-
var _stringify = require_stringify();
|
|
4477
|
-
function _interopRequireDefault(obj) {
|
|
4478
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4479
|
-
}
|
|
4480
|
-
var _nodeId;
|
|
4481
|
-
var _clockseq;
|
|
4482
|
-
var _lastMSecs = 0;
|
|
4483
|
-
var _lastNSecs = 0;
|
|
4484
|
-
function v1(options, buf, offset) {
|
|
4485
|
-
let i = buf && offset || 0;
|
|
4486
|
-
const b = buf || new Array(16);
|
|
4487
|
-
options = options || {};
|
|
4488
|
-
let node = options.node || _nodeId;
|
|
4489
|
-
let clockseq = options.clockseq !== void 0 ? options.clockseq : _clockseq;
|
|
4490
|
-
if (node == null || clockseq == null) {
|
|
4491
|
-
const seedBytes = options.random || (options.rng || _rng.default)();
|
|
4492
|
-
if (node == null) {
|
|
4493
|
-
node = _nodeId = [seedBytes[0] | 1, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];
|
|
4494
|
-
}
|
|
4495
|
-
if (clockseq == null) {
|
|
4496
|
-
clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 16383;
|
|
4497
|
-
}
|
|
4498
|
-
}
|
|
4499
|
-
let msecs = options.msecs !== void 0 ? options.msecs : Date.now();
|
|
4500
|
-
let nsecs = options.nsecs !== void 0 ? options.nsecs : _lastNSecs + 1;
|
|
4501
|
-
const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 1e4;
|
|
4502
|
-
if (dt < 0 && options.clockseq === void 0) {
|
|
4503
|
-
clockseq = clockseq + 1 & 16383;
|
|
4504
|
-
}
|
|
4505
|
-
if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === void 0) {
|
|
4506
|
-
nsecs = 0;
|
|
4507
|
-
}
|
|
4508
|
-
if (nsecs >= 1e4) {
|
|
4509
|
-
throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
|
|
4510
|
-
}
|
|
4511
|
-
_lastMSecs = msecs;
|
|
4512
|
-
_lastNSecs = nsecs;
|
|
4513
|
-
_clockseq = clockseq;
|
|
4514
|
-
msecs += 122192928e5;
|
|
4515
|
-
const tl = ((msecs & 268435455) * 1e4 + nsecs) % 4294967296;
|
|
4516
|
-
b[i++] = tl >>> 24 & 255;
|
|
4517
|
-
b[i++] = tl >>> 16 & 255;
|
|
4518
|
-
b[i++] = tl >>> 8 & 255;
|
|
4519
|
-
b[i++] = tl & 255;
|
|
4520
|
-
const tmh = msecs / 4294967296 * 1e4 & 268435455;
|
|
4521
|
-
b[i++] = tmh >>> 8 & 255;
|
|
4522
|
-
b[i++] = tmh & 255;
|
|
4523
|
-
b[i++] = tmh >>> 24 & 15 | 16;
|
|
4524
|
-
b[i++] = tmh >>> 16 & 255;
|
|
4525
|
-
b[i++] = clockseq >>> 8 | 128;
|
|
4526
|
-
b[i++] = clockseq & 255;
|
|
4527
|
-
for (let n = 0; n < 6; ++n) {
|
|
4528
|
-
b[i + n] = node[n];
|
|
4529
|
-
}
|
|
4530
|
-
return buf || (0, _stringify.unsafeStringify)(b);
|
|
4531
|
-
}
|
|
4532
|
-
var _default = v1;
|
|
4533
|
-
exports.default = _default;
|
|
4534
|
-
}
|
|
4535
|
-
});
|
|
4536
|
-
|
|
4537
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/parse.js
|
|
4538
|
-
var require_parse = __commonJS({
|
|
4539
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/parse.js"(exports) {
|
|
4540
|
-
"use strict";
|
|
4541
|
-
init_process();
|
|
4542
|
-
init_setImmediate();
|
|
4543
|
-
init_buffer();
|
|
4544
|
-
init_setInterval();
|
|
4545
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4546
|
-
value: true
|
|
4547
|
-
});
|
|
4548
|
-
exports.default = void 0;
|
|
4549
|
-
var _validate = _interopRequireDefault(require_validate());
|
|
4550
|
-
function _interopRequireDefault(obj) {
|
|
4551
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4552
|
-
}
|
|
4553
|
-
function parse(uuid) {
|
|
4554
|
-
if (!(0, _validate.default)(uuid)) {
|
|
4555
|
-
throw TypeError("Invalid UUID");
|
|
4556
|
-
}
|
|
4557
|
-
let v;
|
|
4558
|
-
const arr = new Uint8Array(16);
|
|
4559
|
-
arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;
|
|
4560
|
-
arr[1] = v >>> 16 & 255;
|
|
4561
|
-
arr[2] = v >>> 8 & 255;
|
|
4562
|
-
arr[3] = v & 255;
|
|
4563
|
-
arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;
|
|
4564
|
-
arr[5] = v & 255;
|
|
4565
|
-
arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;
|
|
4566
|
-
arr[7] = v & 255;
|
|
4567
|
-
arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;
|
|
4568
|
-
arr[9] = v & 255;
|
|
4569
|
-
arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 1099511627776 & 255;
|
|
4570
|
-
arr[11] = v / 4294967296 & 255;
|
|
4571
|
-
arr[12] = v >>> 24 & 255;
|
|
4572
|
-
arr[13] = v >>> 16 & 255;
|
|
4573
|
-
arr[14] = v >>> 8 & 255;
|
|
4574
|
-
arr[15] = v & 255;
|
|
4575
|
-
return arr;
|
|
4576
|
-
}
|
|
4577
|
-
var _default = parse;
|
|
4578
|
-
exports.default = _default;
|
|
4579
|
-
}
|
|
4580
|
-
});
|
|
4581
|
-
|
|
4582
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/v35.js
|
|
4583
|
-
var require_v35 = __commonJS({
|
|
4584
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/v35.js"(exports) {
|
|
4585
|
-
"use strict";
|
|
4586
|
-
init_process();
|
|
4587
|
-
init_setImmediate();
|
|
4588
|
-
init_buffer();
|
|
4589
|
-
init_setInterval();
|
|
4590
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4591
|
-
value: true
|
|
4592
|
-
});
|
|
4593
|
-
exports.URL = exports.DNS = void 0;
|
|
4594
|
-
exports.default = v35;
|
|
4595
|
-
var _stringify = require_stringify();
|
|
4596
|
-
var _parse = _interopRequireDefault(require_parse());
|
|
4597
|
-
function _interopRequireDefault(obj) {
|
|
4598
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4599
|
-
}
|
|
4600
|
-
function stringToBytes(str) {
|
|
4601
|
-
str = unescape(encodeURIComponent(str));
|
|
4602
|
-
const bytes = [];
|
|
4603
|
-
for (let i = 0; i < str.length; ++i) {
|
|
4604
|
-
bytes.push(str.charCodeAt(i));
|
|
4605
|
-
}
|
|
4606
|
-
return bytes;
|
|
4607
|
-
}
|
|
4608
|
-
var DNS = "6ba7b810-9dad-11d1-80b4-00c04fd430c8";
|
|
4609
|
-
exports.DNS = DNS;
|
|
4610
|
-
var URL3 = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
|
|
4611
|
-
exports.URL = URL3;
|
|
4612
|
-
function v35(name, version, hashfunc) {
|
|
4613
|
-
function generateUUID(value, namespace, buf, offset) {
|
|
4614
|
-
var _namespace;
|
|
4615
|
-
if (typeof value === "string") {
|
|
4616
|
-
value = stringToBytes(value);
|
|
4617
|
-
}
|
|
4618
|
-
if (typeof namespace === "string") {
|
|
4619
|
-
namespace = (0, _parse.default)(namespace);
|
|
4620
|
-
}
|
|
4621
|
-
if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) {
|
|
4622
|
-
throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
|
|
4623
|
-
}
|
|
4624
|
-
let bytes = new Uint8Array(16 + value.length);
|
|
4625
|
-
bytes.set(namespace);
|
|
4626
|
-
bytes.set(value, namespace.length);
|
|
4627
|
-
bytes = hashfunc(bytes);
|
|
4628
|
-
bytes[6] = bytes[6] & 15 | version;
|
|
4629
|
-
bytes[8] = bytes[8] & 63 | 128;
|
|
4630
|
-
if (buf) {
|
|
4631
|
-
offset = offset || 0;
|
|
4632
|
-
for (let i = 0; i < 16; ++i) {
|
|
4633
|
-
buf[offset + i] = bytes[i];
|
|
4634
|
-
}
|
|
4635
|
-
return buf;
|
|
4636
|
-
}
|
|
4637
|
-
return (0, _stringify.unsafeStringify)(bytes);
|
|
4638
|
-
}
|
|
4639
|
-
try {
|
|
4640
|
-
generateUUID.name = name;
|
|
4641
|
-
} catch (err) {
|
|
4642
|
-
}
|
|
4643
|
-
generateUUID.DNS = DNS;
|
|
4644
|
-
generateUUID.URL = URL3;
|
|
4645
|
-
return generateUUID;
|
|
4646
|
-
}
|
|
4647
|
-
}
|
|
4648
|
-
});
|
|
4649
|
-
|
|
4650
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/md5.js
|
|
4651
|
-
var require_md5 = __commonJS({
|
|
4652
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/md5.js"(exports) {
|
|
4653
|
-
"use strict";
|
|
4654
|
-
init_process();
|
|
4655
|
-
init_setImmediate();
|
|
4656
|
-
init_buffer();
|
|
4657
|
-
init_setInterval();
|
|
4658
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4659
|
-
value: true
|
|
4660
|
-
});
|
|
4661
|
-
exports.default = void 0;
|
|
4662
|
-
function md5(bytes) {
|
|
4663
|
-
if (typeof bytes === "string") {
|
|
4664
|
-
const msg = unescape(encodeURIComponent(bytes));
|
|
4665
|
-
bytes = new Uint8Array(msg.length);
|
|
4666
|
-
for (let i = 0; i < msg.length; ++i) {
|
|
4667
|
-
bytes[i] = msg.charCodeAt(i);
|
|
4668
|
-
}
|
|
4669
|
-
}
|
|
4670
|
-
return md5ToHexEncodedArray(wordsToMd5(bytesToWords(bytes), bytes.length * 8));
|
|
4671
|
-
}
|
|
4672
|
-
function md5ToHexEncodedArray(input) {
|
|
4673
|
-
const output = [];
|
|
4674
|
-
const length32 = input.length * 32;
|
|
4675
|
-
const hexTab = "0123456789abcdef";
|
|
4676
|
-
for (let i = 0; i < length32; i += 8) {
|
|
4677
|
-
const x = input[i >> 5] >>> i % 32 & 255;
|
|
4678
|
-
const hex = parseInt(hexTab.charAt(x >>> 4 & 15) + hexTab.charAt(x & 15), 16);
|
|
4679
|
-
output.push(hex);
|
|
4680
|
-
}
|
|
4681
|
-
return output;
|
|
4682
|
-
}
|
|
4683
|
-
function getOutputLength(inputLength8) {
|
|
4684
|
-
return (inputLength8 + 64 >>> 9 << 4) + 14 + 1;
|
|
4685
|
-
}
|
|
4686
|
-
function wordsToMd5(x, len) {
|
|
4687
|
-
x[len >> 5] |= 128 << len % 32;
|
|
4688
|
-
x[getOutputLength(len) - 1] = len;
|
|
4689
|
-
let a = 1732584193;
|
|
4690
|
-
let b = -271733879;
|
|
4691
|
-
let c = -1732584194;
|
|
4692
|
-
let d = 271733878;
|
|
4693
|
-
for (let i = 0; i < x.length; i += 16) {
|
|
4694
|
-
const olda = a;
|
|
4695
|
-
const oldb = b;
|
|
4696
|
-
const oldc = c;
|
|
4697
|
-
const oldd = d;
|
|
4698
|
-
a = md5ff(a, b, c, d, x[i], 7, -680876936);
|
|
4699
|
-
d = md5ff(d, a, b, c, x[i + 1], 12, -389564586);
|
|
4700
|
-
c = md5ff(c, d, a, b, x[i + 2], 17, 606105819);
|
|
4701
|
-
b = md5ff(b, c, d, a, x[i + 3], 22, -1044525330);
|
|
4702
|
-
a = md5ff(a, b, c, d, x[i + 4], 7, -176418897);
|
|
4703
|
-
d = md5ff(d, a, b, c, x[i + 5], 12, 1200080426);
|
|
4704
|
-
c = md5ff(c, d, a, b, x[i + 6], 17, -1473231341);
|
|
4705
|
-
b = md5ff(b, c, d, a, x[i + 7], 22, -45705983);
|
|
4706
|
-
a = md5ff(a, b, c, d, x[i + 8], 7, 1770035416);
|
|
4707
|
-
d = md5ff(d, a, b, c, x[i + 9], 12, -1958414417);
|
|
4708
|
-
c = md5ff(c, d, a, b, x[i + 10], 17, -42063);
|
|
4709
|
-
b = md5ff(b, c, d, a, x[i + 11], 22, -1990404162);
|
|
4710
|
-
a = md5ff(a, b, c, d, x[i + 12], 7, 1804603682);
|
|
4711
|
-
d = md5ff(d, a, b, c, x[i + 13], 12, -40341101);
|
|
4712
|
-
c = md5ff(c, d, a, b, x[i + 14], 17, -1502002290);
|
|
4713
|
-
b = md5ff(b, c, d, a, x[i + 15], 22, 1236535329);
|
|
4714
|
-
a = md5gg(a, b, c, d, x[i + 1], 5, -165796510);
|
|
4715
|
-
d = md5gg(d, a, b, c, x[i + 6], 9, -1069501632);
|
|
4716
|
-
c = md5gg(c, d, a, b, x[i + 11], 14, 643717713);
|
|
4717
|
-
b = md5gg(b, c, d, a, x[i], 20, -373897302);
|
|
4718
|
-
a = md5gg(a, b, c, d, x[i + 5], 5, -701558691);
|
|
4719
|
-
d = md5gg(d, a, b, c, x[i + 10], 9, 38016083);
|
|
4720
|
-
c = md5gg(c, d, a, b, x[i + 15], 14, -660478335);
|
|
4721
|
-
b = md5gg(b, c, d, a, x[i + 4], 20, -405537848);
|
|
4722
|
-
a = md5gg(a, b, c, d, x[i + 9], 5, 568446438);
|
|
4723
|
-
d = md5gg(d, a, b, c, x[i + 14], 9, -1019803690);
|
|
4724
|
-
c = md5gg(c, d, a, b, x[i + 3], 14, -187363961);
|
|
4725
|
-
b = md5gg(b, c, d, a, x[i + 8], 20, 1163531501);
|
|
4726
|
-
a = md5gg(a, b, c, d, x[i + 13], 5, -1444681467);
|
|
4727
|
-
d = md5gg(d, a, b, c, x[i + 2], 9, -51403784);
|
|
4728
|
-
c = md5gg(c, d, a, b, x[i + 7], 14, 1735328473);
|
|
4729
|
-
b = md5gg(b, c, d, a, x[i + 12], 20, -1926607734);
|
|
4730
|
-
a = md5hh(a, b, c, d, x[i + 5], 4, -378558);
|
|
4731
|
-
d = md5hh(d, a, b, c, x[i + 8], 11, -2022574463);
|
|
4732
|
-
c = md5hh(c, d, a, b, x[i + 11], 16, 1839030562);
|
|
4733
|
-
b = md5hh(b, c, d, a, x[i + 14], 23, -35309556);
|
|
4734
|
-
a = md5hh(a, b, c, d, x[i + 1], 4, -1530992060);
|
|
4735
|
-
d = md5hh(d, a, b, c, x[i + 4], 11, 1272893353);
|
|
4736
|
-
c = md5hh(c, d, a, b, x[i + 7], 16, -155497632);
|
|
4737
|
-
b = md5hh(b, c, d, a, x[i + 10], 23, -1094730640);
|
|
4738
|
-
a = md5hh(a, b, c, d, x[i + 13], 4, 681279174);
|
|
4739
|
-
d = md5hh(d, a, b, c, x[i], 11, -358537222);
|
|
4740
|
-
c = md5hh(c, d, a, b, x[i + 3], 16, -722521979);
|
|
4741
|
-
b = md5hh(b, c, d, a, x[i + 6], 23, 76029189);
|
|
4742
|
-
a = md5hh(a, b, c, d, x[i + 9], 4, -640364487);
|
|
4743
|
-
d = md5hh(d, a, b, c, x[i + 12], 11, -421815835);
|
|
4744
|
-
c = md5hh(c, d, a, b, x[i + 15], 16, 530742520);
|
|
4745
|
-
b = md5hh(b, c, d, a, x[i + 2], 23, -995338651);
|
|
4746
|
-
a = md5ii(a, b, c, d, x[i], 6, -198630844);
|
|
4747
|
-
d = md5ii(d, a, b, c, x[i + 7], 10, 1126891415);
|
|
4748
|
-
c = md5ii(c, d, a, b, x[i + 14], 15, -1416354905);
|
|
4749
|
-
b = md5ii(b, c, d, a, x[i + 5], 21, -57434055);
|
|
4750
|
-
a = md5ii(a, b, c, d, x[i + 12], 6, 1700485571);
|
|
4751
|
-
d = md5ii(d, a, b, c, x[i + 3], 10, -1894986606);
|
|
4752
|
-
c = md5ii(c, d, a, b, x[i + 10], 15, -1051523);
|
|
4753
|
-
b = md5ii(b, c, d, a, x[i + 1], 21, -2054922799);
|
|
4754
|
-
a = md5ii(a, b, c, d, x[i + 8], 6, 1873313359);
|
|
4755
|
-
d = md5ii(d, a, b, c, x[i + 15], 10, -30611744);
|
|
4756
|
-
c = md5ii(c, d, a, b, x[i + 6], 15, -1560198380);
|
|
4757
|
-
b = md5ii(b, c, d, a, x[i + 13], 21, 1309151649);
|
|
4758
|
-
a = md5ii(a, b, c, d, x[i + 4], 6, -145523070);
|
|
4759
|
-
d = md5ii(d, a, b, c, x[i + 11], 10, -1120210379);
|
|
4760
|
-
c = md5ii(c, d, a, b, x[i + 2], 15, 718787259);
|
|
4761
|
-
b = md5ii(b, c, d, a, x[i + 9], 21, -343485551);
|
|
4762
|
-
a = safeAdd(a, olda);
|
|
4763
|
-
b = safeAdd(b, oldb);
|
|
4764
|
-
c = safeAdd(c, oldc);
|
|
4765
|
-
d = safeAdd(d, oldd);
|
|
4766
|
-
}
|
|
4767
|
-
return [a, b, c, d];
|
|
4768
|
-
}
|
|
4769
|
-
function bytesToWords(input) {
|
|
4770
|
-
if (input.length === 0) {
|
|
4771
|
-
return [];
|
|
4772
|
-
}
|
|
4773
|
-
const length8 = input.length * 8;
|
|
4774
|
-
const output = new Uint32Array(getOutputLength(length8));
|
|
4775
|
-
for (let i = 0; i < length8; i += 8) {
|
|
4776
|
-
output[i >> 5] |= (input[i / 8] & 255) << i % 32;
|
|
4777
|
-
}
|
|
4778
|
-
return output;
|
|
4779
|
-
}
|
|
4780
|
-
function safeAdd(x, y) {
|
|
4781
|
-
const lsw = (x & 65535) + (y & 65535);
|
|
4782
|
-
const msw = (x >> 16) + (y >> 16) + (lsw >> 16);
|
|
4783
|
-
return msw << 16 | lsw & 65535;
|
|
4784
|
-
}
|
|
4785
|
-
function bitRotateLeft(num, cnt) {
|
|
4786
|
-
return num << cnt | num >>> 32 - cnt;
|
|
4787
|
-
}
|
|
4788
|
-
function md5cmn(q, a, b, x, s, t) {
|
|
4789
|
-
return safeAdd(bitRotateLeft(safeAdd(safeAdd(a, q), safeAdd(x, t)), s), b);
|
|
4790
|
-
}
|
|
4791
|
-
function md5ff(a, b, c, d, x, s, t) {
|
|
4792
|
-
return md5cmn(b & c | ~b & d, a, b, x, s, t);
|
|
4793
|
-
}
|
|
4794
|
-
function md5gg(a, b, c, d, x, s, t) {
|
|
4795
|
-
return md5cmn(b & d | c & ~d, a, b, x, s, t);
|
|
4796
|
-
}
|
|
4797
|
-
function md5hh(a, b, c, d, x, s, t) {
|
|
4798
|
-
return md5cmn(b ^ c ^ d, a, b, x, s, t);
|
|
4799
|
-
}
|
|
4800
|
-
function md5ii(a, b, c, d, x, s, t) {
|
|
4801
|
-
return md5cmn(c ^ (b | ~d), a, b, x, s, t);
|
|
4802
|
-
}
|
|
4803
|
-
var _default = md5;
|
|
4804
|
-
exports.default = _default;
|
|
4805
|
-
}
|
|
4806
|
-
});
|
|
4807
|
-
|
|
4808
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/v3.js
|
|
4809
|
-
var require_v3 = __commonJS({
|
|
4810
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/v3.js"(exports) {
|
|
4811
|
-
"use strict";
|
|
4812
|
-
init_process();
|
|
4813
|
-
init_setImmediate();
|
|
4814
|
-
init_buffer();
|
|
4815
|
-
init_setInterval();
|
|
4816
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4817
|
-
value: true
|
|
4818
|
-
});
|
|
4819
|
-
exports.default = void 0;
|
|
4820
|
-
var _v = _interopRequireDefault(require_v35());
|
|
4821
|
-
var _md = _interopRequireDefault(require_md5());
|
|
4822
|
-
function _interopRequireDefault(obj) {
|
|
4823
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4824
|
-
}
|
|
4825
|
-
var v3 = (0, _v.default)("v3", 48, _md.default);
|
|
4826
|
-
var _default = v3;
|
|
4827
|
-
exports.default = _default;
|
|
4828
|
-
}
|
|
4829
|
-
});
|
|
4830
|
-
|
|
4831
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/native.js
|
|
4832
|
-
var require_native = __commonJS({
|
|
4833
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/native.js"(exports) {
|
|
4834
|
-
"use strict";
|
|
4835
|
-
init_process();
|
|
4836
|
-
init_setImmediate();
|
|
4837
|
-
init_buffer();
|
|
4838
|
-
init_setInterval();
|
|
4839
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4840
|
-
value: true
|
|
4841
|
-
});
|
|
4842
|
-
exports.default = void 0;
|
|
4843
|
-
var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
4844
|
-
var _default = {
|
|
4845
|
-
randomUUID
|
|
4368
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4369
|
+
exports.uuid = void 0;
|
|
4370
|
+
var isNode = () => typeof process !== "undefined" && process.versions != null && process.versions.node != null;
|
|
4371
|
+
var isWebCryptoAvailable = () => typeof window !== "undefined" && window.crypto != null && typeof window.crypto.randomUUID === "function";
|
|
4372
|
+
var generateNodeUUID = () => {
|
|
4373
|
+
const cryptoModule = "crypto";
|
|
4374
|
+
const crypto = __require(cryptoModule);
|
|
4375
|
+
if (typeof crypto.randomUUID === "function") {
|
|
4376
|
+
return crypto.randomUUID();
|
|
4377
|
+
}
|
|
4378
|
+
const bytes = crypto.randomBytes(16);
|
|
4379
|
+
bytes[6] = bytes[6] & 15 | 64;
|
|
4380
|
+
bytes[8] = bytes[8] & 63 | 128;
|
|
4381
|
+
const hex = bytes.toString("hex");
|
|
4382
|
+
return [
|
|
4383
|
+
hex.substring(0, 8),
|
|
4384
|
+
hex.substring(8, 12),
|
|
4385
|
+
hex.substring(12, 16),
|
|
4386
|
+
hex.substring(16, 20),
|
|
4387
|
+
hex.substring(20)
|
|
4388
|
+
].join("-");
|
|
4389
|
+
};
|
|
4390
|
+
var generateFallbackUUID = () => {
|
|
4391
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
4392
|
+
const r = Math.random() * 16 | 0;
|
|
4393
|
+
const v = c === "x" ? r : r & 3 | 8;
|
|
4394
|
+
return v.toString(16);
|
|
4395
|
+
});
|
|
4846
4396
|
};
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
init_process();
|
|
4856
|
-
init_setImmediate();
|
|
4857
|
-
init_buffer();
|
|
4858
|
-
init_setInterval();
|
|
4859
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4860
|
-
value: true
|
|
4861
|
-
});
|
|
4862
|
-
exports.default = void 0;
|
|
4863
|
-
var _native = _interopRequireDefault(require_native());
|
|
4864
|
-
var _rng = _interopRequireDefault(require_rng());
|
|
4865
|
-
var _stringify = require_stringify();
|
|
4866
|
-
function _interopRequireDefault(obj) {
|
|
4867
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4868
|
-
}
|
|
4869
|
-
function v4(options, buf, offset) {
|
|
4870
|
-
if (_native.default.randomUUID && !buf && !options) {
|
|
4871
|
-
return _native.default.randomUUID();
|
|
4872
|
-
}
|
|
4873
|
-
options = options || {};
|
|
4874
|
-
const rnds = options.random || (options.rng || _rng.default)();
|
|
4875
|
-
rnds[6] = rnds[6] & 15 | 64;
|
|
4876
|
-
rnds[8] = rnds[8] & 63 | 128;
|
|
4877
|
-
if (buf) {
|
|
4878
|
-
offset = offset || 0;
|
|
4879
|
-
for (let i = 0; i < 16; ++i) {
|
|
4880
|
-
buf[offset + i] = rnds[i];
|
|
4881
|
-
}
|
|
4882
|
-
return buf;
|
|
4883
|
-
}
|
|
4884
|
-
return (0, _stringify.unsafeStringify)(rnds);
|
|
4885
|
-
}
|
|
4886
|
-
var _default = v4;
|
|
4887
|
-
exports.default = _default;
|
|
4888
|
-
}
|
|
4889
|
-
});
|
|
4890
|
-
|
|
4891
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/sha1.js
|
|
4892
|
-
var require_sha1 = __commonJS({
|
|
4893
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/sha1.js"(exports) {
|
|
4894
|
-
"use strict";
|
|
4895
|
-
init_process();
|
|
4896
|
-
init_setImmediate();
|
|
4897
|
-
init_buffer();
|
|
4898
|
-
init_setInterval();
|
|
4899
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4900
|
-
value: true
|
|
4901
|
-
});
|
|
4902
|
-
exports.default = void 0;
|
|
4903
|
-
function f(s, x, y, z) {
|
|
4904
|
-
switch (s) {
|
|
4905
|
-
case 0:
|
|
4906
|
-
return x & y ^ ~x & z;
|
|
4907
|
-
case 1:
|
|
4908
|
-
return x ^ y ^ z;
|
|
4909
|
-
case 2:
|
|
4910
|
-
return x & y ^ x & z ^ y & z;
|
|
4911
|
-
case 3:
|
|
4912
|
-
return x ^ y ^ z;
|
|
4913
|
-
}
|
|
4914
|
-
}
|
|
4915
|
-
function ROTL(x, n) {
|
|
4916
|
-
return x << n | x >>> 32 - n;
|
|
4917
|
-
}
|
|
4918
|
-
function sha1(bytes) {
|
|
4919
|
-
const K = [1518500249, 1859775393, 2400959708, 3395469782];
|
|
4920
|
-
const H = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
|
|
4921
|
-
if (typeof bytes === "string") {
|
|
4922
|
-
const msg = unescape(encodeURIComponent(bytes));
|
|
4923
|
-
bytes = [];
|
|
4924
|
-
for (let i = 0; i < msg.length; ++i) {
|
|
4925
|
-
bytes.push(msg.charCodeAt(i));
|
|
4926
|
-
}
|
|
4927
|
-
} else if (!Array.isArray(bytes)) {
|
|
4928
|
-
bytes = Array.prototype.slice.call(bytes);
|
|
4929
|
-
}
|
|
4930
|
-
bytes.push(128);
|
|
4931
|
-
const l = bytes.length / 4 + 2;
|
|
4932
|
-
const N = Math.ceil(l / 16);
|
|
4933
|
-
const M = new Array(N);
|
|
4934
|
-
for (let i = 0; i < N; ++i) {
|
|
4935
|
-
const arr = new Uint32Array(16);
|
|
4936
|
-
for (let j = 0; j < 16; ++j) {
|
|
4937
|
-
arr[j] = bytes[i * 64 + j * 4] << 24 | bytes[i * 64 + j * 4 + 1] << 16 | bytes[i * 64 + j * 4 + 2] << 8 | bytes[i * 64 + j * 4 + 3];
|
|
4938
|
-
}
|
|
4939
|
-
M[i] = arr;
|
|
4940
|
-
}
|
|
4941
|
-
M[N - 1][14] = (bytes.length - 1) * 8 / Math.pow(2, 32);
|
|
4942
|
-
M[N - 1][14] = Math.floor(M[N - 1][14]);
|
|
4943
|
-
M[N - 1][15] = (bytes.length - 1) * 8 & 4294967295;
|
|
4944
|
-
for (let i = 0; i < N; ++i) {
|
|
4945
|
-
const W = new Uint32Array(80);
|
|
4946
|
-
for (let t = 0; t < 16; ++t) {
|
|
4947
|
-
W[t] = M[i][t];
|
|
4948
|
-
}
|
|
4949
|
-
for (let t = 16; t < 80; ++t) {
|
|
4950
|
-
W[t] = ROTL(W[t - 3] ^ W[t - 8] ^ W[t - 14] ^ W[t - 16], 1);
|
|
4951
|
-
}
|
|
4952
|
-
let a = H[0];
|
|
4953
|
-
let b = H[1];
|
|
4954
|
-
let c = H[2];
|
|
4955
|
-
let d = H[3];
|
|
4956
|
-
let e = H[4];
|
|
4957
|
-
for (let t = 0; t < 80; ++t) {
|
|
4958
|
-
const s = Math.floor(t / 20);
|
|
4959
|
-
const T = ROTL(a, 5) + f(s, b, c, d) + e + K[s] + W[t] >>> 0;
|
|
4960
|
-
e = d;
|
|
4961
|
-
d = c;
|
|
4962
|
-
c = ROTL(b, 30) >>> 0;
|
|
4963
|
-
b = a;
|
|
4964
|
-
a = T;
|
|
4965
|
-
}
|
|
4966
|
-
H[0] = H[0] + a >>> 0;
|
|
4967
|
-
H[1] = H[1] + b >>> 0;
|
|
4968
|
-
H[2] = H[2] + c >>> 0;
|
|
4969
|
-
H[3] = H[3] + d >>> 0;
|
|
4970
|
-
H[4] = H[4] + e >>> 0;
|
|
4971
|
-
}
|
|
4972
|
-
return [H[0] >> 24 & 255, H[0] >> 16 & 255, H[0] >> 8 & 255, H[0] & 255, H[1] >> 24 & 255, H[1] >> 16 & 255, H[1] >> 8 & 255, H[1] & 255, H[2] >> 24 & 255, H[2] >> 16 & 255, H[2] >> 8 & 255, H[2] & 255, H[3] >> 24 & 255, H[3] >> 16 & 255, H[3] >> 8 & 255, H[3] & 255, H[4] >> 24 & 255, H[4] >> 16 & 255, H[4] >> 8 & 255, H[4] & 255];
|
|
4973
|
-
}
|
|
4974
|
-
var _default = sha1;
|
|
4975
|
-
exports.default = _default;
|
|
4976
|
-
}
|
|
4977
|
-
});
|
|
4978
|
-
|
|
4979
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/v5.js
|
|
4980
|
-
var require_v5 = __commonJS({
|
|
4981
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/v5.js"(exports) {
|
|
4982
|
-
"use strict";
|
|
4983
|
-
init_process();
|
|
4984
|
-
init_setImmediate();
|
|
4985
|
-
init_buffer();
|
|
4986
|
-
init_setInterval();
|
|
4987
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4988
|
-
value: true
|
|
4989
|
-
});
|
|
4990
|
-
exports.default = void 0;
|
|
4991
|
-
var _v = _interopRequireDefault(require_v35());
|
|
4992
|
-
var _sha = _interopRequireDefault(require_sha1());
|
|
4993
|
-
function _interopRequireDefault(obj) {
|
|
4994
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
4995
|
-
}
|
|
4996
|
-
var v5 = (0, _v.default)("v5", 80, _sha.default);
|
|
4997
|
-
var _default = v5;
|
|
4998
|
-
exports.default = _default;
|
|
4999
|
-
}
|
|
5000
|
-
});
|
|
5001
|
-
|
|
5002
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/nil.js
|
|
5003
|
-
var require_nil = __commonJS({
|
|
5004
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/nil.js"(exports) {
|
|
5005
|
-
"use strict";
|
|
5006
|
-
init_process();
|
|
5007
|
-
init_setImmediate();
|
|
5008
|
-
init_buffer();
|
|
5009
|
-
init_setInterval();
|
|
5010
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5011
|
-
value: true
|
|
5012
|
-
});
|
|
5013
|
-
exports.default = void 0;
|
|
5014
|
-
var _default = "00000000-0000-0000-0000-000000000000";
|
|
5015
|
-
exports.default = _default;
|
|
5016
|
-
}
|
|
5017
|
-
});
|
|
5018
|
-
|
|
5019
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/version.js
|
|
5020
|
-
var require_version = __commonJS({
|
|
5021
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/version.js"(exports) {
|
|
5022
|
-
"use strict";
|
|
5023
|
-
init_process();
|
|
5024
|
-
init_setImmediate();
|
|
5025
|
-
init_buffer();
|
|
5026
|
-
init_setInterval();
|
|
5027
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5028
|
-
value: true
|
|
5029
|
-
});
|
|
5030
|
-
exports.default = void 0;
|
|
5031
|
-
var _validate = _interopRequireDefault(require_validate());
|
|
5032
|
-
function _interopRequireDefault(obj) {
|
|
5033
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
5034
|
-
}
|
|
5035
|
-
function version(uuid) {
|
|
5036
|
-
if (!(0, _validate.default)(uuid)) {
|
|
5037
|
-
throw TypeError("Invalid UUID");
|
|
5038
|
-
}
|
|
5039
|
-
return parseInt(uuid.slice(14, 15), 16);
|
|
5040
|
-
}
|
|
5041
|
-
var _default = version;
|
|
5042
|
-
exports.default = _default;
|
|
5043
|
-
}
|
|
5044
|
-
});
|
|
5045
|
-
|
|
5046
|
-
// ../utils/node_modules/uuid/dist/commonjs-browser/index.js
|
|
5047
|
-
var require_commonjs_browser = __commonJS({
|
|
5048
|
-
"../utils/node_modules/uuid/dist/commonjs-browser/index.js"(exports) {
|
|
5049
|
-
"use strict";
|
|
5050
|
-
init_process();
|
|
5051
|
-
init_setImmediate();
|
|
5052
|
-
init_buffer();
|
|
5053
|
-
init_setInterval();
|
|
5054
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5055
|
-
value: true
|
|
5056
|
-
});
|
|
5057
|
-
Object.defineProperty(exports, "NIL", {
|
|
5058
|
-
enumerable: true,
|
|
5059
|
-
get: function get() {
|
|
5060
|
-
return _nil.default;
|
|
5061
|
-
}
|
|
5062
|
-
});
|
|
5063
|
-
Object.defineProperty(exports, "parse", {
|
|
5064
|
-
enumerable: true,
|
|
5065
|
-
get: function get() {
|
|
5066
|
-
return _parse.default;
|
|
5067
|
-
}
|
|
5068
|
-
});
|
|
5069
|
-
Object.defineProperty(exports, "stringify", {
|
|
5070
|
-
enumerable: true,
|
|
5071
|
-
get: function get() {
|
|
5072
|
-
return _stringify.default;
|
|
5073
|
-
}
|
|
5074
|
-
});
|
|
5075
|
-
Object.defineProperty(exports, "v1", {
|
|
5076
|
-
enumerable: true,
|
|
5077
|
-
get: function get() {
|
|
5078
|
-
return _v.default;
|
|
5079
|
-
}
|
|
5080
|
-
});
|
|
5081
|
-
Object.defineProperty(exports, "v3", {
|
|
5082
|
-
enumerable: true,
|
|
5083
|
-
get: function get() {
|
|
5084
|
-
return _v2.default;
|
|
5085
|
-
}
|
|
5086
|
-
});
|
|
5087
|
-
Object.defineProperty(exports, "v4", {
|
|
5088
|
-
enumerable: true,
|
|
5089
|
-
get: function get() {
|
|
5090
|
-
return _v3.default;
|
|
5091
|
-
}
|
|
5092
|
-
});
|
|
5093
|
-
Object.defineProperty(exports, "v5", {
|
|
5094
|
-
enumerable: true,
|
|
5095
|
-
get: function get() {
|
|
5096
|
-
return _v4.default;
|
|
5097
|
-
}
|
|
5098
|
-
});
|
|
5099
|
-
Object.defineProperty(exports, "validate", {
|
|
5100
|
-
enumerable: true,
|
|
5101
|
-
get: function get() {
|
|
5102
|
-
return _validate.default;
|
|
5103
|
-
}
|
|
5104
|
-
});
|
|
5105
|
-
Object.defineProperty(exports, "version", {
|
|
5106
|
-
enumerable: true,
|
|
5107
|
-
get: function get() {
|
|
5108
|
-
return _version.default;
|
|
5109
|
-
}
|
|
5110
|
-
});
|
|
5111
|
-
var _v = _interopRequireDefault(require_v1());
|
|
5112
|
-
var _v2 = _interopRequireDefault(require_v3());
|
|
5113
|
-
var _v3 = _interopRequireDefault(require_v4());
|
|
5114
|
-
var _v4 = _interopRequireDefault(require_v5());
|
|
5115
|
-
var _nil = _interopRequireDefault(require_nil());
|
|
5116
|
-
var _version = _interopRequireDefault(require_version());
|
|
5117
|
-
var _validate = _interopRequireDefault(require_validate());
|
|
5118
|
-
var _stringify = _interopRequireDefault(require_stringify());
|
|
5119
|
-
var _parse = _interopRequireDefault(require_parse());
|
|
5120
|
-
function _interopRequireDefault(obj) {
|
|
5121
|
-
return obj && obj.__esModule ? obj : { default: obj };
|
|
5122
|
-
}
|
|
4397
|
+
var uuid = () => {
|
|
4398
|
+
if (isNode())
|
|
4399
|
+
return generateNodeUUID();
|
|
4400
|
+
if (isWebCryptoAvailable())
|
|
4401
|
+
return window.crypto.randomUUID();
|
|
4402
|
+
return generateFallbackUUID();
|
|
4403
|
+
};
|
|
4404
|
+
exports.uuid = uuid;
|
|
5123
4405
|
}
|
|
5124
4406
|
});
|
|
5125
4407
|
|
|
@@ -5167,7 +4449,7 @@ var require_general = __commonJS({
|
|
|
5167
4449
|
exports.zip = exports.dedupAndMap = exports.deepEqual = exports.pluralize = exports.extend = exports.wrap = exports.batchify = exports.clearCachify = exports.cachify = exports.absolutizeUrl = exports.removeUndefinedProps = exports.toUriEncoding = exports.toUnAnchoredUri = exports.toString = exports.toJSON = exports.sleep = exports.jwtDecode = exports.shortid = exports.guid = exports.getEnvCaseInsensitive = exports.getEnvValue = void 0;
|
|
5168
4450
|
var buffer_1 = require_buffer();
|
|
5169
4451
|
var types20 = __importStar(require_types());
|
|
5170
|
-
var uuid_1 =
|
|
4452
|
+
var uuid_1 = require_uuid();
|
|
5171
4453
|
function getEnvValue(name, type) {
|
|
5172
4454
|
if (!process)
|
|
5173
4455
|
return void 0;
|
|
@@ -5195,7 +4477,7 @@ var require_general = __commonJS({
|
|
|
5195
4477
|
}
|
|
5196
4478
|
exports.getEnvCaseInsensitive = getEnvCaseInsensitive;
|
|
5197
4479
|
function guid() {
|
|
5198
|
-
return (0, uuid_1.
|
|
4480
|
+
return (0, uuid_1.uuid)();
|
|
5199
4481
|
}
|
|
5200
4482
|
exports.guid = guid;
|
|
5201
4483
|
function shortid() {
|
|
@@ -12878,7 +12160,7 @@ var require_templates = __commonJS({
|
|
|
12878
12160
|
["e", "\x1B"],
|
|
12879
12161
|
["a", "\x07"]
|
|
12880
12162
|
]);
|
|
12881
|
-
function
|
|
12163
|
+
function unescape(c) {
|
|
12882
12164
|
const u = c[0] === "u";
|
|
12883
12165
|
const bracket = c[1] === "{";
|
|
12884
12166
|
if (u && !bracket && c.length === 5 || c[0] === "x" && c.length === 3) {
|
|
@@ -12898,7 +12180,7 @@ var require_templates = __commonJS({
|
|
|
12898
12180
|
if (!Number.isNaN(number)) {
|
|
12899
12181
|
results.push(number);
|
|
12900
12182
|
} else if (matches = chunk.match(STRING_REGEX)) {
|
|
12901
|
-
results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ?
|
|
12183
|
+
results.push(matches[2].replace(ESCAPE_REGEX, (m, escape, character) => escape ? unescape(escape) : character));
|
|
12902
12184
|
} else {
|
|
12903
12185
|
throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);
|
|
12904
12186
|
}
|
|
@@ -12945,7 +12227,7 @@ var require_templates = __commonJS({
|
|
|
12945
12227
|
let chunk = [];
|
|
12946
12228
|
temporary.replace(TEMPLATE_REGEX, (m, escapeCharacter, inverse, style, close, character) => {
|
|
12947
12229
|
if (escapeCharacter) {
|
|
12948
|
-
chunk.push(
|
|
12230
|
+
chunk.push(unescape(escapeCharacter));
|
|
12949
12231
|
} else if (style) {
|
|
12950
12232
|
const string = chunk.join("");
|
|
12951
12233
|
chunk = [];
|
|
@@ -23716,8 +22998,8 @@ var require_browser7 = __commonJS({
|
|
|
23716
22998
|
throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11");
|
|
23717
22999
|
}
|
|
23718
23000
|
var Buffer4 = require_safe_buffer().Buffer;
|
|
23719
|
-
var
|
|
23720
|
-
if (
|
|
23001
|
+
var crypto = global.crypto || global.msCrypto;
|
|
23002
|
+
if (crypto && crypto.getRandomValues) {
|
|
23721
23003
|
module.exports = randomBytes;
|
|
23722
23004
|
} else {
|
|
23723
23005
|
module.exports = oldBrowser;
|
|
@@ -23729,10 +23011,10 @@ var require_browser7 = __commonJS({
|
|
|
23729
23011
|
if (size > 0) {
|
|
23730
23012
|
if (size > MAX_BYTES) {
|
|
23731
23013
|
for (var generated = 0; generated < size; generated += MAX_BYTES) {
|
|
23732
|
-
|
|
23014
|
+
crypto.getRandomValues(bytes.slice(generated, generated + MAX_BYTES));
|
|
23733
23015
|
}
|
|
23734
23016
|
} else {
|
|
23735
|
-
|
|
23017
|
+
crypto.getRandomValues(bytes);
|
|
23736
23018
|
}
|
|
23737
23019
|
}
|
|
23738
23020
|
if (typeof cb === "function") {
|
|
@@ -23855,7 +23137,7 @@ var require_hash_base = __commonJS({
|
|
|
23855
23137
|
});
|
|
23856
23138
|
|
|
23857
23139
|
// ../../node_modules/md5.js/index.js
|
|
23858
|
-
var
|
|
23140
|
+
var require_md5 = __commonJS({
|
|
23859
23141
|
"../../node_modules/md5.js/index.js"(exports, module) {
|
|
23860
23142
|
"use strict";
|
|
23861
23143
|
init_process();
|
|
@@ -24581,7 +23863,7 @@ var require_sha = __commonJS({
|
|
|
24581
23863
|
});
|
|
24582
23864
|
|
|
24583
23865
|
// ../../node_modules/sha.js/sha1.js
|
|
24584
|
-
var
|
|
23866
|
+
var require_sha1 = __commonJS({
|
|
24585
23867
|
"../../node_modules/sha.js/sha1.js"(exports, module) {
|
|
24586
23868
|
init_process();
|
|
24587
23869
|
init_setImmediate();
|
|
@@ -25289,7 +24571,7 @@ var require_sha2 = __commonJS({
|
|
|
25289
24571
|
return new Algorithm();
|
|
25290
24572
|
};
|
|
25291
24573
|
exports.sha = require_sha();
|
|
25292
|
-
exports.sha1 =
|
|
24574
|
+
exports.sha1 = require_sha1();
|
|
25293
24575
|
exports.sha224 = require_sha224();
|
|
25294
24576
|
exports.sha256 = require_sha256();
|
|
25295
24577
|
exports.sha384 = require_sha384();
|
|
@@ -25403,7 +24685,7 @@ var require_browser8 = __commonJS({
|
|
|
25403
24685
|
init_buffer();
|
|
25404
24686
|
init_setInterval();
|
|
25405
24687
|
var inherits = require_inherits_browser();
|
|
25406
|
-
var MD5 =
|
|
24688
|
+
var MD5 = require_md5();
|
|
25407
24689
|
var RIPEMD160 = require_ripemd160();
|
|
25408
24690
|
var sha = require_sha2();
|
|
25409
24691
|
var Base = require_cipher_base();
|
|
@@ -25475,13 +24757,13 @@ var require_legacy = __commonJS({
|
|
|
25475
24757
|
});
|
|
25476
24758
|
|
|
25477
24759
|
// ../../node_modules/create-hash/md5.js
|
|
25478
|
-
var
|
|
24760
|
+
var require_md52 = __commonJS({
|
|
25479
24761
|
"../../node_modules/create-hash/md5.js"(exports, module) {
|
|
25480
24762
|
init_process();
|
|
25481
24763
|
init_setImmediate();
|
|
25482
24764
|
init_buffer();
|
|
25483
24765
|
init_setInterval();
|
|
25484
|
-
var MD5 =
|
|
24766
|
+
var MD5 = require_md5();
|
|
25485
24767
|
module.exports = function(buffer) {
|
|
25486
24768
|
return new MD5().update(buffer).digest();
|
|
25487
24769
|
};
|
|
@@ -25500,7 +24782,7 @@ var require_browser9 = __commonJS({
|
|
|
25500
24782
|
var Legacy = require_legacy();
|
|
25501
24783
|
var Base = require_cipher_base();
|
|
25502
24784
|
var Buffer4 = require_safe_buffer().Buffer;
|
|
25503
|
-
var md5 =
|
|
24785
|
+
var md5 = require_md52();
|
|
25504
24786
|
var RIPEMD160 = require_ripemd160();
|
|
25505
24787
|
var sha = require_sha2();
|
|
25506
24788
|
var ZEROS = Buffer4.alloc(128);
|
|
@@ -25793,7 +25075,7 @@ var require_sync_browser = __commonJS({
|
|
|
25793
25075
|
init_setImmediate();
|
|
25794
25076
|
init_buffer();
|
|
25795
25077
|
init_setInterval();
|
|
25796
|
-
var md5 =
|
|
25078
|
+
var md5 = require_md52();
|
|
25797
25079
|
var RIPEMD160 = require_ripemd160();
|
|
25798
25080
|
var sha = require_sha2();
|
|
25799
25081
|
var Buffer4 = require_safe_buffer().Buffer;
|
|
@@ -28127,7 +27409,7 @@ var require_evp_bytestokey = __commonJS({
|
|
|
28127
27409
|
init_buffer();
|
|
28128
27410
|
init_setInterval();
|
|
28129
27411
|
var Buffer4 = require_safe_buffer().Buffer;
|
|
28130
|
-
var MD5 =
|
|
27412
|
+
var MD5 = require_md5();
|
|
28131
27413
|
function EVP_BytesToKey(password, salt, keyBits, ivLen) {
|
|
28132
27414
|
if (!Buffer4.isBuffer(password))
|
|
28133
27415
|
password = Buffer4.from(password, "binary");
|
|
@@ -31435,16 +30717,16 @@ var require_brorand = __commonJS({
|
|
|
31435
30717
|
}
|
|
31436
30718
|
} else {
|
|
31437
30719
|
try {
|
|
31438
|
-
|
|
31439
|
-
if (typeof
|
|
30720
|
+
crypto = require_crypto_browserify();
|
|
30721
|
+
if (typeof crypto.randomBytes !== "function")
|
|
31440
30722
|
throw new Error("Not supported");
|
|
31441
30723
|
Rand.prototype._rand = function _rand(n) {
|
|
31442
|
-
return
|
|
30724
|
+
return crypto.randomBytes(n);
|
|
31443
30725
|
};
|
|
31444
30726
|
} catch (e) {
|
|
31445
30727
|
}
|
|
31446
30728
|
}
|
|
31447
|
-
var
|
|
30729
|
+
var crypto;
|
|
31448
30730
|
}
|
|
31449
30731
|
});
|
|
31450
30732
|
|
|
@@ -45672,7 +44954,7 @@ var require_browser17 = __commonJS({
|
|
|
45672
44954
|
var randombytes = require_browser7();
|
|
45673
44955
|
var Buffer4 = safeBuffer.Buffer;
|
|
45674
44956
|
var kBufferMaxLength = safeBuffer.kMaxLength;
|
|
45675
|
-
var
|
|
44957
|
+
var crypto = global.crypto || global.msCrypto;
|
|
45676
44958
|
var kMaxUint32 = Math.pow(2, 32) - 1;
|
|
45677
44959
|
function assertOffset(offset, length) {
|
|
45678
44960
|
if (typeof offset !== "number" || offset !== offset) {
|
|
@@ -45696,7 +44978,7 @@ var require_browser17 = __commonJS({
|
|
|
45696
44978
|
throw new RangeError("buffer too small");
|
|
45697
44979
|
}
|
|
45698
44980
|
}
|
|
45699
|
-
if (
|
|
44981
|
+
if (crypto && crypto.getRandomValues || !process.browser) {
|
|
45700
44982
|
exports.randomFill = randomFill;
|
|
45701
44983
|
exports.randomFillSync = randomFillSync;
|
|
45702
44984
|
} else {
|
|
@@ -45725,7 +45007,7 @@ var require_browser17 = __commonJS({
|
|
|
45725
45007
|
if (process.browser) {
|
|
45726
45008
|
var ourBuf = buf.buffer;
|
|
45727
45009
|
var uint = new Uint8Array(ourBuf, offset, size);
|
|
45728
|
-
|
|
45010
|
+
crypto.getRandomValues(uint);
|
|
45729
45011
|
if (cb) {
|
|
45730
45012
|
process.nextTick(function() {
|
|
45731
45013
|
cb(null, buf);
|
|
@@ -59614,7 +58896,7 @@ ${l2}`}`, { bundledCss: i2, unfetchedResources: u2 };
|
|
|
59614
58896
|
return d4 && (N3.shadowRoot = d4), N3;
|
|
59615
58897
|
}
|
|
59616
58898
|
}(t4);
|
|
59617
|
-
d2(i2.doCaptureDoc), l2(i2.waitForImages), await Promise.all(f2), d2(i2.waitForImages), N2.version = "1.3.0", N2.scriptVersion = "11.6.
|
|
58899
|
+
d2(i2.doCaptureDoc), l2(i2.waitForImages), await Promise.all(f2), d2(i2.waitForImages), N2.version = "1.3.0", N2.scriptVersion = "11.6.2";
|
|
59618
58900
|
const S2 = h2.length ? `${h2.join("\n")}
|
|
59619
58901
|
` : "", A2 = m2.size ? `${Array.from(m2).join("\n")}
|
|
59620
58902
|
` : "", Y2 = JSON.stringify({ separator: y2, cssStartToken: g2, cssEndToken: g2, iframeStartToken: `"${p2}`, iframeEndToken: `${p2}"` });
|
|
@@ -69699,7 +68981,7 @@ creating temp style for access.`), r2 = Am(e4);
|
|
|
69699
68981
|
function B2(e5) {
|
|
69700
68982
|
return t5.defaultView && t5.defaultView.frameElement && t5.defaultView.frameElement.getAttribute(e5);
|
|
69701
68983
|
}
|
|
69702
|
-
}(t4).then((e4) => (h2("processPage end"), e4.scriptVersion = "4.13.
|
|
68984
|
+
}(t4).then((e4) => (h2("processPage end"), e4.scriptVersion = "4.13.2", e4));
|
|
69703
68985
|
};
|
|
69704
68986
|
window[Sg] = window[Sg] || {};
|
|
69705
68987
|
const Ag = xg(Cg, window[Sg], _g);
|
|
@@ -76250,7 +75532,7 @@ var require_tokenizer2 = __commonJS({
|
|
|
76250
75532
|
});
|
|
76251
75533
|
|
|
76252
75534
|
// ../css-tree/cjs/definition-syntax/parse.cjs
|
|
76253
|
-
var
|
|
75535
|
+
var require_parse = __commonJS({
|
|
76254
75536
|
"../css-tree/cjs/definition-syntax/parse.cjs"(exports) {
|
|
76255
75537
|
"use strict";
|
|
76256
75538
|
init_process();
|
|
@@ -76706,7 +75988,7 @@ var require_match_graph = __commonJS({
|
|
|
76706
75988
|
init_setImmediate();
|
|
76707
75989
|
init_buffer();
|
|
76708
75990
|
init_setInterval();
|
|
76709
|
-
var parse =
|
|
75991
|
+
var parse = require_parse();
|
|
76710
75992
|
var MATCH = { type: "Match" };
|
|
76711
75993
|
var MISMATCH = { type: "Mismatch" };
|
|
76712
75994
|
var DISALLOW_EMPTY = { type: "DisallowEmpty" };
|
|
@@ -77807,7 +77089,7 @@ var require_Lexer = __commonJS({
|
|
|
77807
77089
|
var trace = require_trace();
|
|
77808
77090
|
var search = require_search();
|
|
77809
77091
|
var structure = require_structure();
|
|
77810
|
-
var parse =
|
|
77092
|
+
var parse = require_parse();
|
|
77811
77093
|
var generate = require_generate();
|
|
77812
77094
|
var walk = require_walk();
|
|
77813
77095
|
var cssWideKeywordsSyntax = matchGraph.buildMatchGraph(genericConst.cssWideKeywords.join(" | "));
|
|
@@ -83572,7 +82854,7 @@ var require_syntax2 = __commonJS({
|
|
|
83572
82854
|
});
|
|
83573
82855
|
|
|
83574
82856
|
// ../css-tree/dist/version.cjs
|
|
83575
|
-
var
|
|
82857
|
+
var require_version = __commonJS({
|
|
83576
82858
|
"../css-tree/dist/version.cjs"(exports, module) {
|
|
83577
82859
|
"use strict";
|
|
83578
82860
|
init_process();
|
|
@@ -83593,7 +82875,7 @@ var require_definition_syntax = __commonJS({
|
|
|
83593
82875
|
init_setInterval();
|
|
83594
82876
|
var SyntaxError2 = require_SyntaxError2();
|
|
83595
82877
|
var generate = require_generate();
|
|
83596
|
-
var parse =
|
|
82878
|
+
var parse = require_parse();
|
|
83597
82879
|
var walk = require_walk();
|
|
83598
82880
|
exports.SyntaxError = SyntaxError2.SyntaxError;
|
|
83599
82881
|
exports.generate = generate.generate;
|
|
@@ -83711,7 +82993,7 @@ var require_cjs = __commonJS({
|
|
|
83711
82993
|
init_buffer();
|
|
83712
82994
|
init_setInterval();
|
|
83713
82995
|
var index$1 = require_syntax2();
|
|
83714
|
-
var version =
|
|
82996
|
+
var version = require_version();
|
|
83715
82997
|
var create = require_create5();
|
|
83716
82998
|
var List = require_List();
|
|
83717
82999
|
var Lexer = require_Lexer();
|
|
@@ -94240,7 +93522,7 @@ var require_package2 = __commonJS({
|
|
|
94240
93522
|
"../core/package.json"(exports, module) {
|
|
94241
93523
|
module.exports = {
|
|
94242
93524
|
name: "@applitools/core",
|
|
94243
|
-
version: "4.44.
|
|
93525
|
+
version: "4.44.3",
|
|
94244
93526
|
homepage: "https://applitools.com",
|
|
94245
93527
|
bugs: {
|
|
94246
93528
|
url: "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -99209,7 +98491,7 @@ var require_package3 = __commonJS({
|
|
|
99209
98491
|
"../eyes/package.json"(exports, module) {
|
|
99210
98492
|
module.exports = {
|
|
99211
98493
|
name: "@applitools/eyes",
|
|
99212
|
-
version: "1.36.
|
|
98494
|
+
version: "1.36.1",
|
|
99213
98495
|
keywords: [
|
|
99214
98496
|
"applitools",
|
|
99215
98497
|
"eyes",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@applitools/eyes-browser",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"applitools",
|
|
6
6
|
"browser",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"test": "run --top-level mocha './test/**/*.spec.ts'"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@applitools/eyes": "1.36.
|
|
51
|
+
"@applitools/eyes": "1.36.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/node": "^12.20.55",
|