@applitools/eyes-browser 1.0.2 → 1.0.4
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 +92 -0
- package/dist/index.js +620 -501
- package/package.json +2 -2
- package/types/Eyes.d.ts +9 -5
- package/types/enums/AndroidDeviceName.d.ts +22 -15
- package/types/enums/DeviceName.d.ts +56 -50
- package/types/enums/IosDeviceName.d.ts +39 -34
package/dist/index.js
CHANGED
|
@@ -20284,20 +20284,22 @@ var require_requests = __commonJS({
|
|
|
20284
20284
|
return result;
|
|
20285
20285
|
};
|
|
20286
20286
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20287
|
-
exports.
|
|
20287
|
+
exports.makeCoreRequestsWithCache = void 0;
|
|
20288
20288
|
var logger_1 = require_browser6();
|
|
20289
20289
|
var req_eyes_1 = require_req_eyes();
|
|
20290
20290
|
var upload_1 = require_upload();
|
|
20291
20291
|
var utils34 = __importStar(require_browser3());
|
|
20292
|
-
|
|
20292
|
+
exports.makeCoreRequestsWithCache = utils34.general.cachify(makeCoreRequests, () => "default");
|
|
20293
|
+
function makeCoreRequests({ fetch: fetch2, logger: defaultLogger } = {}) {
|
|
20293
20294
|
const mainLogger = (0, logger_1.makeLogger)({ logger: defaultLogger, format: { label: "core-requests" } });
|
|
20294
20295
|
const getAccountInfoWithCache = utils34.general.cachify(getAccountInfo, ([{ settings }]) => {
|
|
20295
|
-
return [settings.eyesServerUrl, settings.apiKey];
|
|
20296
|
+
return [settings.eyesServerUrl, settings.apiKey, settings.proxy];
|
|
20296
20297
|
});
|
|
20297
20298
|
const getBatchBranchesWithCache = utils34.general.cachify(getBatchBranches, ([{ settings }]) => {
|
|
20298
|
-
return [settings.batchId, settings.eyesServerUrl, settings.apiKey];
|
|
20299
|
+
return [settings.batchId, settings.eyesServerUrl, settings.apiKey, settings.proxy];
|
|
20299
20300
|
});
|
|
20300
20301
|
const core = {
|
|
20302
|
+
concurrency: void 0,
|
|
20301
20303
|
getAccountInfo: getAccountInfoWithCache,
|
|
20302
20304
|
getBatchBranches: getBatchBranchesWithCache,
|
|
20303
20305
|
openEyes,
|
|
@@ -20313,8 +20315,7 @@ var require_requests = __commonJS({
|
|
|
20313
20315
|
async function openEyes({ settings, logger = mainLogger }) {
|
|
20314
20316
|
var _a, _b, _c, _d, _e, _f;
|
|
20315
20317
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20316
|
-
const
|
|
20317
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20318
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20318
20319
|
logger.log('Request "openEyes" called with settings', settings);
|
|
20319
20320
|
const accountPromise = getAccountInfoWithCache({ settings });
|
|
20320
20321
|
const initializedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -20323,7 +20324,7 @@ var require_requests = __commonJS({
|
|
|
20323
20324
|
method: "POST",
|
|
20324
20325
|
body: {
|
|
20325
20326
|
startInfo: {
|
|
20326
|
-
agentId,
|
|
20327
|
+
agentId: settings.agentId,
|
|
20327
20328
|
agentSessionId: settings.userTestId,
|
|
20328
20329
|
agentRunId: settings.userTestId,
|
|
20329
20330
|
sessionType: settings.sessionType,
|
|
@@ -20398,8 +20399,7 @@ var require_requests = __commonJS({
|
|
|
20398
20399
|
async function openFunctionalSession({ settings, logger = mainLogger }) {
|
|
20399
20400
|
var _a, _b, _c, _d, _e, _f;
|
|
20400
20401
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20401
|
-
const
|
|
20402
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20402
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20403
20403
|
logger.log('Request "openFunctionalSession" called with settings', settings);
|
|
20404
20404
|
const accountPromise = getAccountInfoWithCache({ settings });
|
|
20405
20405
|
const initializedAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -20408,7 +20408,7 @@ var require_requests = __commonJS({
|
|
|
20408
20408
|
method: "POST",
|
|
20409
20409
|
body: {
|
|
20410
20410
|
startInfo: {
|
|
20411
|
-
agentId,
|
|
20411
|
+
agentId: settings.agentId,
|
|
20412
20412
|
agentSessionId: settings.userTestId,
|
|
20413
20413
|
agentRunId: settings.userTestId,
|
|
20414
20414
|
sessionType: settings.sessionType,
|
|
@@ -20464,8 +20464,7 @@ var require_requests = __commonJS({
|
|
|
20464
20464
|
}
|
|
20465
20465
|
async function locate({ target, settings, logger = mainLogger }) {
|
|
20466
20466
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20467
|
-
const
|
|
20468
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20467
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20469
20468
|
logger.log('Request "locate" called for target', target, "with settings", settings);
|
|
20470
20469
|
const account = await getAccountInfoWithCache({ settings });
|
|
20471
20470
|
const upload = (0, upload_1.makeUpload)({ settings: { uploadUrl: account.uploadUrl, proxy: settings.proxy }, logger });
|
|
@@ -20483,10 +20482,15 @@ var require_requests = __commonJS({
|
|
|
20483
20482
|
logger
|
|
20484
20483
|
});
|
|
20485
20484
|
const result = await response.json().then((results) => {
|
|
20486
|
-
return
|
|
20487
|
-
var _a;
|
|
20488
|
-
|
|
20489
|
-
|
|
20485
|
+
return settings.locatorNames.reduce((regions, locatorName) => {
|
|
20486
|
+
var _a, _b;
|
|
20487
|
+
regions[locatorName] = (_b = (_a = results[locatorName]) !== null && _a !== void 0 ? _a : []) === null || _b === void 0 ? void 0 : _b.map((region) => ({ x: region.left, y: region.top, width: region.width, height: region.height })).sort((region1, region2) => {
|
|
20488
|
+
if (region1.y !== region2.y)
|
|
20489
|
+
return region1.y > region2.y ? 1 : -1;
|
|
20490
|
+
else
|
|
20491
|
+
return region1.x > region2.x ? 1 : -1;
|
|
20492
|
+
});
|
|
20493
|
+
return regions;
|
|
20490
20494
|
}, {});
|
|
20491
20495
|
});
|
|
20492
20496
|
logger.log('Request "locate" finished successfully with body', result);
|
|
@@ -20494,8 +20498,7 @@ var require_requests = __commonJS({
|
|
|
20494
20498
|
}
|
|
20495
20499
|
async function locateText({ target, settings, logger = mainLogger }) {
|
|
20496
20500
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20497
|
-
const
|
|
20498
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20501
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20499
20502
|
logger.log('Request "locateText" called for target', target, "with settings", settings);
|
|
20500
20503
|
const account = await getAccountInfoWithCache({ settings });
|
|
20501
20504
|
const upload = (0, upload_1.makeUpload)({ settings: { uploadUrl: account.uploadUrl, proxy: settings.proxy }, logger });
|
|
@@ -20526,8 +20529,7 @@ var require_requests = __commonJS({
|
|
|
20526
20529
|
}
|
|
20527
20530
|
async function extractText({ target, settings, logger = mainLogger }) {
|
|
20528
20531
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20529
|
-
const
|
|
20530
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20532
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20531
20533
|
logger.log('Request "extractText" called for target', target, "with settings", settings);
|
|
20532
20534
|
const account = await getAccountInfoWithCache({ settings });
|
|
20533
20535
|
const upload = (0, upload_1.makeUpload)({ settings: { uploadUrl: account.uploadUrl, proxy: settings.proxy }, logger });
|
|
@@ -20557,8 +20559,7 @@ var require_requests = __commonJS({
|
|
|
20557
20559
|
}
|
|
20558
20560
|
async function getAccountInfo({ settings, logger = mainLogger }) {
|
|
20559
20561
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20560
|
-
const
|
|
20561
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20562
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20562
20563
|
logger.log('Request "getAccountInfo" called with settings', settings);
|
|
20563
20564
|
const response = await req2("/api/sessions/renderinfo", {
|
|
20564
20565
|
name: "getAccountInfo",
|
|
@@ -20572,14 +20573,14 @@ var require_requests = __commonJS({
|
|
|
20572
20573
|
eyesServer: {
|
|
20573
20574
|
eyesServerUrl: settings.eyesServerUrl,
|
|
20574
20575
|
apiKey: settings.apiKey,
|
|
20575
|
-
agentId,
|
|
20576
|
+
agentId: settings.agentId,
|
|
20576
20577
|
proxy: settings.proxy,
|
|
20577
20578
|
useDnsCache: settings.useDnsCache
|
|
20578
20579
|
},
|
|
20579
20580
|
ufgServer: {
|
|
20580
20581
|
ufgServerUrl,
|
|
20581
20582
|
accessToken,
|
|
20582
|
-
agentId,
|
|
20583
|
+
agentId: settings.agentId,
|
|
20583
20584
|
proxy: settings.proxy,
|
|
20584
20585
|
useDnsCache: settings.useDnsCache
|
|
20585
20586
|
},
|
|
@@ -20593,8 +20594,7 @@ var require_requests = __commonJS({
|
|
|
20593
20594
|
}
|
|
20594
20595
|
async function getBatchBranches({ settings, logger = mainLogger }) {
|
|
20595
20596
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20596
|
-
const
|
|
20597
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20597
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20598
20598
|
logger.log('Request "getBatchBranches" called with settings', settings);
|
|
20599
20599
|
const response = await req2(`/api/sessions/batches/${settings.batchId}/config/bypointerId`, {
|
|
20600
20600
|
name: "getBatchBranches",
|
|
@@ -20609,8 +20609,7 @@ var require_requests = __commonJS({
|
|
|
20609
20609
|
}
|
|
20610
20610
|
async function closeBatch2({ settings, logger = mainLogger }) {
|
|
20611
20611
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20612
|
-
const
|
|
20613
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20612
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20614
20613
|
logger.log('Request "closeBatch" called with settings', settings);
|
|
20615
20614
|
await req2(`/api/sessions/batches/${settings.batchId}/close/bypointerId`, {
|
|
20616
20615
|
name: "closeBatch",
|
|
@@ -20622,8 +20621,7 @@ var require_requests = __commonJS({
|
|
|
20622
20621
|
}
|
|
20623
20622
|
async function deleteTest({ settings, logger = mainLogger }) {
|
|
20624
20623
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20625
|
-
const
|
|
20626
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings, agentId }, fetch: fetch2, logger });
|
|
20624
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings, fetch: fetch2, logger });
|
|
20627
20625
|
logger.log('Request "deleteTest" called with settings', settings);
|
|
20628
20626
|
await req2(`/api/sessions/batches/${settings.batchId}/${settings.testId}`, {
|
|
20629
20627
|
name: "deleteTest",
|
|
@@ -20639,8 +20637,7 @@ var require_requests = __commonJS({
|
|
|
20639
20637
|
async function logEvent({ settings, logger = mainLogger }) {
|
|
20640
20638
|
logger = logger.extend(mainLogger, { tags: [`core-request-${utils34.general.shortid()}`] });
|
|
20641
20639
|
settings = utils34.types.isArray(settings) ? settings : [settings];
|
|
20642
|
-
const
|
|
20643
|
-
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: { ...settings[0], agentId }, fetch: fetch2, logger });
|
|
20640
|
+
const req2 = (0, req_eyes_1.makeReqEyes)({ settings: settings[0], fetch: fetch2, logger });
|
|
20644
20641
|
logger.log('Request "logEvent" called with settings', settings);
|
|
20645
20642
|
await req2(`/api/sessions/log`, {
|
|
20646
20643
|
name: "logEvent",
|
|
@@ -20661,7 +20658,6 @@ var require_requests = __commonJS({
|
|
|
20661
20658
|
logger.log('Request "logEvent" finished successfully');
|
|
20662
20659
|
}
|
|
20663
20660
|
}
|
|
20664
|
-
exports.makeCoreRequests = makeCoreRequests;
|
|
20665
20661
|
function makeEyesRequests({ core, test, req: req2, upload, logger: mainLogger }) {
|
|
20666
20662
|
let resultResponsePromise;
|
|
20667
20663
|
let supportsCheckAndClose = true;
|
|
@@ -20834,7 +20830,6 @@ var require_requests = __commonJS({
|
|
|
20834
20830
|
}
|
|
20835
20831
|
}
|
|
20836
20832
|
}
|
|
20837
|
-
exports.makeEyesRequests = makeEyesRequests;
|
|
20838
20833
|
function makeFunctionalSessionRequests({ core, test, req: req2, logger: mainLogger }) {
|
|
20839
20834
|
let resultResponsePromise;
|
|
20840
20835
|
const functionalSession = {
|
|
@@ -20931,7 +20926,6 @@ var require_requests = __commonJS({
|
|
|
20931
20926
|
}
|
|
20932
20927
|
}
|
|
20933
20928
|
}
|
|
20934
|
-
exports.makeFunctionalSessionRequests = makeFunctionalSessionRequests;
|
|
20935
20929
|
function transformCheckOptions({ target, settings }) {
|
|
20936
20930
|
var _a, _b;
|
|
20937
20931
|
return {
|
|
@@ -27798,12 +27792,11 @@ var require_open_eyes = __commonJS({
|
|
|
27798
27792
|
var get_results_1 = require_get_results();
|
|
27799
27793
|
var throat_1 = __importDefault(require_throat());
|
|
27800
27794
|
var utils34 = __importStar(require_browser3());
|
|
27801
|
-
function makeOpenEyes({ requests, concurrency, cwd = process.cwd(), logger: mainLogger }) {
|
|
27795
|
+
function makeOpenEyes({ requests, agentId: defaultAgentId, concurrency, cwd = process.cwd(), logger: mainLogger }) {
|
|
27802
27796
|
const throttle = concurrency ? (0, throat_1.default)(concurrency) : (fn) => fn();
|
|
27803
27797
|
return async function openEyes({ settings, logger = mainLogger }) {
|
|
27804
27798
|
var _a;
|
|
27805
27799
|
logger = logger.extend(mainLogger, { tags: [`eyes-base-${utils34.general.shortid()}`] });
|
|
27806
|
-
logger.log('Command "openEyes" is called with settings', settings);
|
|
27807
27800
|
if (!settings.ignoreGitBranching && !settings.gitBranchingTimestamp) {
|
|
27808
27801
|
let branchName = settings.branchName;
|
|
27809
27802
|
let parentBranchName = settings.parentBranchName;
|
|
@@ -27823,6 +27816,8 @@ var require_open_eyes = __commonJS({
|
|
|
27823
27816
|
} else {
|
|
27824
27817
|
settings.gitBranchingTimestamp = void 0;
|
|
27825
27818
|
}
|
|
27819
|
+
settings.agentId = `${defaultAgentId} ${settings.agentId ? `[${settings.agentId}]` : ""}`.trim();
|
|
27820
|
+
logger.log('Command "openEyes" is called with settings', settings);
|
|
27826
27821
|
return new Promise((resolve, reject) => {
|
|
27827
27822
|
throttle(() => {
|
|
27828
27823
|
return new Promise(async (done) => {
|
|
@@ -27899,10 +27894,11 @@ var require_open_functional_session = __commonJS({
|
|
|
27899
27894
|
var get_results_1 = require_get_results();
|
|
27900
27895
|
var throat_1 = __importDefault(require_throat());
|
|
27901
27896
|
var utils34 = __importStar(require_browser3());
|
|
27902
|
-
function makeOpenFunctionalSession({ requests, concurrency, logger: mainLogger }) {
|
|
27897
|
+
function makeOpenFunctionalSession({ requests, agentId: defaultAgentId, concurrency, logger: mainLogger }) {
|
|
27903
27898
|
const throttle = concurrency ? (0, throat_1.default)(concurrency) : (fn) => fn();
|
|
27904
27899
|
return async function openFunctionalSession({ settings, logger = mainLogger }) {
|
|
27905
27900
|
logger = logger.extend(mainLogger, { tags: [`functional-session-base-${utils34.general.shortid()}`] });
|
|
27901
|
+
settings.agentId = `${defaultAgentId} ${settings.agentId ? `[${settings.agentId}]` : ""}`.trim();
|
|
27906
27902
|
logger.log('Command "openFunctionalSession" is called with settings', settings);
|
|
27907
27903
|
return new Promise((resolve, reject) => {
|
|
27908
27904
|
throttle(() => {
|
|
@@ -27971,7 +27967,7 @@ var require_locate = __commonJS({
|
|
|
27971
27967
|
exports.makeLocate = void 0;
|
|
27972
27968
|
var transform_target_1 = require_transform_target();
|
|
27973
27969
|
var utils34 = __importStar(require_browser3());
|
|
27974
|
-
function makeLocate({ requests, logger: mainLogger }) {
|
|
27970
|
+
function makeLocate({ requests, agentId: defaultAgentId, logger: mainLogger }) {
|
|
27975
27971
|
return async function locate({ target, settings, logger = mainLogger }) {
|
|
27976
27972
|
var _a, _b, _c, _d, _e;
|
|
27977
27973
|
logger = logger.extend(mainLogger, { tags: [`locate-base-${utils34.general.shortid()}`] });
|
|
@@ -27981,6 +27977,7 @@ var require_locate = __commonJS({
|
|
|
27981
27977
|
maxImageHeight: Math.min((_c = (_b = settings.normalization.limit) === null || _b === void 0 ? void 0 : _b.maxImageHeight) !== null && _c !== void 0 ? _c : Infinity, account.maxImageHeight),
|
|
27982
27978
|
maxImageArea: Math.min((_e = (_d = settings.normalization.limit) === null || _d === void 0 ? void 0 : _d.maxImageArea) !== null && _e !== void 0 ? _e : Infinity, account.maxImageArea)
|
|
27983
27979
|
};
|
|
27980
|
+
settings.agentId = `${defaultAgentId} ${settings.agentId ? `[${settings.agentId}]` : ""}`.trim();
|
|
27984
27981
|
logger.log('Command "locate" is called with settings', settings);
|
|
27985
27982
|
target = await (0, transform_target_1.transformTarget)({ target, settings });
|
|
27986
27983
|
const results = await requests.locate({ target, settings, logger });
|
|
@@ -28034,7 +28031,7 @@ var require_locate_text = __commonJS({
|
|
|
28034
28031
|
exports.makeLocateText = void 0;
|
|
28035
28032
|
var transform_target_1 = require_transform_target();
|
|
28036
28033
|
var utils34 = __importStar(require_browser3());
|
|
28037
|
-
function makeLocateText({ requests, logger: mainLogger }) {
|
|
28034
|
+
function makeLocateText({ requests, agentId: defaultAgentId, logger: mainLogger }) {
|
|
28038
28035
|
return async function locateText({ target, settings, logger = mainLogger }) {
|
|
28039
28036
|
var _a, _b, _c, _d, _e;
|
|
28040
28037
|
logger = logger.extend(mainLogger, { tags: [`locate-text-base-${utils34.general.shortid()}`] });
|
|
@@ -28044,6 +28041,7 @@ var require_locate_text = __commonJS({
|
|
|
28044
28041
|
maxImageHeight: Math.min((_c = (_b = settings.normalization.limit) === null || _b === void 0 ? void 0 : _b.maxImageHeight) !== null && _c !== void 0 ? _c : Infinity, account.maxImageHeight),
|
|
28045
28042
|
maxImageArea: Math.min((_e = (_d = settings.normalization.limit) === null || _d === void 0 ? void 0 : _d.maxImageArea) !== null && _e !== void 0 ? _e : Infinity, account.maxImageArea)
|
|
28046
28043
|
};
|
|
28044
|
+
settings.agentId = `${defaultAgentId} ${settings.agentId ? `[${settings.agentId}]` : ""}`.trim();
|
|
28047
28045
|
logger.log('Command "locateText" is called with settings', settings);
|
|
28048
28046
|
target = await (0, transform_target_1.transformTarget)({ target, settings });
|
|
28049
28047
|
const results = await requests.locateText({ target, settings, logger });
|
|
@@ -28097,12 +28095,10 @@ var require_extract_text = __commonJS({
|
|
|
28097
28095
|
exports.makeExtractText = void 0;
|
|
28098
28096
|
var transform_target_1 = require_transform_target();
|
|
28099
28097
|
var utils34 = __importStar(require_browser3());
|
|
28100
|
-
function makeExtractText({ requests, logger: mainLogger }) {
|
|
28098
|
+
function makeExtractText({ requests, agentId: defaultAgentId, logger: mainLogger }) {
|
|
28101
28099
|
return async function extractText({ target, settings, logger = mainLogger }) {
|
|
28102
28100
|
logger = logger.extend(mainLogger, { tags: [`extract-text-base-${utils34.general.shortid()}`] });
|
|
28103
|
-
|
|
28104
|
-
settings = utils34.types.isArray(settings) ? settings : [settings];
|
|
28105
|
-
const results = await Promise.all(settings.map(async (settings2) => {
|
|
28101
|
+
settings = await Promise.all((utils34.types.isArray(settings) ? settings : [settings]).map(async (settings2) => {
|
|
28106
28102
|
var _a, _b, _c, _d, _e;
|
|
28107
28103
|
const account = await requests.getAccountInfo({ settings: settings2, logger });
|
|
28108
28104
|
(_a = settings2.normalization) !== null && _a !== void 0 ? _a : settings2.normalization = {};
|
|
@@ -28110,6 +28106,11 @@ var require_extract_text = __commonJS({
|
|
|
28110
28106
|
maxImageHeight: Math.min((_c = (_b = settings2.normalization.limit) === null || _b === void 0 ? void 0 : _b.maxImageHeight) !== null && _c !== void 0 ? _c : Infinity, account.maxImageHeight),
|
|
28111
28107
|
maxImageArea: Math.min((_e = (_d = settings2.normalization.limit) === null || _d === void 0 ? void 0 : _d.maxImageArea) !== null && _e !== void 0 ? _e : Infinity, account.maxImageArea)
|
|
28112
28108
|
};
|
|
28109
|
+
settings2.agentId = `${defaultAgentId} ${settings2.agentId ? `[${settings2.agentId}]` : ""}`.trim();
|
|
28110
|
+
return settings2;
|
|
28111
|
+
}));
|
|
28112
|
+
logger.log('Command "extractText" is called with settings', settings);
|
|
28113
|
+
const results = await Promise.all(settings.map(async (settings2) => {
|
|
28113
28114
|
target = await (0, transform_target_1.transformTarget)({ target, settings: settings2 });
|
|
28114
28115
|
return requests.extractText({ target, settings: settings2, logger });
|
|
28115
28116
|
}));
|
|
@@ -28162,11 +28163,14 @@ var require_close_batch = __commonJS({
|
|
|
28162
28163
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28163
28164
|
exports.makeCloseBatch = void 0;
|
|
28164
28165
|
var utils34 = __importStar(require_browser3());
|
|
28165
|
-
function makeCloseBatch({ requests, logger: mainLogger }) {
|
|
28166
|
+
function makeCloseBatch({ requests, agentId: defaultAgentId, logger: mainLogger }) {
|
|
28166
28167
|
return async function closeBatch2({ settings, logger = mainLogger }) {
|
|
28167
28168
|
logger = logger.extend(mainLogger, { tags: [`close-batch-base-${utils34.general.shortid()}`] });
|
|
28169
|
+
settings = (utils34.types.isArray(settings) ? settings : [settings]).map((settings2) => {
|
|
28170
|
+
settings2.agentId = `${defaultAgentId} ${settings2.agentId ? `[${settings2.agentId}]` : ""}`.trim();
|
|
28171
|
+
return settings2;
|
|
28172
|
+
});
|
|
28168
28173
|
logger.log('Command "closeBatch" is called with settings', settings);
|
|
28169
|
-
settings = utils34.types.isArray(settings) ? settings : [settings];
|
|
28170
28174
|
const results = await Promise.allSettled(settings.map((settings2) => settings2.batchId ? requests.closeBatch({ settings: settings2, logger }) : null));
|
|
28171
28175
|
const error = results.find(({ status }) => status === "rejected");
|
|
28172
28176
|
if (error)
|
|
@@ -28219,11 +28223,14 @@ var require_delete_test = __commonJS({
|
|
|
28219
28223
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28220
28224
|
exports.makeDeleteTest = void 0;
|
|
28221
28225
|
var utils34 = __importStar(require_browser3());
|
|
28222
|
-
function makeDeleteTest({ requests, logger: mainLogger }) {
|
|
28226
|
+
function makeDeleteTest({ requests, agentId: defaultAgentId, logger: mainLogger }) {
|
|
28223
28227
|
return async function deleteTest({ settings, logger = mainLogger }) {
|
|
28224
28228
|
logger = logger.extend(mainLogger, { tags: [`delete-test-base-${utils34.general.shortid()}`] });
|
|
28229
|
+
settings = (utils34.types.isArray(settings) ? settings : [settings]).map((settings2) => {
|
|
28230
|
+
settings2.agentId = `${defaultAgentId} ${settings2.agentId ? `[${settings2.agentId}]` : ""}`.trim();
|
|
28231
|
+
return settings2;
|
|
28232
|
+
});
|
|
28225
28233
|
logger.log('Command "deleteTest" is called with settings', settings);
|
|
28226
|
-
settings = utils34.types.isArray(settings) ? settings : [settings];
|
|
28227
28234
|
const results = await Promise.allSettled(settings.map((settings2) => requests.deleteTest({ settings: settings2, logger })));
|
|
28228
28235
|
const error = results.find(({ status }) => status === "rejected");
|
|
28229
28236
|
if (error)
|
|
@@ -28234,6 +28241,66 @@ var require_delete_test = __commonJS({
|
|
|
28234
28241
|
}
|
|
28235
28242
|
});
|
|
28236
28243
|
|
|
28244
|
+
// ../core-base/dist/get-account-info.js
|
|
28245
|
+
var require_get_account_info = __commonJS({
|
|
28246
|
+
"../core-base/dist/get-account-info.js"(exports) {
|
|
28247
|
+
"use strict";
|
|
28248
|
+
init_process();
|
|
28249
|
+
init_setImmediate();
|
|
28250
|
+
init_buffer();
|
|
28251
|
+
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
28252
|
+
if (k2 === void 0)
|
|
28253
|
+
k2 = k;
|
|
28254
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
28255
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
28256
|
+
desc = { enumerable: true, get: function() {
|
|
28257
|
+
return m[k];
|
|
28258
|
+
} };
|
|
28259
|
+
}
|
|
28260
|
+
Object.defineProperty(o, k2, desc);
|
|
28261
|
+
} : function(o, m, k, k2) {
|
|
28262
|
+
if (k2 === void 0)
|
|
28263
|
+
k2 = k;
|
|
28264
|
+
o[k2] = m[k];
|
|
28265
|
+
});
|
|
28266
|
+
var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? function(o, v) {
|
|
28267
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
28268
|
+
} : function(o, v) {
|
|
28269
|
+
o["default"] = v;
|
|
28270
|
+
});
|
|
28271
|
+
var __importStar = exports && exports.__importStar || function(mod) {
|
|
28272
|
+
if (mod && mod.__esModule)
|
|
28273
|
+
return mod;
|
|
28274
|
+
var result = {};
|
|
28275
|
+
if (mod != null) {
|
|
28276
|
+
for (var k in mod)
|
|
28277
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
28278
|
+
__createBinding(result, mod, k);
|
|
28279
|
+
}
|
|
28280
|
+
__setModuleDefault(result, mod);
|
|
28281
|
+
return result;
|
|
28282
|
+
};
|
|
28283
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28284
|
+
exports.makeGetAccountInfo = void 0;
|
|
28285
|
+
var utils34 = __importStar(require_browser3());
|
|
28286
|
+
function makeGetAccountInfo({ requests, agentId: defaultAgentId, logger: mainLogger }) {
|
|
28287
|
+
return async function getAccountInfo({ settings, logger = mainLogger }) {
|
|
28288
|
+
logger = logger.extend(mainLogger, { tags: [`get-account-base-${utils34.general.shortid()}`] });
|
|
28289
|
+
settings = { ...settings };
|
|
28290
|
+
settings.agentId = `${defaultAgentId} ${settings.agentId ? `[${settings.agentId}]` : ""}`.trim();
|
|
28291
|
+
logger.log('Command "getAccountInfo" is called with settings', settings);
|
|
28292
|
+
const account = await requests.getAccountInfo({ settings, logger });
|
|
28293
|
+
return {
|
|
28294
|
+
...account,
|
|
28295
|
+
eyesServer: { ...account.eyesServer, agentId: settings.agentId },
|
|
28296
|
+
ufgServer: { ...account.ufgServer, agentId: settings.agentId }
|
|
28297
|
+
};
|
|
28298
|
+
};
|
|
28299
|
+
}
|
|
28300
|
+
exports.makeGetAccountInfo = makeGetAccountInfo;
|
|
28301
|
+
}
|
|
28302
|
+
});
|
|
28303
|
+
|
|
28237
28304
|
// ../core-base/dist/core.js
|
|
28238
28305
|
var require_core = __commonJS({
|
|
28239
28306
|
"../core-base/dist/core.js"(exports) {
|
|
@@ -28252,20 +28319,24 @@ var require_core = __commonJS({
|
|
|
28252
28319
|
var extract_text_1 = require_extract_text();
|
|
28253
28320
|
var close_batch_1 = require_close_batch();
|
|
28254
28321
|
var delete_test_1 = require_delete_test();
|
|
28322
|
+
var get_account_info_1 = require_get_account_info();
|
|
28255
28323
|
function makeCore({ agentId = "core-base", concurrency, cwd = process.cwd(), logger: defaultLogger }) {
|
|
28256
28324
|
const logger = (0, logger_1.makeLogger)({ logger: defaultLogger, format: { label: "core-base" } });
|
|
28257
28325
|
logger.log(`Core is initialized in directory ${cwd} for agent ${agentId}`);
|
|
28258
|
-
const
|
|
28326
|
+
const requests = (0, requests_1.makeCoreRequestsWithCache)({ logger });
|
|
28259
28327
|
return {
|
|
28260
|
-
|
|
28261
|
-
|
|
28262
|
-
|
|
28263
|
-
|
|
28264
|
-
|
|
28265
|
-
|
|
28266
|
-
|
|
28267
|
-
|
|
28268
|
-
|
|
28328
|
+
get concurrency() {
|
|
28329
|
+
return concurrency;
|
|
28330
|
+
},
|
|
28331
|
+
openEyes: (0, open_eyes_1.makeOpenEyes)({ requests, agentId, concurrency, cwd, logger }),
|
|
28332
|
+
openFunctionalSession: (0, open_functional_session_1.makeOpenFunctionalSession)({ requests, agentId, concurrency, cwd, logger }),
|
|
28333
|
+
locate: (0, locate_1.makeLocate)({ requests, agentId, logger }),
|
|
28334
|
+
locateText: (0, locate_text_1.makeLocateText)({ requests, agentId, logger }),
|
|
28335
|
+
extractText: (0, extract_text_1.makeExtractText)({ requests, agentId, logger }),
|
|
28336
|
+
closeBatch: (0, close_batch_1.makeCloseBatch)({ requests, agentId, logger }),
|
|
28337
|
+
deleteTest: (0, delete_test_1.makeDeleteTest)({ requests, agentId, logger }),
|
|
28338
|
+
getAccountInfo: (0, get_account_info_1.makeGetAccountInfo)({ requests, agentId, logger }),
|
|
28339
|
+
logEvent: requests.logEvent
|
|
28269
28340
|
};
|
|
28270
28341
|
}
|
|
28271
28342
|
exports.makeCore = makeCore;
|
|
@@ -29537,12 +29608,14 @@ var require_element = __commonJS({
|
|
|
29537
29608
|
if (!contentRegion || !environment.isAndroid) {
|
|
29538
29609
|
let attrContentRegion = null;
|
|
29539
29610
|
try {
|
|
29540
|
-
const
|
|
29611
|
+
const { left, top, width, height, scrollableOffset } = JSON.parse(await this.getAttribute("contentSize"));
|
|
29612
|
+
if ([left, top, width, height, scrollableOffset].some((value) => !utils34.types.isNumber(value)))
|
|
29613
|
+
throw new Error("Invalid contentSize");
|
|
29541
29614
|
attrContentRegion = {
|
|
29542
|
-
x:
|
|
29543
|
-
y:
|
|
29544
|
-
width
|
|
29545
|
-
height: environment.isIOS ? Math.max(
|
|
29615
|
+
x: left,
|
|
29616
|
+
y: top,
|
|
29617
|
+
width,
|
|
29618
|
+
height: environment.isIOS ? Math.max(height, scrollableOffset) : height + scrollableOffset
|
|
29546
29619
|
};
|
|
29547
29620
|
} catch (err) {
|
|
29548
29621
|
this.logger.warn(`Unable to get the attribute 'contentSize' due to the following error: '${err.message}'`);
|
|
@@ -29702,14 +29775,13 @@ var require_element = __commonJS({
|
|
|
29702
29775
|
return text;
|
|
29703
29776
|
}
|
|
29704
29777
|
async getAttribute(name) {
|
|
29705
|
-
|
|
29706
|
-
if ((_a = this._state.attributes) === null || _a === void 0 ? void 0 : _a[name]) {
|
|
29778
|
+
if (utils34.types.has(this._state.attributes, name)) {
|
|
29707
29779
|
if (this._state.attributes[name] instanceof Error)
|
|
29708
29780
|
throw this._state.attributes[name];
|
|
29709
29781
|
return this._state.attributes[name];
|
|
29710
29782
|
}
|
|
29711
29783
|
const value = await this.withRefresh(async () => {
|
|
29712
|
-
var
|
|
29784
|
+
var _a;
|
|
29713
29785
|
var _b;
|
|
29714
29786
|
const environment = await this.driver.getEnvironment();
|
|
29715
29787
|
if (environment.isWeb) {
|
|
@@ -29717,7 +29789,7 @@ var require_element = __commonJS({
|
|
|
29717
29789
|
return properties[name];
|
|
29718
29790
|
} else {
|
|
29719
29791
|
this.logger.log(`Extracting "${name}" attribute of native element with selector`, this.selector);
|
|
29720
|
-
(
|
|
29792
|
+
(_a = (_b = this._state).attributes) !== null && _a !== void 0 ? _a : _b.attributes = {};
|
|
29721
29793
|
try {
|
|
29722
29794
|
this._state.attributes[name] = await this._spec.getElementAttribute(this.driver.target, this.target, name);
|
|
29723
29795
|
return this._state.attributes[name];
|
|
@@ -30624,7 +30696,12 @@ var require_helper_ios = __commonJS({
|
|
|
30624
30696
|
}
|
|
30625
30697
|
async getContentRegion(element) {
|
|
30626
30698
|
var _a, _b;
|
|
30627
|
-
await this._element.
|
|
30699
|
+
const { x, y } = await this._spec.getElementRegion(this._driver.target, this._element.target);
|
|
30700
|
+
await this._spec.performAction(this._driver.target, [
|
|
30701
|
+
{ action: "press", x, y },
|
|
30702
|
+
{ action: "wait", ms: 300 },
|
|
30703
|
+
{ action: "release" }
|
|
30704
|
+
]);
|
|
30628
30705
|
const sizeLabel = await this._driver.element({ type: "name", selector: "applitools_content_size_label" });
|
|
30629
30706
|
const sizeString = await (sizeLabel === null || sizeLabel === void 0 ? void 0 : sizeLabel.getText());
|
|
30630
30707
|
if (!sizeString)
|
|
@@ -30636,8 +30713,8 @@ var require_helper_ios = __commonJS({
|
|
|
30636
30713
|
const paddingLabel = await this._driver.element({ type: "name", selector: "applitools_content_offset_label" });
|
|
30637
30714
|
const paddingString = await (paddingLabel === null || paddingLabel === void 0 ? void 0 : paddingLabel.getText());
|
|
30638
30715
|
if (paddingString) {
|
|
30639
|
-
const [,
|
|
30640
|
-
const contentOffset = { x: Number(
|
|
30716
|
+
const [, x2, y2] = paddingString.match(/\{(-?\d+(?:\.\d+)?),\s?(-?\d+(?:\.\d+)?)\}/);
|
|
30717
|
+
const contentOffset = { x: Number(x2), y: Number(y2) };
|
|
30641
30718
|
if (!Number.isNaN(contentOffset.x))
|
|
30642
30719
|
contentSize.width -= contentOffset.x;
|
|
30643
30720
|
if (!Number.isNaN(contentOffset.y))
|
|
@@ -31887,8 +31964,8 @@ var require_driver = __commonJS({
|
|
|
31887
31964
|
return this._environment;
|
|
31888
31965
|
}
|
|
31889
31966
|
async getViewport() {
|
|
31890
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
31891
|
-
var
|
|
31967
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
31968
|
+
var _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15;
|
|
31892
31969
|
if (!this._viewport) {
|
|
31893
31970
|
const environment = await this.getEnvironment();
|
|
31894
31971
|
const driverInfo = await this.getDriverInfo();
|
|
@@ -31905,13 +31982,13 @@ var require_driver = __commonJS({
|
|
|
31905
31982
|
const capabilitiesViewport = capabilities ? (0, capabilities_1.extractCapabilitiesViewport)(capabilities) : null;
|
|
31906
31983
|
this._logger.log("Extracted capabilities viewport", capabilitiesViewport);
|
|
31907
31984
|
this._viewport = { ...capabilitiesViewport, ...this._viewport };
|
|
31908
|
-
(_a = (_y = this._viewport).pixelRatio) !== null && _a !== void 0 ? _a : _y.pixelRatio = 1;
|
|
31909
31985
|
let windowSize = await this._spec.getWindowSize(this.target);
|
|
31910
|
-
(
|
|
31911
|
-
if (((
|
|
31986
|
+
(_a = (_1 = this._viewport).displaySize) !== null && _a !== void 0 ? _a : _1.displaySize = windowSize;
|
|
31987
|
+
if (((_b = this._viewport.orientation) === null || _b === void 0 ? void 0 : _b.startsWith("landscape")) && this._viewport.displaySize.height > this._viewport.displaySize.width) {
|
|
31912
31988
|
this._viewport.displaySize = utils34.geometry.rotate(this._viewport.displaySize, 90);
|
|
31913
31989
|
}
|
|
31914
31990
|
if (environment.isAndroid) {
|
|
31991
|
+
(_c = (_2 = this._viewport).pixelRatio) !== null && _c !== void 0 ? _c : _2.pixelRatio = 1;
|
|
31915
31992
|
const { statusBar, navigationBar } = (_f = await ((_e = (_d = this._spec).getSystemBars) === null || _e === void 0 ? void 0 : _e.call(_d, this.target).catch(() => void 0))) !== null && _f !== void 0 ? _f : {};
|
|
31916
31993
|
if (statusBar === null || statusBar === void 0 ? void 0 : statusBar.visible) {
|
|
31917
31994
|
this._logger.log("Driver status bar", statusBar);
|
|
@@ -31931,25 +32008,31 @@ var require_driver = __commonJS({
|
|
|
31931
32008
|
this._viewport.navigationBarSize = 0;
|
|
31932
32009
|
}
|
|
31933
32010
|
}
|
|
31934
|
-
(
|
|
31935
|
-
(
|
|
32011
|
+
(_3 = this._viewport).statusBarSize && (_3.statusBarSize = this._viewport.statusBarSize / this._viewport.pixelRatio);
|
|
32012
|
+
(_4 = this._viewport).navigationBarSize && (_4.navigationBarSize = this._viewport.navigationBarSize / this._viewport.pixelRatio);
|
|
31936
32013
|
windowSize = utils34.geometry.scale(windowSize, 1 / this._viewport.pixelRatio);
|
|
31937
|
-
(
|
|
31938
|
-
(_l = (
|
|
32014
|
+
(_5 = this._viewport).displaySize && (_5.displaySize = utils34.geometry.scale(this._viewport.displaySize, 1 / this._viewport.pixelRatio));
|
|
32015
|
+
(_l = (_6 = this._viewport).navigationBarSize) !== null && _l !== void 0 ? _l : _6.navigationBarSize = 0;
|
|
31939
32016
|
} else if (environment.isIOS) {
|
|
31940
|
-
if (
|
|
32017
|
+
if (!this._viewport.pixelRatio || !this._viewport.statusBarSize) {
|
|
32018
|
+
const screen = await this.execute("mobile:deviceScreenInfo");
|
|
32019
|
+
this._viewport.pixelRatio = (_m = screen.scale) !== null && _m !== void 0 ? _m : 0;
|
|
32020
|
+
this._viewport.statusBarSize = (_o = screen.statusBarSize) === null || _o === void 0 ? void 0 : _o.height;
|
|
32021
|
+
}
|
|
32022
|
+
if ((_p = this._viewport.orientation) === null || _p === void 0 ? void 0 : _p.startsWith("landscape"))
|
|
31941
32023
|
this._viewport.statusBarSize = 0;
|
|
31942
32024
|
}
|
|
31943
|
-
(
|
|
31944
|
-
(
|
|
31945
|
-
|
|
32025
|
+
(_q = (_7 = this._viewport).pixelRatio) !== null && _q !== void 0 ? _q : _7.pixelRatio = 1;
|
|
32026
|
+
(_r = (_8 = this._viewport).statusBarSize) !== null && _r !== void 0 ? _r : _8.statusBarSize = 0;
|
|
32027
|
+
(_s = (_9 = this._viewport).viewportLocation) !== null && _s !== void 0 ? _s : _9.viewportLocation = {
|
|
32028
|
+
x: this._viewport.orientation === "landscape" ? (_t = this._viewport.navigationBarSize) !== null && _t !== void 0 ? _t : 0 : 0,
|
|
31946
32029
|
y: this._viewport.statusBarSize
|
|
31947
32030
|
};
|
|
31948
32031
|
if (!this._viewport.viewportSize) {
|
|
31949
32032
|
this._viewport.viewportSize = { ...this._viewport.displaySize };
|
|
31950
32033
|
this._viewport.viewportSize.height -= this._viewport.statusBarSize;
|
|
31951
32034
|
if (environment.isAndroid) {
|
|
31952
|
-
this._viewport.viewportSize[((
|
|
32035
|
+
this._viewport.viewportSize[((_u = this._viewport.orientation) === null || _u === void 0 ? void 0 : _u.startsWith("landscape")) ? "width" : "height"] -= this._viewport.navigationBarSize;
|
|
31953
32036
|
}
|
|
31954
32037
|
}
|
|
31955
32038
|
if (!environment.isWeb && environment.isIOS && !this._viewport.safeArea) {
|
|
@@ -31977,13 +32060,13 @@ var require_driver = __commonJS({
|
|
|
31977
32060
|
}
|
|
31978
32061
|
if (environment.isWeb) {
|
|
31979
32062
|
const browserViewport = await this.execute(snippets.getViewport);
|
|
31980
|
-
(
|
|
31981
|
-
(
|
|
31982
|
-
(
|
|
31983
|
-
(
|
|
32063
|
+
(_v = (_10 = this._viewport).viewportSize) !== null && _v !== void 0 ? _v : _10.viewportSize = browserViewport.viewportSize;
|
|
32064
|
+
(_w = (_11 = this._viewport).pixelRatio) !== null && _w !== void 0 ? _w : _11.pixelRatio = browserViewport.pixelRatio;
|
|
32065
|
+
(_x = (_12 = this._viewport).viewportScale) !== null && _x !== void 0 ? _x : _12.viewportScale = browserViewport.viewportScale;
|
|
32066
|
+
(_y = (_13 = this._viewport).orientation) !== null && _y !== void 0 ? _y : _13.orientation = browserViewport.orientation;
|
|
31984
32067
|
}
|
|
31985
|
-
(
|
|
31986
|
-
(
|
|
32068
|
+
(_z = (_14 = this._viewport).pixelRatio) !== null && _z !== void 0 ? _z : _14.pixelRatio = 1;
|
|
32069
|
+
(_0 = (_15 = this._viewport).viewportScale) !== null && _0 !== void 0 ? _0 : _15.viewportScale = 1;
|
|
31987
32070
|
this._logger.log("Extracted viewport", this._viewport);
|
|
31988
32071
|
}
|
|
31989
32072
|
return this._viewport;
|
|
@@ -32008,7 +32091,7 @@ var require_driver = __commonJS({
|
|
|
32008
32091
|
async getDriverUrl() {
|
|
32009
32092
|
var _a;
|
|
32010
32093
|
const driverInfo = await this.getDriverInfo();
|
|
32011
|
-
return (_a = driverInfo.
|
|
32094
|
+
return (_a = driverInfo.driverServerUrl) !== null && _a !== void 0 ? _a : null;
|
|
32012
32095
|
}
|
|
32013
32096
|
async getHelper() {
|
|
32014
32097
|
var _a, _b, _c;
|
|
@@ -32529,7 +32612,7 @@ var require_set_viewport_size = __commonJS({
|
|
|
32529
32612
|
});
|
|
32530
32613
|
|
|
32531
32614
|
// ../core/dist/get-account-info.js
|
|
32532
|
-
var
|
|
32615
|
+
var require_get_account_info2 = __commonJS({
|
|
32533
32616
|
"../core/dist/get-account-info.js"(exports) {
|
|
32534
32617
|
"use strict";
|
|
32535
32618
|
init_process();
|
|
@@ -32754,6 +32837,7 @@ var require_requests2 = __commonJS({
|
|
|
32754
32837
|
function makeNMLRequests({ settings, logger: mainLogger }) {
|
|
32755
32838
|
let brokerUrl = settings.brokerUrl;
|
|
32756
32839
|
const req2 = (0, req_broker_1.makeReqBroker)({ settings, logger: mainLogger });
|
|
32840
|
+
const localEnvironmentId = utils34.general.guid();
|
|
32757
32841
|
const getSupportedEnvironmentsWithCache = utils34.general.cachify(getSupportedEnvironments, () => "default");
|
|
32758
32842
|
return {
|
|
32759
32843
|
getSupportedEnvironments: getSupportedEnvironmentsWithCache,
|
|
@@ -32772,7 +32856,7 @@ var require_requests2 = __commonJS({
|
|
|
32772
32856
|
const { localEnvironment, renderEnvironments, environmentSettings } = settings2.environments.reduce((result, environment) => {
|
|
32773
32857
|
var _a;
|
|
32774
32858
|
if (!utils34.types.has(environment, "iosDeviceInfo") && !utils34.types.has(environment, "androidDeviceInfo")) {
|
|
32775
|
-
result.localEnvironment = { ...environment, environmentId:
|
|
32859
|
+
result.localEnvironment = { ...environment, environmentId: localEnvironmentId };
|
|
32776
32860
|
} else {
|
|
32777
32861
|
const deviceInfo = utils34.types.has(environment, "iosDeviceInfo") ? environment.iosDeviceInfo : environment.androidDeviceInfo;
|
|
32778
32862
|
const orientation = deviceInfo.screenOrientation === "landscape" ? "landscapeLeft" : (_a = deviceInfo.screenOrientation) !== null && _a !== void 0 ? _a : "portrait";
|
|
@@ -34656,10 +34740,13 @@ var require_captureDomPollCjs = __commonJS({
|
|
|
34656
34740
|
if (t5) {
|
|
34657
34741
|
if (t5.value) {
|
|
34658
34742
|
if (e5) {
|
|
34659
|
-
if (!t5.chunks)
|
|
34660
|
-
|
|
34661
|
-
|
|
34662
|
-
|
|
34743
|
+
if (!t5.chunks)
|
|
34744
|
+
try {
|
|
34745
|
+
const n4 = JSON.stringify(t5.value);
|
|
34746
|
+
t5.chunks = o(n4, e5), t5.chunks.length > 0 && (t5.from = 0, t5.value = n4);
|
|
34747
|
+
} catch (t6) {
|
|
34748
|
+
return { status: c, error: t6.message };
|
|
34749
|
+
}
|
|
34663
34750
|
if (t5.from >= 0)
|
|
34664
34751
|
return { status: a, value: t5.value.substring(t5.from, t5.from = t5.chunks.shift()), done: !t5.from };
|
|
34665
34752
|
}
|
|
@@ -34939,7 +35026,7 @@ ${l2}`}`, { bundledCss: i2, unfetchedResources: u2 };
|
|
|
34939
35026
|
return i4 && (E3.shadowRoot = i4), E3;
|
|
34940
35027
|
}
|
|
34941
35028
|
}(e4);
|
|
34942
|
-
i2(c2.doCaptureDoc), u2(c2.waitForImages), await Promise.all(l2), i2(c2.waitForImages), T2.version = "1.3.0", T2.scriptVersion = "11.2.
|
|
35029
|
+
i2(c2.doCaptureDoc), u2(c2.waitForImages), await Promise.all(l2), i2(c2.waitForImages), T2.version = "1.3.0", T2.scriptVersion = "11.2.5";
|
|
34943
35030
|
const N2 = f2.length ? `${f2.join("\n")}
|
|
34944
35031
|
` : "", b2 = d2.size ? `${Array.from(d2).join("\n")}
|
|
34945
35032
|
` : "", S2 = JSON.stringify({ separator: p2, cssStartToken: h2, cssEndToken: h2, iframeStartToken: `"${m2}`, iframeEndToken: `${m2}"` });
|
|
@@ -35005,40 +35092,43 @@ var require_pollResultCjs = __commonJS({
|
|
|
35005
35092
|
return n3 >= 55296 && n3 < 56320 ? 1024 * (n3 - 55296) + (t5.charCodeAt(e4 + 1) - 56320) + 65536 : 56320 <= n3 && n3 <= 57343 ? -1 : n3;
|
|
35006
35093
|
}
|
|
35007
35094
|
var e3 = function(e4, n3) {
|
|
35008
|
-
const
|
|
35009
|
-
let
|
|
35095
|
+
const r2 = [];
|
|
35096
|
+
let o2 = 0;
|
|
35010
35097
|
for (let u2 = 0; u2 < e4.length; ++u2) {
|
|
35011
35098
|
const c2 = t4(e4, u2);
|
|
35012
35099
|
let a2 = 0;
|
|
35013
|
-
c2 > 0 && (a2 = c2 < 128 ? 1 : c2 < 2048 ? 2 : c2 < 65536 ? 3 : c2 < 2097152 ? 4 : c2 < 67108864 ? 5 : 6),
|
|
35100
|
+
c2 > 0 && (a2 = c2 < 128 ? 1 : c2 < 2048 ? 2 : c2 < 65536 ? 3 : c2 < 2097152 ? 4 : c2 < 67108864 ? 5 : 6), o2 + a2 > n3 ? (r2.push(u2), o2 = a2) : o2 += a2;
|
|
35014
35101
|
}
|
|
35015
|
-
return
|
|
35102
|
+
return r2;
|
|
35016
35103
|
};
|
|
35017
|
-
const n2 = e3,
|
|
35104
|
+
const n2 = e3, r = "WIP", o = "SUCCESS", u = "SUCCESS_CHUNKED", c = "ERROR";
|
|
35018
35105
|
var a = function(t5, e4, a2 = {}) {
|
|
35019
35106
|
const i2 = function(t6, { chunkByteLength: e5 = 0 } = {}) {
|
|
35020
35107
|
if (t6) {
|
|
35021
35108
|
if (t6.value) {
|
|
35022
35109
|
if (e5) {
|
|
35023
|
-
if (!t6.chunks)
|
|
35024
|
-
|
|
35025
|
-
|
|
35026
|
-
|
|
35110
|
+
if (!t6.chunks)
|
|
35111
|
+
try {
|
|
35112
|
+
const r2 = JSON.stringify(t6.value);
|
|
35113
|
+
t6.chunks = n2(r2, e5), t6.chunks.length > 0 && (t6.from = 0, t6.value = r2);
|
|
35114
|
+
} catch (t7) {
|
|
35115
|
+
return { status: c, error: t7.message };
|
|
35116
|
+
}
|
|
35027
35117
|
if (t6.from >= 0)
|
|
35028
35118
|
return { status: u, value: t6.value.substring(t6.from, t6.from = t6.chunks.shift()), done: !t6.from };
|
|
35029
35119
|
}
|
|
35030
|
-
return { status:
|
|
35120
|
+
return { status: o, value: t6.value };
|
|
35031
35121
|
}
|
|
35032
|
-
return t6.error ? { status: c, error: t6.error } : { status:
|
|
35122
|
+
return t6.error ? { status: c, error: t6.error } : { status: r };
|
|
35033
35123
|
}
|
|
35034
35124
|
return { status: c, error: "unexpected poll request received - cannot find state of current operation" };
|
|
35035
35125
|
}((t5 = t5 || {})[e4], a2);
|
|
35036
|
-
return (i2.status ===
|
|
35126
|
+
return (i2.status === o || i2.status === c || i2.status === u && i2.done) && (t5[e4] = null), i2;
|
|
35037
35127
|
};
|
|
35038
35128
|
const i = a;
|
|
35039
35129
|
var l = { chunkify: e3, pollify: function(t5, e4, n3) {
|
|
35040
|
-
return (
|
|
35041
|
-
return e4[n3] || (e4[n3] = {}, t5.apply(null, arguments).then((t6) => e4[n3].value = t6).catch((t6) => e4[n3].error = t6.message)), i(e4, n3,
|
|
35130
|
+
return (r2) => function() {
|
|
35131
|
+
return e4[n3] || (e4[n3] = {}, t5.apply(null, arguments).then((t6) => e4[n3].value = t6).catch((t6) => e4[n3].error = t6.message)), i(e4, n3, r2);
|
|
35042
35132
|
};
|
|
35043
35133
|
}, poll: a, absolutizeUrl: function(t5, e4) {
|
|
35044
35134
|
if (function(t6) {
|
|
@@ -35056,8 +35146,8 @@ var require_pollResultCjs = __commonJS({
|
|
|
35056
35146
|
n3 = true;
|
|
35057
35147
|
}
|
|
35058
35148
|
try {
|
|
35059
|
-
const
|
|
35060
|
-
return n3 ?
|
|
35149
|
+
const r2 = new URL(t5, e4).href;
|
|
35150
|
+
return n3 ? r2 : decodeURI(r2);
|
|
35061
35151
|
} catch (e5) {
|
|
35062
35152
|
return n3 ? t5 : decodeURI(t5);
|
|
35063
35153
|
}
|
|
@@ -35083,9 +35173,9 @@ var require_pollResultCjs = __commonJS({
|
|
|
35083
35173
|
try {
|
|
35084
35174
|
let n2 = document.head.querySelector("[data-applitools-sandbox]");
|
|
35085
35175
|
n2 || (n2 = document.createElement("iframe"), n2.setAttribute("data-applitools-sandbox", ""), n2.setAttribute("data-applitools-skip", ""), document.head.appendChild(n2));
|
|
35086
|
-
const
|
|
35087
|
-
|
|
35088
|
-
const u = n2.contentWindow[`ctor-${
|
|
35176
|
+
const r = window.crypto.getRandomValues(new Uint32Array(1))[0], o = n2.contentDocument.createElement("script");
|
|
35177
|
+
o.textContent = `window['ctor-${r}'] = ${t2.toString()};`, n2.contentDocument.head.appendChild(o);
|
|
35178
|
+
const u = n2.contentWindow[`ctor-${r}`];
|
|
35089
35179
|
if ("function" != typeof u)
|
|
35090
35180
|
throw new Error("Sandbox failed to extract function");
|
|
35091
35181
|
return e2 = false, u(document).apply(null, arguments);
|
|
@@ -36328,10 +36418,10 @@ var require_extract_default_environments = __commonJS({
|
|
|
36328
36418
|
exports.extractDefaultEnvironments = void 0;
|
|
36329
36419
|
var utils34 = __importStar(require_browser3());
|
|
36330
36420
|
async function extractDefaultEnvironments({ driver, settings }) {
|
|
36331
|
-
var _a, _b
|
|
36332
|
-
const environment = {};
|
|
36421
|
+
var _a, _b;
|
|
36422
|
+
const environment = { ...settings === null || settings === void 0 ? void 0 : settings.environment };
|
|
36333
36423
|
if (!driver)
|
|
36334
|
-
return [
|
|
36424
|
+
return [environment];
|
|
36335
36425
|
const currentContext = driver.currentContext;
|
|
36336
36426
|
try {
|
|
36337
36427
|
const driverEnvironment = await driver.getEnvironment();
|
|
@@ -36339,25 +36429,27 @@ var require_extract_default_environments = __commonJS({
|
|
|
36339
36429
|
const size = await driver.getViewportSize();
|
|
36340
36430
|
environment.viewportSize = utils34.geometry.scale(size, viewport.viewportScale);
|
|
36341
36431
|
if (driverEnvironment.isEC)
|
|
36342
|
-
environment.ecSessionId = (
|
|
36432
|
+
environment.ecSessionId = (_a = await driver.getSessionId()) !== null && _a !== void 0 ? _a : void 0;
|
|
36343
36433
|
if (driverEnvironment.isWeb)
|
|
36344
36434
|
environment.userAgent = await driver.getUserAgentLegacy();
|
|
36345
|
-
if (driverEnvironment.deviceName)
|
|
36435
|
+
if (!environment.deviceName && driverEnvironment.deviceName)
|
|
36346
36436
|
environment.deviceName = driverEnvironment.deviceName;
|
|
36347
|
-
if (
|
|
36348
|
-
|
|
36349
|
-
|
|
36350
|
-
|
|
36351
|
-
|
|
36352
|
-
if (
|
|
36353
|
-
environment.os
|
|
36354
|
-
|
|
36355
|
-
|
|
36356
|
-
environment.os
|
|
36437
|
+
if (!environment.os) {
|
|
36438
|
+
if (driverEnvironment.isNative && driverEnvironment.platformName) {
|
|
36439
|
+
environment.os = driverEnvironment.platformName;
|
|
36440
|
+
if (driverEnvironment.platformVersion)
|
|
36441
|
+
environment.os += ` ${driverEnvironment.platformVersion}`;
|
|
36442
|
+
if (!(settings === null || settings === void 0 ? void 0 : settings.keepPlatformNameAsIs)) {
|
|
36443
|
+
if (/^android/i.test(environment.os)) {
|
|
36444
|
+
environment.os = `Android${environment.os.slice(7)}`;
|
|
36445
|
+
}
|
|
36446
|
+
if (/^ios/i.test(environment.os)) {
|
|
36447
|
+
environment.os = `iOS${environment.os.slice(3)}`;
|
|
36448
|
+
}
|
|
36357
36449
|
}
|
|
36450
|
+
} else if (driverEnvironment.isReliable && driverEnvironment.isChromium && (driverEnvironment.isWindows && Number.parseInt(driverEnvironment.browserVersion) >= 107 || driverEnvironment.isMac && Number.parseInt(driverEnvironment.browserVersion) >= 90)) {
|
|
36451
|
+
environment.os = `${driverEnvironment.platformName} ${(_b = driverEnvironment.platformVersion) !== null && _b !== void 0 ? _b : ""}`.trim();
|
|
36358
36452
|
}
|
|
36359
|
-
} else if (driverEnvironment.isReliable && driverEnvironment.isChromium && (driverEnvironment.isWindows && Number.parseInt(driverEnvironment.browserVersion) >= 107 || driverEnvironment.isMac && Number.parseInt(driverEnvironment.browserVersion) >= 90)) {
|
|
36360
|
-
environment.os = `${driverEnvironment.platformName} ${(_c = driverEnvironment.platformVersion) !== null && _c !== void 0 ? _c : ""}`.trim();
|
|
36361
36453
|
}
|
|
36362
36454
|
return [environment];
|
|
36363
36455
|
} finally {
|
|
@@ -36521,10 +36613,10 @@ var require_core2 = __commonJS({
|
|
|
36521
36613
|
var get_nml_client_1 = require_get_nml_client();
|
|
36522
36614
|
var open_eyes_1 = require_open_eyes2();
|
|
36523
36615
|
var utils34 = __importStar(require_browser3());
|
|
36524
|
-
function makeCore({ spec, clients, base, concurrency, agentId = "core-classic", cwd = process.cwd(), logger: defaultLogger }) {
|
|
36616
|
+
function makeCore({ spec, clients, base: defaultBase, concurrency, agentId = "core-classic", cwd = process.cwd(), logger: defaultLogger }) {
|
|
36525
36617
|
const logger = (0, logger_1.makeLogger)({ logger: defaultLogger, format: { label: "core-classic" } });
|
|
36526
|
-
logger.log(`Core classic is initialized ${
|
|
36527
|
-
base !== null &&
|
|
36618
|
+
logger.log(`Core classic is initialized ${defaultBase ? "with" : "without"} custom base core`);
|
|
36619
|
+
const base = defaultBase !== null && defaultBase !== void 0 ? defaultBase : (0, core_base_1.makeCore)({ agentId, concurrency, cwd, logger });
|
|
36528
36620
|
return utils34.general.extend(base, (core) => {
|
|
36529
36621
|
return {
|
|
36530
36622
|
type: "classic",
|
|
@@ -76319,10 +76411,13 @@ var require_processPagePollCjs = __commonJS({
|
|
|
76319
76411
|
if (e5) {
|
|
76320
76412
|
if (e5.value) {
|
|
76321
76413
|
if (t5) {
|
|
76322
|
-
if (!e5.chunks)
|
|
76323
|
-
|
|
76324
|
-
|
|
76325
|
-
|
|
76414
|
+
if (!e5.chunks)
|
|
76415
|
+
try {
|
|
76416
|
+
const n4 = JSON.stringify(e5.value);
|
|
76417
|
+
e5.chunks = r(n4, t5), e5.chunks.length > 0 && (e5.from = 0, e5.value = n4);
|
|
76418
|
+
} catch (e6) {
|
|
76419
|
+
return { status: s, error: e6.message };
|
|
76420
|
+
}
|
|
76326
76421
|
if (e5.from >= 0)
|
|
76327
76422
|
return { status: a, value: e5.value.substring(e5.from, e5.from = e5.chunks.shift()), done: !e5.from };
|
|
76328
76423
|
}
|
|
@@ -76435,28 +76530,28 @@ var require_processPagePollCjs = __commonJS({
|
|
|
76435
76530
|
return 43 === e4 || 45 === e4 ? b(t4) ? 2 : 46 === t4 && b(n3) ? 3 : 0 : 46 === e4 ? b(t4) ? 2 : 0 : b(e4) ? 1 : 0;
|
|
76436
76531
|
}, g.isUppercaseLetter = y, g.isValidEscape = A, g.isWhiteSpace = C;
|
|
76437
76532
|
var L = {};
|
|
76438
|
-
const
|
|
76439
|
-
function
|
|
76533
|
+
const E = g;
|
|
76534
|
+
function T(e4, t4) {
|
|
76440
76535
|
return t4 < e4.length ? e4.charCodeAt(t4) : 0;
|
|
76441
76536
|
}
|
|
76442
76537
|
function N(e4, t4, n3) {
|
|
76443
|
-
return 13 === n3 && 10 ===
|
|
76538
|
+
return 13 === n3 && 10 === T(e4, t4 + 1) ? 2 : 1;
|
|
76444
76539
|
}
|
|
76445
76540
|
function D(e4, t4, n3) {
|
|
76446
76541
|
let r2 = e4.charCodeAt(t4);
|
|
76447
|
-
return
|
|
76542
|
+
return E.isUppercaseLetter(r2) && (r2 |= 32), r2 === n3;
|
|
76448
76543
|
}
|
|
76449
76544
|
function P(e4, t4) {
|
|
76450
|
-
for (; t4 < e4.length &&
|
|
76545
|
+
for (; t4 < e4.length && E.isDigit(e4.charCodeAt(t4)); t4++)
|
|
76451
76546
|
;
|
|
76452
76547
|
return t4;
|
|
76453
76548
|
}
|
|
76454
|
-
function
|
|
76455
|
-
if (t4 += 2,
|
|
76456
|
-
for (const n4 = Math.min(e4.length, t4 + 5); t4 < n4 &&
|
|
76549
|
+
function R(e4, t4) {
|
|
76550
|
+
if (t4 += 2, E.isHexDigit(T(e4, t4 - 1))) {
|
|
76551
|
+
for (const n4 = Math.min(e4.length, t4 + 5); t4 < n4 && E.isHexDigit(T(e4, t4)); t4++)
|
|
76457
76552
|
;
|
|
76458
|
-
const n3 =
|
|
76459
|
-
|
|
76553
|
+
const n3 = T(e4, t4);
|
|
76554
|
+
E.isWhiteSpace(n3) && (t4 += N(e4, t4, n3));
|
|
76460
76555
|
}
|
|
76461
76556
|
return t4;
|
|
76462
76557
|
}
|
|
@@ -76468,7 +76563,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
76468
76563
|
for (let o2 = t4; o2 < n3; o2++) {
|
|
76469
76564
|
const n4 = r2.charCodeAt(o2 - t4);
|
|
76470
76565
|
let i2 = e4.charCodeAt(o2);
|
|
76471
|
-
if (
|
|
76566
|
+
if (E.isUppercaseLetter(i2) && (i2 |= 32), i2 !== n4)
|
|
76472
76567
|
return false;
|
|
76473
76568
|
}
|
|
76474
76569
|
return true;
|
|
@@ -76479,41 +76574,41 @@ var require_processPagePollCjs = __commonJS({
|
|
|
76479
76574
|
t4++;
|
|
76480
76575
|
break;
|
|
76481
76576
|
}
|
|
76482
|
-
|
|
76577
|
+
E.isValidEscape(n3, T(e4, t4 + 1)) && (t4 = R(e4, t4));
|
|
76483
76578
|
}
|
|
76484
76579
|
return t4;
|
|
76485
|
-
}, L.consumeEscaped =
|
|
76580
|
+
}, L.consumeEscaped = R, L.consumeName = function(e4, t4) {
|
|
76486
76581
|
for (; t4 < e4.length; t4++) {
|
|
76487
76582
|
const n3 = e4.charCodeAt(t4);
|
|
76488
|
-
if (!
|
|
76489
|
-
if (!
|
|
76583
|
+
if (!E.isName(n3)) {
|
|
76584
|
+
if (!E.isValidEscape(n3, T(e4, t4 + 1)))
|
|
76490
76585
|
break;
|
|
76491
|
-
t4 =
|
|
76586
|
+
t4 = R(e4, t4) - 1;
|
|
76492
76587
|
}
|
|
76493
76588
|
}
|
|
76494
76589
|
return t4;
|
|
76495
76590
|
}, L.consumeNumber = function(e4, t4) {
|
|
76496
76591
|
let n3 = e4.charCodeAt(t4);
|
|
76497
|
-
if (43 !== n3 && 45 !== n3 || (n3 = e4.charCodeAt(t4 += 1)),
|
|
76592
|
+
if (43 !== n3 && 45 !== n3 || (n3 = e4.charCodeAt(t4 += 1)), E.isDigit(n3) && (t4 = P(e4, t4 + 1), n3 = e4.charCodeAt(t4)), 46 === n3 && E.isDigit(e4.charCodeAt(t4 + 1)) && (t4 = P(e4, t4 += 2)), D(e4, t4, 101)) {
|
|
76498
76593
|
let r2 = 0;
|
|
76499
|
-
n3 = e4.charCodeAt(t4 + 1), 45 !== n3 && 43 !== n3 || (r2 = 1, n3 = e4.charCodeAt(t4 + 2)),
|
|
76594
|
+
n3 = e4.charCodeAt(t4 + 1), 45 !== n3 && 43 !== n3 || (r2 = 1, n3 = e4.charCodeAt(t4 + 2)), E.isDigit(n3) && (t4 = P(e4, t4 + 1 + r2 + 1));
|
|
76500
76595
|
}
|
|
76501
76596
|
return t4;
|
|
76502
76597
|
}, L.decodeEscaped = function(e4) {
|
|
76503
|
-
if (1 === e4.length && !
|
|
76598
|
+
if (1 === e4.length && !E.isHexDigit(e4.charCodeAt(0)))
|
|
76504
76599
|
return e4[0];
|
|
76505
76600
|
let t4 = parseInt(e4, 16);
|
|
76506
76601
|
return (0 === t4 || t4 >= 55296 && t4 <= 57343 || t4 > 1114111) && (t4 = 65533), String.fromCodePoint(t4);
|
|
76507
76602
|
}, L.findDecimalNumberEnd = P, L.findWhiteSpaceEnd = function(e4, t4) {
|
|
76508
|
-
for (; t4 < e4.length &&
|
|
76603
|
+
for (; t4 < e4.length && E.isWhiteSpace(e4.charCodeAt(t4)); t4++)
|
|
76509
76604
|
;
|
|
76510
76605
|
return t4;
|
|
76511
76606
|
}, L.findWhiteSpaceStart = function(e4, t4) {
|
|
76512
|
-
for (; t4 >= 0 &&
|
|
76607
|
+
for (; t4 >= 0 && E.isWhiteSpace(e4.charCodeAt(t4)); t4--)
|
|
76513
76608
|
;
|
|
76514
76609
|
return t4 + 1;
|
|
76515
76610
|
}, L.getNewlineLength = N;
|
|
76516
|
-
var
|
|
76611
|
+
var I = ["EOF-token", "ident-token", "function-token", "at-keyword-token", "hash-token", "string-token", "bad-string-token", "url-token", "bad-url-token", "delim-token", "number-token", "percentage-token", "dimension-token", "whitespace-token", "CDO-token", "CDC-token", "colon-token", "semicolon-token", "comma-token", "[-token", "]-token", "(-token", ")-token", "{-token", "}-token"], B = {}, O = { adoptBuffer: function(e4 = null, t4) {
|
|
76517
76612
|
return null === e4 || e4.length < t4 ? new Uint32Array(Math.max(t4 + 1024, 16384)) : e4;
|
|
76518
76613
|
} };
|
|
76519
76614
|
const U = O, M = g;
|
|
@@ -76541,7 +76636,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
76541
76636
|
}
|
|
76542
76637
|
};
|
|
76543
76638
|
var j = {};
|
|
76544
|
-
const H = O, q = L, W =
|
|
76639
|
+
const H = O, q = L, W = I, $ = f, V = 16777215, K = 24, Z = /* @__PURE__ */ new Map([[$.Function, $.RightParenthesis], [$.LeftParenthesis, $.RightParenthesis], [$.LeftSquareBracket, $.RightSquareBracket], [$.LeftCurlyBracket, $.RightCurlyBracket]]);
|
|
76545
76640
|
j.TokenStream = class {
|
|
76546
76641
|
constructor(e4, t4) {
|
|
76547
76642
|
this.setSource(e4, t4);
|
|
@@ -76638,7 +76733,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
76638
76733
|
}), e4;
|
|
76639
76734
|
}
|
|
76640
76735
|
};
|
|
76641
|
-
const G = f, Y = g, X = L, Q =
|
|
76736
|
+
const G = f, Y = g, X = L, Q = I, J = B, ee = j;
|
|
76642
76737
|
m.AtKeyword = G.AtKeyword, m.BadString = G.BadString, m.BadUrl = G.BadUrl, m.CDC = G.CDC, m.CDO = G.CDO, m.Colon = G.Colon, m.Comma = G.Comma, m.Comment = G.Comment, m.Delim = G.Delim, m.Dimension = G.Dimension, m.EOF = G.EOF, m.Function = G.Function, m.Hash = G.Hash, m.Ident = G.Ident, m.LeftCurlyBracket = G.LeftCurlyBracket, m.LeftParenthesis = G.LeftParenthesis, m.LeftSquareBracket = G.LeftSquareBracket, m.Number = G.Number, m.Percentage = G.Percentage, m.RightCurlyBracket = G.RightCurlyBracket, m.RightParenthesis = G.RightParenthesis, m.RightSquareBracket = G.RightSquareBracket, m.Semicolon = G.Semicolon, m.String = G.String, m.Url = G.Url, m.WhiteSpace = G.WhiteSpace, m.tokenTypes = G, m.DigitCategory = Y.DigitCategory, m.EofCategory = Y.EofCategory, m.NameStartCategory = Y.NameStartCategory, m.NonPrintableCategory = Y.NonPrintableCategory, m.WhiteSpaceCategory = Y.WhiteSpaceCategory, m.charCodeCategory = Y.charCodeCategory, m.isBOM = Y.isBOM, m.isDigit = Y.isDigit, m.isHexDigit = Y.isHexDigit, m.isIdentifierStart = Y.isIdentifierStart, m.isLetter = Y.isLetter, m.isLowercaseLetter = Y.isLowercaseLetter, m.isName = Y.isName, m.isNameStart = Y.isNameStart, m.isNewline = Y.isNewline, m.isNonAscii = Y.isNonAscii, m.isNonPrintable = Y.isNonPrintable, m.isNumberStart = Y.isNumberStart, m.isUppercaseLetter = Y.isUppercaseLetter, m.isValidEscape = Y.isValidEscape, m.isWhiteSpace = Y.isWhiteSpace, m.cmpChar = X.cmpChar, m.cmpStr = X.cmpStr, m.consumeBadUrlRemnants = X.consumeBadUrlRemnants, m.consumeEscaped = X.consumeEscaped, m.consumeName = X.consumeName, m.consumeNumber = X.consumeNumber, m.decodeEscaped = X.decodeEscaped, m.findDecimalNumberEnd = X.findDecimalNumberEnd, m.findWhiteSpaceEnd = X.findWhiteSpaceEnd, m.findWhiteSpaceStart = X.findWhiteSpaceStart, m.getNewlineLength = X.getNewlineLength, m.tokenNames = Q, m.OffsetToLocation = J.OffsetToLocation, m.TokenStream = ee.TokenStream, m.tokenize = function(e4, t4) {
|
|
76643
76738
|
function n3(t5) {
|
|
76644
76739
|
return t5 < a2 ? e4.charCodeAt(t5) : 0;
|
|
@@ -77018,7 +77113,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77018
77113
|
}
|
|
77019
77114
|
return n3 && e4.onWhiteSpace && e4.onWhiteSpace.call(this, null, t4, r2), t4;
|
|
77020
77115
|
};
|
|
77021
|
-
const de = ne, pe = ie, me = m, fe = ue, ge = B, be = j, ye = L, ke = f, we =
|
|
77116
|
+
const de = ne, pe = ie, me = m, fe = ue, ge = B, be = j, ye = L, ke = f, we = I, ve = () => {
|
|
77022
77117
|
};
|
|
77023
77118
|
function xe(e4) {
|
|
77024
77119
|
return function() {
|
|
@@ -77120,21 +77215,21 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77120
77215
|
return s2.eof || s2.error(), h2;
|
|
77121
77216
|
}, { SyntaxError: pe.SyntaxError, config: s2.config });
|
|
77122
77217
|
};
|
|
77123
|
-
var _e = {}, Ce = {}, Ae = {}, ze = {}, Le = {},
|
|
77218
|
+
var _e = {}, Ce = {}, Ae = {}, ze = {}, Le = {}, Ee = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
77124
77219
|
Le.encode = function(e4) {
|
|
77125
|
-
if (0 <= e4 && e4 <
|
|
77126
|
-
return
|
|
77220
|
+
if (0 <= e4 && e4 < Ee.length)
|
|
77221
|
+
return Ee[e4];
|
|
77127
77222
|
throw new TypeError("Must be between 0 and 63: " + e4);
|
|
77128
77223
|
}, Le.decode = function(e4) {
|
|
77129
77224
|
return 65 <= e4 && e4 <= 90 ? e4 - 65 : 97 <= e4 && e4 <= 122 ? e4 - 97 + 26 : 48 <= e4 && e4 <= 57 ? e4 - 48 + 52 : 43 == e4 ? 62 : 47 == e4 ? 63 : -1;
|
|
77130
77225
|
};
|
|
77131
|
-
var
|
|
77226
|
+
var Te = Le;
|
|
77132
77227
|
ze.encode = function(e4) {
|
|
77133
77228
|
var t4, n3 = "", r2 = function(e5) {
|
|
77134
77229
|
return e5 < 0 ? 1 + (-e5 << 1) : 0 + (e5 << 1);
|
|
77135
77230
|
}(e4);
|
|
77136
77231
|
do {
|
|
77137
|
-
t4 = 31 & r2, (r2 >>>= 5) > 0 && (t4 |= 32), n3 +=
|
|
77232
|
+
t4 = 31 & r2, (r2 >>>= 5) > 0 && (t4 |= 32), n3 += Te.encode(t4);
|
|
77138
77233
|
} while (r2 > 0);
|
|
77139
77234
|
return n3;
|
|
77140
77235
|
}, ze.decode = function(e4, t4, n3) {
|
|
@@ -77142,7 +77237,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77142
77237
|
do {
|
|
77143
77238
|
if (t4 >= s2)
|
|
77144
77239
|
throw new Error("Expected more digits in base 64 VLQ value.");
|
|
77145
|
-
if (-1 === (o2 =
|
|
77240
|
+
if (-1 === (o2 = Te.decode(e4.charCodeAt(t4++))))
|
|
77146
77241
|
throw new Error("Invalid base64 digit: " + e4.charAt(t4 - 1));
|
|
77147
77242
|
r2 = !!(32 & o2), l2 += (o2 &= 31) << c2, c2 += 5;
|
|
77148
77243
|
} while (r2);
|
|
@@ -77276,32 +77371,32 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77276
77371
|
return s2(t5);
|
|
77277
77372
|
};
|
|
77278
77373
|
}(Ne);
|
|
77279
|
-
var De = {}, Pe = Ne,
|
|
77374
|
+
var De = {}, Pe = Ne, Re = Object.prototype.hasOwnProperty, Ie = "undefined" != typeof Map;
|
|
77280
77375
|
function Be() {
|
|
77281
|
-
this._array = [], this._set =
|
|
77376
|
+
this._array = [], this._set = Ie ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
|
|
77282
77377
|
}
|
|
77283
77378
|
Be.fromArray = function(e4, t4) {
|
|
77284
77379
|
for (var n3 = new Be(), r2 = 0, o2 = e4.length; r2 < o2; r2++)
|
|
77285
77380
|
n3.add(e4[r2], t4);
|
|
77286
77381
|
return n3;
|
|
77287
77382
|
}, Be.prototype.size = function() {
|
|
77288
|
-
return
|
|
77383
|
+
return Ie ? this._set.size : Object.getOwnPropertyNames(this._set).length;
|
|
77289
77384
|
}, Be.prototype.add = function(e4, t4) {
|
|
77290
|
-
var n3 =
|
|
77291
|
-
r2 && !t4 || this._array.push(e4), r2 || (
|
|
77385
|
+
var n3 = Ie ? e4 : Pe.toSetString(e4), r2 = Ie ? this.has(e4) : Re.call(this._set, n3), o2 = this._array.length;
|
|
77386
|
+
r2 && !t4 || this._array.push(e4), r2 || (Ie ? this._set.set(e4, o2) : this._set[n3] = o2);
|
|
77292
77387
|
}, Be.prototype.has = function(e4) {
|
|
77293
|
-
if (
|
|
77388
|
+
if (Ie)
|
|
77294
77389
|
return this._set.has(e4);
|
|
77295
77390
|
var t4 = Pe.toSetString(e4);
|
|
77296
|
-
return
|
|
77391
|
+
return Re.call(this._set, t4);
|
|
77297
77392
|
}, Be.prototype.indexOf = function(e4) {
|
|
77298
|
-
if (
|
|
77393
|
+
if (Ie) {
|
|
77299
77394
|
var t4 = this._set.get(e4);
|
|
77300
77395
|
if (t4 >= 0)
|
|
77301
77396
|
return t4;
|
|
77302
77397
|
} else {
|
|
77303
77398
|
var n3 = Pe.toSetString(e4);
|
|
77304
|
-
if (
|
|
77399
|
+
if (Re.call(this._set, n3))
|
|
77305
77400
|
return this._set[n3];
|
|
77306
77401
|
}
|
|
77307
77402
|
throw new Error('"' + e4 + '" is not in the set.');
|
|
@@ -77667,7 +77762,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77667
77762
|
return n3.reference = t4, n3;
|
|
77668
77763
|
};
|
|
77669
77764
|
var zt = {};
|
|
77670
|
-
const Lt = /* @__PURE__ */ new Map(),
|
|
77765
|
+
const Lt = /* @__PURE__ */ new Map(), Et = /* @__PURE__ */ new Map(), Tt = Dt;
|
|
77671
77766
|
function Nt(e4, t4) {
|
|
77672
77767
|
return t4 = t4 || 0, e4.length - t4 >= 2 && 45 === e4.charCodeAt(t4) && 45 === e4.charCodeAt(t4 + 1);
|
|
77673
77768
|
}
|
|
@@ -77690,20 +77785,20 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77690
77785
|
}
|
|
77691
77786
|
return Lt.set(e4, n3), n3;
|
|
77692
77787
|
}, zt.property = function(e4) {
|
|
77693
|
-
if (
|
|
77694
|
-
return
|
|
77788
|
+
if (Et.has(e4))
|
|
77789
|
+
return Et.get(e4);
|
|
77695
77790
|
let t4 = e4, n3 = e4[0];
|
|
77696
77791
|
"/" === n3 ? n3 = "/" === e4[1] ? "//" : "/" : "_" !== n3 && "*" !== n3 && "$" !== n3 && "#" !== n3 && "+" !== n3 && "&" !== n3 && (n3 = "");
|
|
77697
77792
|
const r2 = Nt(t4, n3.length);
|
|
77698
|
-
if (!r2 && (t4 = t4.toLowerCase(),
|
|
77699
|
-
const n4 =
|
|
77700
|
-
return
|
|
77793
|
+
if (!r2 && (t4 = t4.toLowerCase(), Et.has(t4))) {
|
|
77794
|
+
const n4 = Et.get(t4);
|
|
77795
|
+
return Et.set(e4, n4), n4;
|
|
77701
77796
|
}
|
|
77702
77797
|
const o2 = r2 ? "" : Dt(t4, n3.length), i2 = t4.substr(0, n3.length + o2.length), a2 = Object.freeze({ basename: t4.substr(i2.length), name: t4.substr(n3.length), hack: n3, vendor: o2, prefix: i2, custom: r2 });
|
|
77703
|
-
return
|
|
77704
|
-
}, zt.vendorPrefix =
|
|
77705
|
-
var Pt = { cssWideKeywords: ["initial", "inherit", "unset", "revert", "revert-layer"] },
|
|
77706
|
-
const
|
|
77798
|
+
return Et.set(e4, a2), a2;
|
|
77799
|
+
}, zt.vendorPrefix = Tt;
|
|
77800
|
+
var Pt = { cssWideKeywords: ["initial", "inherit", "unset", "revert", "revert-layer"] }, Rt = {};
|
|
77801
|
+
const It = g, Bt = f, Ot = L, Ut = 43, Mt = 45, Ft = true;
|
|
77707
77802
|
function jt(e4, t4) {
|
|
77708
77803
|
return null !== e4 && e4.type === Bt.Delim && e4.value.charCodeAt(0) === t4;
|
|
77709
77804
|
}
|
|
@@ -77722,7 +77817,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77722
77817
|
t4++;
|
|
77723
77818
|
}
|
|
77724
77819
|
for (; t4 < e4.value.length; t4++)
|
|
77725
|
-
if (!
|
|
77820
|
+
if (!It.isDigit(e4.value.charCodeAt(t4)))
|
|
77726
77821
|
return 0;
|
|
77727
77822
|
return r2 + 1;
|
|
77728
77823
|
}
|
|
@@ -77800,7 +77895,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
77800
77895
|
}
|
|
77801
77896
|
} else if (e4.type === Bt.Dimension) {
|
|
77802
77897
|
let r2 = e4.value.charCodeAt(0), o2 = r2 === Ut || r2 === Mt ? 1 : 0, i2 = o2;
|
|
77803
|
-
for (; i2 < e4.value.length &&
|
|
77898
|
+
for (; i2 < e4.value.length && It.isDigit(e4.value.charCodeAt(i2)); i2++)
|
|
77804
77899
|
;
|
|
77805
77900
|
return i2 === o2 ? 0 : Ot.cmpChar(e4.value, i2, 110) ? i2 + 1 === e4.value.length ? Wt(t4(++n3), n3, t4) : e4.value.charCodeAt(i2 + 1) !== Mt ? 0 : i2 + 2 === e4.value.length ? (n3 = Ht(t4(++n3), n3, t4), qt(e4 = t4(n3), 0, Ft, n3)) : qt(e4, i2 + 2, Ft, n3) : 0;
|
|
77806
77901
|
}
|
|
@@ -78001,9 +78096,9 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78001
78096
|
const { angle: t4, decibel: n3, frequency: r2, flex: o2, length: i2, resolution: a2, semitones: s2, time: l2 } = e4 || {};
|
|
78002
78097
|
return { dimension: hn(pn(null)), angle: hn(pn(t4)), decibel: hn(pn(n3)), frequency: hn(pn(r2)), flex: hn(pn(o2)), length: hn(mn(pn(i2))), resolution: hn(pn(a2)), semitones: hn(pn(s2)), time: hn(pn(l2)) };
|
|
78003
78098
|
}
|
|
78004
|
-
|
|
78099
|
+
Rt.createDemensionTypes = bn, Rt.createGenericTypes = function(e4) {
|
|
78005
78100
|
return { ...fn, ...gn, ...bn(e4) };
|
|
78006
|
-
},
|
|
78101
|
+
}, Rt.productionTypes = gn, Rt.tokenTypes = fn;
|
|
78007
78102
|
var yn = { angle: ["deg", "grad", "rad", "turn"], decibel: ["db"], flex: ["fr"], frequency: ["hz", "khz"], length: ["cm", "mm", "q", "in", "pt", "pc", "px", "em", "rem", "ex", "rex", "cap", "rcap", "ch", "rch", "ic", "ric", "lh", "rlh", "vw", "svw", "lvw", "dvw", "vh", "svh", "lvh", "dvh", "vi", "svi", "lvi", "dvi", "vb", "svb", "lvb", "dvb", "vmin", "svmin", "lvmin", "dvmin", "vmax", "svmax", "lvmax", "dvmax", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax"], resolution: ["dpi", "dpcm", "dppx", "x"], semitones: ["st"], time: ["s", "ms"] };
|
|
78008
78103
|
const kn = m, wn = { decorator(e4) {
|
|
78009
78104
|
const t4 = [];
|
|
@@ -78058,7 +78153,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78058
78153
|
throw new An.SyntaxError(e4, this.str, this.pos);
|
|
78059
78154
|
}
|
|
78060
78155
|
};
|
|
78061
|
-
const zn = Sn, Ln = 9,
|
|
78156
|
+
const zn = Sn, Ln = 9, En = 10, Tn = 12, Nn = 13, Dn = 32, Pn = 33, Rn = 35, In = 38, Bn = 39, On = 40, Un = 41, Mn = 42, Fn = 43, jn = 44, Hn = 45, qn = 60, Wn = 62, $n = 63, Vn = 64, Kn = 91, Zn = 93, Gn = 123, Yn = 124, Xn = 125, Qn = 8734, Jn = new Uint8Array(128).map((e4, t4) => /[a-zA-Z0-9\-]/.test(String.fromCharCode(t4)) ? 1 : 0), er = { " ": 1, "&&": 2, "||": 3, "|": 4 };
|
|
78062
78157
|
function tr(e4) {
|
|
78063
78158
|
return e4.substringToPos(e4.findWsEnd(e4.pos));
|
|
78064
78159
|
}
|
|
@@ -78101,7 +78196,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78101
78196
|
case $n:
|
|
78102
78197
|
e5.pos++, t5 = { min: 0, max: 1 };
|
|
78103
78198
|
break;
|
|
78104
|
-
case
|
|
78199
|
+
case Rn:
|
|
78105
78200
|
e5.pos++, n4 = true, e5.charCode() === Gn ? t5 = ir(e5) : e5.charCode() === $n ? (e5.pos++, t5 = { min: 0, max: 0 }) : t5 = { min: 1, max: 0 };
|
|
78106
78201
|
break;
|
|
78107
78202
|
case Gn:
|
|
@@ -78112,7 +78207,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78112
78207
|
}
|
|
78113
78208
|
return { type: "Multiplier", comma: n4, min: t5.min, max: t5.max, term: null };
|
|
78114
78209
|
}(e4);
|
|
78115
|
-
return null !== n3 ? (n3.term = t4, e4.charCode() ===
|
|
78210
|
+
return null !== n3 ? (n3.term = t4, e4.charCode() === Rn && e4.charCodeAt(e4.pos - 1) === Fn ? ar(e4, n3) : n3) : t4;
|
|
78116
78211
|
}
|
|
78117
78212
|
function sr(e4) {
|
|
78118
78213
|
const t4 = e4.peek();
|
|
@@ -78169,24 +78264,24 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78169
78264
|
}(e4);
|
|
78170
78265
|
case Yn:
|
|
78171
78266
|
return { type: "Combinator", value: e4.substringToPos(e4.pos + (e4.nextCharCode() === Yn ? 2 : 1)) };
|
|
78172
|
-
case
|
|
78173
|
-
return e4.pos++, e4.eat(
|
|
78267
|
+
case In:
|
|
78268
|
+
return e4.pos++, e4.eat(In), { type: "Combinator", value: "&&" };
|
|
78174
78269
|
case jn:
|
|
78175
78270
|
return e4.pos++, { type: "Comma" };
|
|
78176
78271
|
case Bn:
|
|
78177
78272
|
return ar(e4, { type: "String", value: or(e4) });
|
|
78178
78273
|
case Dn:
|
|
78179
78274
|
case Ln:
|
|
78180
|
-
case Tn:
|
|
78181
|
-
case Nn:
|
|
78182
78275
|
case En:
|
|
78276
|
+
case Nn:
|
|
78277
|
+
case Tn:
|
|
78183
78278
|
return { type: "Spaces", value: tr(e4) };
|
|
78184
78279
|
case Vn:
|
|
78185
78280
|
return t4 = e4.nextCharCode(), t4 < 128 && 1 === Jn[t4] ? (e4.pos++, { type: "AtKeyword", name: nr(e4) }) : sr(e4);
|
|
78186
78281
|
case Mn:
|
|
78187
78282
|
case Fn:
|
|
78188
78283
|
case $n:
|
|
78189
|
-
case
|
|
78284
|
+
case Rn:
|
|
78190
78285
|
case Pn:
|
|
78191
78286
|
break;
|
|
78192
78287
|
case Gn:
|
|
@@ -78326,12 +78421,12 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78326
78421
|
}
|
|
78327
78422
|
return true;
|
|
78328
78423
|
}
|
|
78329
|
-
function
|
|
78424
|
+
function Er(e4) {
|
|
78330
78425
|
return null === e4 || e4.type === _r.Comma || e4.type === _r.Function || e4.type === _r.LeftParenthesis || e4.type === _r.LeftSquareBracket || e4.type === _r.LeftCurlyBracket || function(e5) {
|
|
78331
78426
|
return e5.type === _r.Delim && "?" !== e5.value;
|
|
78332
78427
|
}(e4);
|
|
78333
78428
|
}
|
|
78334
|
-
function
|
|
78429
|
+
function Tr(e4) {
|
|
78335
78430
|
return null === e4 || e4.type === _r.RightParenthesis || e4.type === _r.RightSquareBracket || e4.type === _r.RightCurlyBracket || e4.type === _r.Delim && "/" === e4.value;
|
|
78336
78431
|
}
|
|
78337
78432
|
function Nr(e4, t4, n3) {
|
|
@@ -78486,7 +78581,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78486
78581
|
t4 = Sr.MISMATCH;
|
|
78487
78582
|
break;
|
|
78488
78583
|
case "Comma":
|
|
78489
|
-
null !== g2 && g2.type === _r.Comma ?
|
|
78584
|
+
null !== g2 && g2.type === _r.Comma ? Er(k2.token) ? t4 = Sr.MISMATCH : (l2(), t4 = Tr(g2) ? Sr.MISMATCH : Sr.MATCH) : t4 = Er(k2.token) || Tr(g2) ? Sr.MATCH : Sr.MISMATCH;
|
|
78490
78585
|
break;
|
|
78491
78586
|
case "String":
|
|
78492
78587
|
let r3 = "", m3 = b2;
|
|
@@ -78569,18 +78664,18 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78569
78664
|
return false;
|
|
78570
78665
|
}(this.matched), n3;
|
|
78571
78666
|
}
|
|
78572
|
-
function
|
|
78667
|
+
function Rr(e4, t4, n3) {
|
|
78573
78668
|
const r2 = Pr.call(e4, t4);
|
|
78574
78669
|
return null !== r2 && r2.some(n3);
|
|
78575
78670
|
}
|
|
78576
78671
|
Dr.getTrace = Pr, Dr.isKeyword = function(e4) {
|
|
78577
|
-
return
|
|
78672
|
+
return Rr(this, e4, (e5) => "Keyword" === e5.type);
|
|
78578
78673
|
}, Dr.isProperty = function(e4, t4) {
|
|
78579
|
-
return
|
|
78674
|
+
return Rr(this, e4, (e5) => "Property" === e5.type && e5.name === t4);
|
|
78580
78675
|
}, Dr.isType = function(e4, t4) {
|
|
78581
|
-
return
|
|
78676
|
+
return Rr(this, e4, (e5) => "Type" === e5.type && e5.name === t4);
|
|
78582
78677
|
};
|
|
78583
|
-
var
|
|
78678
|
+
var Ir = {};
|
|
78584
78679
|
const Br = ne;
|
|
78585
78680
|
function Or(e4) {
|
|
78586
78681
|
return "node" in e4 ? e4.node : Or(e4.match[0]);
|
|
@@ -78588,7 +78683,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78588
78683
|
function Ur(e4) {
|
|
78589
78684
|
return "node" in e4 ? e4.node : Ur(e4.match[e4.match.length - 1]);
|
|
78590
78685
|
}
|
|
78591
|
-
|
|
78686
|
+
Ir.matchFragments = function(e4, t4, n3, r2, o2) {
|
|
78592
78687
|
const i2 = [];
|
|
78593
78688
|
return null !== n3.matched && function n4(a2) {
|
|
78594
78689
|
if (null !== a2.syntax && a2.syntax.type === r2 && a2.syntax.name === o2) {
|
|
@@ -78735,12 +78830,12 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78735
78830
|
o2.call(n3, t5);
|
|
78736
78831
|
}(e4);
|
|
78737
78832
|
};
|
|
78738
|
-
const Gr = yt, Yr = zt, Xr = Pt, Qr =
|
|
78833
|
+
const Gr = yt, Yr = zt, Xr = Pt, Qr = Rt, Jr = yn, eo = function(e4, t4) {
|
|
78739
78834
|
return "string" == typeof e4 ? function(e5) {
|
|
78740
78835
|
const t5 = [];
|
|
78741
78836
|
return kn.tokenize(e5, (n3, r2, o2) => t5.push({ type: n3, value: e5.slice(r2, o2), node: null })), t5;
|
|
78742
78837
|
}(e4) : t4.generate(e4, wn);
|
|
78743
|
-
}, to = vn, no = xr, ro = Dr, oo =
|
|
78838
|
+
}, to = vn, no = xr, ro = Dr, oo = Ir, io = Mr, ao = xn, so = kt, lo = Vr, co = to.buildMatchGraph(Xr.cssWideKeywords.join(" | "));
|
|
78744
78839
|
function uo(e4, t4, n3) {
|
|
78745
78840
|
const r2 = {};
|
|
78746
78841
|
for (const o2 in e4)
|
|
@@ -78985,15 +79080,15 @@ var require_processPagePollCjs = __commonJS({
|
|
|
78985
79080
|
return a2.lexer = new xo.Lexer({ generic: true, units: e4.units, types: e4.types, atrules: e4.atrules, properties: e4.properties, node: e4.node }, a2), a2;
|
|
78986
79081
|
}
|
|
78987
79082
|
var Co = (e4) => _o(So({}, e4)), Ao = {}, zo = {};
|
|
78988
|
-
const Lo = f,
|
|
78989
|
-
function
|
|
79083
|
+
const Lo = f, Eo = g, To = 43, No = 45, Do = 110, Po = true;
|
|
79084
|
+
function Ro(e4, t4) {
|
|
78990
79085
|
let n3 = this.tokenStart + e4;
|
|
78991
79086
|
const r2 = this.charCodeAt(n3);
|
|
78992
|
-
for (r2 !==
|
|
78993
|
-
|
|
79087
|
+
for (r2 !== To && r2 !== No || (t4 && this.error("Number sign is not allowed"), n3++); n3 < this.tokenEnd; n3++)
|
|
79088
|
+
Eo.isDigit(this.charCodeAt(n3)) || this.error("Integer is expected", n3);
|
|
78994
79089
|
}
|
|
78995
|
-
function
|
|
78996
|
-
return
|
|
79090
|
+
function Io(e4) {
|
|
79091
|
+
return Ro.call(this, 0, e4);
|
|
78997
79092
|
}
|
|
78998
79093
|
function Bo(e4, t4) {
|
|
78999
79094
|
if (!this.cmpChar(this.tokenStart + e4, t4)) {
|
|
@@ -79013,15 +79108,15 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79013
79108
|
for (; n3 === Lo.WhiteSpace || n3 === Lo.Comment; )
|
|
79014
79109
|
n3 = this.lookupType(++e4);
|
|
79015
79110
|
if (n3 !== Lo.Number) {
|
|
79016
|
-
if (!this.isDelim(
|
|
79111
|
+
if (!this.isDelim(To, e4) && !this.isDelim(No, e4))
|
|
79017
79112
|
return null;
|
|
79018
|
-
t4 = this.isDelim(
|
|
79113
|
+
t4 = this.isDelim(To, e4) ? To : No;
|
|
79019
79114
|
do {
|
|
79020
79115
|
n3 = this.lookupType(++e4);
|
|
79021
79116
|
} while (n3 === Lo.WhiteSpace || n3 === Lo.Comment);
|
|
79022
|
-
n3 !== Lo.Number && (this.skip(e4),
|
|
79117
|
+
n3 !== Lo.Number && (this.skip(e4), Io.call(this, Po));
|
|
79023
79118
|
}
|
|
79024
|
-
return e4 > 0 && this.skip(e4), 0 === t4 && (n3 = this.charCodeAt(this.tokenStart), n3 !==
|
|
79119
|
+
return e4 > 0 && this.skip(e4), 0 === t4 && (n3 = this.charCodeAt(this.tokenStart), n3 !== To && n3 !== No && this.error("Number sign is expected")), Io.call(this, 0 !== t4), t4 === No ? "-" + this.consume(Lo.Number) : this.consume(Lo.Number);
|
|
79025
79120
|
}
|
|
79026
79121
|
const Uo = { a: [String, null], b: [String, null] };
|
|
79027
79122
|
zo.generate = function(e4) {
|
|
@@ -79038,39 +79133,39 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79038
79133
|
const e4 = this.tokenStart;
|
|
79039
79134
|
let t4 = null, n3 = null;
|
|
79040
79135
|
if (this.tokenType === Lo.Number)
|
|
79041
|
-
|
|
79136
|
+
Io.call(this, false), n3 = this.consume(Lo.Number);
|
|
79042
79137
|
else if (this.tokenType === Lo.Ident && this.cmpChar(this.tokenStart, No))
|
|
79043
79138
|
switch (t4 = "-1", Bo.call(this, 1, Do), this.tokenEnd - this.tokenStart) {
|
|
79044
79139
|
case 2:
|
|
79045
79140
|
this.next(), n3 = Oo.call(this);
|
|
79046
79141
|
break;
|
|
79047
79142
|
case 3:
|
|
79048
|
-
Bo.call(this, 2, No), this.next(), this.skipSC(),
|
|
79143
|
+
Bo.call(this, 2, No), this.next(), this.skipSC(), Io.call(this, Po), n3 = "-" + this.consume(Lo.Number);
|
|
79049
79144
|
break;
|
|
79050
79145
|
default:
|
|
79051
|
-
Bo.call(this, 2, No),
|
|
79146
|
+
Bo.call(this, 2, No), Ro.call(this, 3, Po), this.next(), n3 = this.substrToCursor(e4 + 2);
|
|
79052
79147
|
}
|
|
79053
|
-
else if (this.tokenType === Lo.Ident || this.isDelim(
|
|
79148
|
+
else if (this.tokenType === Lo.Ident || this.isDelim(To) && this.lookupType(1) === Lo.Ident) {
|
|
79054
79149
|
let r2 = 0;
|
|
79055
|
-
switch (t4 = "1", this.isDelim(
|
|
79150
|
+
switch (t4 = "1", this.isDelim(To) && (r2 = 1, this.next()), Bo.call(this, 0, Do), this.tokenEnd - this.tokenStart) {
|
|
79056
79151
|
case 1:
|
|
79057
79152
|
this.next(), n3 = Oo.call(this);
|
|
79058
79153
|
break;
|
|
79059
79154
|
case 2:
|
|
79060
|
-
Bo.call(this, 1, No), this.next(), this.skipSC(),
|
|
79155
|
+
Bo.call(this, 1, No), this.next(), this.skipSC(), Io.call(this, Po), n3 = "-" + this.consume(Lo.Number);
|
|
79061
79156
|
break;
|
|
79062
79157
|
default:
|
|
79063
|
-
Bo.call(this, 1, No),
|
|
79158
|
+
Bo.call(this, 1, No), Ro.call(this, 2, Po), this.next(), n3 = this.substrToCursor(e4 + r2 + 1);
|
|
79064
79159
|
}
|
|
79065
79160
|
} else if (this.tokenType === Lo.Dimension) {
|
|
79066
|
-
const r2 = this.charCodeAt(this.tokenStart), o2 = r2 ===
|
|
79161
|
+
const r2 = this.charCodeAt(this.tokenStart), o2 = r2 === To || r2 === No;
|
|
79067
79162
|
let i2 = this.tokenStart + o2;
|
|
79068
|
-
for (; i2 < this.tokenEnd &&
|
|
79163
|
+
for (; i2 < this.tokenEnd && Eo.isDigit(this.charCodeAt(i2)); i2++)
|
|
79069
79164
|
;
|
|
79070
|
-
i2 === this.tokenStart + o2 && this.error("Integer is expected", this.tokenStart + o2), Bo.call(this, i2 - this.tokenStart, Do), t4 = this.substring(e4, i2), i2 + 1 === this.tokenEnd ? (this.next(), n3 = Oo.call(this)) : (Bo.call(this, i2 - this.tokenStart + 1, No), i2 + 2 === this.tokenEnd ? (this.next(), this.skipSC(),
|
|
79165
|
+
i2 === this.tokenStart + o2 && this.error("Integer is expected", this.tokenStart + o2), Bo.call(this, i2 - this.tokenStart, Do), t4 = this.substring(e4, i2), i2 + 1 === this.tokenEnd ? (this.next(), n3 = Oo.call(this)) : (Bo.call(this, i2 - this.tokenStart + 1, No), i2 + 2 === this.tokenEnd ? (this.next(), this.skipSC(), Io.call(this, Po), n3 = "-" + this.consume(Lo.Number)) : (Ro.call(this, i2 - this.tokenStart + 2, Po), this.next(), n3 = this.substrToCursor(i2 + 1)));
|
|
79071
79166
|
} else
|
|
79072
79167
|
this.error();
|
|
79073
|
-
return null !== t4 && t4.charCodeAt(0) ===
|
|
79168
|
+
return null !== t4 && t4.charCodeAt(0) === To && (t4 = t4.substr(1)), null !== n3 && n3.charCodeAt(0) === To && (n3 = n3.substr(1)), { type: "AnPlusB", loc: this.getLocation(e4, this.tokenStart), a: t4, b: n3 };
|
|
79074
79169
|
}, zo.structure = Uo;
|
|
79075
79170
|
var Mo = {};
|
|
79076
79171
|
const Fo = f;
|
|
@@ -79292,7 +79387,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79292
79387
|
}, yi.structure = _i, yi.walkContext = "declaration";
|
|
79293
79388
|
var zi = {};
|
|
79294
79389
|
const Li = f;
|
|
79295
|
-
function
|
|
79390
|
+
function Ei(e4) {
|
|
79296
79391
|
return this.Raw(e4, this.consumeUntilSemicolonIncluded, true);
|
|
79297
79392
|
}
|
|
79298
79393
|
zi.generate = function(e4) {
|
|
@@ -79309,30 +79404,30 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79309
79404
|
this.next();
|
|
79310
79405
|
break;
|
|
79311
79406
|
case Li.AtKeyword:
|
|
79312
|
-
e4.push(this.parseWithFallback(this.Atrule.bind(this, true),
|
|
79407
|
+
e4.push(this.parseWithFallback(this.Atrule.bind(this, true), Ei));
|
|
79313
79408
|
break;
|
|
79314
79409
|
default:
|
|
79315
|
-
this.isDelim(38) ? e4.push(this.parseWithFallback(this.Rule,
|
|
79410
|
+
this.isDelim(38) ? e4.push(this.parseWithFallback(this.Rule, Ei)) : e4.push(this.parseWithFallback(this.Declaration, Ei));
|
|
79316
79411
|
}
|
|
79317
79412
|
return { type: "DeclarationList", loc: this.getLocationFromList(e4), children: e4 };
|
|
79318
79413
|
}, zi.structure = { children: [["Declaration", "Atrule", "Rule"]] };
|
|
79319
|
-
var
|
|
79414
|
+
var Ti = {};
|
|
79320
79415
|
const Ni = f, Di = { value: String, unit: String };
|
|
79321
|
-
|
|
79416
|
+
Ti.generate = function(e4) {
|
|
79322
79417
|
this.token(Ni.Dimension, e4.value + e4.unit);
|
|
79323
|
-
},
|
|
79418
|
+
}, Ti.name = "Dimension", Ti.parse = function() {
|
|
79324
79419
|
const e4 = this.tokenStart, t4 = this.consumeNumber(Ni.Dimension);
|
|
79325
79420
|
return { type: "Dimension", loc: this.getLocation(e4, this.tokenStart), value: t4, unit: this.substring(e4 + t4.length, this.tokenStart) };
|
|
79326
|
-
},
|
|
79421
|
+
}, Ti.structure = Di;
|
|
79327
79422
|
var Pi = {};
|
|
79328
|
-
const
|
|
79423
|
+
const Ri = f, Ii = { name: String, children: [[]] };
|
|
79329
79424
|
Pi.generate = function(e4) {
|
|
79330
|
-
this.token(
|
|
79425
|
+
this.token(Ri.Function, e4.name + "("), this.children(e4), this.token(Ri.RightParenthesis, ")");
|
|
79331
79426
|
}, Pi.name = "Function", Pi.parse = function(e4, t4) {
|
|
79332
79427
|
const n3 = this.tokenStart, r2 = this.consumeFunctionName(), o2 = r2.toLowerCase();
|
|
79333
79428
|
let i2;
|
|
79334
|
-
return i2 = t4.hasOwnProperty(o2) ? t4[o2].call(this, t4) : e4.call(this, t4), this.eof || this.eat(
|
|
79335
|
-
}, Pi.structure =
|
|
79429
|
+
return i2 = t4.hasOwnProperty(o2) ? t4[o2].call(this, t4) : e4.call(this, t4), this.eof || this.eat(Ri.RightParenthesis), { type: "Function", loc: this.getLocation(n3, this.tokenStart), name: r2, children: i2 };
|
|
79430
|
+
}, Pi.structure = Ii, Pi.walkContext = "function";
|
|
79336
79431
|
var Bi = {};
|
|
79337
79432
|
const Oi = f, Ui = { value: String };
|
|
79338
79433
|
Bi.generate = function(e4) {
|
|
@@ -79520,10 +79615,10 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79520
79615
|
}, Sa.structure = Aa;
|
|
79521
79616
|
var za = {};
|
|
79522
79617
|
const La = f;
|
|
79523
|
-
function
|
|
79618
|
+
function Ea(e4) {
|
|
79524
79619
|
return this.Raw(e4, this.consumeUntilLeftCurlyBracket, true);
|
|
79525
79620
|
}
|
|
79526
|
-
function
|
|
79621
|
+
function Ta() {
|
|
79527
79622
|
const e4 = this.SelectorList();
|
|
79528
79623
|
return "Raw" !== e4.type && false === this.eof && this.tokenType !== La.LeftCurlyBracket && this.error(), e4;
|
|
79529
79624
|
}
|
|
@@ -79532,7 +79627,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79532
79627
|
}, za.name = "Rule", za.parse = function() {
|
|
79533
79628
|
const e4 = this.tokenIndex, t4 = this.tokenStart;
|
|
79534
79629
|
let n3, r2;
|
|
79535
|
-
return n3 = this.parseRulePrelude ? this.parseWithFallback(
|
|
79630
|
+
return n3 = this.parseRulePrelude ? this.parseWithFallback(Ta, Ea) : Ea.call(this, e4), r2 = this.Block(true), { type: "Rule", loc: this.getLocation(t4, this.tokenStart), prelude: n3, block: r2 };
|
|
79536
79631
|
}, za.structure = { prelude: ["SelectorList", "Raw"], block: ["Block"] }, za.walkContext = "rule";
|
|
79537
79632
|
var Na = { generate: function(e4) {
|
|
79538
79633
|
this.children(e4);
|
|
@@ -79549,9 +79644,9 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79549
79644
|
this.next();
|
|
79550
79645
|
return { type: "SelectorList", loc: this.getLocationFromList(e4), children: e4 };
|
|
79551
79646
|
}, Da.structure = { children: [["Selector", "Raw"]] }, Da.walkContext = "selector";
|
|
79552
|
-
var
|
|
79647
|
+
var Ra = {}, Ia = {};
|
|
79553
79648
|
const Ba = g, Oa = L;
|
|
79554
|
-
|
|
79649
|
+
Ia.decode = function(e4) {
|
|
79555
79650
|
const t4 = e4.length, n3 = e4.charCodeAt(0), r2 = 34 === n3 || 39 === n3 ? 1 : 0, o2 = 1 === r2 && t4 > 1 && e4.charCodeAt(t4 - 1) === n3 ? t4 - 2 : t4 - 1;
|
|
79556
79651
|
let i2 = "";
|
|
79557
79652
|
for (let n4 = r2; n4 <= o2; n4++) {
|
|
@@ -79570,7 +79665,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79570
79665
|
i2 += e4[n4];
|
|
79571
79666
|
}
|
|
79572
79667
|
return i2;
|
|
79573
|
-
},
|
|
79668
|
+
}, Ia.encode = function(e4, t4) {
|
|
79574
79669
|
const n3 = t4 ? "'" : '"', r2 = t4 ? 39 : 34;
|
|
79575
79670
|
let o2 = "", i2 = false;
|
|
79576
79671
|
for (let t5 = 0; t5 < e4.length; t5++) {
|
|
@@ -79579,12 +79674,12 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79579
79674
|
}
|
|
79580
79675
|
return n3 + o2 + n3;
|
|
79581
79676
|
};
|
|
79582
|
-
const Ua =
|
|
79583
|
-
|
|
79677
|
+
const Ua = Ia, Ma = f, Fa = { value: String };
|
|
79678
|
+
Ra.generate = function(e4) {
|
|
79584
79679
|
this.token(Ma.String, Ua.encode(e4.value));
|
|
79585
|
-
},
|
|
79680
|
+
}, Ra.name = "String", Ra.parse = function() {
|
|
79586
79681
|
return { type: "String", loc: this.getLocation(this.tokenStart, this.tokenEnd), value: Ua.decode(this.consume(Ma.String)) };
|
|
79587
|
-
},
|
|
79682
|
+
}, Ra.structure = Fa;
|
|
79588
79683
|
var ja = {};
|
|
79589
79684
|
const Ha = f;
|
|
79590
79685
|
function qa(e4) {
|
|
@@ -79723,7 +79818,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79723
79818
|
}
|
|
79724
79819
|
return "url(" + t4 + ")";
|
|
79725
79820
|
};
|
|
79726
|
-
const cs = as, us =
|
|
79821
|
+
const cs = as, us = Ia, hs = f, ds = { value: String };
|
|
79727
79822
|
is.generate = function(e4) {
|
|
79728
79823
|
this.token(hs.Url, cs.encode(e4.value));
|
|
79729
79824
|
}, is.name = "Url", is.parse = function() {
|
|
@@ -79753,8 +79848,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79753
79848
|
}, ms.name = "WhiteSpace", ms.parse = function() {
|
|
79754
79849
|
return this.eat(fs.WhiteSpace), gs;
|
|
79755
79850
|
}, ms.structure = bs;
|
|
79756
|
-
const ys = zo, ks = Mo, ws = Wo, vs = Vo, xs = Xo, Ss = ri, _s = ii, Cs = si, As = ci, zs = di, Ls = fi,
|
|
79757
|
-
Ao.AnPlusB = ys, Ao.Atrule = ks, Ao.AtrulePrelude = ws, Ao.AttributeSelector = vs, Ao.Block = xs, Ao.Brackets = Ss, Ao.CDC = _s, Ao.CDO = Cs, Ao.ClassSelector = As, Ao.Combinator = zs, Ao.Comment = Ls, Ao.Declaration =
|
|
79851
|
+
const ys = zo, ks = Mo, ws = Wo, vs = Vo, xs = Xo, Ss = ri, _s = ii, Cs = si, As = ci, zs = di, Ls = fi, Es = yi, Ts = zi, Ns = Ti, Ds = Pi, Ps = Bi, Rs = Mi, Is = Hi, Bs = $i, Os = Zi, Us = Yi, Ms = Qi, Fs = ea, js = na, Hs = ia, qs = sa, Ws = ca, $s = da, Vs = fa, Ks = ya, Zs = Sa, Gs = za, Ys = Na, Xs = Da, Qs = Ra, Js = ja, el = Wa, tl = Za, nl = is, rl = ps, ol = ms;
|
|
79852
|
+
Ao.AnPlusB = ys, Ao.Atrule = ks, Ao.AtrulePrelude = ws, Ao.AttributeSelector = vs, Ao.Block = xs, Ao.Brackets = Ss, Ao.CDC = _s, Ao.CDO = Cs, Ao.ClassSelector = As, Ao.Combinator = zs, Ao.Comment = Ls, Ao.Declaration = Es, Ao.DeclarationList = Ts, Ao.Dimension = Ns, Ao.Function = Ds, Ao.Hash = Ps, Ao.Identifier = Rs, Ao.IdSelector = Is, Ao.MediaFeature = Bs, Ao.MediaQuery = Os, Ao.MediaQueryList = Us, Ao.NestingSelector = Ms, Ao.Nth = Fs, Ao.Number = js, Ao.Operator = Hs, Ao.Parentheses = qs, Ao.Percentage = Ws, Ao.PseudoClassSelector = $s, Ao.PseudoElementSelector = Vs, Ao.Ratio = Ks, Ao.Raw = Zs, Ao.Rule = Gs, Ao.Selector = Ys, Ao.SelectorList = Xs, Ao.String = Qs, Ao.StyleSheet = Js, Ao.TypeSelector = el, Ao.UnicodeRange = tl, Ao.Url = nl, Ao.Value = rl, Ao.WhiteSpace = ol;
|
|
79758
79853
|
var il = { generic: true, generic: true, units: { angle: ["deg", "grad", "rad", "turn"], decibel: ["db"], flex: ["fr"], frequency: ["hz", "khz"], length: ["cm", "mm", "q", "in", "pt", "pc", "px", "em", "rem", "ex", "rex", "cap", "rcap", "ch", "rch", "ic", "ric", "lh", "rlh", "vw", "svw", "lvw", "dvw", "vh", "svh", "lvh", "dvh", "vi", "svi", "lvi", "dvi", "vb", "svb", "lvb", "dvb", "vmin", "svmin", "lvmin", "dvmin", "vmax", "svmax", "lvmax", "dvmax", "cqw", "cqh", "cqi", "cqb", "cqmin", "cqmax"], resolution: ["dpi", "dpcm", "dppx", "x"], semitones: ["st"], time: ["s", "ms"] }, types: { "abs()": "abs( <calc-sum> )", "absolute-size": "xx-small|x-small|small|medium|large|x-large|xx-large|xxx-large", "acos()": "acos( <calc-sum> )", "alpha-value": "<number>|<percentage>", "angle-percentage": "<angle>|<percentage>", "angular-color-hint": "<angle-percentage>", "angular-color-stop": "<color>&&<color-stop-angle>?", "angular-color-stop-list": "[<angular-color-stop> [, <angular-color-hint>]?]# , <angular-color-stop>", "animateable-feature": "scroll-position|contents|<custom-ident>", "asin()": "asin( <calc-sum> )", "atan()": "atan( <calc-sum> )", "atan2()": "atan2( <calc-sum> , <calc-sum> )", attachment: "scroll|fixed|local", "attr()": "attr( <attr-name> <type-or-unit>? [, <attr-fallback>]? )", "attr-matcher": "['~'|'|'|'^'|'$'|'*']? '='", "attr-modifier": "i|s", "attribute-selector": "'[' <wq-name> ']'|'[' <wq-name> <attr-matcher> [<string-token>|<ident-token>] <attr-modifier>? ']'", "auto-repeat": "repeat( [auto-fill|auto-fit] , [<line-names>? <fixed-size>]+ <line-names>? )", "auto-track-list": "[<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>? <auto-repeat> [<line-names>? [<fixed-size>|<fixed-repeat>]]* <line-names>?", axis: "block|inline|vertical|horizontal", "baseline-position": "[first|last]? baseline", "basic-shape": "<inset()>|<circle()>|<ellipse()>|<polygon()>|<path()>", "bg-image": "none|<image>", "bg-layer": "<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>", "bg-position": "[[left|center|right|top|bottom|<length-percentage>]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]|[center|[left|right] <length-percentage>?]&&[center|[top|bottom] <length-percentage>?]]", "bg-size": "[<length-percentage>|auto]{1,2}|cover|contain", "blur()": "blur( <length> )", "blend-mode": "normal|multiply|screen|overlay|darken|lighten|color-dodge|color-burn|hard-light|soft-light|difference|exclusion|hue|saturation|color|luminosity", box: "border-box|padding-box|content-box", "brightness()": "brightness( <number-percentage> )", "calc()": "calc( <calc-sum> )", "calc-sum": "<calc-product> [['+'|'-'] <calc-product>]*", "calc-product": "<calc-value> ['*' <calc-value>|'/' <number>]*", "calc-value": "<number>|<dimension>|<percentage>|<calc-constant>|( <calc-sum> )", "calc-constant": "e|pi|infinity|-infinity|NaN", "cf-final-image": "<image>|<color>", "cf-mixing-image": "<percentage>?&&<image>", "circle()": "circle( [<shape-radius>]? [at <position>]? )", "clamp()": "clamp( <calc-sum>#{3} )", "class-selector": "'.' <ident-token>", "clip-source": "<url>", color: "<rgb()>|<rgba()>|<hsl()>|<hsla()>|<hwb()>|<lab()>|<lch()>|<hex-color>|<named-color>|currentcolor|<deprecated-system-color>", "color-stop": "<color-stop-length>|<color-stop-angle>", "color-stop-angle": "<angle-percentage>{1,2}", "color-stop-length": "<length-percentage>{1,2}", "color-stop-list": "[<linear-color-stop> [, <linear-color-hint>]?]# , <linear-color-stop>", combinator: "'>'|'+'|'~'|['||']", "common-lig-values": "[common-ligatures|no-common-ligatures]", "compat-auto": "searchfield|textarea|push-button|slider-horizontal|checkbox|radio|square-button|menulist|listbox|meter|progress-bar|button", "composite-style": "clear|copy|source-over|source-in|source-out|source-atop|destination-over|destination-in|destination-out|destination-atop|xor", "compositing-operator": "add|subtract|intersect|exclude", "compound-selector": "[<type-selector>? <subclass-selector>* [<pseudo-element-selector> <pseudo-class-selector>*]*]!", "compound-selector-list": "<compound-selector>#", "complex-selector": "<compound-selector> [<combinator>? <compound-selector>]*", "complex-selector-list": "<complex-selector>#", "conic-gradient()": "conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )", "contextual-alt-values": "[contextual|no-contextual]", "content-distribution": "space-between|space-around|space-evenly|stretch", "content-list": "[<string>|contents|<image>|<counter>|<quote>|<target>|<leader()>|<attr()>]+", "content-position": "center|start|end|flex-start|flex-end", "content-replacement": "<image>", "contrast()": "contrast( [<number-percentage>] )", "cos()": "cos( <calc-sum> )", counter: "<counter()>|<counters()>", "counter()": "counter( <counter-name> , <counter-style>? )", "counter-name": "<custom-ident>", "counter-style": "<counter-style-name>|symbols( )", "counter-style-name": "<custom-ident>", "counters()": "counters( <counter-name> , <string> , <counter-style>? )", "cross-fade()": "cross-fade( <cf-mixing-image> , <cf-final-image>? )", "cubic-bezier-timing-function": "ease|ease-in|ease-out|ease-in-out|cubic-bezier( <number [0,1]> , <number> , <number [0,1]> , <number> )", "deprecated-system-color": "ActiveBorder|ActiveCaption|AppWorkspace|Background|ButtonFace|ButtonHighlight|ButtonShadow|ButtonText|CaptionText|GrayText|Highlight|HighlightText|InactiveBorder|InactiveCaption|InactiveCaptionText|InfoBackground|InfoText|Menu|MenuText|Scrollbar|ThreeDDarkShadow|ThreeDFace|ThreeDHighlight|ThreeDLightShadow|ThreeDShadow|Window|WindowFrame|WindowText", "discretionary-lig-values": "[discretionary-ligatures|no-discretionary-ligatures]", "display-box": "contents|none", "display-inside": "flow|flow-root|table|flex|grid|ruby", "display-internal": "table-row-group|table-header-group|table-footer-group|table-row|table-cell|table-column-group|table-column|table-caption|ruby-base|ruby-text|ruby-base-container|ruby-text-container", "display-legacy": "inline-block|inline-list-item|inline-table|inline-flex|inline-grid", "display-listitem": "<display-outside>?&&[flow|flow-root]?&&list-item", "display-outside": "block|inline|run-in", "drop-shadow()": "drop-shadow( <length>{2,3} <color>? )", "east-asian-variant-values": "[jis78|jis83|jis90|jis04|simplified|traditional]", "east-asian-width-values": "[full-width|proportional-width]", "element()": "element( <custom-ident> , [first|start|last|first-except]? )|element( <id-selector> )", "ellipse()": "ellipse( [<shape-radius>{2}]? [at <position>]? )", "ending-shape": "circle|ellipse", "env()": "env( <custom-ident> , <declaration-value>? )", "exp()": "exp( <calc-sum> )", "explicit-track-list": "[<line-names>? <track-size>]+ <line-names>?", "family-name": "<string>|<custom-ident>+", "feature-tag-value": "<string> [<integer>|on|off]?", "feature-type": "@stylistic|@historical-forms|@styleset|@character-variant|@swash|@ornaments|@annotation", "feature-value-block": "<feature-type> '{' <feature-value-declaration-list> '}'", "feature-value-block-list": "<feature-value-block>+", "feature-value-declaration": "<custom-ident> : <integer>+ ;", "feature-value-declaration-list": "<feature-value-declaration>", "feature-value-name": "<custom-ident>", "fill-rule": "nonzero|evenodd", "filter-function": "<blur()>|<brightness()>|<contrast()>|<drop-shadow()>|<grayscale()>|<hue-rotate()>|<invert()>|<opacity()>|<saturate()>|<sepia()>", "filter-function-list": "[<filter-function>|<url>]+", "final-bg-layer": "<'background-color'>||<bg-image>||<bg-position> [/ <bg-size>]?||<repeat-style>||<attachment>||<box>||<box>", "fixed-breadth": "<length-percentage>", "fixed-repeat": "repeat( [<integer [1,\u221E]>] , [<line-names>? <fixed-size>]+ <line-names>? )", "fixed-size": "<fixed-breadth>|minmax( <fixed-breadth> , <track-breadth> )|minmax( <inflexible-breadth> , <fixed-breadth> )", "font-stretch-absolute": "normal|ultra-condensed|extra-condensed|condensed|semi-condensed|semi-expanded|expanded|extra-expanded|ultra-expanded|<percentage>", "font-variant-css21": "[normal|small-caps]", "font-weight-absolute": "normal|bold|<number [1,1000]>", "frequency-percentage": "<frequency>|<percentage>", "general-enclosed": "[<function-token> <any-value> )]|( <ident> <any-value> )", "generic-family": "serif|sans-serif|cursive|fantasy|monospace|-apple-system", "generic-name": "serif|sans-serif|cursive|fantasy|monospace", "geometry-box": "<shape-box>|fill-box|stroke-box|view-box", gradient: "<linear-gradient()>|<repeating-linear-gradient()>|<radial-gradient()>|<repeating-radial-gradient()>|<conic-gradient()>|<repeating-conic-gradient()>|<-legacy-gradient>", "grayscale()": "grayscale( <number-percentage> )", "grid-line": "auto|<custom-ident>|[<integer>&&<custom-ident>?]|[span&&[<integer>||<custom-ident>]]", "historical-lig-values": "[historical-ligatures|no-historical-ligatures]", "hsl()": "hsl( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )", "hsla()": "hsla( <hue> <percentage> <percentage> [/ <alpha-value>]? )|hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )", hue: "<number>|<angle>", "hue-rotate()": "hue-rotate( <angle> )", "hwb()": "hwb( [<hue>|none] [<percentage>|none] [<percentage>|none] [/ [<alpha-value>|none]]? )", "hypot()": "hypot( <calc-sum># )", image: "<url>|<image()>|<image-set()>|<element()>|<paint()>|<cross-fade()>|<gradient>", "image()": "image( <image-tags>? [<image-src>? , <color>?]! )", "image-set()": "image-set( <image-set-option># )", "image-set-option": "[<image>|<string>] [<resolution>||type( <string> )]", "image-src": "<url>|<string>", "image-tags": "ltr|rtl", "inflexible-breadth": "<length-percentage>|min-content|max-content|auto", "inset()": "inset( <length-percentage>{1,4} [round <'border-radius'>]? )", "invert()": "invert( <number-percentage> )", "keyframes-name": "<custom-ident>|<string>", "keyframe-block": "<keyframe-selector># { <declaration-list> }", "keyframe-block-list": "<keyframe-block>+", "keyframe-selector": "from|to|<percentage>", "lab()": "lab( [<percentage>|<number>|none] [<percentage>|<number>|none] [<percentage>|<number>|none] [/ [<alpha-value>|none]]? )", "layer()": "layer( <layer-name> )", "layer-name": "<ident> ['.' <ident>]*", "lch()": "lch( [<percentage>|<number>|none] [<percentage>|<number>|none] [<hue>|none] [/ [<alpha-value>|none]]? )", "leader()": "leader( <leader-type> )", "leader-type": "dotted|solid|space|<string>", "length-percentage": "<length>|<percentage>", "line-names": "'[' <custom-ident>* ']'", "line-name-list": "[<line-names>|<name-repeat>]+", "line-style": "none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset", "line-width": "<length>|thin|medium|thick", "linear-color-hint": "<length-percentage>", "linear-color-stop": "<color> <color-stop-length>?", "linear-gradient()": "linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )", "log()": "log( <calc-sum> , <calc-sum>? )", "mask-layer": "<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||<geometry-box>||[<geometry-box>|no-clip]||<compositing-operator>||<masking-mode>", "mask-position": "[<length-percentage>|left|center|right] [<length-percentage>|top|center|bottom]?", "mask-reference": "none|<image>|<mask-source>", "mask-source": "<url>", "masking-mode": "alpha|luminance|match-source", "matrix()": "matrix( <number>#{6} )", "matrix3d()": "matrix3d( <number>#{16} )", "max()": "max( <calc-sum># )", "media-and": "<media-in-parens> [and <media-in-parens>]+", "media-condition": "<media-not>|<media-and>|<media-or>|<media-in-parens>", "media-condition-without-or": "<media-not>|<media-and>|<media-in-parens>", "media-feature": "( [<mf-plain>|<mf-boolean>|<mf-range>] )", "media-in-parens": "( <media-condition> )|<media-feature>|<general-enclosed>", "media-not": "not <media-in-parens>", "media-or": "<media-in-parens> [or <media-in-parens>]+", "media-query": "<media-condition>|[not|only]? <media-type> [and <media-condition-without-or>]?", "media-query-list": "<media-query>#", "media-type": "<ident>", "mf-boolean": "<mf-name>", "mf-name": "<ident>", "mf-plain": "<mf-name> : <mf-value>", "mf-range": "<mf-name> ['<'|'>']? '='? <mf-value>|<mf-value> ['<'|'>']? '='? <mf-name>|<mf-value> '<' '='? <mf-name> '<' '='? <mf-value>|<mf-value> '>' '='? <mf-name> '>' '='? <mf-value>", "mf-value": "<number>|<dimension>|<ident>|<ratio>", "min()": "min( <calc-sum># )", "minmax()": "minmax( [<length-percentage>|min-content|max-content|auto] , [<length-percentage>|<flex>|min-content|max-content|auto] )", "mod()": "mod( <calc-sum> , <calc-sum> )", "name-repeat": "repeat( [<integer [1,\u221E]>|auto-fill] , <line-names>+ )", "named-color": "transparent|aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkgrey|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|grey|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|<-non-standard-color>", "namespace-prefix": "<ident>", "ns-prefix": "[<ident-token>|'*']? '|'", "number-percentage": "<number>|<percentage>", "numeric-figure-values": "[lining-nums|oldstyle-nums]", "numeric-fraction-values": "[diagonal-fractions|stacked-fractions]", "numeric-spacing-values": "[proportional-nums|tabular-nums]", nth: "<an-plus-b>|even|odd", "opacity()": "opacity( [<number-percentage>] )", "overflow-position": "unsafe|safe", "outline-radius": "<length>|<percentage>", "page-body": "<declaration>? [; <page-body>]?|<page-margin-box> <page-body>", "page-margin-box": "<page-margin-box-type> '{' <declaration-list> '}'", "page-margin-box-type": "@top-left-corner|@top-left|@top-center|@top-right|@top-right-corner|@bottom-left-corner|@bottom-left|@bottom-center|@bottom-right|@bottom-right-corner|@left-top|@left-middle|@left-bottom|@right-top|@right-middle|@right-bottom", "page-selector-list": "[<page-selector>#]?", "page-selector": "<pseudo-page>+|<ident> <pseudo-page>*", "page-size": "A5|A4|A3|B5|B4|JIS-B5|JIS-B4|letter|legal|ledger", "path()": "path( [<fill-rule> ,]? <string> )", "paint()": "paint( <ident> , <declaration-value>? )", "perspective()": "perspective( [<length [0,\u221E]>|none] )", "polygon()": "polygon( <fill-rule>? , [<length-percentage> <length-percentage>]# )", position: "[[left|center|right]||[top|center|bottom]|[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]?|[[left|right] <length-percentage>]&&[[top|bottom] <length-percentage>]]", "pow()": "pow( <calc-sum> , <calc-sum> )", "pseudo-class-selector": "':' <ident-token>|':' <function-token> <any-value> ')'", "pseudo-element-selector": "':' <pseudo-class-selector>", "pseudo-page": ": [left|right|first|blank]", quote: "open-quote|close-quote|no-open-quote|no-close-quote", "radial-gradient()": "radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )", ratio: "<number [0,\u221E]> [/ <number [0,\u221E]>]?", "relative-selector": "<combinator>? <complex-selector>", "relative-selector-list": "<relative-selector>#", "relative-size": "larger|smaller", "rem()": "rem( <calc-sum> , <calc-sum> )", "repeat-style": "repeat-x|repeat-y|[repeat|space|round|no-repeat]{1,2}", "repeating-conic-gradient()": "repeating-conic-gradient( [from <angle>]? [at <position>]? , <angular-color-stop-list> )", "repeating-linear-gradient()": "repeating-linear-gradient( [<angle>|to <side-or-corner>]? , <color-stop-list> )", "repeating-radial-gradient()": "repeating-radial-gradient( [<ending-shape>||<size>]? [at <position>]? , <color-stop-list> )", "reversed-counter-name": "reversed( <counter-name> )", "rgb()": "rgb( <percentage>{3} [/ <alpha-value>]? )|rgb( <number>{3} [/ <alpha-value>]? )|rgb( <percentage>#{3} , <alpha-value>? )|rgb( <number>#{3} , <alpha-value>? )", "rgba()": "rgba( <percentage>{3} [/ <alpha-value>]? )|rgba( <number>{3} [/ <alpha-value>]? )|rgba( <percentage>#{3} , <alpha-value>? )|rgba( <number>#{3} , <alpha-value>? )", "rotate()": "rotate( [<angle>|<zero>] )", "rotate3d()": "rotate3d( <number> , <number> , <number> , [<angle>|<zero>] )", "rotateX()": "rotateX( [<angle>|<zero>] )", "rotateY()": "rotateY( [<angle>|<zero>] )", "rotateZ()": "rotateZ( [<angle>|<zero>] )", "round()": "round( <rounding-strategy>? , <calc-sum> , <calc-sum> )", "rounding-strategy": "nearest|up|down|to-zero", "saturate()": "saturate( <number-percentage> )", "scale()": "scale( [<number>|<percentage>]#{1,2} )", "scale3d()": "scale3d( [<number>|<percentage>]#{3} )", "scaleX()": "scaleX( [<number>|<percentage>] )", "scaleY()": "scaleY( [<number>|<percentage>] )", "scaleZ()": "scaleZ( [<number>|<percentage>] )", scroller: "root|nearest", "self-position": "center|start|end|self-start|self-end|flex-start|flex-end", "shape-radius": "<length-percentage>|closest-side|farthest-side", "sign()": "sign( <calc-sum> )", "skew()": "skew( [<angle>|<zero>] , [<angle>|<zero>]? )", "skewX()": "skewX( [<angle>|<zero>] )", "skewY()": "skewY( [<angle>|<zero>] )", "sepia()": "sepia( <number-percentage> )", shadow: "inset?&&<length>{2,4}&&<color>?", "shadow-t": "[<length>{2,3}&&<color>?]", shape: "rect( <top> , <right> , <bottom> , <left> )|rect( <top> <right> <bottom> <left> )", "shape-box": "<box>|margin-box", "side-or-corner": "[left|right]||[top|bottom]", "sin()": "sin( <calc-sum> )", "single-animation": "<time>||<easing-function>||<time>||<single-animation-iteration-count>||<single-animation-direction>||<single-animation-fill-mode>||<single-animation-play-state>||[none|<keyframes-name>]", "single-animation-direction": "normal|reverse|alternate|alternate-reverse", "single-animation-fill-mode": "none|forwards|backwards|both", "single-animation-iteration-count": "infinite|<number>", "single-animation-play-state": "running|paused", "single-animation-timeline": "auto|none|<timeline-name>|scroll( <axis>? <scroller>? )", "single-transition": "[none|<single-transition-property>]||<time>||<easing-function>||<time>", "single-transition-property": "all|<custom-ident>", size: "closest-side|farthest-side|closest-corner|farthest-corner|<length>|<length-percentage>{2}", "sqrt()": "sqrt( <calc-sum> )", "step-position": "jump-start|jump-end|jump-none|jump-both|start|end", "step-timing-function": "step-start|step-end|steps( <integer> [, <step-position>]? )", "subclass-selector": "<id-selector>|<class-selector>|<attribute-selector>|<pseudo-class-selector>", "supports-condition": "not <supports-in-parens>|<supports-in-parens> [and <supports-in-parens>]*|<supports-in-parens> [or <supports-in-parens>]*", "supports-in-parens": "( <supports-condition> )|<supports-feature>|<general-enclosed>", "supports-feature": "<supports-decl>|<supports-selector-fn>", "supports-decl": "( <declaration> )", "supports-selector-fn": "selector( <complex-selector> )", symbol: "<string>|<image>|<custom-ident>", "tan()": "tan( <calc-sum> )", target: "<target-counter()>|<target-counters()>|<target-text()>", "target-counter()": "target-counter( [<string>|<url>] , <custom-ident> , <counter-style>? )", "target-counters()": "target-counters( [<string>|<url>] , <custom-ident> , <string> , <counter-style>? )", "target-text()": "target-text( [<string>|<url>] , [content|before|after|first-letter]? )", "time-percentage": "<time>|<percentage>", "timeline-name": "<custom-ident>|<string>", "easing-function": "linear|<cubic-bezier-timing-function>|<step-timing-function>", "track-breadth": "<length-percentage>|<flex>|min-content|max-content|auto", "track-list": "[<line-names>? [<track-size>|<track-repeat>]]+ <line-names>?", "track-repeat": "repeat( [<integer [1,\u221E]>] , [<line-names>? <track-size>]+ <line-names>? )", "track-size": "<track-breadth>|minmax( <inflexible-breadth> , <track-breadth> )|fit-content( <length-percentage> )", "transform-function": "<matrix()>|<translate()>|<translateX()>|<translateY()>|<scale()>|<scaleX()>|<scaleY()>|<rotate()>|<skew()>|<skewX()>|<skewY()>|<matrix3d()>|<translate3d()>|<translateZ()>|<scale3d()>|<scaleZ()>|<rotate3d()>|<rotateX()>|<rotateY()>|<rotateZ()>|<perspective()>", "transform-list": "<transform-function>+", "translate()": "translate( <length-percentage> , <length-percentage>? )", "translate3d()": "translate3d( <length-percentage> , <length-percentage> , <length> )", "translateX()": "translateX( <length-percentage> )", "translateY()": "translateY( <length-percentage> )", "translateZ()": "translateZ( <length> )", "type-or-unit": "string|color|url|integer|number|length|angle|time|frequency|cap|ch|em|ex|ic|lh|rlh|rem|vb|vi|vw|vh|vmin|vmax|mm|Q|cm|in|pt|pc|px|deg|grad|rad|turn|ms|s|Hz|kHz|%", "type-selector": "<wq-name>|<ns-prefix>? '*'", "var()": "var( <custom-property-name> , <declaration-value>? )", "viewport-length": "auto|<length-percentage>", "visual-box": "content-box|padding-box|border-box", "wq-name": "<ns-prefix>? <ident-token>", "-legacy-gradient": "<-webkit-gradient()>|<-legacy-linear-gradient>|<-legacy-repeating-linear-gradient>|<-legacy-radial-gradient>|<-legacy-repeating-radial-gradient>", "-legacy-linear-gradient": "-moz-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-linear-gradient( <-legacy-linear-gradient-arguments> )", "-legacy-repeating-linear-gradient": "-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )|-o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )", "-legacy-linear-gradient-arguments": "[<angle>|<side-or-corner>]? , <color-stop-list>", "-legacy-radial-gradient": "-moz-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-radial-gradient( <-legacy-radial-gradient-arguments> )", "-legacy-repeating-radial-gradient": "-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )|-o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )", "-legacy-radial-gradient-arguments": "[<position> ,]? [[[<-legacy-radial-gradient-shape>||<-legacy-radial-gradient-size>]|[<length>|<percentage>]{2}] ,]? <color-stop-list>", "-legacy-radial-gradient-size": "closest-side|closest-corner|farthest-side|farthest-corner|contain|cover", "-legacy-radial-gradient-shape": "circle|ellipse", "-non-standard-font": "-apple-system-body|-apple-system-headline|-apple-system-subheadline|-apple-system-caption1|-apple-system-caption2|-apple-system-footnote|-apple-system-short-body|-apple-system-short-headline|-apple-system-short-subheadline|-apple-system-short-caption1|-apple-system-short-footnote|-apple-system-tall-body", "-non-standard-color": "-moz-ButtonDefault|-moz-ButtonHoverFace|-moz-ButtonHoverText|-moz-CellHighlight|-moz-CellHighlightText|-moz-Combobox|-moz-ComboboxText|-moz-Dialog|-moz-DialogText|-moz-dragtargetzone|-moz-EvenTreeRow|-moz-Field|-moz-FieldText|-moz-html-CellHighlight|-moz-html-CellHighlightText|-moz-mac-accentdarkestshadow|-moz-mac-accentdarkshadow|-moz-mac-accentface|-moz-mac-accentlightesthighlight|-moz-mac-accentlightshadow|-moz-mac-accentregularhighlight|-moz-mac-accentregularshadow|-moz-mac-chrome-active|-moz-mac-chrome-inactive|-moz-mac-focusring|-moz-mac-menuselect|-moz-mac-menushadow|-moz-mac-menutextselect|-moz-MenuHover|-moz-MenuHoverText|-moz-MenuBarText|-moz-MenuBarHoverText|-moz-nativehyperlinktext|-moz-OddTreeRow|-moz-win-communicationstext|-moz-win-mediatext|-moz-activehyperlinktext|-moz-default-background-color|-moz-default-color|-moz-hyperlinktext|-moz-visitedhyperlinktext|-webkit-activelink|-webkit-focus-ring-color|-webkit-link|-webkit-text", "-non-standard-image-rendering": "optimize-contrast|-moz-crisp-edges|-o-crisp-edges|-webkit-optimize-contrast", "-non-standard-overflow": "-moz-scrollbars-none|-moz-scrollbars-horizontal|-moz-scrollbars-vertical|-moz-hidden-unscrollable", "-non-standard-width": "fill-available|min-intrinsic|intrinsic|-moz-available|-moz-fit-content|-moz-min-content|-moz-max-content|-webkit-min-content|-webkit-max-content", "-webkit-gradient()": "-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point>|, <-webkit-gradient-radius> , <-webkit-gradient-point>] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )", "-webkit-gradient-color-stop": "from( <color> )|color-stop( [<number-zero-one>|<percentage>] , <color> )|to( <color> )", "-webkit-gradient-point": "[left|center|right|<length-percentage>] [top|center|bottom|<length-percentage>]", "-webkit-gradient-radius": "<length>|<percentage>", "-webkit-gradient-type": "linear|radial", "-webkit-mask-box-repeat": "repeat|stretch|round", "-webkit-mask-clip-style": "border|border-box|padding|padding-box|content|content-box|text", "-ms-filter-function-list": "<-ms-filter-function>+", "-ms-filter-function": "<-ms-filter-function-progid>|<-ms-filter-function-legacy>", "-ms-filter-function-progid": "'progid:' [<ident-token> '.']* [<ident-token>|<function-token> <any-value>? )]", "-ms-filter-function-legacy": "<ident-token>|<function-token> <any-value>? )", "-ms-filter": "<string>", age: "child|young|old", "attr-name": "<wq-name>", "attr-fallback": "<any-value>", "bg-clip": "<box>|border|text", bottom: "<length>|auto", "generic-voice": "[<age>? <gender> <integer>?]", gender: "male|female|neutral", left: "<length>|auto", "mask-image": "<mask-reference>#", paint: "none|<color>|<url> [none|<color>]?|context-fill|context-stroke", right: "<length>|auto", "scroll-timeline-axis": "block|inline|vertical|horizontal", "scroll-timeline-name": "none|<custom-ident>", "single-animation-composition": "replace|add|accumulate", "svg-length": "<percentage>|<length>|<number>", "svg-writing-mode": "lr-tb|rl-tb|tb-rl|lr|rl|tb", top: "<length>|auto", x: "<number>", y: "<number>", declaration: "<ident-token> : <declaration-value>? ['!' important]?", "declaration-list": "[<declaration>? ';']* <declaration>?", url: "url( <string> <url-modifier>* )|<url-token>", "url-modifier": "<ident>|<function-token> <any-value> )", "number-zero-one": "<number [0,1]>", "number-one-or-greater": "<number [1,\u221E]>", "-non-standard-display": "-ms-inline-flexbox|-ms-grid|-ms-inline-grid|-webkit-flex|-webkit-inline-flex|-webkit-box|-webkit-inline-box|-moz-inline-stack|-moz-box|-moz-inline-box" }, properties: { "--*": "<declaration-value>", "-ms-accelerator": "false|true", "-ms-block-progression": "tb|rl|bt|lr", "-ms-content-zoom-chaining": "none|chained", "-ms-content-zooming": "none|zoom", "-ms-content-zoom-limit": "<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>", "-ms-content-zoom-limit-max": "<percentage>", "-ms-content-zoom-limit-min": "<percentage>", "-ms-content-zoom-snap": "<'-ms-content-zoom-snap-type'>||<'-ms-content-zoom-snap-points'>", "-ms-content-zoom-snap-points": "snapInterval( <percentage> , <percentage> )|snapList( <percentage># )", "-ms-content-zoom-snap-type": "none|proximity|mandatory", "-ms-filter": "<string>", "-ms-flow-from": "[none|<custom-ident>]#", "-ms-flow-into": "[none|<custom-ident>]#", "-ms-grid-columns": "none|<track-list>|<auto-track-list>", "-ms-grid-rows": "none|<track-list>|<auto-track-list>", "-ms-high-contrast-adjust": "auto|none", "-ms-hyphenate-limit-chars": "auto|<integer>{1,3}", "-ms-hyphenate-limit-lines": "no-limit|<integer>", "-ms-hyphenate-limit-zone": "<percentage>|<length>", "-ms-ime-align": "auto|after", "-ms-overflow-style": "auto|none|scrollbar|-ms-autohiding-scrollbar", "-ms-scrollbar-3dlight-color": "<color>", "-ms-scrollbar-arrow-color": "<color>", "-ms-scrollbar-base-color": "<color>", "-ms-scrollbar-darkshadow-color": "<color>", "-ms-scrollbar-face-color": "<color>", "-ms-scrollbar-highlight-color": "<color>", "-ms-scrollbar-shadow-color": "<color>", "-ms-scrollbar-track-color": "<color>", "-ms-scroll-chaining": "chained|none", "-ms-scroll-limit": "<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>", "-ms-scroll-limit-x-max": "auto|<length>", "-ms-scroll-limit-x-min": "<length>", "-ms-scroll-limit-y-max": "auto|<length>", "-ms-scroll-limit-y-min": "<length>", "-ms-scroll-rails": "none|railed", "-ms-scroll-snap-points-x": "snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )", "-ms-scroll-snap-points-y": "snapInterval( <length-percentage> , <length-percentage> )|snapList( <length-percentage># )", "-ms-scroll-snap-type": "none|proximity|mandatory", "-ms-scroll-snap-x": "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>", "-ms-scroll-snap-y": "<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>", "-ms-scroll-translation": "none|vertical-to-horizontal", "-ms-text-autospace": "none|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space", "-ms-touch-select": "grippers|none", "-ms-user-select": "none|element|text", "-ms-wrap-flow": "auto|both|start|end|maximum|clear", "-ms-wrap-margin": "<length>", "-ms-wrap-through": "wrap|none", "-moz-appearance": "none|button|button-arrow-down|button-arrow-next|button-arrow-previous|button-arrow-up|button-bevel|button-focus|caret|checkbox|checkbox-container|checkbox-label|checkmenuitem|dualbutton|groupbox|listbox|listitem|menuarrow|menubar|menucheckbox|menuimage|menuitem|menuitemtext|menulist|menulist-button|menulist-text|menulist-textfield|menupopup|menuradio|menuseparator|meterbar|meterchunk|progressbar|progressbar-vertical|progresschunk|progresschunk-vertical|radio|radio-container|radio-label|radiomenuitem|range|range-thumb|resizer|resizerpanel|scale-horizontal|scalethumbend|scalethumb-horizontal|scalethumbstart|scalethumbtick|scalethumb-vertical|scale-vertical|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|separator|sheet|spinner|spinner-downbutton|spinner-textfield|spinner-upbutton|splitter|statusbar|statusbarpanel|tab|tabpanel|tabpanels|tab-scroll-arrow-back|tab-scroll-arrow-forward|textfield|textfield-multiline|toolbar|toolbarbutton|toolbarbutton-dropdown|toolbargripper|toolbox|tooltip|treeheader|treeheadercell|treeheadersortarrow|treeitem|treeline|treetwisty|treetwistyopen|treeview|-moz-mac-unified-toolbar|-moz-win-borderless-glass|-moz-win-browsertabbar-toolbox|-moz-win-communicationstext|-moz-win-communications-toolbox|-moz-win-exclude-glass|-moz-win-glass|-moz-win-mediatext|-moz-win-media-toolbox|-moz-window-button-box|-moz-window-button-box-maximized|-moz-window-button-close|-moz-window-button-maximize|-moz-window-button-minimize|-moz-window-button-restore|-moz-window-frame-bottom|-moz-window-frame-left|-moz-window-frame-right|-moz-window-titlebar|-moz-window-titlebar-maximized", "-moz-binding": "<url>|none", "-moz-border-bottom-colors": "<color>+|none", "-moz-border-left-colors": "<color>+|none", "-moz-border-right-colors": "<color>+|none", "-moz-border-top-colors": "<color>+|none", "-moz-context-properties": "none|[fill|fill-opacity|stroke|stroke-opacity]#", "-moz-float-edge": "border-box|content-box|margin-box|padding-box", "-moz-force-broken-image-icon": "0|1", "-moz-image-region": "<shape>|auto", "-moz-orient": "inline|block|horizontal|vertical", "-moz-outline-radius": "<outline-radius>{1,4} [/ <outline-radius>{1,4}]?", "-moz-outline-radius-bottomleft": "<outline-radius>", "-moz-outline-radius-bottomright": "<outline-radius>", "-moz-outline-radius-topleft": "<outline-radius>", "-moz-outline-radius-topright": "<outline-radius>", "-moz-stack-sizing": "ignore|stretch-to-fit", "-moz-text-blink": "none|blink", "-moz-user-focus": "ignore|normal|select-after|select-before|select-menu|select-same|select-all|none", "-moz-user-input": "auto|none|enabled|disabled", "-moz-user-modify": "read-only|read-write|write-only", "-moz-window-dragging": "drag|no-drag", "-moz-window-shadow": "default|menu|tooltip|sheet|none", "-webkit-appearance": "none|button|button-bevel|caps-lock-indicator|caret|checkbox|default-button|inner-spin-button|listbox|listitem|media-controls-background|media-controls-fullscreen-background|media-current-time-display|media-enter-fullscreen-button|media-exit-fullscreen-button|media-fullscreen-button|media-mute-button|media-overlay-play-button|media-play-button|media-seek-back-button|media-seek-forward-button|media-slider|media-sliderthumb|media-time-remaining-display|media-toggle-closed-captions-button|media-volume-slider|media-volume-slider-container|media-volume-sliderthumb|menulist|menulist-button|menulist-text|menulist-textfield|meter|progress-bar|progress-bar-value|push-button|radio|scrollbarbutton-down|scrollbarbutton-left|scrollbarbutton-right|scrollbarbutton-up|scrollbargripper-horizontal|scrollbargripper-vertical|scrollbarthumb-horizontal|scrollbarthumb-vertical|scrollbartrack-horizontal|scrollbartrack-vertical|searchfield|searchfield-cancel-button|searchfield-decoration|searchfield-results-button|searchfield-results-decoration|slider-horizontal|slider-vertical|sliderthumb-horizontal|sliderthumb-vertical|square-button|textarea|textfield|-apple-pay-button", "-webkit-border-before": "<'border-width'>||<'border-style'>||<color>", "-webkit-border-before-color": "<color>", "-webkit-border-before-style": "<'border-style'>", "-webkit-border-before-width": "<'border-width'>", "-webkit-box-reflect": "[above|below|right|left]? <length>? <image>?", "-webkit-line-clamp": "none|<integer>", "-webkit-mask": "[<mask-reference>||<position> [/ <bg-size>]?||<repeat-style>||[<box>|border|padding|content|text]||[<box>|border|padding|content]]#", "-webkit-mask-attachment": "<attachment>#", "-webkit-mask-clip": "[<box>|border|padding|content|text]#", "-webkit-mask-composite": "<composite-style>#", "-webkit-mask-image": "<mask-reference>#", "-webkit-mask-origin": "[<box>|border|padding|content]#", "-webkit-mask-position": "<position>#", "-webkit-mask-position-x": "[<length-percentage>|left|center|right]#", "-webkit-mask-position-y": "[<length-percentage>|top|center|bottom]#", "-webkit-mask-repeat": "<repeat-style>#", "-webkit-mask-repeat-x": "repeat|no-repeat|space|round", "-webkit-mask-repeat-y": "repeat|no-repeat|space|round", "-webkit-mask-size": "<bg-size>#", "-webkit-overflow-scrolling": "auto|touch", "-webkit-tap-highlight-color": "<color>", "-webkit-text-fill-color": "<color>", "-webkit-text-stroke": "<length>||<color>", "-webkit-text-stroke-color": "<color>", "-webkit-text-stroke-width": "<length>", "-webkit-touch-callout": "default|none", "-webkit-user-modify": "read-only|read-write|read-write-plaintext-only", "accent-color": "auto|<color>", "align-content": "normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>", "align-items": "normal|stretch|<baseline-position>|[<overflow-position>? <self-position>]", "align-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? <self-position>", "align-tracks": "[normal|<baseline-position>|<content-distribution>|<overflow-position>? <content-position>]#", all: "initial|inherit|unset|revert|revert-layer", animation: "<single-animation>#", "animation-composition": "<single-animation-composition>#", "animation-delay": "<time>#", "animation-direction": "<single-animation-direction>#", "animation-duration": "<time>#", "animation-fill-mode": "<single-animation-fill-mode>#", "animation-iteration-count": "<single-animation-iteration-count>#", "animation-name": "[none|<keyframes-name>]#", "animation-play-state": "<single-animation-play-state>#", "animation-timing-function": "<easing-function>#", "animation-timeline": "<single-animation-timeline>#", appearance: "none|auto|textfield|menulist-button|<compat-auto>", "aspect-ratio": "auto|<ratio>", azimuth: "<angle>|[[left-side|far-left|left|center-left|center|center-right|right|far-right|right-side]||behind]|leftwards|rightwards", "backdrop-filter": "none|<filter-function-list>", "backface-visibility": "visible|hidden", background: "[<bg-layer> ,]* <final-bg-layer>", "background-attachment": "<attachment>#", "background-blend-mode": "<blend-mode>#", "background-clip": "<bg-clip>#", "background-color": "<color>", "background-image": "<bg-image>#", "background-origin": "<box>#", "background-position": "<bg-position>#", "background-position-x": "[center|[[left|right|x-start|x-end]? <length-percentage>?]!]#", "background-position-y": "[center|[[top|bottom|y-start|y-end]? <length-percentage>?]!]#", "background-repeat": "<repeat-style>#", "background-size": "<bg-size>#", "block-overflow": "clip|ellipsis|<string>", "block-size": "<'width'>", border: "<line-width>||<line-style>||<color>", "border-block": "<'border-top-width'>||<'border-top-style'>||<color>", "border-block-color": "<'border-top-color'>{1,2}", "border-block-style": "<'border-top-style'>", "border-block-width": "<'border-top-width'>", "border-block-end": "<'border-top-width'>||<'border-top-style'>||<color>", "border-block-end-color": "<'border-top-color'>", "border-block-end-style": "<'border-top-style'>", "border-block-end-width": "<'border-top-width'>", "border-block-start": "<'border-top-width'>||<'border-top-style'>||<color>", "border-block-start-color": "<'border-top-color'>", "border-block-start-style": "<'border-top-style'>", "border-block-start-width": "<'border-top-width'>", "border-bottom": "<line-width>||<line-style>||<color>", "border-bottom-color": "<'border-top-color'>", "border-bottom-left-radius": "<length-percentage>{1,2}", "border-bottom-right-radius": "<length-percentage>{1,2}", "border-bottom-style": "<line-style>", "border-bottom-width": "<line-width>", "border-collapse": "collapse|separate", "border-color": "<color>{1,4}", "border-end-end-radius": "<length-percentage>{1,2}", "border-end-start-radius": "<length-percentage>{1,2}", "border-image": "<'border-image-source'>||<'border-image-slice'> [/ <'border-image-width'>|/ <'border-image-width'>? / <'border-image-outset'>]?||<'border-image-repeat'>", "border-image-outset": "[<length>|<number>]{1,4}", "border-image-repeat": "[stretch|repeat|round|space]{1,2}", "border-image-slice": "<number-percentage>{1,4}&&fill?", "border-image-source": "none|<image>", "border-image-width": "[<length-percentage>|<number>|auto]{1,4}", "border-inline": "<'border-top-width'>||<'border-top-style'>||<color>", "border-inline-end": "<'border-top-width'>||<'border-top-style'>||<color>", "border-inline-color": "<'border-top-color'>{1,2}", "border-inline-style": "<'border-top-style'>", "border-inline-width": "<'border-top-width'>", "border-inline-end-color": "<'border-top-color'>", "border-inline-end-style": "<'border-top-style'>", "border-inline-end-width": "<'border-top-width'>", "border-inline-start": "<'border-top-width'>||<'border-top-style'>||<color>", "border-inline-start-color": "<'border-top-color'>", "border-inline-start-style": "<'border-top-style'>", "border-inline-start-width": "<'border-top-width'>", "border-left": "<line-width>||<line-style>||<color>", "border-left-color": "<color>", "border-left-style": "<line-style>", "border-left-width": "<line-width>", "border-radius": "<length-percentage>{1,4} [/ <length-percentage>{1,4}]?", "border-right": "<line-width>||<line-style>||<color>", "border-right-color": "<color>", "border-right-style": "<line-style>", "border-right-width": "<line-width>", "border-spacing": "<length> <length>?", "border-start-end-radius": "<length-percentage>{1,2}", "border-start-start-radius": "<length-percentage>{1,2}", "border-style": "<line-style>{1,4}", "border-top": "<line-width>||<line-style>||<color>", "border-top-color": "<color>", "border-top-left-radius": "<length-percentage>{1,2}", "border-top-right-radius": "<length-percentage>{1,2}", "border-top-style": "<line-style>", "border-top-width": "<line-width>", "border-width": "<line-width>{1,4}", bottom: "<length>|<percentage>|auto", "box-align": "start|center|end|baseline|stretch", "box-decoration-break": "slice|clone", "box-direction": "normal|reverse|inherit", "box-flex": "<number>", "box-flex-group": "<integer>", "box-lines": "single|multiple", "box-ordinal-group": "<integer>", "box-orient": "horizontal|vertical|inline-axis|block-axis|inherit", "box-pack": "start|center|end|justify", "box-shadow": "none|<shadow>#", "box-sizing": "content-box|border-box", "break-after": "auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region", "break-before": "auto|avoid|always|all|avoid-page|page|left|right|recto|verso|avoid-column|column|avoid-region|region", "break-inside": "auto|avoid|avoid-page|avoid-column|avoid-region", "caption-side": "top|bottom|block-start|block-end|inline-start|inline-end", caret: "<'caret-color'>||<'caret-shape'>", "caret-color": "auto|<color>", "caret-shape": "auto|bar|block|underscore", clear: "none|left|right|both|inline-start|inline-end", clip: "<shape>|auto", "clip-path": "<clip-source>|[<basic-shape>||<geometry-box>]|none", color: "<color>", "print-color-adjust": "economy|exact", "color-scheme": "normal|[light|dark|<custom-ident>]+&&only?", "column-count": "<integer>|auto", "column-fill": "auto|balance|balance-all", "column-gap": "normal|<length-percentage>", "column-rule": "<'column-rule-width'>||<'column-rule-style'>||<'column-rule-color'>", "column-rule-color": "<color>", "column-rule-style": "<'border-style'>", "column-rule-width": "<'border-width'>", "column-span": "none|all", "column-width": "<length>|auto", columns: "<'column-width'>||<'column-count'>", contain: "none|strict|content|[[size||inline-size]||layout||style||paint]", "contain-intrinsic-size": "[none|<length>|auto <length>]{1,2}", "contain-intrinsic-block-size": "none|<length>|auto <length>", "contain-intrinsic-height": "none|<length>|auto <length>", "contain-intrinsic-inline-size": "none|<length>|auto <length>", "contain-intrinsic-width": "none|<length>|auto <length>", content: "normal|none|[<content-replacement>|<content-list>] [/ [<string>|<counter>]+]?", "content-visibility": "visible|auto|hidden", "counter-increment": "[<counter-name> <integer>?]+|none", "counter-reset": "[<counter-name> <integer>?|<reversed-counter-name> <integer>?]+|none", "counter-set": "[<counter-name> <integer>?]+|none", cursor: "[[<url> [<x> <y>]? ,]* [auto|default|none|context-menu|help|pointer|progress|wait|cell|crosshair|text|vertical-text|alias|copy|move|no-drop|not-allowed|e-resize|n-resize|ne-resize|nw-resize|s-resize|se-resize|sw-resize|w-resize|ew-resize|ns-resize|nesw-resize|nwse-resize|col-resize|row-resize|all-scroll|zoom-in|zoom-out|grab|grabbing|hand|-webkit-grab|-webkit-grabbing|-webkit-zoom-in|-webkit-zoom-out|-moz-grab|-moz-grabbing|-moz-zoom-in|-moz-zoom-out]]", direction: "ltr|rtl", display: "[<display-outside>||<display-inside>]|<display-listitem>|<display-internal>|<display-box>|<display-legacy>|<-non-standard-display>", "empty-cells": "show|hide", filter: "none|<filter-function-list>|<-ms-filter-function-list>", flex: "none|[<'flex-grow'> <'flex-shrink'>?||<'flex-basis'>]", "flex-basis": "content|<'width'>", "flex-direction": "row|row-reverse|column|column-reverse", "flex-flow": "<'flex-direction'>||<'flex-wrap'>", "flex-grow": "<number>", "flex-shrink": "<number>", "flex-wrap": "nowrap|wrap|wrap-reverse", float: "left|right|none|inline-start|inline-end", font: "[[<'font-style'>||<font-variant-css21>||<'font-weight'>||<'font-stretch'>]? <'font-size'> [/ <'line-height'>]? <'font-family'>]|caption|icon|menu|message-box|small-caption|status-bar", "font-family": "[<family-name>|<generic-family>]#", "font-feature-settings": "normal|<feature-tag-value>#", "font-kerning": "auto|normal|none", "font-language-override": "normal|<string>", "font-optical-sizing": "auto|none", "font-variation-settings": "normal|[<string> <number>]#", "font-size": "<absolute-size>|<relative-size>|<length-percentage>", "font-size-adjust": "none|[ex-height|cap-height|ch-width|ic-width|ic-height]? [from-font|<number>]", "font-smooth": "auto|never|always|<absolute-size>|<length>", "font-stretch": "<font-stretch-absolute>", "font-style": "normal|italic|oblique <angle>?", "font-synthesis": "none|[weight||style||small-caps]", "font-variant": "normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]", "font-variant-alternates": "normal|[stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )]", "font-variant-caps": "normal|small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps", "font-variant-east-asian": "normal|[<east-asian-variant-values>||<east-asian-width-values>||ruby]", "font-variant-ligatures": "normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>]", "font-variant-numeric": "normal|[<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero]", "font-variant-position": "normal|sub|super", "font-weight": "<font-weight-absolute>|bolder|lighter", "forced-color-adjust": "auto|none", gap: "<'row-gap'> <'column-gap'>?", grid: "<'grid-template'>|<'grid-template-rows'> / [auto-flow&&dense?] <'grid-auto-columns'>?|[auto-flow&&dense?] <'grid-auto-rows'>? / <'grid-template-columns'>", "grid-area": "<grid-line> [/ <grid-line>]{0,3}", "grid-auto-columns": "<track-size>+", "grid-auto-flow": "[row|column]||dense", "grid-auto-rows": "<track-size>+", "grid-column": "<grid-line> [/ <grid-line>]?", "grid-column-end": "<grid-line>", "grid-column-gap": "<length-percentage>", "grid-column-start": "<grid-line>", "grid-gap": "<'grid-row-gap'> <'grid-column-gap'>?", "grid-row": "<grid-line> [/ <grid-line>]?", "grid-row-end": "<grid-line>", "grid-row-gap": "<length-percentage>", "grid-row-start": "<grid-line>", "grid-template": "none|[<'grid-template-rows'> / <'grid-template-columns'>]|[<line-names>? <string> <track-size>? <line-names>?]+ [/ <explicit-track-list>]?", "grid-template-areas": "none|<string>+", "grid-template-columns": "none|<track-list>|<auto-track-list>|subgrid <line-name-list>?", "grid-template-rows": "none|<track-list>|<auto-track-list>|subgrid <line-name-list>?", "hanging-punctuation": "none|[first||[force-end|allow-end]||last]", height: "auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )", "hyphenate-character": "auto|<string>", hyphens: "none|manual|auto", "image-orientation": "from-image|<angle>|[<angle>? flip]", "image-rendering": "auto|crisp-edges|pixelated|optimizeSpeed|optimizeQuality|<-non-standard-image-rendering>", "image-resolution": "[from-image||<resolution>]&&snap?", "ime-mode": "auto|normal|active|inactive|disabled", "initial-letter": "normal|[<number> <integer>?]", "initial-letter-align": "[auto|alphabetic|hanging|ideographic]", "inline-size": "<'width'>", "input-security": "auto|none", inset: "<'top'>{1,4}", "inset-block": "<'top'>{1,2}", "inset-block-end": "<'top'>", "inset-block-start": "<'top'>", "inset-inline": "<'top'>{1,2}", "inset-inline-end": "<'top'>", "inset-inline-start": "<'top'>", isolation: "auto|isolate", "justify-content": "normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]", "justify-items": "normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]|legacy|legacy&&[left|right|center]", "justify-self": "auto|normal|stretch|<baseline-position>|<overflow-position>? [<self-position>|left|right]", "justify-tracks": "[normal|<content-distribution>|<overflow-position>? [<content-position>|left|right]]#", left: "<length>|<percentage>|auto", "letter-spacing": "normal|<length-percentage>", "line-break": "auto|loose|normal|strict|anywhere", "line-clamp": "none|<integer>", "line-height": "normal|<number>|<length>|<percentage>", "line-height-step": "<length>", "list-style": "<'list-style-type'>||<'list-style-position'>||<'list-style-image'>", "list-style-image": "<image>|none", "list-style-position": "inside|outside", "list-style-type": "<counter-style>|<string>|none", margin: "[<length>|<percentage>|auto]{1,4}", "margin-block": "<'margin-left'>{1,2}", "margin-block-end": "<'margin-left'>", "margin-block-start": "<'margin-left'>", "margin-bottom": "<length>|<percentage>|auto", "margin-inline": "<'margin-left'>{1,2}", "margin-inline-end": "<'margin-left'>", "margin-inline-start": "<'margin-left'>", "margin-left": "<length>|<percentage>|auto", "margin-right": "<length>|<percentage>|auto", "margin-top": "<length>|<percentage>|auto", "margin-trim": "none|in-flow|all", mask: "<mask-layer>#", "mask-border": "<'mask-border-source'>||<'mask-border-slice'> [/ <'mask-border-width'>? [/ <'mask-border-outset'>]?]?||<'mask-border-repeat'>||<'mask-border-mode'>", "mask-border-mode": "luminance|alpha", "mask-border-outset": "[<length>|<number>]{1,4}", "mask-border-repeat": "[stretch|repeat|round|space]{1,2}", "mask-border-slice": "<number-percentage>{1,4} fill?", "mask-border-source": "none|<image>", "mask-border-width": "[<length-percentage>|<number>|auto]{1,4}", "mask-clip": "[<geometry-box>|no-clip]#", "mask-composite": "<compositing-operator>#", "mask-image": "<mask-reference>#", "mask-mode": "<masking-mode>#", "mask-origin": "<geometry-box>#", "mask-position": "<position>#", "mask-repeat": "<repeat-style>#", "mask-size": "<bg-size>#", "mask-type": "luminance|alpha", "masonry-auto-flow": "[pack|next]||[definite-first|ordered]", "math-depth": "auto-add|add( <integer> )|<integer>", "math-shift": "normal|compact", "math-style": "normal|compact", "max-block-size": "<'max-width'>", "max-height": "none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )", "max-inline-size": "<'max-width'>", "max-lines": "none|<integer>", "max-width": "none|<length-percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>", "min-block-size": "<'min-width'>", "min-height": "auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )", "min-inline-size": "<'min-width'>", "min-width": "auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|<-non-standard-width>", "mix-blend-mode": "<blend-mode>|plus-lighter", "object-fit": "fill|contain|cover|none|scale-down", "object-position": "<position>", offset: "[<'offset-position'>? [<'offset-path'> [<'offset-distance'>||<'offset-rotate'>]?]?]! [/ <'offset-anchor'>]?", "offset-anchor": "auto|<position>", "offset-distance": "<length-percentage>", "offset-path": "none|ray( [<angle>&&<size>&&contain?] )|<path()>|<url>|[<basic-shape>||<geometry-box>]", "offset-position": "auto|<position>", "offset-rotate": "[auto|reverse]||<angle>", opacity: "<alpha-value>", order: "<integer>", orphans: "<integer>", outline: "[<'outline-color'>||<'outline-style'>||<'outline-width'>]", "outline-color": "<color>|invert", "outline-offset": "<length>", "outline-style": "auto|<'border-style'>", "outline-width": "<line-width>", overflow: "[visible|hidden|clip|scroll|auto]{1,2}|<-non-standard-overflow>", "overflow-anchor": "auto|none", "overflow-block": "visible|hidden|clip|scroll|auto", "overflow-clip-box": "padding-box|content-box", "overflow-clip-margin": "<visual-box>||<length [0,\u221E]>", "overflow-inline": "visible|hidden|clip|scroll|auto", "overflow-wrap": "normal|break-word|anywhere", "overflow-x": "visible|hidden|clip|scroll|auto", "overflow-y": "visible|hidden|clip|scroll|auto", "overscroll-behavior": "[contain|none|auto]{1,2}", "overscroll-behavior-block": "contain|none|auto", "overscroll-behavior-inline": "contain|none|auto", "overscroll-behavior-x": "contain|none|auto", "overscroll-behavior-y": "contain|none|auto", padding: "[<length>|<percentage>]{1,4}", "padding-block": "<'padding-left'>{1,2}", "padding-block-end": "<'padding-left'>", "padding-block-start": "<'padding-left'>", "padding-bottom": "<length>|<percentage>", "padding-inline": "<'padding-left'>{1,2}", "padding-inline-end": "<'padding-left'>", "padding-inline-start": "<'padding-left'>", "padding-left": "<length>|<percentage>", "padding-right": "<length>|<percentage>", "padding-top": "<length>|<percentage>", "page-break-after": "auto|always|avoid|left|right|recto|verso", "page-break-before": "auto|always|avoid|left|right|recto|verso", "page-break-inside": "auto|avoid", "paint-order": "normal|[fill||stroke||markers]", perspective: "none|<length>", "perspective-origin": "<position>", "place-content": "<'align-content'> <'justify-content'>?", "place-items": "<'align-items'> <'justify-items'>?", "place-self": "<'align-self'> <'justify-self'>?", "pointer-events": "auto|none|visiblePainted|visibleFill|visibleStroke|visible|painted|fill|stroke|all|inherit", position: "static|relative|absolute|sticky|fixed|-webkit-sticky", quotes: "none|auto|[<string> <string>]+", resize: "none|both|horizontal|vertical|block|inline", right: "<length>|<percentage>|auto", rotate: "none|<angle>|[x|y|z|<number>{3}]&&<angle>", "row-gap": "normal|<length-percentage>", "ruby-align": "start|center|space-between|space-around", "ruby-merge": "separate|collapse|auto", "ruby-position": "[alternate||[over|under]]|inter-character", scale: "none|<number>{1,3}", "scrollbar-color": "auto|<color>{2}", "scrollbar-gutter": "auto|stable&&both-edges?", "scrollbar-width": "auto|thin|none", "scroll-behavior": "auto|smooth", "scroll-margin": "<length>{1,4}", "scroll-margin-block": "<length>{1,2}", "scroll-margin-block-start": "<length>", "scroll-margin-block-end": "<length>", "scroll-margin-bottom": "<length>", "scroll-margin-inline": "<length>{1,2}", "scroll-margin-inline-start": "<length>", "scroll-margin-inline-end": "<length>", "scroll-margin-left": "<length>", "scroll-margin-right": "<length>", "scroll-margin-top": "<length>", "scroll-padding": "[auto|<length-percentage>]{1,4}", "scroll-padding-block": "[auto|<length-percentage>]{1,2}", "scroll-padding-block-start": "auto|<length-percentage>", "scroll-padding-block-end": "auto|<length-percentage>", "scroll-padding-bottom": "auto|<length-percentage>", "scroll-padding-inline": "[auto|<length-percentage>]{1,2}", "scroll-padding-inline-start": "auto|<length-percentage>", "scroll-padding-inline-end": "auto|<length-percentage>", "scroll-padding-left": "auto|<length-percentage>", "scroll-padding-right": "auto|<length-percentage>", "scroll-padding-top": "auto|<length-percentage>", "scroll-snap-align": "[none|start|end|center]{1,2}", "scroll-snap-coordinate": "none|<position>#", "scroll-snap-destination": "<position>", "scroll-snap-points-x": "none|repeat( <length-percentage> )", "scroll-snap-points-y": "none|repeat( <length-percentage> )", "scroll-snap-stop": "normal|always", "scroll-snap-type": "none|[x|y|block|inline|both] [mandatory|proximity]?", "scroll-snap-type-x": "none|mandatory|proximity", "scroll-snap-type-y": "none|mandatory|proximity", "scroll-timeline": "<scroll-timeline-name>||<scroll-timeline-axis>", "scroll-timeline-axis": "block|inline|vertical|horizontal", "scroll-timeline-name": "none|<custom-ident>", "shape-image-threshold": "<alpha-value>", "shape-margin": "<length-percentage>", "shape-outside": "none|[<shape-box>||<basic-shape>]|<image>", "tab-size": "<integer>|<length>", "table-layout": "auto|fixed", "text-align": "start|end|left|right|center|justify|match-parent", "text-align-last": "auto|start|end|left|right|center|justify", "text-combine-upright": "none|all|[digits <integer>?]", "text-decoration": "<'text-decoration-line'>||<'text-decoration-style'>||<'text-decoration-color'>||<'text-decoration-thickness'>", "text-decoration-color": "<color>", "text-decoration-line": "none|[underline||overline||line-through||blink]|spelling-error|grammar-error", "text-decoration-skip": "none|[objects||[spaces|[leading-spaces||trailing-spaces]]||edges||box-decoration]", "text-decoration-skip-ink": "auto|all|none", "text-decoration-style": "solid|double|dotted|dashed|wavy", "text-decoration-thickness": "auto|from-font|<length>|<percentage>", "text-emphasis": "<'text-emphasis-style'>||<'text-emphasis-color'>", "text-emphasis-color": "<color>", "text-emphasis-position": "[over|under]&&[right|left]", "text-emphasis-style": "none|[[filled|open]||[dot|circle|double-circle|triangle|sesame]]|<string>", "text-indent": "<length-percentage>&&hanging?&&each-line?", "text-justify": "auto|inter-character|inter-word|none", "text-orientation": "mixed|upright|sideways", "text-overflow": "[clip|ellipsis|<string>]{1,2}", "text-rendering": "auto|optimizeSpeed|optimizeLegibility|geometricPrecision", "text-shadow": "none|<shadow-t>#", "text-size-adjust": "none|auto|<percentage>", "text-transform": "none|capitalize|uppercase|lowercase|full-width|full-size-kana", "text-underline-offset": "auto|<length>|<percentage>", "text-underline-position": "auto|from-font|[under||[left|right]]", top: "<length>|<percentage>|auto", "touch-action": "auto|none|[[pan-x|pan-left|pan-right]||[pan-y|pan-up|pan-down]||pinch-zoom]|manipulation", transform: "none|<transform-list>", "transform-box": "content-box|border-box|fill-box|stroke-box|view-box", "transform-origin": "[<length-percentage>|left|center|right|top|bottom]|[[<length-percentage>|left|center|right]&&[<length-percentage>|top|center|bottom]] <length>?", "transform-style": "flat|preserve-3d", transition: "<single-transition>#", "transition-delay": "<time>#", "transition-duration": "<time>#", "transition-property": "none|<single-transition-property>#", "transition-timing-function": "<easing-function>#", translate: "none|<length-percentage> [<length-percentage> <length>?]?", "unicode-bidi": "normal|embed|isolate|bidi-override|isolate-override|plaintext|-moz-isolate|-moz-isolate-override|-moz-plaintext|-webkit-isolate|-webkit-isolate-override|-webkit-plaintext", "user-select": "auto|text|none|contain|all", "vertical-align": "baseline|sub|super|text-top|text-bottom|middle|top|bottom|<percentage>|<length>", visibility: "visible|hidden|collapse", "white-space": "normal|pre|nowrap|pre-wrap|pre-line|break-spaces", widows: "<integer>", width: "auto|<length>|<percentage>|min-content|max-content|fit-content|fit-content( <length-percentage> )|fill|stretch|intrinsic|-moz-max-content|-webkit-max-content|-moz-fit-content|-webkit-fit-content", "will-change": "auto|<animateable-feature>#", "word-break": "normal|break-all|keep-all|break-word", "word-spacing": "normal|<length>", "word-wrap": "normal|break-word", "writing-mode": "horizontal-tb|vertical-rl|vertical-lr|sideways-rl|sideways-lr|<svg-writing-mode>", "z-index": "auto|<integer>", zoom: "normal|reset|<number>|<percentage>", "-moz-background-clip": "padding|border", "-moz-border-radius-bottomleft": "<'border-bottom-left-radius'>", "-moz-border-radius-bottomright": "<'border-bottom-right-radius'>", "-moz-border-radius-topleft": "<'border-top-left-radius'>", "-moz-border-radius-topright": "<'border-bottom-right-radius'>", "-moz-control-character-visibility": "visible|hidden", "-moz-osx-font-smoothing": "auto|grayscale", "-moz-user-select": "none|text|all|-moz-none", "-ms-flex-align": "start|end|center|baseline|stretch", "-ms-flex-item-align": "auto|start|end|center|baseline|stretch", "-ms-flex-line-pack": "start|end|center|justify|distribute|stretch", "-ms-flex-negative": "<'flex-shrink'>", "-ms-flex-pack": "start|end|center|justify|distribute", "-ms-flex-order": "<integer>", "-ms-flex-positive": "<'flex-grow'>", "-ms-flex-preferred-size": "<'flex-basis'>", "-ms-interpolation-mode": "nearest-neighbor|bicubic", "-ms-grid-column-align": "start|end|center|stretch", "-ms-grid-row-align": "start|end|center|stretch", "-ms-hyphenate-limit-last": "none|always|column|page|spread", "-webkit-background-clip": "[<box>|border|padding|content|text]#", "-webkit-column-break-after": "always|auto|avoid", "-webkit-column-break-before": "always|auto|avoid", "-webkit-column-break-inside": "always|auto|avoid", "-webkit-font-smoothing": "auto|none|antialiased|subpixel-antialiased", "-webkit-mask-box-image": "[<url>|<gradient>|none] [<length-percentage>{4} <-webkit-mask-box-repeat>{2}]?", "-webkit-print-color-adjust": "economy|exact", "-webkit-text-security": "none|circle|disc|square", "-webkit-user-drag": "none|element|auto", "-webkit-user-select": "auto|none|text|all", "alignment-baseline": "auto|baseline|before-edge|text-before-edge|middle|central|after-edge|text-after-edge|ideographic|alphabetic|hanging|mathematical", "baseline-shift": "baseline|sub|super|<svg-length>", behavior: "<url>+", "clip-rule": "nonzero|evenodd", cue: "<'cue-before'> <'cue-after'>?", "cue-after": "<url> <decibel>?|none", "cue-before": "<url> <decibel>?|none", "dominant-baseline": "auto|use-script|no-change|reset-size|ideographic|alphabetic|hanging|mathematical|central|middle|text-after-edge|text-before-edge", fill: "<paint>", "fill-opacity": "<number-zero-one>", "fill-rule": "nonzero|evenodd", "glyph-orientation-horizontal": "<angle>", "glyph-orientation-vertical": "<angle>", kerning: "auto|<svg-length>", marker: "none|<url>", "marker-end": "none|<url>", "marker-mid": "none|<url>", "marker-start": "none|<url>", pause: "<'pause-before'> <'pause-after'>?", "pause-after": "<time>|none|x-weak|weak|medium|strong|x-strong", "pause-before": "<time>|none|x-weak|weak|medium|strong|x-strong", rest: "<'rest-before'> <'rest-after'>?", "rest-after": "<time>|none|x-weak|weak|medium|strong|x-strong", "rest-before": "<time>|none|x-weak|weak|medium|strong|x-strong", "shape-rendering": "auto|optimizeSpeed|crispEdges|geometricPrecision", src: "[<url> [format( <string># )]?|local( <family-name> )]#", speak: "auto|none|normal", "speak-as": "normal|spell-out||digits||[literal-punctuation|no-punctuation]", stroke: "<paint>", "stroke-dasharray": "none|[<svg-length>+]#", "stroke-dashoffset": "<svg-length>", "stroke-linecap": "butt|round|square", "stroke-linejoin": "miter|round|bevel", "stroke-miterlimit": "<number-one-or-greater>", "stroke-opacity": "<number-zero-one>", "stroke-width": "<svg-length>", "text-anchor": "start|middle|end", "unicode-range": "<urange>#", "voice-balance": "<number>|left|center|right|leftwards|rightwards", "voice-duration": "auto|<time>", "voice-family": "[[<family-name>|<generic-voice>] ,]* [<family-name>|<generic-voice>]|preserve", "voice-pitch": "<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]", "voice-range": "<frequency>&&absolute|[[x-low|low|medium|high|x-high]||[<frequency>|<semitones>|<percentage>]]", "voice-rate": "[normal|x-slow|slow|medium|fast|x-fast]||<percentage>", "voice-stress": "normal|strong|moderate|none|reduced", "voice-volume": "silent|[[x-soft|soft|medium|loud|x-loud]||<decibel>]" }, atrules: { charset: { prelude: "<string>", descriptors: null }, "counter-style": { prelude: "<counter-style-name>", descriptors: { "additive-symbols": "[<integer>&&<symbol>]#", fallback: "<counter-style-name>", negative: "<symbol> <symbol>?", pad: "<integer>&&<symbol>", prefix: "<symbol>", range: "[[<integer>|infinite]{2}]#|auto", "speak-as": "auto|bullets|numbers|words|spell-out|<counter-style-name>", suffix: "<symbol>", symbols: "<symbol>+", system: "cyclic|numeric|alphabetic|symbolic|additive|[fixed <integer>?]|[extends <counter-style-name>]" } }, document: { prelude: "[<url>|url-prefix( <string> )|domain( <string> )|media-document( <string> )|regexp( <string> )]#", descriptors: null }, "font-face": { prelude: null, descriptors: { "ascent-override": "normal|<percentage>", "descent-override": "normal|<percentage>", "font-display": "[auto|block|swap|fallback|optional]", "font-family": "<family-name>", "font-feature-settings": "normal|<feature-tag-value>#", "font-variation-settings": "normal|[<string> <number>]#", "font-stretch": "<font-stretch-absolute>{1,2}", "font-style": "normal|italic|oblique <angle>{0,2}", "font-weight": "<font-weight-absolute>{1,2}", "font-variant": "normal|none|[<common-lig-values>||<discretionary-lig-values>||<historical-lig-values>||<contextual-alt-values>||stylistic( <feature-value-name> )||historical-forms||styleset( <feature-value-name># )||character-variant( <feature-value-name># )||swash( <feature-value-name> )||ornaments( <feature-value-name> )||annotation( <feature-value-name> )||[small-caps|all-small-caps|petite-caps|all-petite-caps|unicase|titling-caps]||<numeric-figure-values>||<numeric-spacing-values>||<numeric-fraction-values>||ordinal||slashed-zero||<east-asian-variant-values>||<east-asian-width-values>||ruby]", "line-gap-override": "normal|<percentage>", "size-adjust": "<percentage>", src: "[<url> [format( <string># )]?|local( <family-name> )]#", "unicode-range": "<urange>#" } }, "font-feature-values": { prelude: "<family-name>#", descriptors: null }, import: { prelude: "[<string>|<url>] [layer|layer( <layer-name> )]? [supports( [<supports-condition>|<declaration>] )]? <media-query-list>?", descriptors: null }, keyframes: { prelude: "<keyframes-name>", descriptors: null }, layer: { prelude: "[<layer-name>#|<layer-name>?]", descriptors: null }, media: { prelude: "<media-query-list>", descriptors: null }, namespace: { prelude: "<namespace-prefix>? [<string>|<url>]", descriptors: null }, page: { prelude: "<page-selector-list>", descriptors: { bleed: "auto|<length>", marks: "none|[crop||cross]", size: "<length>{1,2}|auto|[<page-size>||[portrait|landscape]]" } }, property: { prelude: "<custom-property-name>", descriptors: { syntax: "<string>", inherits: "true|false", "initial-value": "<string>" } }, "scroll-timeline": { prelude: "<timeline-name>", descriptors: null }, supports: { prelude: "<supports-condition>", descriptors: null }, viewport: { prelude: null, descriptors: { height: "<viewport-length>{1,2}", "max-height": "<viewport-length>", "max-width": "<viewport-length>", "max-zoom": "auto|<number>|<percentage>", "min-height": "<viewport-length>", "min-width": "<viewport-length>", "min-zoom": "auto|<number>|<percentage>", orientation: "auto|portrait|landscape", "user-zoom": "zoom|fixed", "viewport-fit": "auto|contain|cover", width: "<viewport-length>{1,2}", zoom: "auto|<number>|<percentage>" } }, nest: { prelude: "<complex-selector-list>", descriptors: null } }, node: Ao }, al = {};
|
|
79759
79854
|
const sl = f;
|
|
79760
79855
|
var ll = function(e4) {
|
|
@@ -79929,8 +80024,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79929
80024
|
return this.createSingleNodeList(this.Nth());
|
|
79930
80025
|
} };
|
|
79931
80026
|
var Cl = { dir: Sl, has: vl, lang: Sl, matches: vl, is: vl, "-moz-any": vl, "-webkit-any": vl, where: vl, not: vl, "nth-child": _l, "nth-last-child": _l, "nth-last-of-type": _l, "nth-of-type": _l, slotted: xl, host: xl, "host-context": xl }, Al = {};
|
|
79932
|
-
const zl = zo, Ll = Mo,
|
|
79933
|
-
Al.AnPlusB = zl.parse, Al.Atrule = Ll.parse, Al.AtrulePrelude =
|
|
80027
|
+
const zl = zo, Ll = Mo, El = Wo, Tl = Vo, Nl = Xo, Dl = ri, Pl = ii, Rl = si, Il = ci, Bl = di, Ol = fi, Ul = yi, Ml = zi, Fl = Ti, jl = Pi, Hl = Bi, ql = Mi, Wl = Hi, $l = $i, Vl = Zi, Kl = Yi, Zl = Qi, Gl = ea, Yl = na, Xl = ia, Ql = sa, Jl = ca, ec = da, tc = fa, nc = ya, rc = Sa, oc = za, ic = Na, ac = Da, sc = Ra, lc = ja, cc = Wa, uc = Za, hc = is, dc = ps, pc = ms;
|
|
80028
|
+
Al.AnPlusB = zl.parse, Al.Atrule = Ll.parse, Al.AtrulePrelude = El.parse, Al.AttributeSelector = Tl.parse, Al.Block = Nl.parse, Al.Brackets = Dl.parse, Al.CDC = Pl.parse, Al.CDO = Rl.parse, Al.ClassSelector = Il.parse, Al.Combinator = Bl.parse, Al.Comment = Ol.parse, Al.Declaration = Ul.parse, Al.DeclarationList = Ml.parse, Al.Dimension = Fl.parse, Al.Function = jl.parse, Al.Hash = Hl.parse, Al.Identifier = ql.parse, Al.IdSelector = Wl.parse, Al.MediaFeature = $l.parse, Al.MediaQuery = Vl.parse, Al.MediaQueryList = Kl.parse, Al.NestingSelector = Zl.parse, Al.Nth = Gl.parse, Al.Number = Yl.parse, Al.Operator = Xl.parse, Al.Parentheses = Ql.parse, Al.Percentage = Jl.parse, Al.PseudoClassSelector = ec.parse, Al.PseudoElementSelector = tc.parse, Al.Ratio = nc.parse, Al.Raw = rc.parse, Al.Rule = oc.parse, Al.Selector = ic.parse, Al.SelectorList = ac.parse, Al.String = sc.parse, Al.StyleSheet = lc.parse, Al.TypeSelector = cc.parse, Al.UnicodeRange = uc.parse, Al.Url = hc.parse, Al.Value = dc.parse, Al.WhiteSpace = pc.parse;
|
|
79934
80029
|
var mc = Co({ ...il, parseContext: { default: "StyleSheet", stylesheet: "StyleSheet", atrule: "Atrule", atrulePrelude(e4) {
|
|
79935
80030
|
return this.AtrulePrelude(e4.atrule ? String(e4.atrule) : null);
|
|
79936
80031
|
}, mediaQueryList: "MediaQueryList", mediaQuery: "MediaQuery", rule: "Rule", selectorList: "SelectorList", selector: "Selector", block() {
|
|
@@ -79977,8 +80072,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
79977
80072
|
}
|
|
79978
80073
|
return t4;
|
|
79979
80074
|
};
|
|
79980
|
-
const Cc = mc, Ac = Co, zc = ne, Lc = bt,
|
|
79981
|
-
p.version = "2.3.1".version, p.createSyntax = Ac, p.List = zc.List, p.Lexer = Lc.Lexer, p.definitionSyntax =
|
|
80075
|
+
const Cc = mc, Ac = Co, zc = ne, Lc = bt, Ec = fc, Tc = wc, Nc = zt, Dc = xc, Pc = Ia, Rc = as, Ic = f, Bc = I, Oc = j, { tokenize: Uc, parse: Mc, generate: Fc, lexer: jc, createLexer: Hc, walk: qc, find: Wc, findLast: $c, findAll: Vc, toPlainObject: Kc, fromPlainObject: Zc, fork: Gc } = Cc;
|
|
80076
|
+
p.version = "2.3.1".version, p.createSyntax = Ac, p.List = zc.List, p.Lexer = Lc.Lexer, p.definitionSyntax = Ec, p.clone = Tc.clone, p.isCustomProperty = Nc.isCustomProperty, p.keyword = Nc.keyword, p.property = Nc.property, p.vendorPrefix = Nc.vendorPrefix, p.ident = Dc, p.string = Pc, p.url = Rc, p.tokenTypes = Ic, p.tokenNames = Bc, p.TokenStream = Oc.TokenStream, p.createLexer = Hc, p.find = Wc, p.findAll = Vc, p.findLast = $c, p.fork = Gc, p.fromPlainObject = Zc, p.generate = Fc, p.lexer = jc, p.parse = Mc, p.toPlainObject = Kc, p.tokenize = Uc, p.walk = qc;
|
|
79982
80077
|
var Yc = {};
|
|
79983
80078
|
const Xc = /* @__PURE__ */ new Map([["background", /* @__PURE__ */ new Set(["background-color", "background-position", "background-position-x", "background-position-y", "background-size", "background-repeat", "background-repeat-x", "background-repeat-y", "background-clip", "background-origin", "background-attachment", "background-image"])], ["background-position", /* @__PURE__ */ new Set(["background-position-x", "background-position-y"])], ["background-repeat", /* @__PURE__ */ new Set(["background-repeat-x", "background-repeat-y"])], ["font", /* @__PURE__ */ new Set(["font-style", "font-variant-caps", "font-weight", "font-stretch", "font-size", "line-height", "font-family", "font-size-adjust", "font-kerning", "font-optical-sizing", "font-variant-alternates", "font-variant-east-asian", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-language-override", "font-feature-settings", "font-variation-settings"])], ["font-variant", /* @__PURE__ */ new Set(["font-variant-caps", "font-variant-numeric", "font-variant-alternates", "font-variant-ligatures", "font-variant-east-asian"])], ["outline", /* @__PURE__ */ new Set(["outline-width", "outline-style", "outline-color"])], ["border", /* @__PURE__ */ new Set(["border-top-width", "border-right-width", "border-bottom-width", "border-left-width", "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "border-image-source", "border-image-slice", "border-image-width", "border-image-outset", "border-image-repeat"])], ["border-width", /* @__PURE__ */ new Set(["border-top-width", "border-right-width", "border-bottom-width", "border-left-width"])], ["border-style", /* @__PURE__ */ new Set(["border-top-style", "border-right-style", "border-bottom-style", "border-left-style"])], ["border-color", /* @__PURE__ */ new Set(["border-top-color", "border-right-color", "border-bottom-color", "border-left-color"])], ["border-block", /* @__PURE__ */ new Set(["border-block-start-width", "border-block-end-width", "border-block-start-style", "border-block-end-style", "border-block-start-color", "border-block-end-color"])], ["border-block-start", /* @__PURE__ */ new Set(["border-block-start-width", "border-block-start-style", "border-block-start-color"])], ["border-block-end", /* @__PURE__ */ new Set(["border-block-end-width", "border-block-end-style", "border-block-end-color"])], ["border-inline", /* @__PURE__ */ new Set(["border-inline-start-width", "border-inline-end-width", "border-inline-start-style", "border-inline-end-style", "border-inline-start-color", "border-inline-end-color"])], ["border-inline-start", /* @__PURE__ */ new Set(["border-inline-start-width", "border-inline-start-style", "border-inline-start-color"])], ["border-inline-end", /* @__PURE__ */ new Set(["border-inline-end-width", "border-inline-end-style", "border-inline-end-color"])], ["border-image", /* @__PURE__ */ new Set(["border-image-source", "border-image-slice", "border-image-width", "border-image-outset", "border-image-repeat"])], ["border-radius", /* @__PURE__ */ new Set(["border-top-left-radius", "border-top-right-radius", "border-bottom-right-radius", "border-bottom-left-radius"])], ["padding", /* @__PURE__ */ new Set(["padding-top", "padding-right", "padding-bottom", "padding-left"])], ["padding-block", /* @__PURE__ */ new Set(["padding-block-start", "padding-block-end"])], ["padding-inline", /* @__PURE__ */ new Set(["padding-inline-start", "padding-inline-end"])], ["margin", /* @__PURE__ */ new Set(["margin-top", "margin-right", "margin-bottom", "margin-left"])], ["margin-block", /* @__PURE__ */ new Set(["margin-block-start", "margin-block-end"])], ["margin-inline", /* @__PURE__ */ new Set(["margin-inline-start", "margin-inline-end"])], ["inset", /* @__PURE__ */ new Set(["top", "right", "bottom", "left"])], ["inset-block", /* @__PURE__ */ new Set(["inset-block-start", "inset-block-end"])], ["inset-inline", /* @__PURE__ */ new Set(["inset-inline-start", "inset-inline-end"])], ["flex", /* @__PURE__ */ new Set(["flex-grow", "flex-shrink", "flex-basis"])], ["flex-flow", /* @__PURE__ */ new Set(["flex-direction", "flex-wrap"])], ["gap", /* @__PURE__ */ new Set(["row-gap", "column-gap"])], ["transition", /* @__PURE__ */ new Set(["transition-duration", "transition-timing-function", "transition-delay", "transition-property"])], ["grid", /* @__PURE__ */ new Set(["grid-template-rows", "grid-template-columns", "grid-template-areas", "grid-auto-flow", "grid-auto-columns", "grid-auto-rows"])], ["grid-template", /* @__PURE__ */ new Set(["grid-template-rows", "grid-template-columns", "grid-template-areas"])], ["grid-row", /* @__PURE__ */ new Set(["grid-row-start", "grid-row-end"])], ["grid-column", /* @__PURE__ */ new Set(["grid-column-start", "grid-column-end"])], ["grid-gap", /* @__PURE__ */ new Set(["grid-row-gap", "grid-column-gap", "row-gap", "column-gap"])], ["place-content", /* @__PURE__ */ new Set(["align-content", "justify-content"])], ["place-items", /* @__PURE__ */ new Set(["align-items", "justify-items"])], ["place-self", /* @__PURE__ */ new Set(["align-self", "justify-self"])], ["columns", /* @__PURE__ */ new Set(["column-width", "column-count"])], ["column-rule", /* @__PURE__ */ new Set(["column-rule-width", "column-rule-style", "column-rule-color"])], ["list-style", /* @__PURE__ */ new Set(["list-style-type", "list-style-position", "list-style-image"])], ["offset", /* @__PURE__ */ new Set(["offset-position", "offset-path", "offset-distance", "offset-rotate", "offset-anchor"])], ["overflow", /* @__PURE__ */ new Set(["overflow-x", "overflow-y"])], ["overscroll-behavior", /* @__PURE__ */ new Set(["overscroll-behavior-x", "overscroll-behavior-y"])], ["scroll-margin", /* @__PURE__ */ new Set(["scroll-margin-top", "scroll-margin-right", "scroll-margin-bottom", "scroll-margin-left"])], ["scroll-padding", /* @__PURE__ */ new Set(["scroll-padding-top", "scroll-padding-right", "scroll-padding-bottom", "scroll-padding-left"])], ["text-decoration", /* @__PURE__ */ new Set(["text-decoration-line", "text-decoration-style", "text-decoration-color", "text-decoration-thickness"])], ["text-stroke", /* @__PURE__ */ new Set(["text-stroke-color", "text-stroke-width"])], ["animation", /* @__PURE__ */ new Set(["animation-duration", "animation-timing-function", "animation-delay", "animation-iteration-count", "animation-direction", "animation-fill-mode", "animation-play-state", "animation-name", "animation-timeline", "animation-range-start", "animation-range-end"])], ["mask", /* @__PURE__ */ new Set(["mask-image", "mask-mode", "mask-repeat-x", "mask-repeat-y", "mask-position-x", "mask-position-y", "mask-clip", "mask-origin", "mask-size", "mask-composite"])], ["mask-repeat", /* @__PURE__ */ new Set(["mask-repeat-x", "mask-repeat-y"])], ["mask-position", /* @__PURE__ */ new Set(["mask-position-x", "mask-position-y"])], ["perspective-origin", /* @__PURE__ */ new Set(["perspective-origin-x", "perspective-origin-y"])], ["transform-origin", /* @__PURE__ */ new Set(["transform-origin-x", "transform-origin-y", "transform-origin-z"])], ["white-space", /* @__PURE__ */ new Set(["white-space-collapse", "text-wrap"])]]), Qc = new Map([nu("animation", "moz"), nu("border-image", "moz"), nu("mask", "moz"), nu("transition", "moz"), nu("columns", "moz"), nu("text-stroke", "moz"), nu("column-rule", "moz"), ["-moz-border-end", /* @__PURE__ */ new Set(["-moz-border-end-color", "-moz-border-end-style", "-moz-border-end-width"])], ["-moz-border-start", /* @__PURE__ */ new Set(["-moz-border-start-color", "-moz-border-start-style", "-moz-border-start-width"])], ["-moz-outline-radius", /* @__PURE__ */ new Set(["-moz-outline-radius-topleft", "-moz-outline-radius-topright", "-moz-outline-radius-bottomright", "-moz-outline-radius-bottomleft"])]]), Jc = new Map([nu("animation", "webkit"), nu("border-radius", "webkit"), nu("column-rule", "webkit"), nu("columns", "webkit"), nu("flex", "webkit"), nu("flex-flow", "webkit"), nu("mask", "webkit"), nu("text-stroke", "webkit"), nu("perspective-origin", "webkit"), nu("transform-origin", "webkit"), nu("transition", "webkit"), ["-webkit-border-start", /* @__PURE__ */ new Set(["-webkit-border-start-color", "-webkit-border-start-style", "-webkit-border-start-width"])], ["-webkit-border-before", /* @__PURE__ */ new Set(["-webkit-border-before-color", "-webkit-border-before-style", "-webkit-border-before-width"])], ["-webkit-border-end", /* @__PURE__ */ new Set(["-webkit-border-end-color", "-webkit-border-end-style", "-webkit-border-end-width"])], ["-webkit-border-after", /* @__PURE__ */ new Set(["-webkit-border-after-color", "-webkit-border-after-style", "-webkit-border-after-width"])]]), eu = ["background-position", "background-repeat", "text-decoration"];
|
|
79984
80079
|
Qc.forEach((e4, t4) => Xc.set(t4, e4)), Jc.forEach((e4, t4) => Xc.set(t4, e4));
|
|
@@ -80138,10 +80233,10 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80138
80233
|
return "Atrule" === e5.type && /^(-\w+-)?(media|supports|document|keyframes)$/.test(e5.name);
|
|
80139
80234
|
}(t5) ? i2.block = { type: "Block", children: e4(t5.block.children, n3[a2].block.children) } : wu(t5) && (i2.block = { type: "Block", children: yu(t5.block.children, n3[a2].block.children) })), o2.push(i2);
|
|
80140
80235
|
}, []), r2 < n3.length && vu(n3, r2, n3.length, (e5) => o2.push(e5)), o2;
|
|
80141
|
-
}, Lu = xu,
|
|
80142
|
-
function
|
|
80236
|
+
}, Lu = xu, Eu = Su;
|
|
80237
|
+
function Tu(e4, t4) {
|
|
80143
80238
|
var n3 = e4[0], r2 = e4[1], o2 = e4[2], i2 = e4[3];
|
|
80144
|
-
n3 = Du(n3, r2, o2, i2, t4[0], 7, -680876936), i2 = Du(i2, n3, r2, o2, t4[1], 12, -389564586), o2 = Du(o2, i2, n3, r2, t4[2], 17, 606105819), r2 = Du(r2, o2, i2, n3, t4[3], 22, -1044525330), n3 = Du(n3, r2, o2, i2, t4[4], 7, -176418897), i2 = Du(i2, n3, r2, o2, t4[5], 12, 1200080426), o2 = Du(o2, i2, n3, r2, t4[6], 17, -1473231341), r2 = Du(r2, o2, i2, n3, t4[7], 22, -45705983), n3 = Du(n3, r2, o2, i2, t4[8], 7, 1770035416), i2 = Du(i2, n3, r2, o2, t4[9], 12, -1958414417), o2 = Du(o2, i2, n3, r2, t4[10], 17, -42063), r2 = Du(r2, o2, i2, n3, t4[11], 22, -1990404162), n3 = Du(n3, r2, o2, i2, t4[12], 7, 1804603682), i2 = Du(i2, n3, r2, o2, t4[13], 12, -40341101), o2 = Du(o2, i2, n3, r2, t4[14], 17, -1502002290), n3 = Pu(n3, r2 = Du(r2, o2, i2, n3, t4[15], 22, 1236535329), o2, i2, t4[1], 5, -165796510), i2 = Pu(i2, n3, r2, o2, t4[6], 9, -1069501632), o2 = Pu(o2, i2, n3, r2, t4[11], 14, 643717713), r2 = Pu(r2, o2, i2, n3, t4[0], 20, -373897302), n3 = Pu(n3, r2, o2, i2, t4[5], 5, -701558691), i2 = Pu(i2, n3, r2, o2, t4[10], 9, 38016083), o2 = Pu(o2, i2, n3, r2, t4[15], 14, -660478335), r2 = Pu(r2, o2, i2, n3, t4[4], 20, -405537848), n3 = Pu(n3, r2, o2, i2, t4[9], 5, 568446438), i2 = Pu(i2, n3, r2, o2, t4[14], 9, -1019803690), o2 = Pu(o2, i2, n3, r2, t4[3], 14, -187363961), r2 = Pu(r2, o2, i2, n3, t4[8], 20, 1163531501), n3 = Pu(n3, r2, o2, i2, t4[13], 5, -1444681467), i2 = Pu(i2, n3, r2, o2, t4[2], 9, -51403784), o2 = Pu(o2, i2, n3, r2, t4[7], 14, 1735328473), n3 =
|
|
80239
|
+
n3 = Du(n3, r2, o2, i2, t4[0], 7, -680876936), i2 = Du(i2, n3, r2, o2, t4[1], 12, -389564586), o2 = Du(o2, i2, n3, r2, t4[2], 17, 606105819), r2 = Du(r2, o2, i2, n3, t4[3], 22, -1044525330), n3 = Du(n3, r2, o2, i2, t4[4], 7, -176418897), i2 = Du(i2, n3, r2, o2, t4[5], 12, 1200080426), o2 = Du(o2, i2, n3, r2, t4[6], 17, -1473231341), r2 = Du(r2, o2, i2, n3, t4[7], 22, -45705983), n3 = Du(n3, r2, o2, i2, t4[8], 7, 1770035416), i2 = Du(i2, n3, r2, o2, t4[9], 12, -1958414417), o2 = Du(o2, i2, n3, r2, t4[10], 17, -42063), r2 = Du(r2, o2, i2, n3, t4[11], 22, -1990404162), n3 = Du(n3, r2, o2, i2, t4[12], 7, 1804603682), i2 = Du(i2, n3, r2, o2, t4[13], 12, -40341101), o2 = Du(o2, i2, n3, r2, t4[14], 17, -1502002290), n3 = Pu(n3, r2 = Du(r2, o2, i2, n3, t4[15], 22, 1236535329), o2, i2, t4[1], 5, -165796510), i2 = Pu(i2, n3, r2, o2, t4[6], 9, -1069501632), o2 = Pu(o2, i2, n3, r2, t4[11], 14, 643717713), r2 = Pu(r2, o2, i2, n3, t4[0], 20, -373897302), n3 = Pu(n3, r2, o2, i2, t4[5], 5, -701558691), i2 = Pu(i2, n3, r2, o2, t4[10], 9, 38016083), o2 = Pu(o2, i2, n3, r2, t4[15], 14, -660478335), r2 = Pu(r2, o2, i2, n3, t4[4], 20, -405537848), n3 = Pu(n3, r2, o2, i2, t4[9], 5, 568446438), i2 = Pu(i2, n3, r2, o2, t4[14], 9, -1019803690), o2 = Pu(o2, i2, n3, r2, t4[3], 14, -187363961), r2 = Pu(r2, o2, i2, n3, t4[8], 20, 1163531501), n3 = Pu(n3, r2, o2, i2, t4[13], 5, -1444681467), i2 = Pu(i2, n3, r2, o2, t4[2], 9, -51403784), o2 = Pu(o2, i2, n3, r2, t4[7], 14, 1735328473), n3 = Ru(n3, r2 = Pu(r2, o2, i2, n3, t4[12], 20, -1926607734), o2, i2, t4[5], 4, -378558), i2 = Ru(i2, n3, r2, o2, t4[8], 11, -2022574463), o2 = Ru(o2, i2, n3, r2, t4[11], 16, 1839030562), r2 = Ru(r2, o2, i2, n3, t4[14], 23, -35309556), n3 = Ru(n3, r2, o2, i2, t4[1], 4, -1530992060), i2 = Ru(i2, n3, r2, o2, t4[4], 11, 1272893353), o2 = Ru(o2, i2, n3, r2, t4[7], 16, -155497632), r2 = Ru(r2, o2, i2, n3, t4[10], 23, -1094730640), n3 = Ru(n3, r2, o2, i2, t4[13], 4, 681279174), i2 = Ru(i2, n3, r2, o2, t4[0], 11, -358537222), o2 = Ru(o2, i2, n3, r2, t4[3], 16, -722521979), r2 = Ru(r2, o2, i2, n3, t4[6], 23, 76029189), n3 = Ru(n3, r2, o2, i2, t4[9], 4, -640364487), i2 = Ru(i2, n3, r2, o2, t4[12], 11, -421815835), o2 = Ru(o2, i2, n3, r2, t4[15], 16, 530742520), n3 = Iu(n3, r2 = Ru(r2, o2, i2, n3, t4[2], 23, -995338651), o2, i2, t4[0], 6, -198630844), i2 = Iu(i2, n3, r2, o2, t4[7], 10, 1126891415), o2 = Iu(o2, i2, n3, r2, t4[14], 15, -1416354905), r2 = Iu(r2, o2, i2, n3, t4[5], 21, -57434055), n3 = Iu(n3, r2, o2, i2, t4[12], 6, 1700485571), i2 = Iu(i2, n3, r2, o2, t4[3], 10, -1894986606), o2 = Iu(o2, i2, n3, r2, t4[10], 15, -1051523), r2 = Iu(r2, o2, i2, n3, t4[1], 21, -2054922799), n3 = Iu(n3, r2, o2, i2, t4[8], 6, 1873313359), i2 = Iu(i2, n3, r2, o2, t4[15], 10, -30611744), o2 = Iu(o2, i2, n3, r2, t4[6], 15, -1560198380), r2 = Iu(r2, o2, i2, n3, t4[13], 21, 1309151649), n3 = Iu(n3, r2, o2, i2, t4[4], 6, -145523070), i2 = Iu(i2, n3, r2, o2, t4[11], 10, -1120210379), o2 = Iu(o2, i2, n3, r2, t4[2], 15, 718787259), r2 = Iu(r2, o2, i2, n3, t4[9], 21, -343485551), e4[0] = Mu(n3, e4[0]), e4[1] = Mu(r2, e4[1]), e4[2] = Mu(o2, e4[2]), e4[3] = Mu(i2, e4[3]);
|
|
80145
80240
|
}
|
|
80146
80241
|
function Nu(e4, t4, n3, r2, o2, i2) {
|
|
80147
80242
|
return t4 = Mu(Mu(t4, e4), Mu(r2, i2)), Mu(t4 << o2 | t4 >>> 32 - o2, n3);
|
|
@@ -80152,10 +80247,10 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80152
80247
|
function Pu(e4, t4, n3, r2, o2, i2, a2) {
|
|
80153
80248
|
return Nu(t4 & r2 | n3 & ~r2, e4, t4, o2, i2, a2);
|
|
80154
80249
|
}
|
|
80155
|
-
function
|
|
80250
|
+
function Ru(e4, t4, n3, r2, o2, i2, a2) {
|
|
80156
80251
|
return Nu(t4 ^ n3 ^ r2, e4, t4, o2, i2, a2);
|
|
80157
80252
|
}
|
|
80158
|
-
function
|
|
80253
|
+
function Iu(e4, t4, n3, r2, o2, i2, a2) {
|
|
80159
80254
|
return Nu(n3 ^ (t4 | ~r2), e4, t4, o2, i2, a2);
|
|
80160
80255
|
}
|
|
80161
80256
|
function Bu(e4) {
|
|
@@ -80225,7 +80320,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80225
80320
|
const { absolutizeUrl: Ju, isInlineFrame: eh, isAccessibleFrame: th } = u, nh = function() {
|
|
80226
80321
|
return window.crypto.getRandomValues(new Uint32Array(1))[0];
|
|
80227
80322
|
}, rh = function(e4, t4 = Lu) {
|
|
80228
|
-
t4("[processInlineCss] processing inline css for",
|
|
80323
|
+
t4("[processInlineCss] processing inline css for", Eu(e4));
|
|
80229
80324
|
try {
|
|
80230
80325
|
const n3 = Au(e4.textContent);
|
|
80231
80326
|
t4("[processInlineCss] created AST for textContent");
|
|
@@ -80248,15 +80343,15 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80248
80343
|
}(function(e6) {
|
|
80249
80344
|
var t5, n3 = e6.length, r2 = [1732584193, -271733879, -1732584194, 271733878];
|
|
80250
80345
|
for (t5 = 64; t5 <= e6.length; t5 += 64)
|
|
80251
|
-
|
|
80346
|
+
Tu(r2, Bu(e6.substring(t5 - 64, t5)));
|
|
80252
80347
|
e6 = e6.substring(t5 - 64);
|
|
80253
80348
|
var o2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
80254
80349
|
for (t5 = 0; t5 < e6.length; t5++)
|
|
80255
80350
|
o2[t5 >> 2] |= e6.charCodeAt(t5) << (t5 % 4 << 3);
|
|
80256
80351
|
if (o2[t5 >> 2] |= 128 << (t5 % 4 << 3), t5 > 55)
|
|
80257
|
-
for (
|
|
80352
|
+
for (Tu(r2, o2), t5 = 0; t5 < 16; t5++)
|
|
80258
80353
|
o2[t5] = 0;
|
|
80259
|
-
return o2[14] = 8 * n3,
|
|
80354
|
+
return o2[14] = 8 * n3, Tu(r2, o2), r2;
|
|
80260
80355
|
}(e5));
|
|
80261
80356
|
}(t4);
|
|
80262
80357
|
}, ih = function(e4) {
|
|
@@ -80376,8 +80471,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80376
80471
|
for (var t4 = e4.length; --t4 >= 0; )
|
|
80377
80472
|
e4[t4] = 0;
|
|
80378
80473
|
}
|
|
80379
|
-
var Ah = 256, zh = 286, Lh = 30,
|
|
80380
|
-
Ch(
|
|
80474
|
+
var Ah = 256, zh = 286, Lh = 30, Eh = 15, Th = 16, Nh = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], Dh = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], Ph = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], Rh = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Ih = new Array(576);
|
|
80475
|
+
Ch(Ih);
|
|
80381
80476
|
var Bh = new Array(60);
|
|
80382
80477
|
Ch(Bh);
|
|
80383
80478
|
var Oh = new Array(512);
|
|
@@ -80400,7 +80495,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80400
80495
|
e4.pending_buf[e4.pending++] = 255 & t4, e4.pending_buf[e4.pending++] = t4 >>> 8 & 255;
|
|
80401
80496
|
}
|
|
80402
80497
|
function Zh(e4, t4, n3) {
|
|
80403
|
-
e4.bi_valid >
|
|
80498
|
+
e4.bi_valid > Th - n3 ? (e4.bi_buf |= t4 << e4.bi_valid & 65535, Kh(e4, e4.bi_buf), e4.bi_buf = t4 >> Th - e4.bi_valid, e4.bi_valid += n3 - Th) : (e4.bi_buf |= t4 << e4.bi_valid & 65535, e4.bi_valid += n3);
|
|
80404
80499
|
}
|
|
80405
80500
|
function Gh(e4, t4, n3) {
|
|
80406
80501
|
Zh(e4, n3[2 * t4], n3[2 * t4 + 1]);
|
|
@@ -80413,8 +80508,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80413
80508
|
return n3 >>> 1;
|
|
80414
80509
|
}
|
|
80415
80510
|
function Xh(e4, t4, n3) {
|
|
80416
|
-
var r2, o2, i2 = new Array(
|
|
80417
|
-
for (r2 = 1; r2 <=
|
|
80511
|
+
var r2, o2, i2 = new Array(Eh + 1), a2 = 0;
|
|
80512
|
+
for (r2 = 1; r2 <= Eh; r2++)
|
|
80418
80513
|
i2[r2] = a2 = a2 + n3[r2 - 1] << 1;
|
|
80419
80514
|
for (o2 = 0; o2 <= t4; o2++) {
|
|
80420
80515
|
var s2 = e4[2 * o2 + 1];
|
|
@@ -80465,7 +80560,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80465
80560
|
} while (e4.heap_len >= 2);
|
|
80466
80561
|
e4.heap[--e4.heap_max] = e4.heap[1], function(e5, t5) {
|
|
80467
80562
|
var n4, r3, o3, i3, a3, s3, l3 = t5.dyn_tree, c3 = t5.max_code, u2 = t5.stat_desc.static_tree, h2 = t5.stat_desc.has_stree, d2 = t5.stat_desc.extra_bits, p2 = t5.stat_desc.extra_base, m2 = t5.stat_desc.max_length, f2 = 0;
|
|
80468
|
-
for (i3 = 0; i3 <=
|
|
80563
|
+
for (i3 = 0; i3 <= Eh; i3++)
|
|
80469
80564
|
e5.bl_count[i3] = 0;
|
|
80470
80565
|
for (l3[2 * e5.heap[e5.heap_max] + 1] = 0, n4 = e5.heap_max + 1; n4 < 573; n4++)
|
|
80471
80566
|
(i3 = l3[2 * l3[2 * (r3 = e5.heap[n4]) + 1] + 1] + 1) > m2 && (i3 = m2, f2++), l3[2 * r3 + 1] = i3, r3 > c3 || (e5.bl_count[i3]++, a3 = 0, r3 >= p2 && (a3 = d2[r3 - p2]), s3 = l3[2 * r3], e5.opt_len += s3 * (i3 + a3), h2 && (e5.static_len += s3 * (u2[2 * r3 + 1] + a3)));
|
|
@@ -80508,7 +80603,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80508
80603
|
}
|
|
80509
80604
|
Sh._tr_init = function(e4) {
|
|
80510
80605
|
ad || (function() {
|
|
80511
|
-
var e5, t4, n3, r2, o2, i2 = new Array(
|
|
80606
|
+
var e5, t4, n3, r2, o2, i2 = new Array(Eh + 1);
|
|
80512
80607
|
for (n3 = 0, r2 = 0; r2 < 28; r2++)
|
|
80513
80608
|
for (Mh[r2] = n3, e5 = 0; e5 < 1 << Nh[r2]; e5++)
|
|
80514
80609
|
Uh[n3++] = r2;
|
|
@@ -80518,19 +80613,19 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80518
80613
|
for (o2 >>= 7; r2 < Lh; r2++)
|
|
80519
80614
|
for (qh[r2] = o2 << 7, e5 = 0; e5 < 1 << Dh[r2] - 7; e5++)
|
|
80520
80615
|
Oh[256 + o2++] = r2;
|
|
80521
|
-
for (t4 = 0; t4 <=
|
|
80616
|
+
for (t4 = 0; t4 <= Eh; t4++)
|
|
80522
80617
|
i2[t4] = 0;
|
|
80523
80618
|
for (e5 = 0; e5 <= 143; )
|
|
80524
|
-
|
|
80619
|
+
Ih[2 * e5 + 1] = 8, e5++, i2[8]++;
|
|
80525
80620
|
for (; e5 <= 255; )
|
|
80526
|
-
|
|
80621
|
+
Ih[2 * e5 + 1] = 9, e5++, i2[9]++;
|
|
80527
80622
|
for (; e5 <= 279; )
|
|
80528
|
-
|
|
80623
|
+
Ih[2 * e5 + 1] = 7, e5++, i2[7]++;
|
|
80529
80624
|
for (; e5 <= 287; )
|
|
80530
|
-
|
|
80531
|
-
for (Xh(
|
|
80625
|
+
Ih[2 * e5 + 1] = 8, e5++, i2[8]++;
|
|
80626
|
+
for (Xh(Ih, 287, i2), e5 = 0; e5 < Lh; e5++)
|
|
80532
80627
|
Bh[2 * e5 + 1] = 5, Bh[2 * e5] = Yh(e5, 5);
|
|
80533
|
-
Fh = new Wh(
|
|
80628
|
+
Fh = new Wh(Ih, Nh, 257, zh, Eh), jh = new Wh(Bh, Dh, 0, Lh, Eh), Hh = new Wh(new Array(0), Ph, 0, 19, 7);
|
|
80534
80629
|
}(), ad = true), e4.l_desc = new $h(e4.dyn_ltree, Fh), e4.d_desc = new $h(e4.dyn_dtree, jh), e4.bl_desc = new $h(e4.bl_tree, Hh), e4.bi_buf = 0, e4.bi_valid = 0, Qh(e4);
|
|
80535
80630
|
}, Sh._tr_stored_block = sd, Sh._tr_flush_block = function(e4, t4, n3, r2) {
|
|
80536
80631
|
var o2, i2, a2 = 0;
|
|
@@ -80547,19 +80642,19 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80547
80642
|
return 0;
|
|
80548
80643
|
}(e4)), rd(e4, e4.l_desc), rd(e4, e4.d_desc), a2 = function(e5) {
|
|
80549
80644
|
var t5;
|
|
80550
|
-
for (od(e5, e5.dyn_ltree, e5.l_desc.max_code), od(e5, e5.dyn_dtree, e5.d_desc.max_code), rd(e5, e5.bl_desc), t5 = 18; t5 >= 3 && 0 === e5.bl_tree[2 *
|
|
80645
|
+
for (od(e5, e5.dyn_ltree, e5.l_desc.max_code), od(e5, e5.dyn_dtree, e5.d_desc.max_code), rd(e5, e5.bl_desc), t5 = 18; t5 >= 3 && 0 === e5.bl_tree[2 * Rh[t5] + 1]; t5--)
|
|
80551
80646
|
;
|
|
80552
80647
|
return e5.opt_len += 3 * (t5 + 1) + 5 + 5 + 4, t5;
|
|
80553
|
-
}(e4), o2 = e4.opt_len + 3 + 7 >>> 3, (i2 = e4.static_len + 3 + 7 >>> 3) <= o2 && (o2 = i2)) : o2 = i2 = n3 + 5, n3 + 4 <= o2 && -1 !== t4 ? sd(e4, t4, n3, r2) : 4 === e4.strategy || i2 === o2 ? (Zh(e4, 2 + (r2 ? 1 : 0), 3), nd(e4,
|
|
80648
|
+
}(e4), o2 = e4.opt_len + 3 + 7 >>> 3, (i2 = e4.static_len + 3 + 7 >>> 3) <= o2 && (o2 = i2)) : o2 = i2 = n3 + 5, n3 + 4 <= o2 && -1 !== t4 ? sd(e4, t4, n3, r2) : 4 === e4.strategy || i2 === o2 ? (Zh(e4, 2 + (r2 ? 1 : 0), 3), nd(e4, Ih, Bh)) : (Zh(e4, 4 + (r2 ? 1 : 0), 3), function(e5, t5, n4, r3) {
|
|
80554
80649
|
var o3;
|
|
80555
80650
|
for (Zh(e5, t5 - 257, 5), Zh(e5, n4 - 1, 5), Zh(e5, r3 - 4, 4), o3 = 0; o3 < r3; o3++)
|
|
80556
|
-
Zh(e5, e5.bl_tree[2 *
|
|
80651
|
+
Zh(e5, e5.bl_tree[2 * Rh[o3] + 1], 3);
|
|
80557
80652
|
id(e5, e5.dyn_ltree, t5 - 1), id(e5, e5.dyn_dtree, n4 - 1);
|
|
80558
80653
|
}(e4, e4.l_desc.max_code + 1, e4.d_desc.max_code + 1, a2 + 1), nd(e4, e4.dyn_ltree, e4.dyn_dtree)), Qh(e4), r2 && Jh(e4);
|
|
80559
80654
|
}, Sh._tr_tally = function(e4, t4, n3) {
|
|
80560
80655
|
return e4.pending_buf[e4.d_buf + 2 * e4.last_lit] = t4 >>> 8 & 255, e4.pending_buf[e4.d_buf + 2 * e4.last_lit + 1] = 255 & t4, e4.pending_buf[e4.l_buf + e4.last_lit] = 255 & n3, e4.last_lit++, 0 === t4 ? e4.dyn_ltree[2 * n3]++ : (e4.matches++, t4--, e4.dyn_ltree[2 * (Uh[n3] + Ah + 1)]++, e4.dyn_dtree[2 * Vh(t4)]++), e4.last_lit === e4.lit_bufsize - 1;
|
|
80561
80656
|
}, Sh._tr_align = function(e4) {
|
|
80562
|
-
Zh(e4, 2, 3), Gh(e4, 256,
|
|
80657
|
+
Zh(e4, 2, 3), Gh(e4, 256, Ih), function(e5) {
|
|
80563
80658
|
16 === e5.bi_valid ? (Kh(e5, e5.bi_buf), e5.bi_buf = 0, e5.bi_valid = 0) : e5.bi_valid >= 8 && (e5.pending_buf[e5.pending++] = 255 & e5.bi_buf, e5.bi_buf >>= 8, e5.bi_valid -= 8);
|
|
80564
80659
|
}(e4);
|
|
80565
80660
|
};
|
|
@@ -80586,8 +80681,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80586
80681
|
for (var a2 = r2; a2 < i2; a2++)
|
|
80587
80682
|
e4 = e4 >>> 8 ^ o2[255 & (e4 ^ t4[a2])];
|
|
80588
80683
|
return -1 ^ e4;
|
|
80589
|
-
}, dd = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }, pd = wh, md = Sh, fd = cd, gd = hd, bd = dd, yd = 0, kd = 0, wd = -2, vd = 2, xd = 8, Sd = 286, _d = 30, Cd = 19, Ad = 2 * Sd + 1, zd = 15, Ld = 3,
|
|
80590
|
-
function
|
|
80684
|
+
}, dd = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" }, pd = wh, md = Sh, fd = cd, gd = hd, bd = dd, yd = 0, kd = 0, wd = -2, vd = 2, xd = 8, Sd = 286, _d = 30, Cd = 19, Ad = 2 * Sd + 1, zd = 15, Ld = 3, Ed = 258, Td = Ed + Ld + 1, Nd = 42, Dd = 103, Pd = 113, Rd = 666;
|
|
80685
|
+
function Id(e4, t4) {
|
|
80591
80686
|
return e4.msg = bd[t4], t4;
|
|
80592
80687
|
}
|
|
80593
80688
|
function Bd(e4) {
|
|
@@ -80611,14 +80706,14 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80611
80706
|
e4.pending_buf[e4.pending++] = t4 >>> 8 & 255, e4.pending_buf[e4.pending++] = 255 & t4;
|
|
80612
80707
|
}
|
|
80613
80708
|
function Hd(e4, t4) {
|
|
80614
|
-
var n3, r2, o2 = e4.max_chain_length, i2 = e4.strstart, a2 = e4.prev_length, s2 = e4.nice_match, l2 = e4.strstart > e4.w_size -
|
|
80709
|
+
var n3, r2, o2 = e4.max_chain_length, i2 = e4.strstart, a2 = e4.prev_length, s2 = e4.nice_match, l2 = e4.strstart > e4.w_size - Td ? e4.strstart - (e4.w_size - Td) : 0, c2 = e4.window, u2 = e4.w_mask, h2 = e4.prev, d2 = e4.strstart + Ed, p2 = c2[i2 + a2 - 1], m2 = c2[i2 + a2];
|
|
80615
80710
|
e4.prev_length >= e4.good_match && (o2 >>= 2), s2 > e4.lookahead && (s2 = e4.lookahead);
|
|
80616
80711
|
do {
|
|
80617
80712
|
if (c2[(n3 = t4) + a2] === m2 && c2[n3 + a2 - 1] === p2 && c2[n3] === c2[i2] && c2[++n3] === c2[i2 + 1]) {
|
|
80618
80713
|
i2 += 2, n3++;
|
|
80619
80714
|
do {
|
|
80620
80715
|
} while (c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && c2[++i2] === c2[++n3] && i2 < d2);
|
|
80621
|
-
if (r2 =
|
|
80716
|
+
if (r2 = Ed - (d2 - i2), i2 = d2 - Ed, r2 > a2) {
|
|
80622
80717
|
if (e4.match_start = t4, a2 = r2, r2 >= s2)
|
|
80623
80718
|
break;
|
|
80624
80719
|
p2 = c2[i2 + a2 - 1], m2 = c2[i2 + a2];
|
|
@@ -80630,7 +80725,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80630
80725
|
function qd(e4) {
|
|
80631
80726
|
var t4, n3, r2, o2, i2, a2, s2, l2, c2, u2, h2 = e4.w_size;
|
|
80632
80727
|
do {
|
|
80633
|
-
if (o2 = e4.window_size - e4.lookahead - e4.strstart, e4.strstart >= h2 + (h2 -
|
|
80728
|
+
if (o2 = e4.window_size - e4.lookahead - e4.strstart, e4.strstart >= h2 + (h2 - Td)) {
|
|
80634
80729
|
pd.arraySet(e4.window, e4.window, h2, h2, 0), e4.match_start -= h2, e4.strstart -= h2, e4.block_start -= h2, t4 = n3 = e4.hash_size;
|
|
80635
80730
|
do {
|
|
80636
80731
|
r2 = e4.head[--t4], e4.head[t4] = r2 >= h2 ? r2 - h2 : 0;
|
|
@@ -80646,17 +80741,17 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80646
80741
|
if (a2 = e4.strm, s2 = e4.window, l2 = e4.strstart + e4.lookahead, c2 = o2, u2 = void 0, (u2 = a2.avail_in) > c2 && (u2 = c2), n3 = 0 === u2 ? 0 : (a2.avail_in -= u2, pd.arraySet(s2, a2.input, a2.next_in, u2, l2), 1 === a2.state.wrap ? a2.adler = fd(a2.adler, s2, u2, l2) : 2 === a2.state.wrap && (a2.adler = gd(a2.adler, s2, u2, l2)), a2.next_in += u2, a2.total_in += u2, u2), e4.lookahead += n3, e4.lookahead + e4.insert >= Ld)
|
|
80647
80742
|
for (i2 = e4.strstart - e4.insert, e4.ins_h = e4.window[i2], e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[i2 + 1]) & e4.hash_mask; e4.insert && (e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[i2 + Ld - 1]) & e4.hash_mask, e4.prev[i2 & e4.w_mask] = e4.head[e4.ins_h], e4.head[e4.ins_h] = i2, i2++, e4.insert--, !(e4.lookahead + e4.insert < Ld)); )
|
|
80648
80743
|
;
|
|
80649
|
-
} while (e4.lookahead <
|
|
80744
|
+
} while (e4.lookahead < Td && 0 !== e4.strm.avail_in);
|
|
80650
80745
|
}
|
|
80651
80746
|
function Wd(e4, t4) {
|
|
80652
80747
|
for (var n3, r2; ; ) {
|
|
80653
|
-
if (e4.lookahead <
|
|
80654
|
-
if (qd(e4), e4.lookahead <
|
|
80748
|
+
if (e4.lookahead < Td) {
|
|
80749
|
+
if (qd(e4), e4.lookahead < Td && t4 === yd)
|
|
80655
80750
|
return 1;
|
|
80656
80751
|
if (0 === e4.lookahead)
|
|
80657
80752
|
break;
|
|
80658
80753
|
}
|
|
80659
|
-
if (n3 = 0, e4.lookahead >= Ld && (e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[e4.strstart + Ld - 1]) & e4.hash_mask, n3 = e4.prev[e4.strstart & e4.w_mask] = e4.head[e4.ins_h], e4.head[e4.ins_h] = e4.strstart), 0 !== n3 && e4.strstart - n3 <= e4.w_size -
|
|
80754
|
+
if (n3 = 0, e4.lookahead >= Ld && (e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[e4.strstart + Ld - 1]) & e4.hash_mask, n3 = e4.prev[e4.strstart & e4.w_mask] = e4.head[e4.ins_h], e4.head[e4.ins_h] = e4.strstart), 0 !== n3 && e4.strstart - n3 <= e4.w_size - Td && (e4.match_length = Hd(e4, n3)), e4.match_length >= Ld)
|
|
80660
80755
|
if (r2 = md._tr_tally(e4, e4.strstart - e4.match_start, e4.match_length - Ld), e4.lookahead -= e4.match_length, e4.match_length <= e4.max_lazy_match && e4.lookahead >= Ld) {
|
|
80661
80756
|
e4.match_length--;
|
|
80662
80757
|
do {
|
|
@@ -80674,13 +80769,13 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80674
80769
|
}
|
|
80675
80770
|
function $d(e4, t4) {
|
|
80676
80771
|
for (var n3, r2, o2; ; ) {
|
|
80677
|
-
if (e4.lookahead <
|
|
80678
|
-
if (qd(e4), e4.lookahead <
|
|
80772
|
+
if (e4.lookahead < Td) {
|
|
80773
|
+
if (qd(e4), e4.lookahead < Td && t4 === yd)
|
|
80679
80774
|
return 1;
|
|
80680
80775
|
if (0 === e4.lookahead)
|
|
80681
80776
|
break;
|
|
80682
80777
|
}
|
|
80683
|
-
if (n3 = 0, e4.lookahead >= Ld && (e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[e4.strstart + Ld - 1]) & e4.hash_mask, n3 = e4.prev[e4.strstart & e4.w_mask] = e4.head[e4.ins_h], e4.head[e4.ins_h] = e4.strstart), e4.prev_length = e4.match_length, e4.prev_match = e4.match_start, e4.match_length = Ld - 1, 0 !== n3 && e4.prev_length < e4.max_lazy_match && e4.strstart - n3 <= e4.w_size -
|
|
80778
|
+
if (n3 = 0, e4.lookahead >= Ld && (e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[e4.strstart + Ld - 1]) & e4.hash_mask, n3 = e4.prev[e4.strstart & e4.w_mask] = e4.head[e4.ins_h], e4.head[e4.ins_h] = e4.strstart), e4.prev_length = e4.match_length, e4.prev_match = e4.match_start, e4.match_length = Ld - 1, 0 !== n3 && e4.prev_length < e4.max_lazy_match && e4.strstart - n3 <= e4.w_size - Td && (e4.match_length = Hd(e4, n3), e4.match_length <= 5 && (1 === e4.strategy || e4.match_length === Ld && e4.strstart - e4.match_start > 4096) && (e4.match_length = Ld - 1)), e4.prev_length >= Ld && e4.match_length <= e4.prev_length) {
|
|
80684
80779
|
o2 = e4.strstart + e4.lookahead - Ld, r2 = md._tr_tally(e4, e4.strstart - 1 - e4.prev_match, e4.prev_length - Ld), e4.lookahead -= e4.prev_length - 1, e4.prev_length -= 2;
|
|
80685
80780
|
do {
|
|
80686
80781
|
++e4.strstart <= o2 && (e4.ins_h = (e4.ins_h << e4.hash_shift ^ e4.window[e4.strstart + Ld - 1]) & e4.hash_mask, n3 = e4.prev[e4.strstart & e4.w_mask] = e4.head[e4.ins_h], e4.head[e4.ins_h] = e4.strstart);
|
|
@@ -80703,7 +80798,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80703
80798
|
}
|
|
80704
80799
|
function Zd(e4) {
|
|
80705
80800
|
var t4;
|
|
80706
|
-
return e4 && e4.state ? (e4.total_in = e4.total_out = 0, e4.data_type = vd, (t4 = e4.state).pending = 0, t4.pending_out = 0, t4.wrap < 0 && (t4.wrap = -t4.wrap), t4.status = t4.wrap ? Nd : Pd, e4.adler = 2 === t4.wrap ? 0 : 1, t4.last_flush = yd, md._tr_init(t4), kd) :
|
|
80801
|
+
return e4 && e4.state ? (e4.total_in = e4.total_out = 0, e4.data_type = vd, (t4 = e4.state).pending = 0, t4.pending_out = 0, t4.wrap < 0 && (t4.wrap = -t4.wrap), t4.status = t4.wrap ? Nd : Pd, e4.adler = 2 === t4.wrap ? 0 : 1, t4.last_flush = yd, md._tr_init(t4), kd) : Id(e4, wd);
|
|
80707
80802
|
}
|
|
80708
80803
|
function Gd(e4) {
|
|
80709
80804
|
var t4, n3 = Zd(e4);
|
|
@@ -80714,7 +80809,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80714
80809
|
return wd;
|
|
80715
80810
|
var a2 = 1;
|
|
80716
80811
|
if (-1 === t4 && (t4 = 6), r2 < 0 ? (a2 = 0, r2 = -r2) : r2 > 15 && (a2 = 2, r2 -= 16), o2 < 1 || o2 > 9 || n3 !== xd || r2 < 8 || r2 > 15 || t4 < 0 || t4 > 9 || i2 < 0 || i2 > 4)
|
|
80717
|
-
return
|
|
80812
|
+
return Id(e4, wd);
|
|
80718
80813
|
8 === r2 && (r2 = 9);
|
|
80719
80814
|
var s2 = new Kd();
|
|
80720
80815
|
return e4.state = s2, s2.strm = e4, s2.wrap = a2, s2.gzhead = null, s2.w_bits = r2, s2.w_size = 1 << s2.w_bits, s2.w_mask = s2.w_size - 1, s2.hash_bits = o2 + 7, s2.hash_size = 1 << s2.hash_bits, s2.hash_mask = s2.hash_size - 1, s2.hash_shift = ~~((s2.hash_bits + Ld - 1) / Ld), s2.window = new pd.Buf8(2 * s2.w_size), s2.head = new pd.Buf16(s2.hash_size), s2.prev = new pd.Buf16(s2.w_size), s2.lit_bufsize = 1 << o2 + 6, s2.pending_buf_size = 4 * s2.lit_bufsize, s2.pending_buf = new pd.Buf8(s2.pending_buf_size), s2.d_buf = 1 * s2.lit_bufsize, s2.l_buf = 3 * s2.lit_bufsize, s2.level = t4, s2.strategy = i2, s2.method = n3, Gd(e4);
|
|
@@ -80732,7 +80827,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80732
80827
|
var r2 = e4.block_start + n3;
|
|
80733
80828
|
if ((0 === e4.strstart || e4.strstart >= r2) && (e4.lookahead = e4.strstart - r2, e4.strstart = r2, Md(e4, false), 0 === e4.strm.avail_out))
|
|
80734
80829
|
return 1;
|
|
80735
|
-
if (e4.strstart - e4.block_start >= e4.w_size -
|
|
80830
|
+
if (e4.strstart - e4.block_start >= e4.w_size - Td && (Md(e4, false), 0 === e4.strm.avail_out))
|
|
80736
80831
|
return 1;
|
|
80737
80832
|
}
|
|
80738
80833
|
return e4.insert = 0, 4 === t4 ? (Md(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : (e4.strstart > e4.block_start && (Md(e4, false), e4.strm.avail_out), 1);
|
|
@@ -80743,9 +80838,9 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80743
80838
|
}, xh.deflate = function(e4, t4) {
|
|
80744
80839
|
var n3, r2, o2, i2;
|
|
80745
80840
|
if (!e4 || !e4.state || t4 > 5 || t4 < 0)
|
|
80746
|
-
return e4 ?
|
|
80747
|
-
if (r2 = e4.state, !e4.output || !e4.input && 0 !== e4.avail_in || r2.status ===
|
|
80748
|
-
return
|
|
80841
|
+
return e4 ? Id(e4, wd) : wd;
|
|
80842
|
+
if (r2 = e4.state, !e4.output || !e4.input && 0 !== e4.avail_in || r2.status === Rd && 4 !== t4)
|
|
80843
|
+
return Id(e4, 0 === e4.avail_out ? -5 : wd);
|
|
80749
80844
|
if (r2.strm = e4, n3 = r2.last_flush, r2.last_flush = t4, r2.status === Nd)
|
|
80750
80845
|
if (2 === r2.wrap)
|
|
80751
80846
|
e4.adler = 0, Fd(r2, 31), Fd(r2, 139), Fd(r2, 8), r2.gzhead ? (Fd(r2, (r2.gzhead.text ? 1 : 0) + (r2.gzhead.hcrc ? 2 : 0) + (r2.gzhead.extra ? 4 : 0) + (r2.gzhead.name ? 8 : 0) + (r2.gzhead.comment ? 16 : 0)), Fd(r2, 255 & r2.gzhead.time), Fd(r2, r2.gzhead.time >> 8 & 255), Fd(r2, r2.gzhead.time >> 16 & 255), Fd(r2, r2.gzhead.time >> 24 & 255), Fd(r2, 9 === r2.level ? 2 : r2.strategy >= 2 || r2.level < 2 ? 4 : 0), Fd(r2, 255 & r2.gzhead.os), r2.gzhead.extra && r2.gzhead.extra.length && (Fd(r2, 255 & r2.gzhead.extra.length), Fd(r2, r2.gzhead.extra.length >> 8 & 255)), r2.gzhead.hcrc && (e4.adler = gd(e4.adler, r2.pending_buf, r2.pending, 0)), r2.gzindex = 0, r2.status = 69) : (Fd(r2, 0), Fd(r2, 0), Fd(r2, 0), Fd(r2, 0), Fd(r2, 0), Fd(r2, 9 === r2.level ? 2 : r2.strategy >= 2 || r2.level < 2 ? 4 : 0), Fd(r2, 3), r2.status = Pd);
|
|
@@ -80790,10 +80885,10 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80790
80885
|
if (Ud(e4), 0 === e4.avail_out)
|
|
80791
80886
|
return r2.last_flush = -1, kd;
|
|
80792
80887
|
} else if (0 === e4.avail_in && Bd(t4) <= Bd(n3) && 4 !== t4)
|
|
80793
|
-
return
|
|
80794
|
-
if (r2.status ===
|
|
80795
|
-
return
|
|
80796
|
-
if (0 !== e4.avail_in || 0 !== r2.lookahead || t4 !== yd && r2.status !==
|
|
80888
|
+
return Id(e4, -5);
|
|
80889
|
+
if (r2.status === Rd && 0 !== e4.avail_in)
|
|
80890
|
+
return Id(e4, -5);
|
|
80891
|
+
if (0 !== e4.avail_in || 0 !== r2.lookahead || t4 !== yd && r2.status !== Rd) {
|
|
80797
80892
|
var s2 = 2 === r2.strategy ? function(e5, t5) {
|
|
80798
80893
|
for (var n4; ; ) {
|
|
80799
80894
|
if (0 === e5.lookahead && (qd(e5), 0 === e5.lookahead)) {
|
|
@@ -80807,24 +80902,24 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80807
80902
|
return e5.insert = 0, 4 === t5 ? (Md(e5, true), 0 === e5.strm.avail_out ? 3 : 4) : e5.last_lit && (Md(e5, false), 0 === e5.strm.avail_out) ? 1 : 2;
|
|
80808
80903
|
}(r2, t4) : 3 === r2.strategy ? function(e5, t5) {
|
|
80809
80904
|
for (var n4, r3, o3, i3, a3 = e5.window; ; ) {
|
|
80810
|
-
if (e5.lookahead <=
|
|
80811
|
-
if (qd(e5), e5.lookahead <=
|
|
80905
|
+
if (e5.lookahead <= Ed) {
|
|
80906
|
+
if (qd(e5), e5.lookahead <= Ed && t5 === yd)
|
|
80812
80907
|
return 1;
|
|
80813
80908
|
if (0 === e5.lookahead)
|
|
80814
80909
|
break;
|
|
80815
80910
|
}
|
|
80816
80911
|
if (e5.match_length = 0, e5.lookahead >= Ld && e5.strstart > 0 && (r3 = a3[o3 = e5.strstart - 1]) === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3]) {
|
|
80817
|
-
i3 = e5.strstart +
|
|
80912
|
+
i3 = e5.strstart + Ed;
|
|
80818
80913
|
do {
|
|
80819
80914
|
} while (r3 === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3] && r3 === a3[++o3] && o3 < i3);
|
|
80820
|
-
e5.match_length =
|
|
80915
|
+
e5.match_length = Ed - (i3 - o3), e5.match_length > e5.lookahead && (e5.match_length = e5.lookahead);
|
|
80821
80916
|
}
|
|
80822
80917
|
if (e5.match_length >= Ld ? (n4 = md._tr_tally(e5, 1, e5.match_length - Ld), e5.lookahead -= e5.match_length, e5.strstart += e5.match_length, e5.match_length = 0) : (n4 = md._tr_tally(e5, 0, e5.window[e5.strstart]), e5.lookahead--, e5.strstart++), n4 && (Md(e5, false), 0 === e5.strm.avail_out))
|
|
80823
80918
|
return 1;
|
|
80824
80919
|
}
|
|
80825
80920
|
return e5.insert = 0, 4 === t5 ? (Md(e5, true), 0 === e5.strm.avail_out ? 3 : 4) : e5.last_lit && (Md(e5, false), 0 === e5.strm.avail_out) ? 1 : 2;
|
|
80826
80921
|
}(r2, t4) : ld[r2.level].func(r2, t4);
|
|
80827
|
-
if (3 !== s2 && 4 !== s2 || (r2.status =
|
|
80922
|
+
if (3 !== s2 && 4 !== s2 || (r2.status = Rd), 1 === s2 || 3 === s2)
|
|
80828
80923
|
return 0 === e4.avail_out && (r2.last_flush = -1), kd;
|
|
80829
80924
|
if (2 === s2 && (1 === t4 ? md._tr_align(r2) : 5 !== t4 && (md._tr_stored_block(r2, 0, 0, false), 3 === t4 && (Od(r2.head), 0 === r2.lookahead && (r2.strstart = 0, r2.block_start = 0, r2.insert = 0))), Ud(e4), 0 === e4.avail_out))
|
|
80830
80925
|
return r2.last_flush = -1, kd;
|
|
@@ -80832,7 +80927,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
80832
80927
|
return 4 !== t4 ? kd : r2.wrap <= 0 ? 1 : (2 === r2.wrap ? (Fd(r2, 255 & e4.adler), Fd(r2, e4.adler >> 8 & 255), Fd(r2, e4.adler >> 16 & 255), Fd(r2, e4.adler >> 24 & 255), Fd(r2, 255 & e4.total_in), Fd(r2, e4.total_in >> 8 & 255), Fd(r2, e4.total_in >> 16 & 255), Fd(r2, e4.total_in >> 24 & 255)) : (jd(r2, e4.adler >>> 16), jd(r2, 65535 & e4.adler)), Ud(e4), r2.wrap > 0 && (r2.wrap = -r2.wrap), 0 !== r2.pending ? kd : 1);
|
|
80833
80928
|
}, xh.deflateEnd = function(e4) {
|
|
80834
80929
|
var t4;
|
|
80835
|
-
return e4 && e4.state ? (t4 = e4.state.status) !== Nd && 69 !== t4 && 73 !== t4 && 91 !== t4 && t4 !== Dd && t4 !== Pd && t4 !==
|
|
80930
|
+
return e4 && e4.state ? (t4 = e4.state.status) !== Nd && 69 !== t4 && 73 !== t4 && 91 !== t4 && t4 !== Dd && t4 !== Pd && t4 !== Rd ? Id(e4, wd) : (e4.state = null, t4 === Pd ? Id(e4, -3) : kd) : wd;
|
|
80836
80931
|
}, xh.deflateSetDictionary = function(e4, t4) {
|
|
80837
80932
|
var n3, r2, o2, i2, a2, s2, l2, c2, u2 = t4.length;
|
|
80838
80933
|
if (!e4 || !e4.state)
|
|
@@ -81035,42 +81130,42 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81035
81130
|
} while (r2 < o2 && i2 < s2);
|
|
81036
81131
|
r2 -= v2 = m2 >> 3, p2 &= (1 << (m2 -= v2 << 3)) - 1, e4.next_in = r2, e4.next_out = i2, e4.avail_in = r2 < o2 ? o2 - r2 + 5 : 5 - (r2 - o2), e4.avail_out = i2 < s2 ? s2 - i2 + 257 : 257 - (i2 - s2), n3.hold = p2, n3.bits = m2;
|
|
81037
81132
|
}, Lp = function(e4, t4, n3, r2, o2, i2, a2, s2) {
|
|
81038
|
-
var l2, c2, u2, h2, d2, p2, m2, f2, g2, b2 = s2.bits, y2 = 0, k2 = 0, w2 = 0, v2 = 0, x2 = 0, S2 = 0, _2 = 0, C2 = 0, A2 = 0, z2 = 0, L2 = null,
|
|
81133
|
+
var l2, c2, u2, h2, d2, p2, m2, f2, g2, b2 = s2.bits, y2 = 0, k2 = 0, w2 = 0, v2 = 0, x2 = 0, S2 = 0, _2 = 0, C2 = 0, A2 = 0, z2 = 0, L2 = null, E2 = 0, T2 = new kp.Buf16(16), N2 = new kp.Buf16(16), D2 = null, P2 = 0;
|
|
81039
81134
|
for (y2 = 0; y2 <= 15; y2++)
|
|
81040
|
-
|
|
81135
|
+
T2[y2] = 0;
|
|
81041
81136
|
for (k2 = 0; k2 < r2; k2++)
|
|
81042
|
-
|
|
81043
|
-
for (x2 = b2, v2 = 15; v2 >= 1 && 0 ===
|
|
81137
|
+
T2[t4[n3 + k2]]++;
|
|
81138
|
+
for (x2 = b2, v2 = 15; v2 >= 1 && 0 === T2[v2]; v2--)
|
|
81044
81139
|
;
|
|
81045
81140
|
if (x2 > v2 && (x2 = v2), 0 === v2)
|
|
81046
81141
|
return o2[i2++] = 20971520, o2[i2++] = 20971520, s2.bits = 1, 0;
|
|
81047
|
-
for (w2 = 1; w2 < v2 && 0 ===
|
|
81142
|
+
for (w2 = 1; w2 < v2 && 0 === T2[w2]; w2++)
|
|
81048
81143
|
;
|
|
81049
81144
|
for (x2 < w2 && (x2 = w2), C2 = 1, y2 = 1; y2 <= 15; y2++)
|
|
81050
|
-
if (C2 <<= 1, (C2 -=
|
|
81145
|
+
if (C2 <<= 1, (C2 -= T2[y2]) < 0)
|
|
81051
81146
|
return -1;
|
|
81052
81147
|
if (C2 > 0 && (0 === e4 || 1 !== v2))
|
|
81053
81148
|
return -1;
|
|
81054
81149
|
for (N2[1] = 0, y2 = 1; y2 < 15; y2++)
|
|
81055
|
-
N2[y2 + 1] = N2[y2] +
|
|
81150
|
+
N2[y2 + 1] = N2[y2] + T2[y2];
|
|
81056
81151
|
for (k2 = 0; k2 < r2; k2++)
|
|
81057
81152
|
0 !== t4[n3 + k2] && (a2[N2[t4[n3 + k2]]++] = k2);
|
|
81058
|
-
if (0 === e4 ? (L2 = D2 = a2, p2 = 19) : 1 === e4 ? (L2 = wp,
|
|
81153
|
+
if (0 === e4 ? (L2 = D2 = a2, p2 = 19) : 1 === e4 ? (L2 = wp, E2 -= 257, D2 = vp, P2 -= 257, p2 = 256) : (L2 = xp, D2 = Sp, p2 = -1), z2 = 0, k2 = 0, y2 = w2, d2 = i2, S2 = x2, _2 = 0, u2 = -1, h2 = (A2 = 1 << x2) - 1, 1 === e4 && A2 > 852 || 2 === e4 && A2 > 592)
|
|
81059
81154
|
return 1;
|
|
81060
81155
|
for (; ; ) {
|
|
81061
|
-
m2 = y2 - _2, a2[k2] < p2 ? (f2 = 0, g2 = a2[k2]) : a2[k2] > p2 ? (f2 = D2[P2 + a2[k2]], g2 = L2[
|
|
81156
|
+
m2 = y2 - _2, a2[k2] < p2 ? (f2 = 0, g2 = a2[k2]) : a2[k2] > p2 ? (f2 = D2[P2 + a2[k2]], g2 = L2[E2 + a2[k2]]) : (f2 = 96, g2 = 0), l2 = 1 << y2 - _2, w2 = c2 = 1 << S2;
|
|
81062
81157
|
do {
|
|
81063
81158
|
o2[d2 + (z2 >> _2) + (c2 -= l2)] = m2 << 24 | f2 << 16 | g2 | 0;
|
|
81064
81159
|
} while (0 !== c2);
|
|
81065
81160
|
for (l2 = 1 << y2 - 1; z2 & l2; )
|
|
81066
81161
|
l2 >>= 1;
|
|
81067
|
-
if (0 !== l2 ? (z2 &= l2 - 1, z2 += l2) : z2 = 0, k2++, 0 == --
|
|
81162
|
+
if (0 !== l2 ? (z2 &= l2 - 1, z2 += l2) : z2 = 0, k2++, 0 == --T2[y2]) {
|
|
81068
81163
|
if (y2 === v2)
|
|
81069
81164
|
break;
|
|
81070
81165
|
y2 = t4[n3 + a2[k2]];
|
|
81071
81166
|
}
|
|
81072
81167
|
if (y2 > x2 && (z2 & h2) !== u2) {
|
|
81073
|
-
for (0 === _2 && (_2 = x2), d2 += w2, C2 = 1 << (S2 = y2 - _2); S2 + _2 < v2 && !((C2 -=
|
|
81168
|
+
for (0 === _2 && (_2 = x2), d2 += w2, C2 = 1 << (S2 = y2 - _2); S2 + _2 < v2 && !((C2 -= T2[S2 + _2]) <= 0); )
|
|
81074
81169
|
S2++, C2 <<= 1;
|
|
81075
81170
|
if (A2 += 1 << S2, 1 === e4 && A2 > 852 || 2 === e4 && A2 > 592)
|
|
81076
81171
|
return 1;
|
|
@@ -81078,7 +81173,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81078
81173
|
}
|
|
81079
81174
|
}
|
|
81080
81175
|
return 0 !== z2 && (o2[d2 + z2] = y2 - _2 << 24 | 64 << 16 | 0), s2.bits = x2, 0;
|
|
81081
|
-
},
|
|
81176
|
+
}, Ep = 0, Tp = -2, Np = 1, Dp = 12, Pp = 30, Rp = 852, Ip = 592;
|
|
81082
81177
|
function Bp(e4) {
|
|
81083
81178
|
return (e4 >>> 24 & 255) + (e4 >>> 8 & 65280) + ((65280 & e4) << 8) + ((255 & e4) << 24);
|
|
81084
81179
|
}
|
|
@@ -81087,19 +81182,19 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81087
81182
|
}
|
|
81088
81183
|
function Up(e4) {
|
|
81089
81184
|
var t4;
|
|
81090
|
-
return e4 && e4.state ? (t4 = e4.state, e4.total_in = e4.total_out = t4.total = 0, e4.msg = "", t4.wrap && (e4.adler = 1 & t4.wrap), t4.mode = Np, t4.last = 0, t4.havedict = 0, t4.dmax = 32768, t4.head = null, t4.hold = 0, t4.bits = 0, t4.lencode = t4.lendyn = new _p.Buf32(
|
|
81185
|
+
return e4 && e4.state ? (t4 = e4.state, e4.total_in = e4.total_out = t4.total = 0, e4.msg = "", t4.wrap && (e4.adler = 1 & t4.wrap), t4.mode = Np, t4.last = 0, t4.havedict = 0, t4.dmax = 32768, t4.head = null, t4.hold = 0, t4.bits = 0, t4.lencode = t4.lendyn = new _p.Buf32(Rp), t4.distcode = t4.distdyn = new _p.Buf32(Ip), t4.sane = 1, t4.back = -1, Ep) : Tp;
|
|
81091
81186
|
}
|
|
81092
81187
|
function Mp(e4) {
|
|
81093
81188
|
var t4;
|
|
81094
|
-
return e4 && e4.state ? ((t4 = e4.state).wsize = 0, t4.whave = 0, t4.wnext = 0, Up(e4)) :
|
|
81189
|
+
return e4 && e4.state ? ((t4 = e4.state).wsize = 0, t4.whave = 0, t4.wnext = 0, Up(e4)) : Tp;
|
|
81095
81190
|
}
|
|
81096
81191
|
function Fp(e4, t4) {
|
|
81097
81192
|
var n3, r2;
|
|
81098
|
-
return e4 && e4.state ? (r2 = e4.state, t4 < 0 ? (n3 = 0, t4 = -t4) : (n3 = 1 + (t4 >> 4), t4 < 48 && (t4 &= 15)), t4 && (t4 < 8 || t4 > 15) ?
|
|
81193
|
+
return e4 && e4.state ? (r2 = e4.state, t4 < 0 ? (n3 = 0, t4 = -t4) : (n3 = 1 + (t4 >> 4), t4 < 48 && (t4 &= 15)), t4 && (t4 < 8 || t4 > 15) ? Tp : (null !== r2.window && r2.wbits !== t4 && (r2.window = null), r2.wrap = n3, r2.wbits = t4, Mp(e4))) : Tp;
|
|
81099
81194
|
}
|
|
81100
81195
|
function jp(e4, t4) {
|
|
81101
81196
|
var n3, r2;
|
|
81102
|
-
return e4 ? (r2 = new Op(), e4.state = r2, r2.window = null, (n3 = Fp(e4, t4)) !==
|
|
81197
|
+
return e4 ? (r2 = new Op(), e4.state = r2, r2.window = null, (n3 = Fp(e4, t4)) !== Ep && (e4.state = null), n3) : Tp;
|
|
81103
81198
|
}
|
|
81104
81199
|
var Hp, qp, Wp = true;
|
|
81105
81200
|
function $p(e4) {
|
|
@@ -81128,8 +81223,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81128
81223
|
}, yp.inflateInit2 = jp, yp.inflate = function(e4, t4) {
|
|
81129
81224
|
var n3, r2, o2, i2, a2, s2, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, S2, _2, C2, A2 = 0, z2 = new _p.Buf8(4), L2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
81130
81225
|
if (!e4 || !e4.state || !e4.output || !e4.input && 0 !== e4.avail_in)
|
|
81131
|
-
return
|
|
81132
|
-
(n3 = e4.state).mode === Dp && (n3.mode = 13), a2 = e4.next_out, o2 = e4.output, l2 = e4.avail_out, i2 = e4.next_in, r2 = e4.input, s2 = e4.avail_in, c2 = n3.hold, u2 = n3.bits, h2 = s2, d2 = l2, S2 =
|
|
81226
|
+
return Tp;
|
|
81227
|
+
(n3 = e4.state).mode === Dp && (n3.mode = 13), a2 = e4.next_out, o2 = e4.output, l2 = e4.avail_out, i2 = e4.next_in, r2 = e4.input, s2 = e4.avail_in, c2 = n3.hold, u2 = n3.bits, h2 = s2, d2 = l2, S2 = Ep;
|
|
81133
81228
|
e:
|
|
81134
81229
|
for (; ; )
|
|
81135
81230
|
switch (n3.mode) {
|
|
@@ -81535,20 +81630,20 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81535
81630
|
case 31:
|
|
81536
81631
|
return -4;
|
|
81537
81632
|
default:
|
|
81538
|
-
return
|
|
81633
|
+
return Tp;
|
|
81539
81634
|
}
|
|
81540
|
-
return e4.next_out = a2, e4.avail_out = l2, e4.next_in = i2, e4.avail_in = s2, n3.hold = c2, n3.bits = u2, (n3.wsize || d2 !== e4.avail_out && n3.mode < Pp && (n3.mode < 27 || 4 !== t4)) && Vp(e4, e4.output, e4.next_out, d2 - e4.avail_out), h2 -= e4.avail_in, d2 -= e4.avail_out, e4.total_in += h2, e4.total_out += d2, n3.total += d2, n3.wrap && d2 && (e4.adler = n3.check = n3.flags ? Ap(n3.check, o2, d2, e4.next_out - d2) : Cp(n3.check, o2, d2, e4.next_out - d2)), e4.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === Dp ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t4) && S2 ===
|
|
81635
|
+
return e4.next_out = a2, e4.avail_out = l2, e4.next_in = i2, e4.avail_in = s2, n3.hold = c2, n3.bits = u2, (n3.wsize || d2 !== e4.avail_out && n3.mode < Pp && (n3.mode < 27 || 4 !== t4)) && Vp(e4, e4.output, e4.next_out, d2 - e4.avail_out), h2 -= e4.avail_in, d2 -= e4.avail_out, e4.total_in += h2, e4.total_out += d2, n3.total += d2, n3.wrap && d2 && (e4.adler = n3.check = n3.flags ? Ap(n3.check, o2, d2, e4.next_out - d2) : Cp(n3.check, o2, d2, e4.next_out - d2)), e4.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === Dp ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t4) && S2 === Ep && (S2 = -5), S2;
|
|
81541
81636
|
}, yp.inflateEnd = function(e4) {
|
|
81542
81637
|
if (!e4 || !e4.state)
|
|
81543
|
-
return
|
|
81638
|
+
return Tp;
|
|
81544
81639
|
var t4 = e4.state;
|
|
81545
|
-
return t4.window && (t4.window = null), e4.state = null,
|
|
81640
|
+
return t4.window && (t4.window = null), e4.state = null, Ep;
|
|
81546
81641
|
}, yp.inflateGetHeader = function(e4, t4) {
|
|
81547
81642
|
var n3;
|
|
81548
|
-
return e4 && e4.state ? 0 == (2 & (n3 = e4.state).wrap) ?
|
|
81643
|
+
return e4 && e4.state ? 0 == (2 & (n3 = e4.state).wrap) ? Tp : (n3.head = t4, t4.done = false, Ep) : Tp;
|
|
81549
81644
|
}, yp.inflateSetDictionary = function(e4, t4) {
|
|
81550
81645
|
var n3, r2 = t4.length;
|
|
81551
|
-
return e4 && e4.state ? 0 !== (n3 = e4.state).wrap && 11 !== n3.mode ?
|
|
81646
|
+
return e4 && e4.state ? 0 !== (n3 = e4.state).wrap && 11 !== n3.mode ? Tp : 11 === n3.mode && Cp(1, t4, r2, 0) !== n3.check ? -3 : Vp(e4, t4, r2, r2) ? (n3.mode = 31, -4) : (n3.havedict = 1, Ep) : Tp;
|
|
81552
81647
|
}, yp.inflateInfo = "pako inflate (from Nodeca project)";
|
|
81553
81648
|
var Kp = { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_TREES: 6, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_BUF_ERROR: -5, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, Z_BINARY: 0, Z_TEXT: 1, Z_UNKNOWN: 2, Z_DEFLATED: 8 }, Zp = yp, Gp = wh, Yp = Xd, Xp = Kp, Qp = dd, Jp = op, em = function() {
|
|
81554
81649
|
this.text = 0, this.time = 0, this.xflags = 0, this.os = 0, this.extra = null, this.extra_len = 0, this.name = "", this.comment = "", this.hcrc = 0, this.done = false;
|
|
@@ -81627,10 +81722,10 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81627
81722
|
const _m = Fu, Cm = Hu, Am = yh;
|
|
81628
81723
|
const zm = yh;
|
|
81629
81724
|
const Lm = yh;
|
|
81630
|
-
const
|
|
81725
|
+
const Em = function(t4) {
|
|
81631
81726
|
const n3 = new TextDecoder("utf-8").decode(t4), r2 = e3.head || e3.querySelectorAll("head")[0], o2 = e3.createElement("style");
|
|
81632
81727
|
return o2.type = "text/css", o2.setAttribute("data-desc", "Applitools tmp variable created by DOM SNAPSHOT"), r2.appendChild(o2), o2.styleSheet ? o2.styleSheet.cssText = n3 : o2.appendChild(e3.createTextNode(n3)), o2.sheet;
|
|
81633
|
-
},
|
|
81728
|
+
}, Tm = xu;
|
|
81634
81729
|
const Nm = lm;
|
|
81635
81730
|
var Dm = function(e4, { log: t4, compress: n3, serialize: r2 }) {
|
|
81636
81731
|
return e4.reduce((e5, { url: o2, element: i2, cdtNode: a2 }) => {
|
|
@@ -81654,7 +81749,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81654
81749
|
}));
|
|
81655
81750
|
}, Promise.resolve([]));
|
|
81656
81751
|
};
|
|
81657
|
-
const Pm = hm,
|
|
81752
|
+
const Pm = hm, Rm = Dm, Im = Qu;
|
|
81658
81753
|
const Bm = hm, Om = lm;
|
|
81659
81754
|
const Um = d;
|
|
81660
81755
|
const Mm = "__process_resource";
|
|
@@ -81875,17 +81970,17 @@ var require_processPagePollCjs = __commonJS({
|
|
|
81875
81970
|
return function(t4) {
|
|
81876
81971
|
return t4.adoptedStyleSheets ? Lm(t4.adoptedStyleSheets.reduce((t5, n3) => t5.concat(e4(n3)), [])) : [];
|
|
81877
81972
|
};
|
|
81878
|
-
}, Qm = function(e4, t4, n3 =
|
|
81973
|
+
}, Qm = function(e4, t4, n3 = Tm) {
|
|
81879
81974
|
let r2;
|
|
81880
81975
|
if (t4)
|
|
81881
81976
|
try {
|
|
81882
81977
|
t4.cssRules, r2 = t4;
|
|
81883
81978
|
} catch (o2) {
|
|
81884
81979
|
n3(`[dom-snapshot] could not access cssRules for ${t4.href} ${o2}
|
|
81885
|
-
creating temp style for access.`), r2 =
|
|
81980
|
+
creating temp style for access.`), r2 = Em(e4);
|
|
81886
81981
|
}
|
|
81887
81982
|
else
|
|
81888
|
-
r2 =
|
|
81983
|
+
r2 = Em(e4);
|
|
81889
81984
|
return { corsFreeStyleSheet: r2, cleanStyleSheet: function() {
|
|
81890
81985
|
r2 !== t4 && r2.ownerNode.parentNode.removeChild(r2.ownerNode);
|
|
81891
81986
|
} };
|
|
@@ -81896,8 +81991,8 @@ creating temp style for access.`), r2 = Tm(e4);
|
|
|
81896
81991
|
let l2 = e4.filter(({ url: e5 }) => !(s2.has("blob:" + e5) || a2 && a2.getItem("blob:" + e5)));
|
|
81897
81992
|
const c2 = t4.createElement("canvas");
|
|
81898
81993
|
c2.style.display = "none";
|
|
81899
|
-
const u2 =
|
|
81900
|
-
return u2.appendChild(c2), Promise.all(l2.map(({ element: e5, url: t5, cdtNode: n4 }) => (c2.width = e5.naturalWidth, c2.height = e5.naturalHeight, c2.getContext("2d").drawImage(
|
|
81994
|
+
const u2 = Im(t4.body);
|
|
81995
|
+
return u2.appendChild(c2), Promise.all(l2.map(({ element: e5, url: t5, cdtNode: n4 }) => (c2.width = e5.naturalWidth, c2.height = e5.naturalHeight, c2.getContext("2d").drawImage(Im.unwrap(e5), 0, 0), Rm([{ url: t5, element: c2, cdtNode: n4 }], { log: r2, compress: o2, serialize: i2 })))).then((e5) => (u2.removeChild(c2), Pm(e5))).catch(() => {
|
|
81901
81996
|
u2.removeChild(c2);
|
|
81902
81997
|
});
|
|
81903
81998
|
}, tf = function(e4, { doc: t4, fetchedBlobs: n3, compress: r2, serialize: o2, sessionCache: i2 }) {
|
|
@@ -81968,8 +82063,8 @@ creating temp style for access.`), r2 = Tm(e4);
|
|
|
81968
82063
|
} catch (e6) {
|
|
81969
82064
|
}
|
|
81970
82065
|
};
|
|
81971
|
-
}(r3), C2 = af(Array.from(y3).concat(Array.from(x2)).concat(Array.from(S2))).map((e5) => e5.trim()).map(rf).map(_2).map(of).filter(df), A2 = o2 ? Promise.resolve({ resourceUrls: C2, blobsObj: {} }) : w2({ documents: c3, urls: C2, skipResources: a2 }).then((e5) => (h2 && h2.persist(), e5)), z2 = Jm(d3, { log: u2, compress: s2, serialize: l2 }), L2 = A2.then((e5) => ef(k3, { fetchedBlobs: e5.blobsObj, doc: t5, log: u2, compress: s2, serialize: l2, sessionCache: h2 })),
|
|
81972
|
-
return Promise.all([A2, z2, L2,
|
|
82066
|
+
}(r3), C2 = af(Array.from(y3).concat(Array.from(x2)).concat(Array.from(S2))).map((e5) => e5.trim()).map(rf).map(_2).map(of).filter(df), A2 = o2 ? Promise.resolve({ resourceUrls: C2, blobsObj: {} }) : w2({ documents: c3, urls: C2, skipResources: a2 }).then((e5) => (h2 && h2.persist(), e5)), z2 = Jm(d3, { log: u2, compress: s2, serialize: l2 }), L2 = A2.then((e5) => ef(k3, { fetchedBlobs: e5.blobsObj, doc: t5, log: u2, compress: s2, serialize: l2, sessionCache: h2 })), E2 = A2.then((e5) => tf(v2, { fetchedBlobs: e5.blobsObj, doc: t5, log: u2, compress: s2, serialize: l2, sessionCache: h2 })), T2 = p3.map(({ element: t6, url: n5 }) => e4(t6.contentDocument, n5)), N2 = m3.map(({ element: t6, url: n5 }) => e4(t6.contentDocument, n5));
|
|
82067
|
+
return Promise.all([A2, z2, L2, E2].concat(T2).concat(N2)).then(function(e5) {
|
|
81973
82068
|
const { resourceUrls: t6, blobsObj: o3 } = e5[0], a3 = e5[1], s3 = e5[2], l3 = e5[3], c4 = e5.slice(4), u3 = D2("src"), h3 = D2("data-applitools-selector"), d4 = h3 ? `[data-applitools-selector="${h3}"]` : void 0, p4 = function(e6) {
|
|
81974
82069
|
return Object.keys(e6).map((t7) => Object.assign({ url: t7.replace(/^blob:/, "") }, e6[t7]));
|
|
81975
82070
|
}(o3).concat(a3).concat(s3).concat(l3), m4 = { cdt: i3, url: n4, srcAttr: u3, resourceUrls: t6.map((e6) => e6.replace(/^blob:/, "")), blobs: p4, frames: c4, crossFrames: b3, selector: d4 };
|
|
@@ -81978,14 +82073,18 @@ creating temp style for access.`), r2 = Tm(e4);
|
|
|
81978
82073
|
function D2(e5) {
|
|
81979
82074
|
return t5.defaultView && t5.defaultView.frameElement && t5.defaultView.frameElement.getAttribute(e5);
|
|
81980
82075
|
}
|
|
81981
|
-
}(t4).then((e4) => (u2("processPage end"), e4.scriptVersion = "4.7.
|
|
82076
|
+
}(t4).then((e4) => (u2("processPage end"), e4.scriptVersion = "4.7.15", e4));
|
|
81982
82077
|
};
|
|
81983
82078
|
window[mf] = window[mf] || {};
|
|
81984
82079
|
const bf = pf(gf, window[mf], ff);
|
|
81985
82080
|
return function(e4) {
|
|
81986
82081
|
return e4 && e4.__esModule && Object.prototype.hasOwnProperty.call(e4, "default") ? e4.default : e4;
|
|
81987
82082
|
}(function(e4) {
|
|
81988
|
-
|
|
82083
|
+
try {
|
|
82084
|
+
return JSON.stringify(bf(e4)(e4));
|
|
82085
|
+
} catch (e5) {
|
|
82086
|
+
return JSON.stringify({ status: "ERROR", error: e5.message });
|
|
82087
|
+
}
|
|
81989
82088
|
});
|
|
81990
82089
|
}();
|
|
81991
82090
|
};
|
|
@@ -82041,14 +82140,17 @@ var require_pollResultCjs2 = __commonJS({
|
|
|
82041
82140
|
};
|
|
82042
82141
|
const n2 = e3, r = "WIP", o = "SUCCESS", u = "SUCCESS_CHUNKED", c = "ERROR";
|
|
82043
82142
|
var a = function(t5, e4, a2 = {}) {
|
|
82044
|
-
const
|
|
82143
|
+
const s2 = function(t6, { chunkByteLength: e5 = 0 } = {}) {
|
|
82045
82144
|
if (t6) {
|
|
82046
82145
|
if (t6.value) {
|
|
82047
82146
|
if (e5) {
|
|
82048
|
-
if (!t6.chunks)
|
|
82049
|
-
|
|
82050
|
-
|
|
82051
|
-
|
|
82147
|
+
if (!t6.chunks)
|
|
82148
|
+
try {
|
|
82149
|
+
const r2 = JSON.stringify(t6.value);
|
|
82150
|
+
t6.chunks = n2(r2, e5), t6.chunks.length > 0 && (t6.from = 0, t6.value = r2);
|
|
82151
|
+
} catch (t7) {
|
|
82152
|
+
return { status: c, error: t7.message };
|
|
82153
|
+
}
|
|
82052
82154
|
if (t6.from >= 0)
|
|
82053
82155
|
return { status: u, value: t6.value.substring(t6.from, t6.from = t6.chunks.shift()), done: !t6.from };
|
|
82054
82156
|
}
|
|
@@ -82058,12 +82160,12 @@ var require_pollResultCjs2 = __commonJS({
|
|
|
82058
82160
|
}
|
|
82059
82161
|
return { status: c, error: "unexpected poll request received - cannot find state of current operation" };
|
|
82060
82162
|
}((t5 = t5 || {})[e4], a2);
|
|
82061
|
-
return (
|
|
82163
|
+
return (s2.status === o || s2.status === c || s2.status === u && s2.done) && (t5[e4] = null), s2;
|
|
82062
82164
|
};
|
|
82063
|
-
const
|
|
82064
|
-
var
|
|
82165
|
+
const s = a;
|
|
82166
|
+
var l = { chunkify: e3, pollify: function(t5, e4, n3) {
|
|
82065
82167
|
return (r2) => function() {
|
|
82066
|
-
return e4[n3] || (e4[n3] = {}, t5.apply(null, arguments).then((t6) => e4[n3].value = t6).catch((t6) => e4[n3].error = t6.message)),
|
|
82168
|
+
return e4[n3] || (e4[n3] = {}, t5.apply(null, arguments).then((t6) => e4[n3].value = t6).catch((t6) => e4[n3].error = t6.message)), s(e4, n3, r2);
|
|
82067
82169
|
};
|
|
82068
82170
|
}, poll: a, absolutizeUrl: function(t5, e4) {
|
|
82069
82171
|
if (function(t6) {
|
|
@@ -82096,11 +82198,15 @@ var require_pollResultCjs2 = __commonJS({
|
|
|
82096
82198
|
return false;
|
|
82097
82199
|
}
|
|
82098
82200
|
} };
|
|
82099
|
-
const { poll: i } =
|
|
82201
|
+
const { poll: i } = l, { EYES_NAMESPACE: f, DOM_SNAPSHOT_KEY: d } = { EYES_NAMESPACE: "__EYES__APPLITOOLS__", DOM_SNAPSHOT_KEY: "domSnapshotResult" };
|
|
82100
82202
|
return function(t5) {
|
|
82101
82203
|
return t5 && t5.__esModule && Object.prototype.hasOwnProperty.call(t5, "default") ? t5.default : t5;
|
|
82102
82204
|
}(function(t5) {
|
|
82103
|
-
|
|
82205
|
+
try {
|
|
82206
|
+
return JSON.stringify(i(window[f], d, t5));
|
|
82207
|
+
} catch (t6) {
|
|
82208
|
+
return JSON.stringify({ status: "ERROR", error: t6.message });
|
|
82209
|
+
}
|
|
82104
82210
|
});
|
|
82105
82211
|
}();
|
|
82106
82212
|
};
|
|
@@ -83301,10 +83407,10 @@ var require_core3 = __commonJS({
|
|
|
83301
83407
|
var get_ufg_client_1 = require_get_ufg_client();
|
|
83302
83408
|
var open_eyes_1 = require_open_eyes3();
|
|
83303
83409
|
var utils34 = __importStar(require_browser3());
|
|
83304
|
-
function makeCore({ spec, clients, base, concurrency, fetchConcurrency, agentId = "core-ufg", cwd = process.cwd(), logger: defaultLogger, asyncCache }) {
|
|
83410
|
+
function makeCore({ spec, clients, base: defaultBase, concurrency, fetchConcurrency, agentId = "core-ufg", cwd = process.cwd(), logger: defaultLogger, asyncCache }) {
|
|
83305
83411
|
const logger = (0, logger_1.makeLogger)({ logger: defaultLogger, format: { label: "core-ufg" } });
|
|
83306
|
-
logger.log(`Core ufg is initialized ${
|
|
83307
|
-
base !== null &&
|
|
83412
|
+
logger.log(`Core ufg is initialized ${defaultBase ? "with" : "without"} custom base core`);
|
|
83413
|
+
const base = defaultBase !== null && defaultBase !== void 0 ? defaultBase : (0, core_base_1.makeCore)({ agentId, concurrency, cwd, logger });
|
|
83308
83414
|
return utils34.general.extend(base, (core) => {
|
|
83309
83415
|
return {
|
|
83310
83416
|
type: "ufg",
|
|
@@ -83765,10 +83871,10 @@ var require_open_eyes4 = __commonJS({
|
|
|
83765
83871
|
var abort_1 = require_abort3();
|
|
83766
83872
|
var get_eyes_results_1 = require_get_eyes_results();
|
|
83767
83873
|
var utils34 = __importStar(require_browser3());
|
|
83768
|
-
function makeOpenEyes({ type: defaultType = "classic", clients,
|
|
83874
|
+
function makeOpenEyes({ type: defaultType = "classic", clients, batch, core, cores, spec, environment, logger: mainLogger, asyncCache }) {
|
|
83769
83875
|
return async function openEyes({ type = defaultType, settings, config, target, logger = mainLogger }) {
|
|
83770
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
83771
|
-
var
|
|
83876
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
83877
|
+
var _v, _w, _x, _y;
|
|
83772
83878
|
logger = logger.extend(mainLogger, { tags: [`eyes-${type}-${utils34.general.shortid()}`] });
|
|
83773
83879
|
settings = { ...config === null || config === void 0 ? void 0 : config.open, ...settings };
|
|
83774
83880
|
(_a = settings.userTestId) !== null && _a !== void 0 ? _a : settings.userTestId = `${settings.testName}--${utils34.general.guid()}`;
|
|
@@ -83776,10 +83882,10 @@ var require_open_eyes4 = __commonJS({
|
|
|
83776
83882
|
(_e = settings.apiKey) !== null && _e !== void 0 ? _e : settings.apiKey = utils34.general.getEnvValue("API_KEY");
|
|
83777
83883
|
(_f = settings.useDnsCache) !== null && _f !== void 0 ? _f : settings.useDnsCache = utils34.general.getEnvValue("USE_DNS_CACHE", "boolean");
|
|
83778
83884
|
settings.batch = { ...batch, ...settings.batch };
|
|
83779
|
-
(_g = (
|
|
83780
|
-
(_j = (
|
|
83781
|
-
(_k = (
|
|
83782
|
-
(_l = (
|
|
83885
|
+
(_g = (_v = settings.batch).id) !== null && _g !== void 0 ? _g : _v.id = (_h = utils34.general.getEnvValue("BATCH_ID")) !== null && _h !== void 0 ? _h : `generated-${utils34.general.guid()}`;
|
|
83886
|
+
(_j = (_w = settings.batch).name) !== null && _j !== void 0 ? _j : _w.name = utils34.general.getEnvValue("BATCH_NAME");
|
|
83887
|
+
(_k = (_x = settings.batch).sequenceName) !== null && _k !== void 0 ? _k : _x.sequenceName = utils34.general.getEnvValue("BATCH_SEQUENCE");
|
|
83888
|
+
(_l = (_y = settings.batch).notifyOnCompletion) !== null && _l !== void 0 ? _l : _y.notifyOnCompletion = utils34.general.getEnvValue("BATCH_NOTIFY", "boolean");
|
|
83783
83889
|
(_m = settings.keepBatchOpen) !== null && _m !== void 0 ? _m : settings.keepBatchOpen = utils34.general.getEnvValue("DONT_CLOSE_BATCHES", "boolean");
|
|
83784
83890
|
(_o = settings.branchName) !== null && _o !== void 0 ? _o : settings.branchName = utils34.general.getEnvValue("BRANCH");
|
|
83785
83891
|
(_p = settings.parentBranchName) !== null && _p !== void 0 ? _p : settings.parentBranchName = utils34.general.getEnvValue("PARENT_BRANCH");
|
|
@@ -83796,7 +83902,7 @@ var require_open_eyes4 = __commonJS({
|
|
|
83796
83902
|
event: {
|
|
83797
83903
|
type: "openEyes",
|
|
83798
83904
|
userTestId: settings.userTestId,
|
|
83799
|
-
concurrency,
|
|
83905
|
+
concurrency: (_t = cores === null || cores === void 0 ? void 0 : cores[type].concurrency) !== null && _t !== void 0 ? _t : core.concurrency,
|
|
83800
83906
|
environment,
|
|
83801
83907
|
driver: {
|
|
83802
83908
|
deviceName: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.deviceName,
|
|
@@ -83804,7 +83910,7 @@ var require_open_eyes4 = __commonJS({
|
|
|
83804
83910
|
browserVersion: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.browserVersion,
|
|
83805
83911
|
platformName: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.platformName,
|
|
83806
83912
|
platformVersion: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.platformVersion,
|
|
83807
|
-
isApplitoolsLib: (
|
|
83913
|
+
isApplitoolsLib: (_u = driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.applitoolsLib) === null || _u === void 0 ? void 0 : _u.instrumented,
|
|
83808
83914
|
isEC: driverEnvironment === null || driverEnvironment === void 0 ? void 0 : driverEnvironment.isEC
|
|
83809
83915
|
},
|
|
83810
83916
|
driverUrl
|
|
@@ -83817,7 +83923,7 @@ var require_open_eyes4 = __commonJS({
|
|
|
83817
83923
|
settings,
|
|
83818
83924
|
target: driver,
|
|
83819
83925
|
cores: cores !== null && cores !== void 0 ? cores : {
|
|
83820
|
-
ufg: (0, core_2.makeCore)({ spec, clients, base: core.base,
|
|
83926
|
+
ufg: (0, core_2.makeCore)({ spec, clients, base: core.base, asyncCache, logger }),
|
|
83821
83927
|
classic: (0, core_1.makeCore)({ spec, clients, base: core.base, logger })
|
|
83822
83928
|
},
|
|
83823
83929
|
logger
|
|
@@ -84083,24 +84189,28 @@ var require_make_manager = __commonJS({
|
|
|
84083
84189
|
var open_eyes_1 = require_open_eyes4();
|
|
84084
84190
|
var get_manager_results_1 = require_get_manager_results();
|
|
84085
84191
|
var utils34 = __importStar(require_browser3());
|
|
84086
|
-
function makeMakeManager({ spec, clients,
|
|
84192
|
+
function makeMakeManager({ spec, clients, core, base: defaultBase, agentId: defaultAgentId, environment, cwd = process.cwd(), logger: mainLogger, asyncCache }) {
|
|
84087
84193
|
return async function makeManager({ type = "classic", settings, logger = mainLogger } = {}) {
|
|
84088
|
-
var _a, _b, _c, _d, _e;
|
|
84089
|
-
var
|
|
84194
|
+
var _a, _b, _c, _d, _e, _f;
|
|
84195
|
+
var _g;
|
|
84090
84196
|
logger = logger.extend(mainLogger, { tags: [`manager-${type}-${utils34.general.shortid()}`] });
|
|
84091
84197
|
settings !== null && settings !== void 0 ? settings : settings = {};
|
|
84092
|
-
(_a = settings.concurrency) !== null && _a !== void 0 ? _a : settings.concurrency =
|
|
84093
|
-
(
|
|
84094
|
-
(
|
|
84095
|
-
(
|
|
84198
|
+
(_a = settings.concurrency) !== null && _a !== void 0 ? _a : settings.concurrency = (_b = utils34.general.getEnvValue("CONCURRENCY", "number")) !== null && _b !== void 0 ? _b : utils34.types.isInteger(settings.legacyConcurrency) ? settings.legacyConcurrency * 5 : 5;
|
|
84199
|
+
(_c = settings.batch) !== null && _c !== void 0 ? _c : settings.batch = {};
|
|
84200
|
+
(_d = (_g = settings.batch).id) !== null && _d !== void 0 ? _d : _g.id = (_e = utils34.general.getEnvValue("BATCH_ID")) !== null && _e !== void 0 ? _e : `generated-${utils34.general.guid()}`;
|
|
84201
|
+
(_f = settings.agentId) !== null && _f !== void 0 ? _f : settings.agentId = type === "ufg" ? defaultAgentId === null || defaultAgentId === void 0 ? void 0 : defaultAgentId.replace(/(\/\d)/, ".visualgrid$1") : defaultAgentId;
|
|
84096
84202
|
logger.log('Command "makeManager" is called with settings', settings);
|
|
84097
|
-
base !== null &&
|
|
84203
|
+
const base = defaultBase !== null && defaultBase !== void 0 ? defaultBase : (0, core_base_1.makeCore)({ agentId: settings.agentId, concurrency: settings.concurrency, cwd, logger });
|
|
84098
84204
|
const cores = {
|
|
84099
84205
|
ufg: (0, core_2.makeCore)({ spec, base, fetchConcurrency: settings.fetchConcurrency, asyncCache, logger }),
|
|
84100
84206
|
classic: (0, core_1.makeCore)({ spec, base, logger })
|
|
84101
84207
|
};
|
|
84102
84208
|
const storage = [];
|
|
84103
84209
|
return {
|
|
84210
|
+
get concurrency() {
|
|
84211
|
+
return base.concurrency;
|
|
84212
|
+
},
|
|
84213
|
+
base,
|
|
84104
84214
|
openEyes: utils34.general.wrap((0, open_eyes_1.makeOpenEyes)({ type, clients, batch: settings.batch, spec, core, cores, environment, asyncCache, logger }), async (openEyes, options) => {
|
|
84105
84215
|
const eyes = await openEyes(options);
|
|
84106
84216
|
storage.push(eyes);
|
|
@@ -84291,7 +84401,7 @@ var require_package2 = __commonJS({
|
|
|
84291
84401
|
"../core/package.json"(exports, module) {
|
|
84292
84402
|
module.exports = {
|
|
84293
84403
|
name: "@applitools/core",
|
|
84294
|
-
version: "4.5.
|
|
84404
|
+
version: "4.5.2",
|
|
84295
84405
|
homepage: "https://applitools.com",
|
|
84296
84406
|
bugs: {
|
|
84297
84407
|
url: "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -84728,7 +84838,7 @@ var require_core4 = __commonJS({
|
|
|
84728
84838
|
var core_base_1 = require_dist2();
|
|
84729
84839
|
var get_viewport_size_1 = require_get_viewport_size();
|
|
84730
84840
|
var set_viewport_size_1 = require_set_viewport_size();
|
|
84731
|
-
var get_account_info_1 =
|
|
84841
|
+
var get_account_info_1 = require_get_account_info2();
|
|
84732
84842
|
var get_nml_client_1 = require_get_nml_client();
|
|
84733
84843
|
var get_ec_client_1 = require_get_ec_client();
|
|
84734
84844
|
var locate_1 = require_locate3();
|
|
@@ -84742,14 +84852,14 @@ var require_core4 = __commonJS({
|
|
|
84742
84852
|
var validate_sdk_version_1 = require_validate_sdk_version();
|
|
84743
84853
|
var memory_usage_logging_1 = require_memory_usage_logging();
|
|
84744
84854
|
var utils34 = __importStar(require_browser3());
|
|
84745
|
-
function makeCore({ spec, clients,
|
|
84855
|
+
function makeCore({ spec, clients, base: defaultBase, concurrency = utils34.general.getEnvValue("CONCURRENCY", "number"), environment: defaultEnvironment, agentId = "core", cwd = process.cwd(), logger: defaultLogger, asyncCache } = {}) {
|
|
84746
84856
|
const logger = (0, logger_1.makeLogger)({ logger: defaultLogger, format: { label: "core" } });
|
|
84747
84857
|
(0, memory_usage_logging_1.startMemoryUsageLogging)({ logger });
|
|
84748
84858
|
const environment = (0, extract_test_environment_1.extractTestEnvironment)(defaultEnvironment);
|
|
84749
84859
|
logger.log(`Core is initialized ${defaultBase ? "with" : "without"} custom base core and environment`, environment);
|
|
84750
84860
|
if (environment.sdk)
|
|
84751
84861
|
(0, validate_sdk_version_1.validateSdkVersion)(environment.sdk, { logger });
|
|
84752
|
-
const base = defaultBase !== null && defaultBase !== void 0 ? defaultBase : (0, core_base_1.makeCore)({ agentId, cwd, logger });
|
|
84862
|
+
const base = defaultBase !== null && defaultBase !== void 0 ? defaultBase : (0, core_base_1.makeCore)({ agentId, concurrency, cwd, logger });
|
|
84753
84863
|
return utils34.general.extend(base, (core) => {
|
|
84754
84864
|
return {
|
|
84755
84865
|
base,
|
|
@@ -84758,21 +84868,11 @@ var require_core4 = __commonJS({
|
|
|
84758
84868
|
getNMLClient: (0, get_nml_client_1.makeGetNMLClient)({ client: clients === null || clients === void 0 ? void 0 : clients.nml, logger }),
|
|
84759
84869
|
getECClient: (0, get_ec_client_1.makeGetECClient)({ logger }),
|
|
84760
84870
|
getAccountInfo: (0, get_account_info_1.makeGetAccountInfo)({ core, logger }),
|
|
84761
|
-
makeManager: (0, make_manager_1.makeMakeManager)({
|
|
84762
|
-
spec,
|
|
84763
|
-
clients,
|
|
84764
|
-
concurrency,
|
|
84765
|
-
core,
|
|
84766
|
-
base: defaultBase,
|
|
84767
|
-
agentId,
|
|
84768
|
-
environment,
|
|
84769
|
-
asyncCache,
|
|
84770
|
-
logger
|
|
84771
|
-
}),
|
|
84871
|
+
makeManager: (0, make_manager_1.makeMakeManager)({ spec, clients, core, agentId, cwd, environment, asyncCache, logger }),
|
|
84772
84872
|
locate: (0, locate_1.makeLocate)({ spec, core, logger }),
|
|
84773
84873
|
locateText: (0, locate_text_1.makeLocateText)({ spec, core, logger }),
|
|
84774
84874
|
extractText: (0, extract_text_1.makeExtractText)({ spec, core, logger }),
|
|
84775
|
-
openEyes: (0, open_eyes_1.makeOpenEyes)({ spec, clients, core,
|
|
84875
|
+
openEyes: (0, open_eyes_1.makeOpenEyes)({ spec, clients, core, environment, asyncCache, logger }),
|
|
84776
84876
|
closeBatch: (0, close_batch_1.makeCloseBatch)({ core, logger }),
|
|
84777
84877
|
deleteTest: (0, delete_test_1.makeDeleteTest)({ core, logger })
|
|
84778
84878
|
};
|
|
@@ -86581,7 +86681,9 @@ var require_spec_driver2 = __commonJS({
|
|
|
86581
86681
|
}
|
|
86582
86682
|
exports.childContext = childContext;
|
|
86583
86683
|
async function getDriverInfo(driver) {
|
|
86584
|
-
|
|
86684
|
+
var _a;
|
|
86685
|
+
const driverServerUrl = `${driver.options.protocol}://${driver.options.hostname}${driver.options.port ? `:${driver.options.port}` : ""}${(_a = driver.options.path) !== null && _a !== void 0 ? _a : ""}`;
|
|
86686
|
+
return { sessionId: driver.sessionId, driverServerUrl };
|
|
86585
86687
|
}
|
|
86586
86688
|
exports.getDriverInfo = getDriverInfo;
|
|
86587
86689
|
async function getCapabilities(driver) {
|
|
@@ -88040,7 +88142,7 @@ var require_package3 = __commonJS({
|
|
|
88040
88142
|
"../eyes/package.json"(exports, module) {
|
|
88041
88143
|
module.exports = {
|
|
88042
88144
|
name: "@applitools/eyes",
|
|
88043
|
-
version: "1.13.
|
|
88145
|
+
version: "1.13.4",
|
|
88044
88146
|
keywords: [
|
|
88045
88147
|
"applitools",
|
|
88046
88148
|
"eyes",
|
|
@@ -88149,73 +88251,78 @@ init_process();
|
|
|
88149
88251
|
init_setImmediate();
|
|
88150
88252
|
init_buffer();
|
|
88151
88253
|
var DeviceNameEnum = /* @__PURE__ */ ((DeviceNameEnum2) => {
|
|
88152
|
-
DeviceNameEnum2["Blackberry_PlayBook"] = "Blackberry PlayBook";
|
|
88153
|
-
DeviceNameEnum2["BlackBerry_Z30"] = "BlackBerry Z30";
|
|
88154
|
-
DeviceNameEnum2["Galaxy_A5"] = "Galaxy A5";
|
|
88155
|
-
DeviceNameEnum2["Galaxy_Note_10"] = "Galaxy Note 10";
|
|
88156
|
-
DeviceNameEnum2["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
|
|
88157
|
-
DeviceNameEnum2["Galaxy_Note_2"] = "Galaxy Note 2";
|
|
88158
|
-
DeviceNameEnum2["Galaxy_Note_3"] = "Galaxy Note 3";
|
|
88159
|
-
DeviceNameEnum2["Galaxy_Note_4"] = "Galaxy Note 4";
|
|
88160
|
-
DeviceNameEnum2["Galaxy_Note_8"] = "Galaxy Note 8";
|
|
88161
|
-
DeviceNameEnum2["Galaxy_Note_9"] = "Galaxy Note 9";
|
|
88162
|
-
DeviceNameEnum2["Galaxy_S3"] = "Galaxy S3";
|
|
88163
|
-
DeviceNameEnum2["Galaxy_S5"] = "Galaxy S5";
|
|
88164
|
-
DeviceNameEnum2["Galaxy_S8"] = "Galaxy S8";
|
|
88165
|
-
DeviceNameEnum2["Galaxy_S8_Plus"] = "Galaxy S8 Plus";
|
|
88166
|
-
DeviceNameEnum2["Galaxy_S9"] = "Galaxy S9";
|
|
88167
|
-
DeviceNameEnum2["Galaxy_S9_Plus"] = "Galaxy S9 Plus";
|
|
88168
|
-
DeviceNameEnum2["Galaxy_S10"] = "Galaxy S10";
|
|
88169
|
-
DeviceNameEnum2["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
|
|
88170
|
-
DeviceNameEnum2["Galaxy_S20"] = "Galaxy S20";
|
|
88171
|
-
DeviceNameEnum2["Galaxy_S21"] = "Galaxy S21";
|
|
88172
|
-
DeviceNameEnum2["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
|
|
88173
|
-
DeviceNameEnum2["Galaxy_S22"] = "Galaxy S22";
|
|
88174
|
-
DeviceNameEnum2["Galaxy_S22_Ultra"] = "Galaxy S22 Ultra";
|
|
88175
|
-
DeviceNameEnum2["Galaxy_Tab_S7"] = "Galaxy Tab S7";
|
|
88176
|
-
DeviceNameEnum2["iPad"] = "iPad";
|
|
88177
|
-
DeviceNameEnum2["iPad_6th_Gen"] = "iPad 6th Gen";
|
|
88178
|
-
DeviceNameEnum2["iPad_7th_Gen"] = "iPad 7th Gen";
|
|
88179
|
-
DeviceNameEnum2["iPad_Air_2"] = "iPad Air 2";
|
|
88180
|
-
DeviceNameEnum2["iPad_Mini"] = "iPad Mini";
|
|
88181
|
-
DeviceNameEnum2["iPad_Pro"] = "iPad Pro";
|
|
88182
|
-
DeviceNameEnum2["iPhone_11"] = "iPhone 11";
|
|
88183
|
-
DeviceNameEnum2["iPhone_11_Pro"] = "iPhone 11 Pro";
|
|
88184
|
-
DeviceNameEnum2["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
|
|
88185
88254
|
DeviceNameEnum2["iPhone_4"] = "iPhone 4";
|
|
88186
88255
|
DeviceNameEnum2["iPhone_5SE"] = "iPhone 5/SE";
|
|
88256
|
+
DeviceNameEnum2["iPhone_5S_E"] = "iPhone 5/SE";
|
|
88187
88257
|
DeviceNameEnum2["iPhone_6_7_8"] = "iPhone 6/7/8";
|
|
88188
88258
|
DeviceNameEnum2["iPhone_6_7_8_Plus"] = "iPhone 6/7/8 Plus";
|
|
88189
88259
|
DeviceNameEnum2["iPhone_X"] = "iPhone X";
|
|
88190
|
-
DeviceNameEnum2["
|
|
88191
|
-
DeviceNameEnum2["iPhone_XS"] = "iPhone XS";
|
|
88192
|
-
DeviceNameEnum2["iPhone_XS_Max"] = "iPhone XS Max";
|
|
88193
|
-
DeviceNameEnum2["Kindle_Fire_HDX"] = "Kindle Fire HDX";
|
|
88194
|
-
DeviceNameEnum2["Laptop_with_HiDPI_screen"] = "Laptop with HiDPI screen";
|
|
88195
|
-
DeviceNameEnum2["Laptop_with_MDPI_screen"] = "Laptop with MDPI screen";
|
|
88196
|
-
DeviceNameEnum2["Laptop_with_touch"] = "Laptop with touch";
|
|
88197
|
-
DeviceNameEnum2["LG_G6"] = "LG G6";
|
|
88198
|
-
DeviceNameEnum2["LG_Optimus_L70"] = "LG Optimus L70";
|
|
88199
|
-
DeviceNameEnum2["Microsoft_Lumia_550"] = "Microsoft Lumia 550";
|
|
88200
|
-
DeviceNameEnum2["Microsoft_Lumia_950"] = "Microsoft Lumia 950";
|
|
88201
|
-
DeviceNameEnum2["Nexus_10"] = "Nexus 10";
|
|
88260
|
+
DeviceNameEnum2["BlackBerry_Z30"] = "BlackBerry Z30";
|
|
88202
88261
|
DeviceNameEnum2["Nexus_4"] = "Nexus 4";
|
|
88203
88262
|
DeviceNameEnum2["Nexus_5"] = "Nexus 5";
|
|
88204
88263
|
DeviceNameEnum2["Nexus_5X"] = "Nexus 5X";
|
|
88205
88264
|
DeviceNameEnum2["Nexus_6"] = "Nexus 6";
|
|
88206
88265
|
DeviceNameEnum2["Nexus_6P"] = "Nexus 6P";
|
|
88207
|
-
DeviceNameEnum2["Nexus_7"] = "Nexus 7";
|
|
88208
|
-
DeviceNameEnum2["Nokia_Lumia_520"] = "Nokia Lumia 520";
|
|
88209
|
-
DeviceNameEnum2["Nokia_N9"] = "Nokia N9";
|
|
88210
|
-
DeviceNameEnum2["OnePlus_7T"] = "OnePlus 7T";
|
|
88211
|
-
DeviceNameEnum2["OnePlus_7T_Pro"] = "OnePlus 7T Pro";
|
|
88212
88266
|
DeviceNameEnum2["Pixel_2"] = "Pixel 2";
|
|
88213
88267
|
DeviceNameEnum2["Pixel_2_XL"] = "Pixel 2 XL";
|
|
88268
|
+
DeviceNameEnum2["LG_Optimus_L70"] = "LG Optimus L70";
|
|
88269
|
+
DeviceNameEnum2["Nokia_N9"] = "Nokia N9";
|
|
88270
|
+
DeviceNameEnum2["Nokia_Lumia_520"] = "Nokia Lumia 520";
|
|
88271
|
+
DeviceNameEnum2["Microsoft_Lumia_550"] = "Microsoft Lumia 550";
|
|
88272
|
+
DeviceNameEnum2["Microsoft_Lumia_950"] = "Microsoft Lumia 950";
|
|
88273
|
+
DeviceNameEnum2["Galaxy_S3"] = "Galaxy S3";
|
|
88274
|
+
DeviceNameEnum2["Galaxy_S_III"] = "Galaxy S III";
|
|
88275
|
+
DeviceNameEnum2["Galaxy_S5"] = "Galaxy S5";
|
|
88276
|
+
DeviceNameEnum2["Kindle_Fire_HDX"] = "Kindle Fire HDX";
|
|
88277
|
+
DeviceNameEnum2["iPad_Mini"] = "iPad Mini";
|
|
88278
|
+
DeviceNameEnum2["iPad"] = "iPad";
|
|
88279
|
+
DeviceNameEnum2["iPad_Pro"] = "iPad Pro";
|
|
88280
|
+
DeviceNameEnum2["Blackberry_PlayBook"] = "Blackberry PlayBook";
|
|
88281
|
+
DeviceNameEnum2["Nexus_10"] = "Nexus 10";
|
|
88282
|
+
DeviceNameEnum2["Nexus_7"] = "Nexus 7";
|
|
88283
|
+
DeviceNameEnum2["Galaxy_Note_3"] = "Galaxy Note 3";
|
|
88284
|
+
DeviceNameEnum2["Galaxy_Note_II"] = "Galaxy Note II";
|
|
88285
|
+
DeviceNameEnum2["Galaxy_Note_2"] = "Galaxy Note 2";
|
|
88286
|
+
DeviceNameEnum2["Galaxy_S20"] = "Galaxy S20";
|
|
88287
|
+
DeviceNameEnum2["Galaxy_S22"] = "Galaxy S22";
|
|
88288
|
+
DeviceNameEnum2["Galaxy_S21"] = "Galaxy S21";
|
|
88289
|
+
DeviceNameEnum2["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
|
|
88290
|
+
DeviceNameEnum2["Galaxy_S22_Ultra"] = "Galaxy S22 Ultra";
|
|
88291
|
+
DeviceNameEnum2["Laptop_with_touch"] = "Laptop with touch";
|
|
88292
|
+
DeviceNameEnum2["Laptop_with_HiDPI_screen"] = "Laptop with HiDPI screen";
|
|
88293
|
+
DeviceNameEnum2["Laptop_with_MDPI_screen"] = "Laptop with MDPI screen";
|
|
88294
|
+
DeviceNameEnum2["iPhone_XR"] = "iPhone XR";
|
|
88295
|
+
DeviceNameEnum2["iPhone_XS_Max"] = "iPhone XS Max";
|
|
88296
|
+
DeviceNameEnum2["iPhone_XS"] = "iPhone XS";
|
|
88297
|
+
DeviceNameEnum2["Samsung_Galaxy_A5"] = "Samsung Galaxy A5";
|
|
88298
|
+
DeviceNameEnum2["Galaxy_A5"] = "Galaxy A5";
|
|
88299
|
+
DeviceNameEnum2["Samsung_Galaxy_S8"] = "Samsung Galaxy S8";
|
|
88300
|
+
DeviceNameEnum2["Galaxy_S8"] = "Galaxy S8";
|
|
88301
|
+
DeviceNameEnum2["LG_G6"] = "LG G6";
|
|
88302
|
+
DeviceNameEnum2["iPad_Air_2"] = "iPad Air 2";
|
|
88303
|
+
DeviceNameEnum2["iPad_6th_Gen"] = "iPad 6th Gen";
|
|
88304
|
+
DeviceNameEnum2["iPhone_11"] = "iPhone 11";
|
|
88305
|
+
DeviceNameEnum2["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
|
|
88306
|
+
DeviceNameEnum2["iPhone_11_Pro"] = "iPhone 11 Pro";
|
|
88307
|
+
DeviceNameEnum2["Galaxy_S10"] = "Galaxy S10";
|
|
88308
|
+
DeviceNameEnum2["Galaxy_S9_Plus"] = "Galaxy S9 Plus";
|
|
88309
|
+
DeviceNameEnum2["Galaxy_S9"] = "Galaxy S9";
|
|
88310
|
+
DeviceNameEnum2["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
|
|
88311
|
+
DeviceNameEnum2["Galaxy_S8_Plus"] = "Galaxy S8 Plus";
|
|
88312
|
+
DeviceNameEnum2["Galaxy_Note_10"] = "Galaxy Note 10";
|
|
88313
|
+
DeviceNameEnum2["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
|
|
88314
|
+
DeviceNameEnum2["Galaxy_Note_9"] = "Galaxy Note 9";
|
|
88315
|
+
DeviceNameEnum2["Galaxy_Note_8"] = "Galaxy Note 8";
|
|
88316
|
+
DeviceNameEnum2["Galaxy_Note_4"] = "Galaxy Note 4";
|
|
88214
88317
|
DeviceNameEnum2["Pixel_3"] = "Pixel 3";
|
|
88215
88318
|
DeviceNameEnum2["Pixel_3_XL"] = "Pixel 3 XL";
|
|
88216
88319
|
DeviceNameEnum2["Pixel_4"] = "Pixel 4";
|
|
88217
88320
|
DeviceNameEnum2["Pixel_4_XL"] = "Pixel 4 XL";
|
|
88218
88321
|
DeviceNameEnum2["Pixel_5"] = "Pixel 5";
|
|
88322
|
+
DeviceNameEnum2["iPad_7th_Gen"] = "iPad 7th Gen";
|
|
88323
|
+
DeviceNameEnum2["OnePlus_7T"] = "OnePlus 7T";
|
|
88324
|
+
DeviceNameEnum2["OnePlus_7T_Pro"] = "OnePlus 7T Pro";
|
|
88325
|
+
DeviceNameEnum2["Galaxy_Tab_S7"] = "Galaxy Tab S7";
|
|
88219
88326
|
DeviceNameEnum2["Sony_Xperia_10_II"] = "Sony Xperia 10 II";
|
|
88220
88327
|
DeviceNameEnum2["Huawei_Mate_50_Pro"] = "Huawei Mate 50 Pro";
|
|
88221
88328
|
DeviceNameEnum2["Huawei_Matepad_11"] = "Huawei Matepad 11";
|
|
@@ -88237,6 +88344,33 @@ init_process();
|
|
|
88237
88344
|
init_setImmediate();
|
|
88238
88345
|
init_buffer();
|
|
88239
88346
|
var IosDeviceNameEnum = /* @__PURE__ */ ((IosDeviceNameEnum2) => {
|
|
88347
|
+
IosDeviceNameEnum2["iPad_5"] = "iPad (5th generation)";
|
|
88348
|
+
IosDeviceNameEnum2["iPad_6"] = "iPad (6th generation)";
|
|
88349
|
+
IosDeviceNameEnum2["iPad_7"] = "iPad (7th generation)";
|
|
88350
|
+
IosDeviceNameEnum2["iPad_8"] = "iPad (8th generation)";
|
|
88351
|
+
IosDeviceNameEnum2["iPad_9"] = "iPad (9th generation)";
|
|
88352
|
+
IosDeviceNameEnum2["iPad_10"] = "iPad (10th generation)";
|
|
88353
|
+
IosDeviceNameEnum2["iPad_Air_2"] = "iPad Air 2";
|
|
88354
|
+
IosDeviceNameEnum2["iPad_Air_3"] = "iPad Air (3rd generation)";
|
|
88355
|
+
IosDeviceNameEnum2["iPad_Air_4"] = "iPad Air (4th generation)";
|
|
88356
|
+
IosDeviceNameEnum2["iPad_Air_5"] = "iPad Air (5th generation)";
|
|
88357
|
+
IosDeviceNameEnum2["iPad_mini_4"] = "iPad mini 4";
|
|
88358
|
+
IosDeviceNameEnum2["iPad_mini_5"] = "iPad mini (5th generation)";
|
|
88359
|
+
IosDeviceNameEnum2["iPad_mini_6"] = "iPad mini (6th generation)";
|
|
88360
|
+
IosDeviceNameEnum2["iPad_Pro_9_7_inch_1"] = "iPad Pro (9.7-inch)";
|
|
88361
|
+
IosDeviceNameEnum2["iPad_Pro_10_5_inch_1"] = "iPad Pro (10.5-inch)";
|
|
88362
|
+
IosDeviceNameEnum2["iPad_Pro_11_inch_1"] = "iPad Pro (11-inch) (1st generation)";
|
|
88363
|
+
IosDeviceNameEnum2["iPad_Pro_12_9_inch_1"] = "iPad Pro (12.9-inch) (1st generation)";
|
|
88364
|
+
IosDeviceNameEnum2["iPad_Pro_11_inch_2"] = "iPad Pro (11-inch) (2nd generation)";
|
|
88365
|
+
IosDeviceNameEnum2["iPad_Pro_12_9_inch_2"] = "iPad Pro (12.9-inch) (2nd generation)";
|
|
88366
|
+
IosDeviceNameEnum2["iPad_Pro_11_inch_3"] = "iPad Pro (11-inch) (3rd generation)";
|
|
88367
|
+
IosDeviceNameEnum2["iPad_Pro_3"] = "iPad Pro (12.9-inch) (3rd generation)";
|
|
88368
|
+
IosDeviceNameEnum2["iPad_Pro_12_9_inch_3"] = "iPad Pro (12.9-inch) (3rd generation)";
|
|
88369
|
+
IosDeviceNameEnum2["iPad_Pro_4"] = "iPad Pro (11-inch) (4th generation)";
|
|
88370
|
+
IosDeviceNameEnum2["iPad_Pro_11_inch_4"] = "iPad Pro (11-inch) (4th generation)";
|
|
88371
|
+
IosDeviceNameEnum2["iPad_Pro_12_9_inch_4"] = "iPad Pro (12.9-inch) (4th generation)";
|
|
88372
|
+
IosDeviceNameEnum2["iPad_Pro_12_9_inch_5"] = "iPad Pro (12.9-inch) (5th generation)";
|
|
88373
|
+
IosDeviceNameEnum2["iPad_Pro_12_9_inch_6"] = "iPad Pro (12.9-inch) (6th generation)";
|
|
88240
88374
|
IosDeviceNameEnum2["iPhone_6s"] = "iPhone 6s";
|
|
88241
88375
|
IosDeviceNameEnum2["iPhone_6s_Plus"] = "iPhone 6s Plus";
|
|
88242
88376
|
IosDeviceNameEnum2["iPhone_7"] = "iPhone 7";
|
|
@@ -88245,55 +88379,32 @@ var IosDeviceNameEnum = /* @__PURE__ */ ((IosDeviceNameEnum2) => {
|
|
|
88245
88379
|
IosDeviceNameEnum2["iPhone_8_Plus"] = "iPhone 8 Plus";
|
|
88246
88380
|
IosDeviceNameEnum2["iPhone_X"] = "iPhone X";
|
|
88247
88381
|
IosDeviceNameEnum2["iPhone_XR"] = "iPhone XR";
|
|
88248
|
-
IosDeviceNameEnum2["iPhone_Xs"] = "iPhone Xs";
|
|
88249
88382
|
IosDeviceNameEnum2["iPhone_XS"] = "iPhone Xs";
|
|
88383
|
+
IosDeviceNameEnum2["iPhone_Xs"] = "iPhone Xs";
|
|
88250
88384
|
IosDeviceNameEnum2["iPhone_Xs_Max"] = "iPhone Xs Max";
|
|
88251
88385
|
IosDeviceNameEnum2["iPhone_11"] = "iPhone 11";
|
|
88252
|
-
IosDeviceNameEnum2["iPhone_11_Pro"] = "iPhone 11 Pro";
|
|
88253
88386
|
IosDeviceNameEnum2["iPhone_11_Pro_Max"] = "iPhone 11 Pro Max";
|
|
88387
|
+
IosDeviceNameEnum2["iPhone_11_Pro"] = "iPhone 11 Pro";
|
|
88254
88388
|
IosDeviceNameEnum2["iPhone_12"] = "iPhone 12";
|
|
88255
88389
|
IosDeviceNameEnum2["iPhone_12_mini"] = "iPhone 12 mini";
|
|
88256
|
-
IosDeviceNameEnum2["iPhone_12_Pro"] = "iPhone 12 Pro";
|
|
88257
88390
|
IosDeviceNameEnum2["iPhone_12_Pro_Max"] = "iPhone 12 Pro Max";
|
|
88391
|
+
IosDeviceNameEnum2["iPhone_12_Pro"] = "iPhone 12 Pro";
|
|
88258
88392
|
IosDeviceNameEnum2["iPhone_13"] = "iPhone 13";
|
|
88259
88393
|
IosDeviceNameEnum2["iPhone_13_mini"] = "iPhone 13 mini";
|
|
88260
|
-
IosDeviceNameEnum2["iPhone_13_Pro"] = "iPhone 13 Pro";
|
|
88261
88394
|
IosDeviceNameEnum2["iPhone_13_Pro_Max"] = "iPhone 13 Pro Max";
|
|
88395
|
+
IosDeviceNameEnum2["iPhone_13_Pro"] = "iPhone 13 Pro";
|
|
88262
88396
|
IosDeviceNameEnum2["iPhone_14"] = "iPhone 14";
|
|
88263
88397
|
IosDeviceNameEnum2["iPhone_14_Plus"] = "iPhone 14 Plus";
|
|
88264
88398
|
IosDeviceNameEnum2["iPhone_14_Pro"] = "iPhone 14 Pro";
|
|
88265
88399
|
IosDeviceNameEnum2["iPhone_14_Pro_Max"] = "iPhone 14 Pro Max";
|
|
88400
|
+
IosDeviceNameEnum2["iPhone_15"] = "iPhone 15";
|
|
88401
|
+
IosDeviceNameEnum2["iPhone_15_Plus"] = "iPhone 15 Plus";
|
|
88402
|
+
IosDeviceNameEnum2["iPhone_15_Pro"] = "iPhone 15 Pro";
|
|
88403
|
+
IosDeviceNameEnum2["iPhone_15_Pro_Max"] = "iPhone 15 Pro Max";
|
|
88266
88404
|
IosDeviceNameEnum2["iPhone_SE"] = "iPhone SE (1st generation)";
|
|
88267
88405
|
IosDeviceNameEnum2["iPhone_SE_1"] = "iPhone SE (1st generation)";
|
|
88268
88406
|
IosDeviceNameEnum2["iPhone_SE_2"] = "iPhone SE (2nd generation)";
|
|
88269
88407
|
IosDeviceNameEnum2["iPhone_SE_3"] = "iPhone SE (3rd generation)";
|
|
88270
|
-
IosDeviceNameEnum2["iPad_5"] = "iPad (5th generation)";
|
|
88271
|
-
IosDeviceNameEnum2["iPad_6"] = "iPad (6th generation)";
|
|
88272
|
-
IosDeviceNameEnum2["iPad_7"] = "iPad (7th generation)";
|
|
88273
|
-
IosDeviceNameEnum2["iPad_8"] = "iPad (8th generation)";
|
|
88274
|
-
IosDeviceNameEnum2["iPad_9"] = "iPad (9th generation)";
|
|
88275
|
-
IosDeviceNameEnum2["iPad_10"] = "iPad (10th generation)";
|
|
88276
|
-
IosDeviceNameEnum2["iPad_Air_2"] = "iPad Air 2";
|
|
88277
|
-
IosDeviceNameEnum2["iPad_Air_3"] = "iPad Air (3rd generation)";
|
|
88278
|
-
IosDeviceNameEnum2["iPad_Air_4"] = "iPad Air (4th generation)";
|
|
88279
|
-
IosDeviceNameEnum2["iPad_Air_5"] = "iPad Air (5th generation)";
|
|
88280
|
-
IosDeviceNameEnum2["iPad_mini_4"] = "iPad mini 4";
|
|
88281
|
-
IosDeviceNameEnum2["iPad_mini_5"] = "iPad mini (5th generation)";
|
|
88282
|
-
IosDeviceNameEnum2["iPad_mini_6"] = "iPad mini (6th generation)";
|
|
88283
|
-
IosDeviceNameEnum2["iPad_Pro_9_7_inch_1"] = "iPad Pro (9.7-inch)";
|
|
88284
|
-
IosDeviceNameEnum2["iPad_Pro_10_5_inch_1"] = "iPad Pro (10.5-inch)";
|
|
88285
|
-
IosDeviceNameEnum2["iPad_Pro_11_inch_1"] = "iPad Pro (11-inch) (1st generation)";
|
|
88286
|
-
IosDeviceNameEnum2["iPad_Pro_12_9_inch_1"] = "iPad Pro (12.9-inch) (1st generation)";
|
|
88287
|
-
IosDeviceNameEnum2["iPad_Pro_11_inch_2"] = "iPad Pro (11-inch) (2nd generation)";
|
|
88288
|
-
IosDeviceNameEnum2["iPad_Pro_12_9_inch_2"] = "iPad Pro (12.9-inch) (2nd generation)";
|
|
88289
|
-
IosDeviceNameEnum2["iPad_Pro_11_inch_3"] = "iPad Pro (11-inch) (3rd generation)";
|
|
88290
|
-
IosDeviceNameEnum2["iPad_Pro_12_9_inch_3"] = "iPad Pro (12.9-inch) (3rd generation)";
|
|
88291
|
-
IosDeviceNameEnum2["iPad_Pro_3"] = "iPad Pro (12.9-inch) (3rd generation)";
|
|
88292
|
-
IosDeviceNameEnum2["iPad_Pro_11_inch_4"] = "iPad Pro (11-inch) (4th generation)";
|
|
88293
|
-
IosDeviceNameEnum2["iPad_Pro_4"] = "iPad Pro (11-inch) (4th generation)";
|
|
88294
|
-
IosDeviceNameEnum2["iPad_Pro_12_9_inch_4"] = "iPad Pro (12.9-inch) (4th generation)";
|
|
88295
|
-
IosDeviceNameEnum2["iPad_Pro_12_9_inch_5"] = "iPad Pro (12.9-inch) (5th generation)";
|
|
88296
|
-
IosDeviceNameEnum2["iPad_Pro_12_9_inch_6"] = "iPad Pro (12.9-inch) (6th generation)";
|
|
88297
88408
|
IosDeviceNameEnum2["iPod_touch_7"] = "iPod touch (7th generation)";
|
|
88298
88409
|
return IosDeviceNameEnum2;
|
|
88299
88410
|
})(IosDeviceNameEnum || {});
|
|
@@ -88314,29 +88425,33 @@ init_process();
|
|
|
88314
88425
|
init_setImmediate();
|
|
88315
88426
|
init_buffer();
|
|
88316
88427
|
var AndroidDeviceNameEnum = /* @__PURE__ */ ((AndroidDeviceNameEnum2) => {
|
|
88317
|
-
AndroidDeviceNameEnum2["Pixel_3_XL"] = "Pixel 3 XL";
|
|
88318
|
-
AndroidDeviceNameEnum2["Pixel_4"] = "Pixel 4";
|
|
88319
|
-
AndroidDeviceNameEnum2["Pixel_4_XL"] = "Pixel 4 XL";
|
|
88320
|
-
AndroidDeviceNameEnum2["Pixel_5"] = "Pixel 5";
|
|
88321
|
-
AndroidDeviceNameEnum2["Pixel_6"] = "Pixel 6";
|
|
88322
|
-
AndroidDeviceNameEnum2["Galaxy_S10"] = "Galaxy S10";
|
|
88323
|
-
AndroidDeviceNameEnum2["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
|
|
88324
|
-
AndroidDeviceNameEnum2["Galaxy_Note_10"] = "Galaxy Note 10";
|
|
88325
|
-
AndroidDeviceNameEnum2["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
|
|
88326
88428
|
AndroidDeviceNameEnum2["Galaxy_S20"] = "Galaxy S20";
|
|
88327
88429
|
AndroidDeviceNameEnum2["Galaxy_S20_Plus"] = "Galaxy S20 Plus";
|
|
88430
|
+
AndroidDeviceNameEnum2["Galaxy_S20_PLUS"] = "Galaxy S20 Plus";
|
|
88431
|
+
AndroidDeviceNameEnum2["Galaxy_S21_Ultra"] = "Galaxy S21 Ultra";
|
|
88432
|
+
AndroidDeviceNameEnum2["Galaxy_S21_ULTRA"] = "Galaxy S21 Ultra";
|
|
88433
|
+
AndroidDeviceNameEnum2["Galaxy_Note_10_Plus"] = "Galaxy Note 10 Plus";
|
|
88434
|
+
AndroidDeviceNameEnum2["Galaxy_S9"] = "Galaxy S9";
|
|
88435
|
+
AndroidDeviceNameEnum2["Galaxy_S10"] = "Galaxy S10";
|
|
88436
|
+
AndroidDeviceNameEnum2["Galaxy_S10_Plus"] = "Galaxy S10 Plus";
|
|
88437
|
+
AndroidDeviceNameEnum2["Pixel_4_XL"] = "Pixel 4 XL";
|
|
88438
|
+
AndroidDeviceNameEnum2["Pixel_3_XL"] = "Pixel 3 XL";
|
|
88328
88439
|
AndroidDeviceNameEnum2["Galaxy_S21"] = "Galaxy S21";
|
|
88329
88440
|
AndroidDeviceNameEnum2["Galaxy_S21_Plus"] = "Galaxy S21 Plus";
|
|
88330
|
-
AndroidDeviceNameEnum2["
|
|
88441
|
+
AndroidDeviceNameEnum2["Galaxy_S21_PLUS"] = "Galaxy S21 Plus";
|
|
88442
|
+
AndroidDeviceNameEnum2["Xiaomi_Redmi_Note_11_Pro"] = "Xiaomi Redmi Note 11 Pro";
|
|
88443
|
+
AndroidDeviceNameEnum2["Xiaomi_Redmi_Note_11"] = "Xiaomi Redmi Note 11";
|
|
88444
|
+
AndroidDeviceNameEnum2["Xiaomi_Redmi_Note_10_JE"] = "Xiaomi Redmi Note 10 JE";
|
|
88445
|
+
AndroidDeviceNameEnum2["Pixel_6"] = "Pixel 6";
|
|
88446
|
+
AndroidDeviceNameEnum2["Galaxy_Note_10"] = "Galaxy Note 10";
|
|
88447
|
+
AndroidDeviceNameEnum2["Pixel_4"] = "Pixel 4";
|
|
88448
|
+
AndroidDeviceNameEnum2["Pixel_5"] = "Pixel 5";
|
|
88331
88449
|
AndroidDeviceNameEnum2["Galaxy_S22"] = "Galaxy S22";
|
|
88332
88450
|
AndroidDeviceNameEnum2["Galaxy_S22_Plus"] = "Galaxy S22 Plus";
|
|
88333
|
-
AndroidDeviceNameEnum2["Galaxy_Tab_S7"] = "Galaxy Tab S7";
|
|
88334
88451
|
AndroidDeviceNameEnum2["Galaxy_Tab_S8"] = "Galaxy Tab S8";
|
|
88335
|
-
AndroidDeviceNameEnum2["
|
|
88336
|
-
AndroidDeviceNameEnum2["Xiaomi_Redmi_Note_11"] = "Xiaomi Redmi Note 11";
|
|
88337
|
-
AndroidDeviceNameEnum2["Xiaomi_Redmi_Note_11_Pro"] = "Xiaomi Redmi Note 11 Pro";
|
|
88338
|
-
AndroidDeviceNameEnum2["Sony_Xperia_1_II"] = "Sony Xperia 1 II";
|
|
88452
|
+
AndroidDeviceNameEnum2["Galaxy_Tab_S7"] = "Galaxy Tab S7";
|
|
88339
88453
|
AndroidDeviceNameEnum2["Sony_Xperia_10_II"] = "Sony Xperia 10 II";
|
|
88454
|
+
AndroidDeviceNameEnum2["Sony_Xperia_1_II"] = "Sony Xperia 1 II";
|
|
88340
88455
|
AndroidDeviceNameEnum2["Sony_Xperia_Ace_II"] = "Sony Xperia Ace II";
|
|
88341
88456
|
AndroidDeviceNameEnum2["Huawei_P30_Lite"] = "Huawei P30 Lite";
|
|
88342
88457
|
return AndroidDeviceNameEnum2;
|
|
@@ -92725,7 +92840,11 @@ var Eyes = class {
|
|
|
92725
92840
|
let target;
|
|
92726
92841
|
if (utils32.types.has(targetOrSettings, "locatorNames")) {
|
|
92727
92842
|
settings = targetOrSettings;
|
|
92728
|
-
|
|
92843
|
+
if (utils32.types.has(targetOrSettings, "image")) {
|
|
92844
|
+
target = { image: targetOrSettings.image };
|
|
92845
|
+
} else {
|
|
92846
|
+
target = this._driver;
|
|
92847
|
+
}
|
|
92729
92848
|
} else {
|
|
92730
92849
|
target = targetOrSettings;
|
|
92731
92850
|
}
|