@preply/ds-visual-coverage-core
Advanced tools
Comparing version 0.97.4 to 0.97.5-beta.53320e315fff69e4b35c23aaad263982cdd7ef90.0
import { defaultReadableCharByPixelType } from '../core/constants.js'; | ||
/* eslint-disable no-plusplus */ | ||
function getReadableBitmap(params) { | ||
@@ -19,2 +18,2 @@ const { width, bitmap, readableCharByPixelType = defaultReadableCharByPixelType } = params; | ||
export { getReadableBitmap }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UmVhZGFibGVCaXRtYXAuanMiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9iaXRtYXAvZ2V0UmVhZGFibGVCaXRtYXAudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgbm8tcGx1c3BsdXMgKi9cblxuaW1wb3J0IHsgZGVmYXVsdFJlYWRhYmxlQ2hhckJ5UGl4ZWxUeXBlIH0gZnJvbSAnLi4vY29yZS9jb25zdGFudHMnO1xuaW1wb3J0IHR5cGUgeyBCaXRtYXAsIFJlYWRhYmxlQ2hhckJ5UGl4ZWwgfSBmcm9tICcuLi90eXBlcyc7XG5cbmV4cG9ydCBmdW5jdGlvbiBnZXRSZWFkYWJsZUJpdG1hcChwYXJhbXM6IHtcbiAgICB3aWR0aDogbnVtYmVyO1xuICAgIGJpdG1hcDogQml0bWFwO1xuICAgIHJlYWRhYmxlQ2hhckJ5UGl4ZWxUeXBlPzogUmVhZGFibGVDaGFyQnlQaXhlbDtcbn0pOiBzdHJpbmcge1xuICAgIGNvbnN0IHsgd2lkdGgsIGJpdG1hcCwgcmVhZGFibGVDaGFyQnlQaXhlbFR5cGUgPSBkZWZhdWx0UmVhZGFibGVDaGFyQnlQaXhlbFR5cGUgfSA9IHBhcmFtcztcbiAgICBsZXQgc3RyaW5nID0gJyc7XG5cbiAgICBmb3IgKGxldCBpID0gMDsgaSA8IGJpdG1hcC5sZW5ndGg7IGkrKykge1xuICAgICAg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G59XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFHTSxTQUFVLGlCQUFpQixDQUFDLE1BSWpDLEVBQUE7SUFDRyxNQUFNLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSx1QkFBdUIsR0FBRyw4QkFBOEIsRUFBRSxHQUFHLE1BQU0sQ0FBQztJQUMzRixJQUFJLE1BQU0sR0FBRyxFQUFFLENBQUM7QUFFaEIsSUFBQSxLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsTUFBTSxDQUFDLE1BQU0sRUFBRSxDQUFDLEVBQUUsRUFBRTtBQUNwQyxRQUFBLElBQUksQ0FBQyxHQUFHLEtBQUssS0FBSyxDQUFDLEVBQUU7WUFDakIsTUFBTSxJQUFJLElBQUksQ0FBQztBQUNsQixTQUFBO1FBRUQsTUFBTSxLQUFLLEdBQUcsTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLFFBQVEsRUFBRSxDQUFDO0FBRW5DLFFBQUEsTUFBTSxZQUFZLEdBQUcsdUJBQXVCLENBQUMsS0FBSyxDQUFDLENBQUM7UUFFcEQsTUFBTSxJQUFJLFlBQVksQ0FBQztBQUMxQixLQUFBO0FBRUQsSUFBQSxPQUFPLE1BQU0sQ0FBQztBQUNsQjs7OzsifQ== |
import { getReadableBitmap } from './getReadableBitmap.js'; | ||
/* eslint-disable no-plusplus */ | ||
function logBitmap(params) { | ||
@@ -10,2 +9,2 @@ const { width, logger, bitmap } = params; | ||
export { logBitmap }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nQml0bWFwLmpzIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYml0bWFwL2xvZ0JpdG1hcC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBuby1wbHVzcGx1cyAqL1xuXG5pbXBvcnQgdHlwZSB7IEJpdG1hcC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jsgYml0bWFwOiBCaXRtYXAgfSk6IHZvaWQge1xuICAgIGNvbnN0IHsgd2lkdGgsIGxvZ2dlciwgYml0bWFwIH0gPSBwYXJhbXM7XG5cbiAgICBsb2dnZXIoZ2V0UmVhZGFibGVCaXRtYXAoeyB3aWR0aCwgYml0bWFwIH0pKTtcbn1cbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUlNLFNBQVUsU0FBUyxDQUFDLE1BQXlELEVBQUE7SUFDL0UsTUFBTSxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLEdBQUcsTUFBTSxDQUFDO0lBRXpDLE1BQU0sQ0FBQyxpQkFBaUIsQ0FBQyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDakQ7Ozs7In0= |
@@ -7,4 +7,2 @@ import { createBitmap } from '../bitmap/createBitmap.js'; | ||
/* eslint-disable no-continue */ | ||
/* eslint-disable no-plusplus */ | ||
function countPixels(params) { | ||
@@ -225,2 +223,2 @@ const { logger, offset, elementRect, childrenData, coverageMode, printAsciiArt, pixelByPixelType, weightByComponentName, } = params; | ||
export { countPixels }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY291bnRQaXhlbHMuanMiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jb3JlL2NvdW50UGl4ZWxzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIG5vLWNvbnRpbnVlICovXG4vKiBlc2xpbnQtZGlzYWJsZSBuby1wbHVzcGx1cyAqL1xuXG5pbXBvcnQgeyBjcmVhdGVCaXRtYXAgfSBmcm9tICcuLi9iaXRtYXAvY3JlYXRlQml0bWFwJztcbmltcG9ydCB7IGxvZ0JpdG1hcCB9IGZyb20gJy4uL2JpdG1hcC9sb2dCaXRtYXAnO1xuaW1wb3J0IHsgc2V0Qml0bWFwU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gICAgICAgICAgICBmb3IgKGxldCBjdXJyZW50TGVmdCA9IE1hdGguZmxvb3IocmVjdExlZnQgLSBvZmZzZXRMZWZ0KTsgOyBjdXJyZW50TGVmdCsrKSB7XG4gICAgICAgICAgICAgICAgLy8gSGFwcGVucyB3aGVuIHRoZSB3ZWlnaHQgaXMgaGlnaGVyIHRoYW4gaGFsZiB0aGUgaGVpZ2h0IG9mIHRoZSBlbGVtZW50LCBhbmQgc28gdG9wIGFuZCBib3R0b20gZmxpcFxuICAgICAgICAgICAgICAgIC8vIEV4LiBmaXJzdCBsb29wIHdpdGggd2VpZ2h0ID0gNVxuICAgICAgICAgICAgICAgIC8vIFtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSwg8J+RiPCfkYjwn5GIIHRvcFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLCDwn5GI8J+RiPCfkYggYm90dG9tXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gXVxuICAgICAgICAgICAgICAgIC8vIHNlY29uZCBpdGVyYXRpb24gd2l0aCB3ZWlnaHQgPSA1XG4gICAgICAgICAgICAgICAgLy8gW1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLCDwn5GI8J+RiPCfkYggdG9wXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sIPCfkYjwn5GI8J+RiCBib3R0b21cbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyBdXG4gICAgICAgICAgICAgICAgLy8gdGhpcmQgaXRlcmF0aW9uIHdpdGggd2VpZ2h0ID0gNSAodGhlIGxvb3AgbXVzdCBicmVhaylcbiAgICAgICAgICAgICAgICAvLyBbXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sIPCfkYjwn5GI8J+RiCBib3R0b21cbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSwg8J+RiPCfkYjwn5GIIHRvcFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vIF1cblxuICAgICAgICAgICAgICAgIGNvbnN0IHRvcFJvd0Nyb3NzZWRIYWxmSGVpZ2h0ID0gdG9wID4gYm90dG9tO1xuICAgICAgICAgICAgICAgIGNvbnN0IG5vTW9yZUhvcml6b250YWxMaW5lc1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ICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgIPCfkYnwn5GJ8J+RiSBbICwgLCAsICwgLEwsTCxMLEwsTCxdLCDwn5GI8J+RiPCfkYhcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLCAsICwgLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyBdXG4gICAgICAgICAgICAgICAgY29uc3QgdG9wUm93SXNJbnNpZGVUaGVWaWV3cG9ydCA9IHRvcCA+PSAwICYmIHRvcCA8IHJvd0xlbmd0aDtcbiAgICAgICAgICAgICAgICBpZiAodG9wUm93SXNJbnNpZGVUaGVWaWV3cG9ydCkge1xuICAgICAgICAgICAgICAgICAgICBzZXRCaXRtYXBQaXhlbCh7XG4gICAgICAgICAgICAgICAgICAgICAgICB0b3AsXG4gICAgICAgICAgICAgICAgICAgICAgICBiaXRtYXAsXG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiBjdXJyZW50TGVmdCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBwaXhlbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBnZXRSZWN0Q29vcmRpbmF0ZShlbGVtZW50UmVjdCwgJ3dpZHRoJyksXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuXG4gICAgICAgICAgICAgICAgICAgIGlmIChjb3ZlcmFnZU1vZGUgPT09ICdjb3VudENvbXBvbmVudHMnKVxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gVGhlIGdvYWwgaXMgd3JpdGUgb25lIHBpeGVsIGZvciBldmVyeSByb3dcbiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIC8vIFwiRHJhd1wiIHRoZSBib3R0b20gcm93XG4gICAgICAgICAgICAgICAgLy8gW1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsICwgLCAsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICDwn5GJ8J+RifCfkYkgWyAsICwgLCAsICxMLEwsTCxMLEwsXSwg8J+RiPCfkYjwn5GIXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gXVxuICAgICAgICAgICAgICAgIGNvbnN0IGJvdHRvbVJvd0lzSW5zaWRlVGhlVmlld3BvcnQgPSBib3R0b20gPj0gMCAmJiBib3R0b20gPCByb3dMZW5ndGg7XG4gICAgICAgICAgICAgICAgaWYgKGJvdHRvbVJvd0lzSW5zaWRlVGhlVmlld3BvcnQpIHtcbiAgICAgICAgICAgICAgICAgICAgc2V0Qml0bWFwUGl4ZWwoe1xuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOiBib3R0b20sXG4gICAgICAgICAgICAgICAgICAgICAgICBiaXRtYXAsXG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0OiBjdXJyZW50TGVmdCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBwaXhlbCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoOiBnZXRSZWN0Q29vcmRpbmF0ZShlbGVtZW50UmVjdCwgJ3dpZHRoJyksXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgLy8gXCJEcmF3XCIgdGhlIGNvbHVtbnMgaW4gYml0bWFwXG4gICAgICAgICAgICBjb25zdCBsZWZ0ID0gTWF0aC5mbG9vcihyZWN0TGVmdCAtIG9mZnNldExlZnQgKyB3ZWlnaHRMaW5lKTtcbiAgICAgICAgICAgIGNvbnN0IHJpZ2h0ID0gTWF0aC5mbG9vcihyZWN0TGVmdCAtIG9mZnNldExlZnQgKyByZWN0V2lkdGggLSAxIC0gd2VpZ2h0TGluZSk7XG4gICAgICAgICAgICBmb3IgKGxldCBjdXJyZW50VG9wID0gTWF0aC5mbG9vcihyZWN0VG9wIC0gb2Zmc2V0VG9wKTsgOyBjdXJyZW50VG9wKyspIHtcbiAgICAgICAgICAgICAgICBpZiAoY292ZXJhZ2VNb2RlID09PSAnY291bnRDb21wb25lbnRzJylcbiAgICAgICAgICAgICAgICAgICAgLy8gVG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Ly8gXCJEcmF3XCIgdGhlIGxlZnQgY29sdW1uXG4gICAgICAgICAgICAgICAgLy8gW1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAg8J+Rh1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAg8J+Rh1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAg8J+Rh1xuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLEwsICwgLCAsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICDwn5GGXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICDwn5GGXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICDwn5GGXG4gICAgICAgICAgICAgICAgLy8gXVxuICAgICAgICAgICAgICAgIGNvbnN0IGxlZnRDb2x1bW5Jc0luc2lkZVRoZVZpZXdwb3J0ID1cbiAgICAgICAgICAgICAgICAgICAgbGVmdCA+PSAwICYmIGN1cnJlbnRUb3AgPCByb3dMZW5ndGggJiYgbGVmdCA8IGNvbHVtbkxlbmd0aDtcblxuICAgICAgICAgICAgICAgIGlmIChsZWZ0Q29sdW1uSXNJbnNpZGVUaGVWaWV3cG9ydCkge1xuICAgICAgICAgICAgICAgICAgICBzZXRCaXRtYXBQaXhlbCh7XG4gICAgICAgICAgICAgICAgICAgICAgICBsZWZ0LFxuICAgICAgICAgICAgICAgICAgICAgICAgYml0bWFwLFxuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOiBjdXJyZW50VG9wLFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHBpeGVsLFxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGdldFJlY3RDb29yZGluYXRlKGVsZW1lbnRSZWN0LCAnd2lkdGgnKSxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gXCJEcmF3XCIgdGhlIHJpZ2h0IGNvbHVtblxuICAgICAgICAgICAgICAgIC8vIFtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAg8J+Rh1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICDwn5GHXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgIPCfkYdcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICxMLCAsICwgLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICDwn5GGXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgIPCfkYZcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAg8J+RhlxuICAgICAgICAgICAgICAgIC8vIF1cbiAgICAgICAgICAgICAgICBjb25zdCByaWd0aHRDb2x1bW5Jc0luc2lkZVRoZVZpZXdwb3J0ID1cbiAgICAgICAgICAgICAgICAgICAgcmlnaHQgPj0gMCAmJiBjdXJyZW50VG9wIDwgcm93TGVuZ3RoICYmIHJpZ2h0IDwgY29sdW1uTGVuZ3RoO1xuICAgICAgICAgICAgICAgIGlmIChyaWd0aHRDb2x1bW5Jc0luc2lkZVRoZVZpZXdwb3J0KSB7XG4gICAgICAgICAgICAgICAgICAgIHNldEJpdG1hcFBpeGVsKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGJpdG1hcCxcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvcDogY3VycmVudFRvcCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQ6IHJpZ2h0LFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHBpeGVsLFxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGdldFJlY3RDb29yZGluYXRlKGVsZW1lbnRSZWN0LCAnd2lkdGgnKSxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgY29uc3QgcGl4ZWxDb3VudHMgPSBjcmVhdGVQaXh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C8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLCDwn5GI8J+RiPCfkYggdG9wXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sIPCfkYjwn5GI8J+RiCBib3R0b21cbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyBdXG4gICAgICAgICAgICAgICAgLy8gc2Vjb25kIGl0ZXJhdGlvbiB3aXRoIHdlaWdodCA9IDVcbiAgICAgICAgICAgICAgICAvLyBbXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sIPCfkYjwn5GI8J+RiCB0b3BcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSwg8J+RiPCfkYjwn5GIIGJvdHRvbVxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vIF1cbiAgICAgICAgICAgICAgICAvLyB0aGlyZCBpdGVyYXRpb24gd2l0aCB3ZWlnaHQgPSA1ICh0aGUgbG9vcCBtdXN0IGJyZWFrKVxuICAgICAgICAgICAgICAgIC8vIFtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSwg8J+RiPCfkYjwn5GIIGJvdHRvbVxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLCDwn5GI8J+RiPCfkYggdG9wXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gXVxuXG4gICAgICAgICAgICAgICAgY29uc3QgdG9wUm93Q3Jvc3NlZEhhbGZIZWlnaHQgPSB0b3AgPiBib3R0b207XG4gICAgICAgICAgICAgICAgY29uc3Qgbm9Nb3JlSG9yaXpvbnRhbExpbmVzVG9EcmF3ID0gdG9wUm93Q3Jvc3NlZEhhbGZIZWlnaHQ7XG5cbiAgICAgICAgICAgICAgICBjb25zdCBwaXhlbHNNdXN0UmVtYWluSW5zaWRlQ29tcG9uZW50QXJlYSA9IGNvdmVyYWdlTW9kZSA9PT0gJ2NvdW50UGVyaW1ldGVycyc7XG5cbiAgICAgICAgICAgICAgICBpZiAocGl4ZWxzTXVzdFJlbWFpbkluc2lkZUNvbXBvbmVudEFyZWEgJiYgbm9Nb3JlSG9yaXpvbnRhbExpbmVzVG9EcmF3KSBicmVhaztcblxuICAgICAgICAgICAgICAgIC8vIFRoaXMgaXMgdGhlIGxvb3AgY29uZGl0aW9uLCBoZXJlIGl0J3MgbW9yZSByZWFkYWJsZVxuICAgICAgICAgICAgICAgIGNvbnN0IGlzQXRUaGVSaWdodE9mVGhlVmlld3BvcnQgPVxuICAgICAgICAgICAgICAgICAgICBjdXJyZW50TGVmdCA+PSByZWN0TGVmdCAtIG9mZnNldExlZnQgKyByZWN0V2lkdGggfHwgY3VycmVudExlZnQgPj0gY29sdW1uTGVuZ3RoO1xuICAgICAgICAgICAgICAgIGlmIChpc0F0VGhlUmlnaHRPZlRoZVZpZXdwb3J0KSBicmVhaztcblxuICAgICAgICAgICAgICAgIGNvbnN0IGlzQXRUaGVMZWZ0T2ZUaGVWaWV3cG9ydCA9IGN1cnJlbnRMZWZ0IDwgMDsgLy8gY2FuIGhhcHBlbiBmb3IgZWxlbWVudHMgcGxhY2VkIG91dHNpZGUgdGhlIHZpZXdwb3J0XG4gICAgICAgICAgICAgICAgaWYgKGlzQXRUaGVMZWZ0T2ZUaGVWaWV3cG9ydCkgY29udGludWU7XG5cbiAgICAgICAgICAgICAgICAvLyBcIkRyYXdcIiB0aGUgdG9wIHJvd1xuICAgICAgICAgICAgICAgIC8vIFtcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAg8J+RifCfkYnwn5GJIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sIPCfkYjwn5GI8J+RiFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsICwgLCAsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vIF1cbiAgICAgICAgICAgICAgICBjb25zdCB0b3BSb3dJc0luc2lkZVRoZVZpZXdwb3J0ID0gdG9wID49IDAgJiYgdG9wIDwgcm93TGVuZ3RoO1xuICAgICAgICAgICAgICAgIGlmICh0b3BSb3dJc0luc2lkZVRoZVZpZXdwb3J0KSB7XG4gICAgICAgICAgICAgICAgICAgIHNldEJpdG1hcFBpeGVsKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHRvcCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGJpdG1hcCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQ6IGN1cnJlbnRMZWZ0LFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IHBpeGVsLFxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg6IGdldFJlY3RDb29yZGluYXRlKGVsZW1lbnRSZWN0LCAnd2lkdGgnKSxcbiAgICAgICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGNvdmVyYWdlTW9kZSA9PT0gJ2NvdW50Q29tcG9uZW50cycpXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBUaGUgZ29hbCBpcyB3cml0ZSBvbmUgcGl4ZWwgZm9yIGV2ZXJ5IHJvd1xuICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgLy8gXCJEcmF3XCIgdGhlIGJvdHRvbSByb3dcbiAgICAgICAgICAgICAgICAvLyBbXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgIFsgLCAsICwgLCAsTCwgLCAsICxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgIPCfkYnwn5GJ8J+RiSBbICwgLCAsICwgLEwsTCxMLEwsTCxdLCDwn5GI8J+RiPCfkYhcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyBdXG4gICAgICAgICAgICAgICAgY29uc3QgYm90dG9tUm93SXNJbnNpZGVUaGVWaWV3cG9ydCA9IGJvdHRvbSA+PSAwICYmIGJvdHRvbSA8IHJvd0xlbmd0aDtcbiAgICAgICAgICAgICAgICBpZiAoYm90dG9tUm93SXNJbnNpZGVUaGVWaWV3cG9ydCkge1xuICAgICAgICAgICAgICAgICAgICBzZXRCaXRtYXBQaXhlbCh7XG4gICAgICAgICAgICAgICAgICAgICAgICB0b3A6IGJvdHRvbSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGJpdG1hcCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQ6IGN1cnJlbnRMZWZ0LFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsd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ICAgICAgICAgaWYgKG5vTW9yZVZlcnRpY2FsTGluZXNUb0RyYXcpIGJyZWFrO1xuXG4gICAgICAgICAgICAgICAgLy8gVGhpcyBpcyB0aGUgbG9vcCBjb25kaXRpb24sIGhlcmUgaXQncyBtb3JlIHJlYWRhYmxlXG4gICAgICAgICAgICAgICAgY29uc3QgaXNBdFRoZUJvdHRvbU9mVGhlVmlld3BvcnQgPVxuICAgICAgICAgICAgICAgICAgICBjdXJyZW50VG9wID49IHJlY3RUb3AgLSBvZmZzZXRUb3AgKyByZWN0SGVpZ2h0IC0gMSB8fCBjdXJyZW50VG9wID4gcm93TGVuZ3RoO1xuXG4gICAgICAgICAgICAgICAgaWYgKGlzQXRUaGVCb3R0b21PZlRoZVZpZXdwb3J0KSBicmVhaztcblxuICAgICAgICAgICAgICAgIGNvbnN0IGlzQXRUaGVUb3BPZlRoZVZpZXdwb3J0ID0gY3VycmVudFRvcCA8IDA7IC8vIGNhbiBoYXBwZW4gZm9yIGVsZW1lbnRzIHBsYWNlZCBvdXRzaWRlIHRoZSB2aWV3cG9ydFxuICAgICAgICAgICAgICAgIGlmIChpc0F0VGhlVG9wT2ZUaGVWaWV3cG9ydCkgY29udGludWU7XG5cbiAgICAgICAgICAgICAgICAvLyBcIkRyYXdcIiB0aGUgbGVmdCBjb2x1bW5cbiAgICAgICAgICAgICAgICAvLyBbXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICDwn5GHXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICDwn5GHXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICDwn5GHXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLEwsTCxMLEwsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsTCwgLCAsICxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgIPCfkYZcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgIPCfkYZcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgIPCfkYZcbiAgICAgICAgICAgICAgICAvLyBdXG4gICAgICAgICAgICAgICAgY29uc3QgbGVmdENvbHVtbklzSW5zaWRlVGhlVmlld3BvcnQgPVxuICAgICAgICAgICAgICAgICAgICBsZWZ0ID49IDAgJiYgY3VycmVudFRvcCA8IHJvd0xlbmd0aCAmJiBsZWZ0IDwgY29sdW1uTGVuZ3RoO1xuXG4gICAgICAgICAgICAgICAgaWYgKGxlZnRDb2x1bW5Jc0luc2lkZVRoZVZpZXdwb3J0KSB7XG4gICAgICAgICAgICAgICAgICAgIHNldEJpdG1hcFBpeGVsKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGxlZnQsXG4gICAgICAgICAgICAgICAgICAgICAgICBiaXRtYXAsXG4gICAgICAgICAgICAgICAgICAgICAgICB0b3A6IGN1cnJlbnRUb3AsXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogcGl4ZWwsXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogZ2V0UmVjdENvb3JkaW5hdGUoZWxlbWVudFJlY3QsICd3aWR0aCcpLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAvLyBcIkRyYXdcIiB0aGUgcmlnaHQgY29sdW1uXG4gICAgICAgICAgICAgICAgLy8gW1xuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICDwn5GHXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgIPCfkYdcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAg8J+Rh1xuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICxMLEwsTCxMLEwsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLEwsICwgLCAsTCxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsTCxMLEwsTCxMLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgWyAsICwgLCAsICwgLCAsICwgLCAsXSxcbiAgICAgICAgICAgICAgICAvLyAgICBbICwgLCAsICwgLCAsICwgLCAsICxdLFxuICAgICAgICAgICAgICAgIC8vICAgIFsgLCAsICwgLCAsICwgLCAsICwgLF0sXG4gICAgICAgICAgICAgICAgLy8gICAgICAgICAgICAgICAgICAgICAgIPCfkYZcbiAgICAgICAgICAgICAgICAvLyAgICAgICAgICAgICAgICAgICAgICAg8J+RhlxuICAgICAgICAgICAgICAgIC8vICAgICAgICAgICAgICAgICAgICAgICDwn5GGXG4gICAgICAgICAgICAgICAgLy8gXVxuICAgICAgICAgICAgICAgIGNvbnN0IHJpZ3RodENvbHVtbklzSW5zaWRlVGhlVmlld3BvcnQgPVxuICAgICAgICAgICAgICAgICAgICByaWdodCA+PSAwICYmIGN1cnJlbnRUb3AgPCByb3dMZW5ndGggJiYgcmlnaHQgPCBjb2x1bW5MZW5ndGg7XG4gICAgICAgICAgICAgICAgaWYgKHJpZ3RodENvbHVtbklzSW5zaWRlVGhlVmlld3BvcnQpIHtcbiAgICAgICAgICAgICAgICAgICAgc2V0Qml0bWFwUGl4ZWwoe1xuICAgICAgICAgICAgICAgICAgICAgICAgYml0bWFwLFxuICAgICAgICAgICAgICAgICAgICAgICAgdG9wOiBjdXJyZW50VG9wLFxuICAgICAgICAgICAgICAgICAgICAgICAgbGVmdDogcmlnaHQsXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogcGl4ZWwsXG4gICAgICAgICAgICAgICAgICAgICAgICB3aWR0aDogZ2V0UmVjdENvb3JkaW5hdGUoZWxlbWVudFJlY3QsICd3aWR0aCcpLFxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICBjb25zdCBwaXhlbENvdW50cyA9IGNyZWF0ZVBpeGVsQ291bnRzKCk7XG4gICAgZm9yIChsZXQgaSA9IDAsIG4gPSBiaXRtYXAubGVuZ3RoOyBpIDwgbjsgaSsrKSB7XG4gICAgICAgIHBpeGVsQ291bnRzW2JpdG1hcFtpXV0rKztcbiAgICB9XG5cbiAgICBpZiAocHJpbnRBc2NpaUFydCkge1xuICAgICAgICBsb2dCaXRtYXAoe1xuICAgICAgICAgICAgbG9nZ2VyLFxuICAgICAgICAgICAgYml0bWFwLFxuICAgICAgICAgICAgd2lkdGg6IGdldFJlY3RDb29yZGluYXRlKGVsZW1lbnRSZWN0LCAnd2lkdGgnKSxcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHtcbiAgICAgICAgYml0bWFwLFxuICAgICAgICBwa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FBLGNBQWMsQ0FBQzt3QkFDWCxNQUFNO0FBQ04sd0JBQUEsR0FBRyxFQUFFLFVBQVU7QUFDZix3QkFBQSxJQUFJLEVBQUUsS0FBSztBQUNYLHdCQUFBLEtBQUssRUFBRSxLQUFLO0FBQ1osd0JBQUEsS0FBSyxFQUFFLGlCQUFpQixDQUFDLFdBQVcsRUFBRSxPQUFPLENBQUM7QUFDakQscUJBQUEsQ0FBQyxDQUFDO0FBQ04saUJBQUE7QUFDSixhQUFBO0FBQ0osU0FBQTtBQUNKLEtBQUE7QUFFRCxJQUFBLE1BQU0sV0FBVyxHQUFHLGlCQUFpQixFQUFFLENBQUM7QUFDeEMsSUFBQSxLQUFLLElBQUksQ0FBQyxHQUFHLENBQUMsRUFBRSxDQUFDLEdBQUcsTUFBTSxDQUFDLE1BQU0sRUFBRSxDQUFDLEdBQUcsQ0FBQyxFQUFFLENBQUMsRUFBRSxFQUFFO0FBQzNDLFFBQUEsV0FBVyxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUM7QUFDNUIsS0FBQTtBQUVELElBQUEsSUFBSSxhQUFhLEVBQUU7QUFDZixRQUFBLFNBQVMsQ0FBQztZQUNOLE1BQU07WUFDTixNQUFNO0FBQ04sWUFBQSxLQUFLLEVBQUUsaUJBQWlCLENBQUMsV0FBVyxFQUFFLE9BQU8sQ0FBQztBQUNqRCxTQUFBLENBQUMsQ0FBQztBQUNOLEtBQUE7SUFFRCxPQUFPO1FBQ0gsTUFBTTtRQUNOLFdBQVc7QUFDWCxRQUFBLFFBQVEsRUFBRSxJQUFJLENBQUMsR0FBRyxFQUFFLEdBQUcsS0FBSztLQUMvQixDQUFDO0FBQ047Ozs7In0= |
import { getRectCoordinate } from '../rect/rectProperties.js'; | ||
/* eslint-disable no-plusplus */ | ||
function addSvgRectangles(params) { | ||
@@ -22,3 +21,2 @@ const { svgRenderer, childrenData, weightByComponentName, colorByPixelType } = params; | ||
if (width < 0 || height < 0) { | ||
// eslint-disable-next-line no-continue | ||
continue; | ||
@@ -43,2 +41,2 @@ } | ||
export { addSvgRectangles }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkU3ZnUmVjdGFuZ2xlcy5qcyIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2RlYnVnL2FkZFN2Z1JlY3RhbmdsZXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgbm8tcGx1c3BsdXMgKi9cblxuaW1wb3J0IHsgZ2V0UmVjdENvb3JkaW5hdGUgfSBmcm9tICcuLi9yZWN0L3JlY3RQcm9wZXJ0aWVzJztcbmltcG9ydCB0eXBlIHsgQ2hpbGREYXRhLCBDb2xvckJ5UGl4ZWxUeXBlLCBDb21wb25lbnRUeXBlLCBXZWlnaHRCeUNvbXBvbmVudE5hbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbnR5cGUgTG9vcFBhcmFtcyA9IHtcbiAgICBjaGlsZHJlbkRhdGE6IENoaWxkRGF0YVtdO1xuICAgIHN2Z1JlbmRlcmVyOiBTVkdTVkdFbGVtZW50O1xuICAgIGNvbG9yQnlQaXhlbFR5cGU6IENvbG9yQnlQaXhlbFR5cGU7XG4gICAgd2VpZ2h0QnlDb21wb25lbnROYW1lOiBXZWlnaHRCeUNvbXBvbmVudE5hbWU7XG59O1xuXG5leHBvcnQgZnVuY3Rpb24gYWRkU3ZnUmVjdGFuZ2xlcyhwYXJhbXM6IExvb3BQYXJhbXMpOiB2b2lkIHtcbiAgICBjb25zdCB7IHN2Z1JlbmRlcmVyLCBjaGlsZHJlbkRhdGEsIHdlaWdodEJ5Q29tcG9uZW50TmFtZSwgY29sb3JCeVBpeGVsVHlwZSB9ID0gcGFyYW1zO1xuXG4gICAgLy8gU1ZHcyBkbyBub3Qgc3VwcG9ydCBpbm5lciBib3JkZXIuIFNvIG11bHRpcGxlIHJlY3RhbmdsZXMgYXJ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lKHJlY3QsICd3aWR0aCcpIC0gaiAqIDI7XG4gICAgICAgICAgICAgICAgY29uc3QgaGVpZ2h0ID0gZ2V0UmVjdENvb3JkaW5hdGUocmVjdCwgJ2hlaWdodCcpIC0gaiAqIDI7XG4gICAgICAgICAgICAgICAgaWYgKHdpZHRoIDwgMCB8fCBoZWlnaHQgPCAwKSB7XG4gICAgICAgICAgICAgICAgICAgIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBuby1jb250aW51ZVxuICAgICAgICAgICAgICAgICAgICBjb250aW51ZTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBjb25zdCBzdmdSZWN0ID0gZ2xvYmFsVGhpcy5kb2N1bWVudC5jcmVhdGVFbGVtZW50TlMoXG4gICAgICAgICAgICAgICAgICAgICdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZycsXG4gICAgICAgICAgICAgICAgICAgICdyZWN0JyxcbiAgICAgICAgICAgICAgICApO1xuXG4gICAgICAgICAgICAgICAgLy8gYG9mZnNldGAgaXMgbm90IGNvbnNpZGVyZWQgYmVjYXVzZSB0aGUgc3ZnIHNob3VsZCBiZSBwbGFjZWQgYXQgdGhlIHRvcC1sZWZ0IGNvcm5lciBvZiB0aGUgdmlld3BvcnRcbiAgICAgICAgICAgICAgICBzdmdSZWN0LnNldEF0dHJpYnV0ZSgneScsIChnZXRSZWN0Q29vcmRpbmF0ZShyZWN0LCAndG9wJykgKyBqKS50b1N0cmluZygpKTtcbiAgICAgICAgICAgICAgICBzdmdSZWN0LnNldEF0dHJpYnV0ZSgneCcsIChnZXRSZWN0Q29vcmRpbmF0ZShyZWN0LCAnbGVmdCcpICsgaikudG9TdHJpbmcoKSk7XG4gICAgICAgICAgICAgICAgc3ZnUmVjdC5zZXRBdHRyaWJ1dGUoJ3dpZHRoJywgd2lkdGgudG9TdHJpbmcoKSk7XG4gICAgICAgICAgICAgICAgc3ZnUmVjdC5zZXRBdHRyaWJ1dGUoJ2hl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0FBQztBQUN2QyxnQkFBQSxPQUFPLENBQUMsWUFBWSxDQUFDLE1BQU0sRUFBRSxNQUFNLENBQUMsQ0FBQztnQkFFckMsT0FBTyxDQUFDLFlBQVksQ0FBQyxjQUFjLEVBQUUsR0FBRyxDQUFDLENBQUM7Z0JBQzFDLE9BQU8sQ0FBQyxZQUFZLENBQUMsUUFBUSxFQUFFLGdCQUFnQixDQUFDLHVCQUF1QixDQUFDLENBQUMsQ0FBQztBQUUxRSxnQkFBQSxXQUFXLENBQUMsV0FBVyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQ3BDLGFBQUE7QUFDSixTQUFBO0FBQ0osS0FBQTtBQUNMOzs7OyJ9 |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable no-param-reassign */ | ||
function getRectCoordinate(rect, property) { | ||
@@ -45,2 +44,2 @@ if (property === 'top') | ||
export { createEmptyRect, createRect, getRectCoordinate, getRectCoordinates, setRectCoordinate }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVjdFByb3BlcnRpZXMuanMiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9yZWN0L3JlY3RQcm9wZXJ0aWVzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIi8qIGVzbGludC1kaXNhYmxlIG5vLXBhcmFtLXJlYXNzaWduICovXG5cbmltcG9ydCB0eXBlIHsgQ29vcmRpbmF0ZXMsIFJlY3QsIFRvcExlZnRXaWR0aEhlaWdodCB9IGZyb20gJy4uL3R5cGVzJztcblxuZXhwb3J0IGZ1bmN0aW9uIGdldFJlY3RDb29yZGluYXRlKFxuICAgIHJlY3Q6IFJlY3QsXG4gICAgcHJvcGVydHk6ICd0b3AnIHwgJ2xlZnQnIHwgJ3dpZHRoJyB8ICdoZWlnaHQnLFxuKTogbnVtYmVyIHtcbiAgICBpZiAocHJvcGVydHkgPT09ICd0b3AnKSByZXR1cm4gcmVjdFswXTtcbiAgICBpZiAocH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XQUFXLENBQUMsQ0FBQyxDQUFDLEdBQUcsS0FBSyxDQUFDO0FBQ3RELENBQUM7U0FFZSxlQUFlLEdBQUE7QUFDM0IsSUFBQSxPQUFPLElBQUksV0FBVyxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQzlCLENBQUM7QUFFSyxTQUFVLFVBQVUsQ0FBQyxFQUN2QixHQUFHLEVBQ0gsSUFBSSxFQUNKLEtBQUssRUFDTCxNQUFNLEdBTVQsRUFBQTtBQUNHLElBQUEsTUFBTSxJQUFJLEdBQUcsZUFBZSxFQUFFLENBQUM7O0lBRy9CLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxHQUFHLEdBQUcsQ0FBQyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ3hDLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLEdBQUcsQ0FBQyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBRTFDLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQzVCLElBQUksQ0FBQyxDQUFDLENBQUMsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBRTdCLElBQUEsT0FBTyxJQUFJLENBQUM7QUFDaEI7Ozs7In0= |
@@ -1,2 +0,1 @@ | ||
/* eslint-disable no-console */ | ||
function logger(...args) { | ||
@@ -16,2 +15,2 @@ console.log(`%c Path coverage `, 'background: #FF7AAC; color: #121117; padding: 2px; border-radius: 2px;', ...args); | ||
export { createLogger, isActiveLogger }; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlTG9nZ2VyLmpzIiwic291cmNlcyI6WyIuLi8uLi9zcmMv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cyI6W10sIm1hcHBpbmdzIjoiQUFFQSxTQUFTLE1BQU0sQ0FBQyxHQUFHLElBQWUsRUFBQTtJQUM5QixPQUFPLENBQUMsR0FBRyxDQUNQLENBQW1CLGlCQUFBLENBQUEsRUFDbkIsd0VBQXdFLEVBQ3hFLEdBQUcsSUFBSSxDQUNWLENBQUM7QUFDTixDQUFDO0FBRUQsU0FBUyxZQUFZLEdBQUE7O0FBRXJCLENBQUM7QUFFSyxTQUFVLFlBQVksQ0FBQyxZQUFxQixFQUFBO0lBQzlDLE9BQU8sWUFBWSxHQUFHLE1BQU0sR0FBRyxZQUFZLENBQUM7QUFDaEQsQ0FBQztBQUVLLFNBQVUsY0FBYyxDQUFDLGVBQXdCLEVBQUE7SUFDbkQsT0FBTyxlQUFlLEtBQUssTUFBTSxDQUFDO0FBQ3RDOzs7OyJ9 |
{ | ||
"name": "@preply/ds-visual-coverage-core", | ||
"version": "0.97.4", | ||
"version": "0.97.5-beta.53320e315fff69e4b35c23aaad263982cdd7ef90.0+53320e3", | ||
"publishConfig": { | ||
@@ -15,3 +15,2 @@ "access": "public" | ||
"clean": "rm -rf dist", | ||
"lint": "run --top-level eslint --ext .js,.ts,.tsx,.mdx *.config.js src/", | ||
"test": "run --top-level vitest --coverage --watch=false", | ||
@@ -23,3 +22,3 @@ "build": "NODE_ENV=production && run build:rollup", | ||
"dependencies": { | ||
"@preply/ds-visual-coverage-component-names": "0.97.4" | ||
"@preply/ds-visual-coverage-component-names": "^0.97.5-beta.53320e315fff69e4b35c23aaad263982cdd7ef90.0+53320e3" | ||
}, | ||
@@ -29,3 +28,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "251484f5af8a10366d791c624c7c08f2abee997d" | ||
"gitHead": "53320e315fff69e4b35c23aaad263982cdd7ef90" | ||
} |
@@ -12,2 +12,3 @@ # `@preply/ds-visual-coverage-core` | ||
As a reminder, the general idea is to | ||
1. Collect components coordinates and size | ||
@@ -18,2 +19,3 @@ 2. Convert the coordinates and size into a virtual representation of the UI tree | ||
To visualize it: think of a page like the following, where we highlight outline the components (green = DS components, red = non-DS components) | ||
``` | ||
@@ -41,3 +43,5 @@ 🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥🟥 | ||
``` | ||
the visual coverage utils convert them to an array like | ||
```js | ||
@@ -67,2 +71,3 @@ [ | ||
``` | ||
and then counts the coverage %. | ||
@@ -69,0 +74,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
80
194346
1701
1