@applitools/eyes-browser 1.5.16 → 1.5.17
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 +24 -0
- package/dist/index.js +604 -549
- package/package.json +2 -2
- package/types/enums/IosMultiDeviceTarget.d.ts +6 -1
package/dist/index.js
CHANGED
|
@@ -22661,7 +22661,8 @@ var require_requests = __commonJS({
|
|
|
22661
22661
|
},
|
|
22662
22662
|
hooks: {
|
|
22663
22663
|
afterError({ error }) {
|
|
22664
|
-
if (error.message.includes("Bad Request(400)") || error.message.includes("(
|
|
22664
|
+
if (error.message.includes("Bad Request(400)") || error.message.includes("Not Found(404)") || // validation issue in start session
|
|
22665
|
+
error.message.includes("(400)") || error.message.includes("(404)")) {
|
|
22665
22666
|
error.message = "This process is expired. All its sessions were abandoned";
|
|
22666
22667
|
}
|
|
22667
22668
|
}
|
|
@@ -93379,7 +93380,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93379
93380
|
}
|
|
93380
93381
|
return e3;
|
|
93381
93382
|
} }, matches: Vs, is: Vs, "-moz-any": Vs, "-webkit-any": Vs, where: Vs, not: Vs, "nth-child": Ks, "nth-last-child": Ks, "nth-last-of-type": Ks, "nth-of-type": Ks, slotted: Zs, host: Zs, "host-context": Zs }, node: Object.freeze({ __proto__: null, AnPlusB: ho, Atrule: bo, AtrulePrelude: ko, AttributeSelector: Lo, Block: Do, Brackets: Bo, CDC: Uo, CDO: qo, ClassSelector: Vo, Combinator: Ho, Comment: Xo, Condition: ri, Declaration: gi, DeclarationList: vi, Dimension: Si, Feature: Ai, FeatureFunction: Ei, FeatureRange: Ui, Function: Wi, GeneralEnclosed: Zi, Hash: Gi, IdSelector: ta, Identifier: Qi, Layer: oa, LayerList: aa, MediaQuery: ca, MediaQueryList: ha, NestingSelector: pa, Nth: fa, Number: ya, Operator: va, Parentheses: _a, Percentage: za, PseudoClassSelector: Oa, PseudoElementSelector: Ra, Ratio: Ia, Raw: Fa, Rule: Wa, Scope: Va, Selector: Ka, SelectorList: Ga, String: ns, StyleSheet: is, SupportsDeclaration: ss, TypeSelector: ds, UnicodeRange: xs, Url: Cs, Value: As, WhiteSpace: Es }), node: Ns }));
|
|
93382
|
-
const { tokenize: Gs, parse: Ys, generate: Xs, lexer: Qs, createLexer: Js, walk: el, find: tl, findLast: nl, findAll: rl, toPlainObject: ol, fromPlainObject: il, fork: al } = Hs, sl = /* @__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"])]]), ll = new Map([dl("animation", "moz"), dl("border-image", "moz"), dl("mask", "moz"), dl("transition", "moz"), dl("columns", "moz"), dl("text-stroke", "moz"), dl("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"])]]), cl = new Map([dl("animation", "webkit"), dl("border-radius", "webkit"), dl("column-rule", "webkit"), dl("columns", "webkit"), dl("flex", "webkit"), dl("flex-flow", "webkit"), dl("mask", "webkit"), dl("text-stroke", "webkit"), dl("perspective-origin", "webkit"), dl("transform-origin", "webkit"), dl("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"])]]), ul = ["background-position", "background-repeat", "text-decoration"];
|
|
93383
|
+
const { tokenize: Gs, parse: Ys, generate: Xs, lexer: Qs, createLexer: Js, walk: el, find: tl, findLast: nl, findAll: rl, toPlainObject: ol, fromPlainObject: il, fork: al } = Hs, sl = /* @__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-palette", "font-synthesis-style", "font-synthesis-weight", "font-synthesis-small-caps", "font-variant-alternates", "font-variant-east-asian", "font-variant-emoji", "font-variant-ligatures", "font-variant-numeric", "font-variant-position", "font-language-override", "font-feature-settings", "font-variation-settings"])], ["font-synthesis", /* @__PURE__ */ new Set(["font-synthesis-style", "font-synthesis-weight", "font-synthesis-small-caps"])], ["font-variant", /* @__PURE__ */ new Set(["font-variant-caps", "font-variant-numeric", "font-variant-alternates", "font-variant-ligatures", "font-variant-east-asian", "font-variant-emoji", "font-variant-position"])], ["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"])]]), ll = new Map([dl("animation", "moz"), dl("border-image", "moz"), dl("mask", "moz"), dl("transition", "moz"), dl("columns", "moz"), dl("text-stroke", "moz"), dl("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"])]]), cl = new Map([dl("animation", "webkit"), dl("border-radius", "webkit"), dl("column-rule", "webkit"), dl("columns", "webkit"), dl("flex", "webkit"), dl("flex-flow", "webkit"), dl("mask", "webkit"), dl("text-stroke", "webkit"), dl("perspective-origin", "webkit"), dl("transform-origin", "webkit"), dl("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"])]]), ul = ["background-position", "background-repeat", "text-decoration"];
|
|
93383
93384
|
ll.forEach((e3, t3) => sl.set(t3, e3)), cl.forEach((e3, t3) => sl.set(t3, e3));
|
|
93384
93385
|
const hl = /* @__PURE__ */ new Map();
|
|
93385
93386
|
function dl(e3, t3) {
|
|
@@ -93392,21 +93393,40 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93392
93393
|
return !!n3 && n3.has(t3);
|
|
93393
93394
|
}
|
|
93394
93395
|
function ml(e3) {
|
|
93395
|
-
|
|
93396
|
-
|
|
93397
|
-
|
|
93398
|
-
|
|
93399
|
-
|
|
93396
|
+
return ul.find((t3) => sl.get(t3).has(e3));
|
|
93397
|
+
}
|
|
93398
|
+
function fl(e3, t3, n3) {
|
|
93399
|
+
const r3 = Array.from(e3).reduce((t4, n4) => {
|
|
93400
|
+
const r4 = ml(n4) || n4;
|
|
93401
|
+
t4.set(r4, gl(e3, r4));
|
|
93400
93402
|
const o3 = function(e4) {
|
|
93401
93403
|
return hl.get(e4);
|
|
93402
|
-
}(
|
|
93403
|
-
return o3 && o3.forEach((
|
|
93404
|
-
e3.getPropertyValue(
|
|
93404
|
+
}(n4);
|
|
93405
|
+
return o3 && o3.forEach((n5) => {
|
|
93406
|
+
e3.getPropertyValue(n5) && (t4.delete(n5), t4.set(n5, gl(e3, n5)));
|
|
93405
93407
|
}), t4;
|
|
93406
93408
|
}, /* @__PURE__ */ new Map());
|
|
93407
|
-
|
|
93409
|
+
if (t3 && n3) {
|
|
93410
|
+
const o3 = Array.from(e3).filter((t4) => !e3.getPropertyValue(t4));
|
|
93411
|
+
if (o3.length > 0)
|
|
93412
|
+
try {
|
|
93413
|
+
const i3 = t3.querySelector(n3);
|
|
93414
|
+
if (i3) {
|
|
93415
|
+
const t4 = window.getComputedStyle(i3);
|
|
93416
|
+
o3.forEach((n4) => {
|
|
93417
|
+
const o4 = t4.getPropertyValue(n4);
|
|
93418
|
+
if (o4) {
|
|
93419
|
+
const t5 = ml(n4) || n4;
|
|
93420
|
+
r3.set(t5, { type: "Declaration", important: "important" === e3.getPropertyPriority(t5), property: t5, value: { type: "Raw", value: o4 } });
|
|
93421
|
+
}
|
|
93422
|
+
});
|
|
93423
|
+
}
|
|
93424
|
+
} catch (e4) {
|
|
93425
|
+
}
|
|
93426
|
+
}
|
|
93427
|
+
return Array.from(r3.values());
|
|
93408
93428
|
}
|
|
93409
|
-
function
|
|
93429
|
+
function gl(e3, t3) {
|
|
93410
93430
|
return { type: "Declaration", important: Boolean(e3.getPropertyPriority(t3)), property: t3, value: { type: "Raw", value: e3.getPropertyValue(t3) } };
|
|
93411
93431
|
}
|
|
93412
93432
|
sl.forEach((e3, t3) => {
|
|
@@ -93414,36 +93434,41 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93414
93434
|
hl.get(e4) || hl.set(e4, /* @__PURE__ */ new Set()), hl.get(e4).add(t3);
|
|
93415
93435
|
});
|
|
93416
93436
|
});
|
|
93417
|
-
const
|
|
93418
|
-
function
|
|
93437
|
+
const bl = { CSSPropertyRule: { atrule: "property", prelude: "name" }, 2: { atrule: "charset", prelude: "charset" }, CSSImportRule: { atrule: "import", prelude: "import" }, CSSNamespaceRule: { atrule: "namespace", prelude: "namespace" }, CSSStyleRule: { prelude: "selector", block: "style-and-nested" }, CSSKeyframeRule: { prelude: "key", block: "style" }, CSSPageRule: { atrule: "page", prelude: "selector", block: "style" }, CSSFontFaceRule: { atrule: "font-face", block: "style" }, CSSMediaRule: { atrule: "media", prelude: "condition", block: "nested" }, CSSSupportsRule: { atrule: "supports", prelude: "condition", block: "nested" }, 13: { atrule: "document", prelude: "condition", block: "nested" }, CSSKeyframesRule: { atrule: "keyframes", prelude: "name", block: "nested" }, CSSContainerRule: { atrule: "container", prelude: "condition", block: "nested" }, CSSLayerStatementRule: { atrule: "layer", prelude: "nameList" }, CSSLayerBlockRule: { atrule: "layer", prelude: "name", block: "nested" } };
|
|
93438
|
+
function yl(e3, t3, n3) {
|
|
93419
93439
|
return Array.from(e3, (e4) => {
|
|
93420
|
-
var
|
|
93421
|
-
const
|
|
93422
|
-
if (!
|
|
93423
|
-
return t3.error(`createAstFromCssom | Unknown CSS object model rule ${e4.constructor.name} ${null === (
|
|
93424
|
-
const
|
|
93425
|
-
if (
|
|
93426
|
-
|
|
93427
|
-
const [t4, n4] = e4.cssText.match(new RegExp(`^@(-\\w+-)?${
|
|
93428
|
-
|
|
93440
|
+
var r3, o3, i3;
|
|
93441
|
+
const a3 = null !== (r3 = bl[e4.type]) && void 0 !== r3 ? r3 : bl[e4.constructor.name];
|
|
93442
|
+
if (!a3)
|
|
93443
|
+
return t3.error(`createAstFromCssom | Unknown CSS object model rule ${e4.constructor.name} ${null === (o3 = e4.cssText) || void 0 === o3 ? void 0 : o3.substring(0, 150)}`), { type: "Raw", value: e4.cssText || "" };
|
|
93444
|
+
const s3 = {};
|
|
93445
|
+
if (a3.atrule) {
|
|
93446
|
+
s3.type = "Atrule";
|
|
93447
|
+
const [t4, n4] = e4.cssText.match(new RegExp(`^@(-\\w+-)?${a3.atrule}`)) || [];
|
|
93448
|
+
s3.name = n4 ? n4 + a3.atrule : a3.atrule;
|
|
93429
93449
|
} else
|
|
93430
|
-
|
|
93431
|
-
let
|
|
93432
|
-
if ("property" ===
|
|
93433
|
-
const e5 =
|
|
93434
|
-
|
|
93450
|
+
s3.type = "Rule";
|
|
93451
|
+
let l2;
|
|
93452
|
+
if ("property" === a3.atrule ? (l2 = e4.name, s3.syntax = e4.syntax, s3.inherits = e4.inherits, s3.initialValue = e4.initialValue) : "selector" === a3.prelude ? l2 = e4.selectorText : "key" === a3.prelude ? l2 = e4.keyText : "condition" === a3.prelude ? l2 = e4.conditionText : "name" === a3.prelude ? l2 = e4.name : "import" === a3.prelude ? l2 = `url("${e4.href}") ${e4.media.mediaText}` : "namespace" === a3.prelude ? l2 = `${e4.prefix} url("${e4.namespaceURI}")` : "charset" === a3.prelude ? l2 = `"${e4.encoding}"` : "nameList" === a3.prelude && (l2 = e4.nameList), l2) {
|
|
93453
|
+
const e5 = a3.atrule ? { context: "atrulePrelude", atrule: a3.atrule } : { context: "selectorList" };
|
|
93454
|
+
s3.prelude = ol(Ys(l2, e5));
|
|
93435
93455
|
} else
|
|
93436
|
-
|
|
93437
|
-
if ("style-and-nested" ===
|
|
93438
|
-
const
|
|
93439
|
-
|
|
93456
|
+
s3.prelude = null;
|
|
93457
|
+
if ("style-and-nested" === a3.block) {
|
|
93458
|
+
const r4 = e4.selectorText, o4 = fl(e4.style, n3, r4), i4 = e4.cssRules, a4 = (null == i4 ? void 0 : i4.length) ? yl(i4, t3, n3) : [];
|
|
93459
|
+
s3.block = { type: "Block", children: o4.concat(a4) };
|
|
93460
|
+
} else if ("nested" === a3.block || (null === (i3 = e4.cssRules) || void 0 === i3 ? void 0 : i3.length) > 0)
|
|
93461
|
+
s3.block = { type: "Block", children: yl(e4.cssRules, t3, n3) };
|
|
93462
|
+
else if ("style" === a3.block) {
|
|
93463
|
+
const t4 = "selector" === a3.prelude ? e4.selectorText : void 0;
|
|
93464
|
+
s3.block = { type: "Block", children: fl(e4.style, n3, t4) };
|
|
93440
93465
|
} else
|
|
93441
|
-
|
|
93442
|
-
return
|
|
93466
|
+
s3.block = null;
|
|
93467
|
+
return s3;
|
|
93443
93468
|
});
|
|
93444
93469
|
}
|
|
93445
|
-
const
|
|
93446
|
-
function
|
|
93470
|
+
const kl = /* @__PURE__ */ new Set(["before", "after", "first-line", "first-letter"]), wl = { "word-wrap": "overflow-wrap", clip: "clip-path" };
|
|
93471
|
+
function vl(e3, t3) {
|
|
93447
93472
|
let n3 = 0;
|
|
93448
93473
|
const r3 = [];
|
|
93449
93474
|
return e3.forEach((e4) => {
|
|
@@ -93456,24 +93481,35 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93456
93481
|
return r4;
|
|
93457
93482
|
return -1;
|
|
93458
93483
|
}(e5, t4, (e6) => {
|
|
93459
|
-
return e6.type === n4.type && e6.name === n4.name && (
|
|
93460
|
-
const
|
|
93461
|
-
|
|
93462
|
-
|
|
93463
|
-
|
|
93464
|
-
|
|
93465
|
-
|
|
93466
|
-
|
|
93467
|
-
|
|
93468
|
-
|
|
93484
|
+
return e6.type === n4.type && e6.name === n4.name && (t5 = e6.prelude, r4 = n4.prelude, !t5 && !r4 || t5.type === r4.type && _l(t5.children, r4.children)) && (!Sl(n4) || function(e7, t6) {
|
|
93485
|
+
const n5 = t6.reduce((t7, n6) => {
|
|
93486
|
+
const r6 = "Declaration" === n6.type && (function(e8) {
|
|
93487
|
+
return /^(-\w+-)/.test(e8);
|
|
93488
|
+
}(n6.property) || e7.some((e8) => function(e9, t8) {
|
|
93489
|
+
const n7 = wl[e9] || e9, r7 = wl[t8] || t8;
|
|
93490
|
+
return n7 === r7 || pl(r7, n7) || pl(n7, r7);
|
|
93491
|
+
}(e8.property, n6.property)));
|
|
93492
|
+
return t7 + (r6 ? 1 : 0);
|
|
93493
|
+
}, 0), r5 = t6.filter((e8) => "Rule" !== e8.type && "Atrule" !== e8.type).length;
|
|
93494
|
+
return n5 >= r5;
|
|
93495
|
+
}(e6.block.children, n4.block.children));
|
|
93496
|
+
var t5, r4;
|
|
93469
93497
|
});
|
|
93470
93498
|
}(t3, n3, e4);
|
|
93471
|
-
i3 > n3 &&
|
|
93472
|
-
|
|
93473
|
-
|
|
93474
|
-
|
|
93499
|
+
if (i3 > n3 && Cl(t3, n3, i3, (e5) => r3.push(e5)), i3 >= 0) {
|
|
93500
|
+
if (n3 = i3 + 1, function(e5) {
|
|
93501
|
+
return "Atrule" === e5.type && /^(-\w+-)?(media|supports|document|keyframes|layer)$/.test(e5.name);
|
|
93502
|
+
}(e4))
|
|
93503
|
+
o3.block = { type: "Block", children: vl(e4.block.children, t3[i3].block.children) };
|
|
93504
|
+
else if (Sl(e4)) {
|
|
93505
|
+
const n4 = e4.block.children, r4 = t3[i3].block.children, a3 = n4.some((e5) => "Rule" === e5.type || "Atrule" === e5.type), s3 = r4.some((e5) => "Rule" === e5.type || "Atrule" === e5.type);
|
|
93506
|
+
o3.block = a3 || s3 ? { type: "Block", children: vl(n4, r4) } : { type: "Block", children: xl(n4, r4) };
|
|
93507
|
+
}
|
|
93508
|
+
}
|
|
93509
|
+
r3.push(o3);
|
|
93510
|
+
}, []), n3 < t3.length && Cl(t3, n3, t3.length, (e4) => r3.push(e4)), r3;
|
|
93475
93511
|
}
|
|
93476
|
-
function
|
|
93512
|
+
function xl(e3, t3) {
|
|
93477
93513
|
let n3 = [];
|
|
93478
93514
|
return e3.forEach((e4) => {
|
|
93479
93515
|
"Declaration" === e4.type && n3.push(e4);
|
|
@@ -93499,26 +93535,26 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93499
93535
|
var o3;
|
|
93500
93536
|
}), n3;
|
|
93501
93537
|
}
|
|
93502
|
-
function
|
|
93538
|
+
function _l(e3, t3) {
|
|
93503
93539
|
return !Array.isArray(e3) && !Array.isArray(t3) || Array.isArray(e3) && Array.isArray(t3) && e3.length === t3.length && e3.every((e4, n3) => {
|
|
93504
93540
|
const r3 = t3[n3];
|
|
93505
|
-
return e4.type === r3.type && ((a3 = e4.name) === (s3 = r3.name) || a3 && s3 && a3.name && a3.name === s3.name) && ((o3 = e4.value) === (i3 = r3.value) || o3.type === i3.type && o3.value === i3.value) &&
|
|
93541
|
+
return e4.type === r3.type && ((a3 = e4.name) === (s3 = r3.name) || a3 && s3 && a3.name && a3.name === s3.name) && ((o3 = e4.value) === (i3 = r3.value) || o3.type === i3.type && o3.value === i3.value) && _l(e4.children, r3.children);
|
|
93506
93542
|
var o3, i3, a3, s3;
|
|
93507
93543
|
});
|
|
93508
93544
|
}
|
|
93509
|
-
function
|
|
93545
|
+
function Sl(e3) {
|
|
93510
93546
|
return "Rule" === e3.type || /^(-\w+-)?(page|font-face)$/.test(e3.name);
|
|
93511
93547
|
}
|
|
93512
|
-
function
|
|
93548
|
+
function Cl(e3, t3, n3, r3) {
|
|
93513
93549
|
for (let o3 = t3; o3 < n3; ++o3)
|
|
93514
93550
|
r3(e3[o3], o3, e3);
|
|
93515
93551
|
}
|
|
93516
|
-
function
|
|
93552
|
+
function zl(e3) {
|
|
93517
93553
|
const t3 = Array.from(e3.attributes).map((t4) => "id" === t4.name ? `#${t4.value}` : "class" === t4.name ? Array.from(e3.classList).map((e4) => `.${e4}`).join("") : `[${t4.name}="${t4.value}"]`).join("");
|
|
93518
93554
|
return `${e3.nodeName}${t3}`;
|
|
93519
93555
|
}
|
|
93520
|
-
function
|
|
93521
|
-
t3.log("[processInlineCss] processing inline css for",
|
|
93556
|
+
function Al(e3, t3) {
|
|
93557
|
+
t3.log("[processInlineCss] processing inline css for", zl(e3));
|
|
93522
93558
|
try {
|
|
93523
93559
|
const n3 = function(e4) {
|
|
93524
93560
|
const t4 = Ys(e4, { context: "stylesheet", parseAtrulePrelude: true, parseRulePrelude: true, parseValue: false, parseCustomProperty: false });
|
|
@@ -93530,7 +93566,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93530
93566
|
"String" === r4.type && (t5[n4] = { type: "Url", value: r4.value }, e5.children.fromArray(t5));
|
|
93531
93567
|
}
|
|
93532
93568
|
} }), el(t4, { visit: "PseudoClassSelector", enter(e5) {
|
|
93533
|
-
|
|
93569
|
+
kl.has(e5.name) && (e5.type = "PseudoElementSelector");
|
|
93534
93570
|
} }), el(t4, { visit: "Selector", enter(e5) {
|
|
93535
93571
|
const t5 = e5.children.toArray();
|
|
93536
93572
|
if (t5.length > 1) {
|
|
@@ -93545,9 +93581,9 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93545
93581
|
} }), ol(t4);
|
|
93546
93582
|
}(e3.textContent);
|
|
93547
93583
|
t3.log("[processInlineCss] created AST for textContent");
|
|
93548
|
-
const r3 =
|
|
93584
|
+
const r3 = yl(e3.sheet.cssRules, t3);
|
|
93549
93585
|
t3.log("[processInlineCss] created AST for CSSOM");
|
|
93550
|
-
const o3 =
|
|
93586
|
+
const o3 = vl(n3.children, r3);
|
|
93551
93587
|
t3.log("[processInlineCss] merged AST");
|
|
93552
93588
|
const i3 = Xs(il({ type: "StyleSheet", children: o3 }));
|
|
93553
93589
|
return t3.log("[processInlineCss] generated cssText of length", i3.length), i3;
|
|
@@ -93555,43 +93591,43 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93555
93591
|
return t3.log("[processInlineCss] error while processing inline css:", n3.message, n3), t3.log("[processInlineCss] try to set fallback"), "string" == typeof e3.textContent && e3.textContent.length > 0 ? (t3.log("[processInlineCss] set style from `styleNode.textContent`"), e3.textContent) : e3.sheet && e3.sheet.cssRules ? (t3.log("[processInlineCss] set style from reduce `sheet.cssRules`"), Array.from(e3.sheet.cssRules).reduce((e4, { cssText: t4 }) => e4 + t4, "")) : (t3.log("[processInlineCss] could not set fallback to inline css"), "");
|
|
93556
93592
|
}
|
|
93557
93593
|
}
|
|
93558
|
-
function
|
|
93594
|
+
function Tl(e3, t3) {
|
|
93559
93595
|
let n3 = e3[0], r3 = e3[1], o3 = e3[2], i3 = e3[3];
|
|
93560
|
-
n3 =
|
|
93596
|
+
n3 = Ll(n3, r3, o3, i3, t3[0], 7, -680876936), i3 = Ll(i3, n3, r3, o3, t3[1], 12, -389564586), o3 = Ll(o3, i3, n3, r3, t3[2], 17, 606105819), r3 = Ll(r3, o3, i3, n3, t3[3], 22, -1044525330), n3 = Ll(n3, r3, o3, i3, t3[4], 7, -176418897), i3 = Ll(i3, n3, r3, o3, t3[5], 12, 1200080426), o3 = Ll(o3, i3, n3, r3, t3[6], 17, -1473231341), r3 = Ll(r3, o3, i3, n3, t3[7], 22, -45705983), n3 = Ll(n3, r3, o3, i3, t3[8], 7, 1770035416), i3 = Ll(i3, n3, r3, o3, t3[9], 12, -1958414417), o3 = Ll(o3, i3, n3, r3, t3[10], 17, -42063), r3 = Ll(r3, o3, i3, n3, t3[11], 22, -1990404162), n3 = Ll(n3, r3, o3, i3, t3[12], 7, 1804603682), i3 = Ll(i3, n3, r3, o3, t3[13], 12, -40341101), o3 = Ll(o3, i3, n3, r3, t3[14], 17, -1502002290), r3 = Ll(r3, o3, i3, n3, t3[15], 22, 1236535329), n3 = El(n3, r3, o3, i3, t3[1], 5, -165796510), i3 = El(i3, n3, r3, o3, t3[6], 9, -1069501632), o3 = El(o3, i3, n3, r3, t3[11], 14, 643717713), r3 = El(r3, o3, i3, n3, t3[0], 20, -373897302), n3 = El(n3, r3, o3, i3, t3[5], 5, -701558691), i3 = El(i3, n3, r3, o3, t3[10], 9, 38016083), o3 = El(o3, i3, n3, r3, t3[15], 14, -660478335), r3 = El(r3, o3, i3, n3, t3[4], 20, -405537848), n3 = El(n3, r3, o3, i3, t3[9], 5, 568446438), i3 = El(i3, n3, r3, o3, t3[14], 9, -1019803690), o3 = El(o3, i3, n3, r3, t3[3], 14, -187363961), r3 = El(r3, o3, i3, n3, t3[8], 20, 1163531501), n3 = El(n3, r3, o3, i3, t3[13], 5, -1444681467), i3 = El(i3, n3, r3, o3, t3[2], 9, -51403784), o3 = El(o3, i3, n3, r3, t3[7], 14, 1735328473), r3 = El(r3, o3, i3, n3, t3[12], 20, -1926607734), n3 = Rl(n3, r3, o3, i3, t3[5], 4, -378558), i3 = Rl(i3, n3, r3, o3, t3[8], 11, -2022574463), o3 = Rl(o3, i3, n3, r3, t3[11], 16, 1839030562), r3 = Rl(r3, o3, i3, n3, t3[14], 23, -35309556), n3 = Rl(n3, r3, o3, i3, t3[1], 4, -1530992060), i3 = Rl(i3, n3, r3, o3, t3[4], 11, 1272893353), o3 = Rl(o3, i3, n3, r3, t3[7], 16, -155497632), r3 = Rl(r3, o3, i3, n3, t3[10], 23, -1094730640), n3 = Rl(n3, r3, o3, i3, t3[13], 4, 681279174), i3 = Rl(i3, n3, r3, o3, t3[0], 11, -358537222), o3 = Rl(o3, i3, n3, r3, t3[3], 16, -722521979), r3 = Rl(r3, o3, i3, n3, t3[6], 23, 76029189), n3 = Rl(n3, r3, o3, i3, t3[9], 4, -640364487), i3 = Rl(i3, n3, r3, o3, t3[12], 11, -421815835), o3 = Rl(o3, i3, n3, r3, t3[15], 16, 530742520), r3 = Rl(r3, o3, i3, n3, t3[2], 23, -995338651), n3 = Nl(n3, r3, o3, i3, t3[0], 6, -198630844), i3 = Nl(i3, n3, r3, o3, t3[7], 10, 1126891415), o3 = Nl(o3, i3, n3, r3, t3[14], 15, -1416354905), r3 = Nl(r3, o3, i3, n3, t3[5], 21, -57434055), n3 = Nl(n3, r3, o3, i3, t3[12], 6, 1700485571), i3 = Nl(i3, n3, r3, o3, t3[3], 10, -1894986606), o3 = Nl(o3, i3, n3, r3, t3[10], 15, -1051523), r3 = Nl(r3, o3, i3, n3, t3[1], 21, -2054922799), n3 = Nl(n3, r3, o3, i3, t3[8], 6, 1873313359), i3 = Nl(i3, n3, r3, o3, t3[15], 10, -30611744), o3 = Nl(o3, i3, n3, r3, t3[6], 15, -1560198380), r3 = Nl(r3, o3, i3, n3, t3[13], 21, 1309151649), n3 = Nl(n3, r3, o3, i3, t3[4], 6, -145523070), i3 = Nl(i3, n3, r3, o3, t3[11], 10, -1120210379), o3 = Nl(o3, i3, n3, r3, t3[2], 15, 718787259), r3 = Nl(r3, o3, i3, n3, t3[9], 21, -343485551), e3[0] = Pl(n3, e3[0]), e3[1] = Pl(r3, e3[1]), e3[2] = Pl(o3, e3[2]), e3[3] = Pl(i3, e3[3]);
|
|
93561
93597
|
}
|
|
93562
|
-
function
|
|
93563
|
-
return t3 =
|
|
93564
|
-
}
|
|
93565
|
-
function Ol(e3, t3, n3, r3, o3, i3, a3) {
|
|
93566
|
-
return Tl(t3 & n3 | ~t3 & r3, e3, t3, o3, i3, a3);
|
|
93598
|
+
function Ol(e3, t3, n3, r3, o3, i3) {
|
|
93599
|
+
return t3 = Pl(Pl(t3, e3), Pl(r3, i3)), Pl(t3 << o3 | t3 >>> 32 - o3, n3);
|
|
93567
93600
|
}
|
|
93568
93601
|
function Ll(e3, t3, n3, r3, o3, i3, a3) {
|
|
93569
|
-
return
|
|
93602
|
+
return Ol(t3 & n3 | ~t3 & r3, e3, t3, o3, i3, a3);
|
|
93570
93603
|
}
|
|
93571
93604
|
function El(e3, t3, n3, r3, o3, i3, a3) {
|
|
93572
|
-
return
|
|
93605
|
+
return Ol(t3 & r3 | n3 & ~r3, e3, t3, o3, i3, a3);
|
|
93573
93606
|
}
|
|
93574
93607
|
function Rl(e3, t3, n3, r3, o3, i3, a3) {
|
|
93575
|
-
return
|
|
93608
|
+
return Ol(t3 ^ n3 ^ r3, e3, t3, o3, i3, a3);
|
|
93609
|
+
}
|
|
93610
|
+
function Nl(e3, t3, n3, r3, o3, i3, a3) {
|
|
93611
|
+
return Ol(n3 ^ (t3 | ~r3), e3, t3, o3, i3, a3);
|
|
93576
93612
|
}
|
|
93577
|
-
function
|
|
93613
|
+
function jl(e3) {
|
|
93578
93614
|
const t3 = [];
|
|
93579
93615
|
let n3;
|
|
93580
93616
|
for (n3 = 0; n3 < 64; n3 += 4)
|
|
93581
93617
|
t3[n3 >> 2] = e3.charCodeAt(n3) + (e3.charCodeAt(n3 + 1) << 8) + (e3.charCodeAt(n3 + 2) << 16) + (e3.charCodeAt(n3 + 3) << 24);
|
|
93582
93618
|
return t3;
|
|
93583
93619
|
}
|
|
93584
|
-
const
|
|
93585
|
-
function
|
|
93620
|
+
const Il = "0123456789abcdef".split("");
|
|
93621
|
+
function Dl(e3) {
|
|
93586
93622
|
let t3 = "", n3 = 0;
|
|
93587
93623
|
for (; n3 < 4; n3++)
|
|
93588
|
-
t3 +=
|
|
93624
|
+
t3 += Il[e3 >> 8 * n3 + 4 & 15] + Il[e3 >> 8 * n3 & 15];
|
|
93589
93625
|
return t3;
|
|
93590
93626
|
}
|
|
93591
|
-
function
|
|
93627
|
+
function Pl(e3, t3) {
|
|
93592
93628
|
return e3 + t3 & 4294967295;
|
|
93593
93629
|
}
|
|
93594
|
-
function
|
|
93630
|
+
function Bl(e3, { removeReverseProxyURLPrefixes: t3 } = {}) {
|
|
93595
93631
|
const n3 = [];
|
|
93596
93632
|
return [/url\((?!['"]?:)'([^']*)'\)/g, /url\((?!['"]?:)"([^"]*)"\)/g, /url\((?!['"]?:)([^()'"]*)\)/g].forEach((t4) => {
|
|
93597
93633
|
let r3;
|
|
@@ -93602,29 +93638,29 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93602
93638
|
return t4 && t4.length ? t4[0].substring(1) : e4;
|
|
93603
93639
|
}) : n3;
|
|
93604
93640
|
}
|
|
93605
|
-
function
|
|
93641
|
+
function Fl(e3) {
|
|
93606
93642
|
let t3 = [];
|
|
93607
93643
|
for (let n3 = 0, r3 = e3.length; n3 < r3; n3++) {
|
|
93608
93644
|
const r4 = e3[n3];
|
|
93609
93645
|
let o3 = e3.getPropertyValue(r4);
|
|
93610
93646
|
(/^\s*var\s*\(/.test(o3) || /^--/.test(r4)) && (o3 = o3.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, (e4) => String.fromCodePoint(parseInt(e4.substr(1).trim(), 16))).replace(/\\([^0-9a-fA-F])/g, "$1"));
|
|
93611
|
-
const i3 =
|
|
93647
|
+
const i3 = Bl(o3);
|
|
93612
93648
|
t3 = t3.concat(i3);
|
|
93613
93649
|
}
|
|
93614
93650
|
return t3;
|
|
93615
93651
|
}
|
|
93616
|
-
const
|
|
93617
|
-
function
|
|
93652
|
+
const Ul = /(\S+)(?:\s+[\d.]+[wx])?(?:,|$)/g;
|
|
93653
|
+
function Ml(e3) {
|
|
93618
93654
|
const { ownerDocument: t3 } = e3;
|
|
93619
93655
|
if (!t3)
|
|
93620
93656
|
return true;
|
|
93621
93657
|
const { display: n3 } = t3.defaultView.getComputedStyle(e3), { width: r3, height: o3 } = e3.getBoundingClientRect();
|
|
93622
93658
|
return "none" === n3 || 0 === r3 || 0 === o3;
|
|
93623
93659
|
}
|
|
93624
|
-
function
|
|
93660
|
+
function ql(e3) {
|
|
93625
93661
|
try {
|
|
93626
93662
|
return ol(Ys(e3.toLowerCase(), { context: "mediaQueryList" })).children.some((e4) => {
|
|
93627
|
-
const t3 =
|
|
93663
|
+
const t3 = Wl(e4);
|
|
93628
93664
|
return e4.mediaType && t3.unshift(e4), t3.every((e5) => {
|
|
93629
93665
|
var t4, n3;
|
|
93630
93666
|
return !(e5.modifier && !["not", "only"].includes(e5.modifier)) && ("Feature" === e5.type || ("Identifier" !== e5.type && "MediaQuery" !== e5.type || !["all", "screen"].includes(null !== (n3 = null !== (t4 = e5.name) && void 0 !== t4 ? t4 : e5.mediaType) && void 0 !== n3 ? n3 : "") ? e5.modifier && "not" === e5.modifier : !e5.modifier || "not" !== e5.modifier));
|
|
@@ -93634,19 +93670,19 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93634
93670
|
return false;
|
|
93635
93671
|
}
|
|
93636
93672
|
}
|
|
93637
|
-
function
|
|
93673
|
+
function Wl(e3) {
|
|
93638
93674
|
var t3, n3;
|
|
93639
93675
|
const r3 = [];
|
|
93640
93676
|
if (e3.condition)
|
|
93641
|
-
r3.push(...
|
|
93677
|
+
r3.push(...Wl(e3.condition));
|
|
93642
93678
|
else {
|
|
93643
|
-
const o3 = null !== (n3 = null === (t3 = e3.children) || void 0 === t3 ? void 0 : t3.reduce((e4, t4) => ("Condition" === t4.type ? e4.push(...
|
|
93679
|
+
const o3 = null !== (n3 = null === (t3 = e3.children) || void 0 === t3 ? void 0 : t3.reduce((e4, t4) => ("Condition" === t4.type ? e4.push(...Wl(t4)) : "Identifier" === t4.type && "and" === t4.name || e4.push(t4), e4), [])) && void 0 !== n3 ? n3 : [];
|
|
93644
93680
|
r3.push(...o3);
|
|
93645
93681
|
}
|
|
93646
93682
|
return r3;
|
|
93647
93683
|
}
|
|
93648
|
-
const
|
|
93649
|
-
function
|
|
93684
|
+
const $l = Symbol("raw");
|
|
93685
|
+
function Vl(e3) {
|
|
93650
93686
|
const t3 = function(e4) {
|
|
93651
93687
|
if ("undefined" == typeof window)
|
|
93652
93688
|
return null;
|
|
@@ -93654,7 +93690,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93654
93690
|
return window[t4];
|
|
93655
93691
|
}(e3);
|
|
93656
93692
|
return t3 ? (n3 = e3, r3 = t3.prototype, new Proxy(Object.create(n3), { get(e4, t4, o3) {
|
|
93657
|
-
if (t4 ===
|
|
93693
|
+
if (t4 === $l)
|
|
93658
93694
|
return n3;
|
|
93659
93695
|
const i3 = Reflect.get(r3, t4, n3);
|
|
93660
93696
|
return "function" == typeof i3 ? function() {
|
|
@@ -93663,15 +93699,15 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93663
93699
|
} })) : e3;
|
|
93664
93700
|
var n3, r3;
|
|
93665
93701
|
}
|
|
93666
|
-
|
|
93667
|
-
return e3[
|
|
93702
|
+
Vl.unwrap = function(e3) {
|
|
93703
|
+
return e3[$l] || e3;
|
|
93668
93704
|
};
|
|
93669
|
-
const
|
|
93670
|
-
function
|
|
93705
|
+
const Zl = /* @__PURE__ */ new Set(["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week", "range"]), Kl = /^on[a-z]+$/;
|
|
93706
|
+
function Hl(e3, t3, n3) {
|
|
93671
93707
|
const r3 = [{ nodeType: Node.DOCUMENT_NODE }], o3 = [e3], i3 = [], a3 = [], s3 = [], l2 = [];
|
|
93672
93708
|
let c2 = [];
|
|
93673
93709
|
const u2 = [], h2 = [];
|
|
93674
|
-
return r3[0].childNodeIndexes = p2(r3, e3.childNodes), e3.adoptedStyleSheets && e3.adoptedStyleSheets.length > 0 && (r3[0].exp_adoptedStyleSheets =
|
|
93710
|
+
return r3[0].childNodeIndexes = p2(r3, e3.childNodes), e3.adoptedStyleSheets && e3.adoptedStyleSheets.length > 0 && (r3[0].exp_adoptedStyleSheets = Xl(e3, n3)), { cdt: r3, docRoots: o3, canvasElements: i3, frames: s3, inlineFrames: a3, crossFrames: l2, linkUrls: c2, imageBlobs: u2, videoBlobs: h2 };
|
|
93675
93711
|
function p2(e4, t4) {
|
|
93676
93712
|
if (!t4 || 0 === t4.length)
|
|
93677
93713
|
return null;
|
|
@@ -93683,29 +93719,29 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93683
93719
|
}
|
|
93684
93720
|
function m2(e4, r4) {
|
|
93685
93721
|
var f2;
|
|
93686
|
-
const g2 =
|
|
93722
|
+
const g2 = Vl(r4);
|
|
93687
93723
|
let b2;
|
|
93688
93724
|
if ([Node.ELEMENT_NODE, Node.DOCUMENT_FRAGMENT_NODE].includes(g2.nodeType)) {
|
|
93689
93725
|
if (g2.hasAttribute && g2.hasAttribute("data-applitools-skip"))
|
|
93690
93726
|
return null;
|
|
93691
|
-
if (["LINK", "STYLE", "SOURCE"].includes(g2.nodeName) && (null === (f2 = g2.media) || void 0 === f2 ? void 0 : f2.trim()) && !
|
|
93727
|
+
if (["LINK", "STYLE", "SOURCE"].includes(g2.nodeName) && (null === (f2 = g2.media) || void 0 === f2 ? void 0 : f2.trim()) && !ql(g2.media))
|
|
93692
93728
|
return null;
|
|
93693
93729
|
if ("SCRIPT" === g2.nodeName)
|
|
93694
93730
|
b2 = function(e5) {
|
|
93695
|
-
return { nodeType: Node.ELEMENT_NODE, nodeName: "SCRIPT", attributes:
|
|
93731
|
+
return { nodeType: Node.ELEMENT_NODE, nodeName: "SCRIPT", attributes: Gl(e5).map((t4) => {
|
|
93696
93732
|
const n4 = e5.attributes[t4].name;
|
|
93697
|
-
return { name: n4, value:
|
|
93733
|
+
return { name: n4, value: Kl.test(n4) ? "" : e5.attributes[t4].value };
|
|
93698
93734
|
}).filter((e6) => "src" !== e6.name), childNodeIndexes: [] };
|
|
93699
93735
|
}(g2);
|
|
93700
93736
|
else {
|
|
93701
93737
|
const c3 = g2.shadowRoot && g2.shadowRoot.childNodes.length && "ShadowRoot" !== g2.shadowRoot.constructor.name;
|
|
93702
93738
|
if (b2 = function(e5) {
|
|
93703
93739
|
var t4, n4, r5;
|
|
93704
|
-
const o4 = { nodeType: e5.nodeType, nodeName: e5.nodeName, attributes:
|
|
93740
|
+
const o4 = { nodeType: e5.nodeType, nodeName: e5.nodeName, attributes: Gl(e5).map((t5) => {
|
|
93705
93741
|
let n5 = e5.attributes[t5].value;
|
|
93706
93742
|
const r6 = e5.attributes[t5].name;
|
|
93707
|
-
return n5.includes("blob:") ? n5 = n5.replace(/blob:/g, "") :
|
|
93708
|
-
const t6 = { type: "DeclarationList", children:
|
|
93743
|
+
return n5.includes("blob:") ? n5 = n5.replace(/blob:/g, "") : Kl.test(r6) ? n5 = "" : "IFRAME" === e5.nodeName && d(e5) && "src" === r6 && "about:blank" !== e5.contentDocument.location.href && e5.contentDocument.location.href !== y(n5, e5.ownerDocument.location.href) ? n5 = e5.contentDocument.location.href : "style" === r6 && (n5 = function(e6) {
|
|
93744
|
+
const t6 = { type: "DeclarationList", children: fl(e6) };
|
|
93709
93745
|
return Xs(t6);
|
|
93710
93746
|
}(e5.style)), { name: r6, value: n5 };
|
|
93711
93747
|
}) };
|
|
@@ -93716,44 +93752,44 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93716
93752
|
}
|
|
93717
93753
|
!e5.attributes.getNamedItem("checked") && e5.checked && o4.attributes.push({ name: "checked" }), e5.indeterminate && o4.attributes.push({ name: "data-applitools-js-properties", value: JSON.stringify({ indeterminate: true }) });
|
|
93718
93754
|
}
|
|
93719
|
-
if ("INPUT" === e5.tagName &&
|
|
93755
|
+
if ("INPUT" === e5.tagName && Zl.has(e5.type)) {
|
|
93720
93756
|
const i4 = null !== e5.attributes.getNamedItem("value"), a4 = null !== (n4 = null === (t4 = e5.attributes.getNamedItem("value")) || void 0 === t4 ? void 0 : t4.value) && void 0 !== n4 ? n4 : "", s4 = null !== (r5 = e5.value) && void 0 !== r5 ? r5 : "";
|
|
93721
|
-
i4 && a4 === s4 ||
|
|
93757
|
+
i4 && a4 === s4 || Yl(o4.attributes, "value", s4);
|
|
93722
93758
|
}
|
|
93723
|
-
return "OPTION" === e5.tagName && e5.parentElement && e5.parentElement.selectedOptions && Array.from(e5.parentElement.selectedOptions).indexOf(
|
|
93759
|
+
return "OPTION" === e5.tagName && e5.parentElement && e5.parentElement.selectedOptions && Array.from(e5.parentElement.selectedOptions).indexOf(Vl.unwrap(e5)) > -1 && Yl(o4.attributes, "selected", ""), "STYLE" === e5.tagName && e5.sheet && e5.sheet.disabled && o4.attributes.push({ name: "data-applitools-disabled", value: "" }), "LINK" === e5.tagName && "text/css" === e5.type && e5.sheet && e5.sheet.disabled && Yl(o4.attributes, "disabled", ""), o4;
|
|
93724
93760
|
}(g2), "STYLE" === g2.nodeName && g2.sheet && g2.sheet.cssRules.length ? (e4.push(function(e5, t4, n4) {
|
|
93725
93761
|
const r5 = (o4 = e5, function(e6) {
|
|
93726
93762
|
return t5 = function(e7) {
|
|
93727
93763
|
const t6 = e7.length, n5 = [1732584193, -271733879, -1732584194, 271733878];
|
|
93728
93764
|
let r6;
|
|
93729
93765
|
for (r6 = 64; r6 <= e7.length; r6 += 64)
|
|
93730
|
-
|
|
93766
|
+
Tl(n5, jl(e7.substring(r6 - 64, r6)));
|
|
93731
93767
|
e7 = e7.substring(r6 - 64);
|
|
93732
93768
|
const o5 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
|
|
93733
93769
|
for (r6 = 0; r6 < e7.length; r6++)
|
|
93734
93770
|
o5[r6 >> 2] |= e7.charCodeAt(r6) << (r6 % 4 << 3);
|
|
93735
93771
|
if (o5[r6 >> 2] |= 128 << (r6 % 4 << 3), r6 > 55)
|
|
93736
|
-
for (
|
|
93772
|
+
for (Tl(n5, o5), r6 = 0; r6 < 16; r6++)
|
|
93737
93773
|
o5[r6] = 0;
|
|
93738
|
-
return o5[14] = 8 * t6,
|
|
93739
|
-
}(e6), t5.map(
|
|
93774
|
+
return o5[14] = 8 * t6, Tl(n5, o5), n5;
|
|
93775
|
+
}(e6), t5.map(Dl).join("");
|
|
93740
93776
|
var t5;
|
|
93741
93777
|
}(Array.prototype.map.call(o4.sheet.cssRules, (e6) => e6.cssText).join("")));
|
|
93742
93778
|
var o4;
|
|
93743
|
-
return n4.__dsNodeCache && n4.__dsNodeCache.key === r5 ? t4.log("[domNodesToCdt] using cache for inline css of",
|
|
93779
|
+
return n4.__dsNodeCache && n4.__dsNodeCache.key === r5 ? t4.log("[domNodesToCdt] using cache for inline css of", zl(e5)) : n4.__dsNodeCache = { key: r5, value: Al(e5, t4) }, { nodeType: Node.TEXT_NODE, nodeValue: n4.__dsNodeCache.value };
|
|
93744
93780
|
}(g2, n3, r4)), b2.childNodeIndexes = [e4.length - 1]) : "TEXTAREA" === g2.tagName && g2.value !== g2.textContent ? (e4.push(function(e5) {
|
|
93745
93781
|
return { nodeType: Node.TEXT_NODE, nodeValue: e5.value };
|
|
93746
93782
|
}(g2)), b2.childNodeIndexes = [e4.length - 1]) : b2.childNodeIndexes = !c3 && g2.childNodes.length ? p2(e4, g2.childNodes) : [], c3 && "SLOT" === g2.tagName && "function" == typeof g2.assignedNodes) {
|
|
93747
93783
|
const t4 = g2.assignedNodes();
|
|
93748
93784
|
b2.childNodeIndexes = b2.childNodeIndexes || [], b2.childNodeIndexes = t4.length ? b2.childNodeIndexes.concat(p2(e4, t4)) : b2.childNodeIndexes;
|
|
93749
93785
|
}
|
|
93750
|
-
if (g2.shadowRoot && (c3 ? b2.childNodeIndexes = b2.childNodeIndexes.concat(p2(e4, g2.shadowRoot.childNodes)) : (b2.shadowRootIndex = m2(e4, g2.shadowRoot), o3.push(g2.shadowRoot))), "CANVAS" === g2.nodeName && !
|
|
93786
|
+
if (g2.shadowRoot && (c3 ? b2.childNodeIndexes = b2.childNodeIndexes.concat(p2(e4, g2.shadowRoot.childNodes)) : (b2.shadowRootIndex = m2(e4, g2.shadowRoot), o3.push(g2.shadowRoot))), "CANVAS" === g2.nodeName && !Ml(r4)) {
|
|
93751
93787
|
const e5 = y(`applitools-canvas-${S()}.png`, t3);
|
|
93752
93788
|
b2.attributes.push({ name: "data-applitools-src", value: e5 }), i3.push({ element: g2, cdtNode: b2, url: e5 });
|
|
93753
93789
|
}
|
|
93754
93790
|
if ("IFRAME" === g2.nodeName) {
|
|
93755
93791
|
const n4 = S();
|
|
93756
|
-
if (g2.setAttribute("data-applitools-selector", n4.toString()),
|
|
93792
|
+
if (g2.setAttribute("data-applitools-selector", n4.toString()), Ml(r4))
|
|
93757
93793
|
b2.attributes.forEach((e5) => {
|
|
93758
93794
|
"src" !== e5.name && "srcdoc" !== e5.name || (b2.attributes.push({ name: `data-applitools-original-${e5.name}`, value: e5.value }), e5.value = "");
|
|
93759
93795
|
});
|
|
@@ -93770,7 +93806,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93770
93806
|
l2.push({ selector: t4, index: e4.length });
|
|
93771
93807
|
}
|
|
93772
93808
|
}
|
|
93773
|
-
g2.adoptedStyleSheets && g2.adoptedStyleSheets.length > 0 && (b2.exp_adoptedStyleSheets =
|
|
93809
|
+
g2.adoptedStyleSheets && g2.adoptedStyleSheets.length > 0 && (b2.exp_adoptedStyleSheets = Xl(g2, n3));
|
|
93774
93810
|
}
|
|
93775
93811
|
if (g2.nodeType === Node.ELEMENT_NODE) {
|
|
93776
93812
|
const e5 = function(e6) {
|
|
@@ -93784,7 +93820,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93784
93820
|
for (; (a4 = o4.exec(t6)) && (r6.push(n5(a4)), i4); )
|
|
93785
93821
|
;
|
|
93786
93822
|
return r6;
|
|
93787
|
-
}(
|
|
93823
|
+
}(Ul, t5, (e7) => e7[1]));
|
|
93788
93824
|
}
|
|
93789
93825
|
if (t4('img[src],source[src],input[type="image"][src],audio[src],video[src]')) {
|
|
93790
93826
|
const t5 = e6.getAttribute("src");
|
|
@@ -93815,7 +93851,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93815
93851
|
}
|
|
93816
93852
|
const r5 = function(e7) {
|
|
93817
93853
|
if (e7.hasAttribute("style"))
|
|
93818
|
-
return
|
|
93854
|
+
return Fl(e7.style);
|
|
93819
93855
|
}(e6);
|
|
93820
93856
|
return r5 && (n4 = n4.concat(r5)), n4;
|
|
93821
93857
|
}(g2);
|
|
@@ -93837,27 +93873,27 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93837
93873
|
return b2 ? (e4.push(b2), e4.length - 1) : null;
|
|
93838
93874
|
}
|
|
93839
93875
|
}
|
|
93840
|
-
function
|
|
93876
|
+
function Gl(e3) {
|
|
93841
93877
|
return Object.keys(e3.attributes || {}).filter((t3) => e3.attributes[t3] && e3.attributes[t3].name);
|
|
93842
93878
|
}
|
|
93843
|
-
function
|
|
93879
|
+
function Yl(e3, t3, n3) {
|
|
93844
93880
|
const r3 = e3.find((e4) => e4.name === t3);
|
|
93845
93881
|
r3 ? r3.value = n3 : e3.push({ name: t3, value: n3 });
|
|
93846
93882
|
}
|
|
93847
|
-
function
|
|
93848
|
-
return Array.from(e3.adoptedStyleSheets).map((
|
|
93849
|
-
const
|
|
93850
|
-
return Xs(il({ type: "StyleSheet", children:
|
|
93851
|
-
}(
|
|
93883
|
+
function Xl(e3, t3) {
|
|
93884
|
+
return Array.from(e3.adoptedStyleSheets).map((n3) => function(e4, t4, n4) {
|
|
93885
|
+
const r3 = yl(e4.cssRules, t4, n4);
|
|
93886
|
+
return Xs(il({ type: "StyleSheet", children: r3 }));
|
|
93887
|
+
}(n3, t3, e3));
|
|
93852
93888
|
}
|
|
93853
|
-
function
|
|
93889
|
+
function Ql(e3) {
|
|
93854
93890
|
const t3 = [];
|
|
93855
93891
|
return new Set(e3).forEach((e4) => e4 && t3.push(e4)), t3;
|
|
93856
93892
|
}
|
|
93857
|
-
function
|
|
93858
|
-
return e3.reduce(({ resourceUrls: e4, blobsObj: t3 }, { resourceUrls: n3, blobsObj: r3 }) => ({ resourceUrls:
|
|
93893
|
+
function Jl(e3) {
|
|
93894
|
+
return e3.reduce(({ resourceUrls: e4, blobsObj: t3 }, { resourceUrls: n3, blobsObj: r3 }) => ({ resourceUrls: Ql(e4.concat(n3)), blobsObj: Object.assign(t3, r3) }), { resourceUrls: [], blobsObj: {} });
|
|
93859
93895
|
}
|
|
93860
|
-
var
|
|
93896
|
+
var ec = {};
|
|
93861
93897
|
!function(e3) {
|
|
93862
93898
|
var t3 = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array;
|
|
93863
93899
|
function n3(e4, t4) {
|
|
@@ -93899,102 +93935,102 @@ var require_processPagePollCjs = __commonJS({
|
|
|
93899
93935
|
e3.setTyped = function(t4) {
|
|
93900
93936
|
t4 ? (e3.Buf8 = Uint8Array, e3.Buf16 = Uint16Array, e3.Buf32 = Int32Array, e3.assign(e3, r3)) : (e3.Buf8 = Array, e3.Buf16 = Array, e3.Buf32 = Array, e3.assign(e3, o3));
|
|
93901
93937
|
}, e3.setTyped(t3);
|
|
93902
|
-
}(
|
|
93903
|
-
var
|
|
93904
|
-
function
|
|
93938
|
+
}(ec);
|
|
93939
|
+
var tc = {}, nc = {}, rc = {}, oc = ec;
|
|
93940
|
+
function ic(e3) {
|
|
93905
93941
|
for (var t3 = e3.length; --t3 >= 0; )
|
|
93906
93942
|
e3[t3] = 0;
|
|
93907
93943
|
}
|
|
93908
|
-
var
|
|
93909
|
-
|
|
93910
|
-
var
|
|
93911
|
-
|
|
93912
|
-
var
|
|
93913
|
-
|
|
93914
|
-
var
|
|
93915
|
-
|
|
93916
|
-
var
|
|
93917
|
-
|
|
93918
|
-
var
|
|
93919
|
-
function
|
|
93944
|
+
var ac = 256, sc = 286, lc = 30, cc = 15, uc = 16, hc = [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], dc = [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], pc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], mc = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], fc = new Array(576);
|
|
93945
|
+
ic(fc);
|
|
93946
|
+
var gc = new Array(60);
|
|
93947
|
+
ic(gc);
|
|
93948
|
+
var bc = new Array(512);
|
|
93949
|
+
ic(bc);
|
|
93950
|
+
var yc = new Array(256);
|
|
93951
|
+
ic(yc);
|
|
93952
|
+
var kc = new Array(29);
|
|
93953
|
+
ic(kc);
|
|
93954
|
+
var wc, vc, xc, _c = new Array(lc);
|
|
93955
|
+
function Sc(e3, t3, n3, r3, o3) {
|
|
93920
93956
|
this.static_tree = e3, this.extra_bits = t3, this.extra_base = n3, this.elems = r3, this.max_length = o3, this.has_stree = e3 && e3.length;
|
|
93921
93957
|
}
|
|
93922
|
-
function
|
|
93958
|
+
function Cc(e3, t3) {
|
|
93923
93959
|
this.dyn_tree = e3, this.max_code = 0, this.stat_desc = t3;
|
|
93924
93960
|
}
|
|
93925
|
-
function
|
|
93926
|
-
return e3 < 256 ?
|
|
93961
|
+
function zc(e3) {
|
|
93962
|
+
return e3 < 256 ? bc[e3] : bc[256 + (e3 >>> 7)];
|
|
93927
93963
|
}
|
|
93928
|
-
function
|
|
93964
|
+
function Ac(e3, t3) {
|
|
93929
93965
|
e3.pending_buf[e3.pending++] = 255 & t3, e3.pending_buf[e3.pending++] = t3 >>> 8 & 255;
|
|
93930
93966
|
}
|
|
93931
|
-
function Ac(e3, t3, n3) {
|
|
93932
|
-
e3.bi_valid > cc - n3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, zc(e3, e3.bi_buf), e3.bi_buf = t3 >> cc - e3.bi_valid, e3.bi_valid += n3 - cc) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += n3);
|
|
93933
|
-
}
|
|
93934
93967
|
function Tc(e3, t3, n3) {
|
|
93935
|
-
Ac(e3,
|
|
93968
|
+
e3.bi_valid > uc - n3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, Ac(e3, e3.bi_buf), e3.bi_buf = t3 >> uc - e3.bi_valid, e3.bi_valid += n3 - uc) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += n3);
|
|
93969
|
+
}
|
|
93970
|
+
function Oc(e3, t3, n3) {
|
|
93971
|
+
Tc(e3, n3[2 * t3], n3[2 * t3 + 1]);
|
|
93936
93972
|
}
|
|
93937
|
-
function
|
|
93973
|
+
function Lc(e3, t3) {
|
|
93938
93974
|
var n3 = 0;
|
|
93939
93975
|
do {
|
|
93940
93976
|
n3 |= 1 & e3, e3 >>>= 1, n3 <<= 1;
|
|
93941
93977
|
} while (--t3 > 0);
|
|
93942
93978
|
return n3 >>> 1;
|
|
93943
93979
|
}
|
|
93944
|
-
function
|
|
93945
|
-
var r3, o3, i3 = new Array(
|
|
93946
|
-
for (r3 = 1; r3 <=
|
|
93980
|
+
function Ec(e3, t3, n3) {
|
|
93981
|
+
var r3, o3, i3 = new Array(cc + 1), a3 = 0;
|
|
93982
|
+
for (r3 = 1; r3 <= cc; r3++)
|
|
93947
93983
|
i3[r3] = a3 = a3 + n3[r3 - 1] << 1;
|
|
93948
93984
|
for (o3 = 0; o3 <= t3; o3++) {
|
|
93949
93985
|
var s3 = e3[2 * o3 + 1];
|
|
93950
|
-
0 !== s3 && (e3[2 * o3] =
|
|
93986
|
+
0 !== s3 && (e3[2 * o3] = Lc(i3[s3]++, s3));
|
|
93951
93987
|
}
|
|
93952
93988
|
}
|
|
93953
|
-
function
|
|
93989
|
+
function Rc(e3) {
|
|
93954
93990
|
var t3;
|
|
93955
|
-
for (t3 = 0; t3 < ac; t3++)
|
|
93956
|
-
e3.dyn_ltree[2 * t3] = 0;
|
|
93957
93991
|
for (t3 = 0; t3 < sc; t3++)
|
|
93992
|
+
e3.dyn_ltree[2 * t3] = 0;
|
|
93993
|
+
for (t3 = 0; t3 < lc; t3++)
|
|
93958
93994
|
e3.dyn_dtree[2 * t3] = 0;
|
|
93959
93995
|
for (t3 = 0; t3 < 19; t3++)
|
|
93960
93996
|
e3.bl_tree[2 * t3] = 0;
|
|
93961
93997
|
e3.dyn_ltree[512] = 1, e3.opt_len = e3.static_len = 0, e3.last_lit = e3.matches = 0;
|
|
93962
93998
|
}
|
|
93963
|
-
function
|
|
93964
|
-
e3.bi_valid > 8 ?
|
|
93999
|
+
function Nc(e3) {
|
|
94000
|
+
e3.bi_valid > 8 ? Ac(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0;
|
|
93965
94001
|
}
|
|
93966
|
-
function
|
|
94002
|
+
function jc(e3, t3, n3, r3) {
|
|
93967
94003
|
var o3 = 2 * t3, i3 = 2 * n3;
|
|
93968
94004
|
return e3[o3] < e3[i3] || e3[o3] === e3[i3] && r3[t3] <= r3[n3];
|
|
93969
94005
|
}
|
|
93970
|
-
function
|
|
93971
|
-
for (var r3 = e3.heap[n3], o3 = n3 << 1; o3 <= e3.heap_len && (o3 < e3.heap_len &&
|
|
94006
|
+
function Ic(e3, t3, n3) {
|
|
94007
|
+
for (var r3 = e3.heap[n3], o3 = n3 << 1; o3 <= e3.heap_len && (o3 < e3.heap_len && jc(t3, e3.heap[o3 + 1], e3.heap[o3], e3.depth) && o3++, !jc(t3, r3, e3.heap[o3], e3.depth)); )
|
|
93972
94008
|
e3.heap[n3] = e3.heap[o3], n3 = o3, o3 <<= 1;
|
|
93973
94009
|
e3.heap[n3] = r3;
|
|
93974
94010
|
}
|
|
93975
|
-
function
|
|
94011
|
+
function Dc(e3, t3, n3) {
|
|
93976
94012
|
var r3, o3, i3, a3, s3 = 0;
|
|
93977
94013
|
if (0 !== e3.last_lit)
|
|
93978
94014
|
do {
|
|
93979
|
-
r3 = e3.pending_buf[e3.d_buf + 2 * s3] << 8 | e3.pending_buf[e3.d_buf + 2 * s3 + 1], o3 = e3.pending_buf[e3.l_buf + s3], s3++, 0 === r3 ?
|
|
94015
|
+
r3 = e3.pending_buf[e3.d_buf + 2 * s3] << 8 | e3.pending_buf[e3.d_buf + 2 * s3 + 1], o3 = e3.pending_buf[e3.l_buf + s3], s3++, 0 === r3 ? Oc(e3, o3, t3) : (Oc(e3, (i3 = yc[o3]) + ac + 1, t3), 0 !== (a3 = hc[i3]) && Tc(e3, o3 -= kc[i3], a3), Oc(e3, i3 = zc(--r3), n3), 0 !== (a3 = dc[i3]) && Tc(e3, r3 -= _c[i3], a3));
|
|
93980
94016
|
} while (s3 < e3.last_lit);
|
|
93981
|
-
|
|
94017
|
+
Oc(e3, 256, t3);
|
|
93982
94018
|
}
|
|
93983
|
-
function
|
|
94019
|
+
function Pc(e3, t3) {
|
|
93984
94020
|
var n3, r3, o3, i3 = t3.dyn_tree, a3 = t3.stat_desc.static_tree, s3 = t3.stat_desc.has_stree, l2 = t3.stat_desc.elems, c2 = -1;
|
|
93985
94021
|
for (e3.heap_len = 0, e3.heap_max = 573, n3 = 0; n3 < l2; n3++)
|
|
93986
94022
|
0 !== i3[2 * n3] ? (e3.heap[++e3.heap_len] = c2 = n3, e3.depth[n3] = 0) : i3[2 * n3 + 1] = 0;
|
|
93987
94023
|
for (; e3.heap_len < 2; )
|
|
93988
94024
|
i3[2 * (o3 = e3.heap[++e3.heap_len] = c2 < 2 ? ++c2 : 0)] = 1, e3.depth[o3] = 0, e3.opt_len--, s3 && (e3.static_len -= a3[2 * o3 + 1]);
|
|
93989
94025
|
for (t3.max_code = c2, n3 = e3.heap_len >> 1; n3 >= 1; n3--)
|
|
93990
|
-
|
|
94026
|
+
Ic(e3, i3, n3);
|
|
93991
94027
|
o3 = l2;
|
|
93992
94028
|
do {
|
|
93993
|
-
n3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--],
|
|
94029
|
+
n3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], Ic(e3, i3, 1), r3 = e3.heap[1], e3.heap[--e3.heap_max] = n3, e3.heap[--e3.heap_max] = r3, i3[2 * o3] = i3[2 * n3] + i3[2 * r3], e3.depth[o3] = (e3.depth[n3] >= e3.depth[r3] ? e3.depth[n3] : e3.depth[r3]) + 1, i3[2 * n3 + 1] = i3[2 * r3 + 1] = o3, e3.heap[1] = o3++, Ic(e3, i3, 1);
|
|
93994
94030
|
} while (e3.heap_len >= 2);
|
|
93995
94031
|
e3.heap[--e3.heap_max] = e3.heap[1], function(e4, t4) {
|
|
93996
94032
|
var n4, r4, o4, i4, a4, s4, l3 = t4.dyn_tree, c3 = t4.max_code, u2 = t4.stat_desc.static_tree, h2 = t4.stat_desc.has_stree, d2 = t4.stat_desc.extra_bits, p2 = t4.stat_desc.extra_base, m2 = t4.stat_desc.max_length, f2 = 0;
|
|
93997
|
-
for (i4 = 0; i4 <=
|
|
94033
|
+
for (i4 = 0; i4 <= cc; i4++)
|
|
93998
94034
|
e4.bl_count[i4] = 0;
|
|
93999
94035
|
for (l3[2 * e4.heap[e4.heap_max] + 1] = 0, n4 = e4.heap_max + 1; n4 < 573; n4++)
|
|
94000
94036
|
(i4 = l3[2 * l3[2 * (r4 = e4.heap[n4]) + 1] + 1] + 1) > m2 && (i4 = m2, f2++), l3[2 * r4 + 1] = i4, r4 > c3 || (e4.bl_count[i4]++, a4 = 0, r4 >= p2 && (a4 = d2[r4 - p2]), s4 = l3[2 * r4], e4.opt_len += s4 * (i4 + a4), h2 && (e4.static_len += s4 * (u2[2 * r4 + 1] + a4)));
|
|
@@ -94008,60 +94044,60 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94008
94044
|
for (r4 = e4.bl_count[i4]; 0 !== r4; )
|
|
94009
94045
|
(o4 = e4.heap[--n4]) > c3 || (l3[2 * o4 + 1] !== i4 && (e4.opt_len += (i4 - l3[2 * o4 + 1]) * l3[2 * o4], l3[2 * o4 + 1] = i4), r4--);
|
|
94010
94046
|
}
|
|
94011
|
-
}(e3, t3),
|
|
94047
|
+
}(e3, t3), Ec(i3, c2, e3.bl_count);
|
|
94012
94048
|
}
|
|
94013
|
-
function
|
|
94049
|
+
function Bc(e3, t3, n3) {
|
|
94014
94050
|
var r3, o3, i3 = -1, a3 = t3[1], s3 = 0, l2 = 7, c2 = 4;
|
|
94015
94051
|
for (0 === a3 && (l2 = 138, c2 = 3), t3[2 * (n3 + 1) + 1] = 65535, r3 = 0; r3 <= n3; r3++)
|
|
94016
94052
|
o3 = a3, a3 = t3[2 * (r3 + 1) + 1], ++s3 < l2 && o3 === a3 || (s3 < c2 ? e3.bl_tree[2 * o3] += s3 : 0 !== o3 ? (o3 !== i3 && e3.bl_tree[2 * o3]++, e3.bl_tree[32]++) : s3 <= 10 ? e3.bl_tree[34]++ : e3.bl_tree[36]++, s3 = 0, i3 = o3, 0 === a3 ? (l2 = 138, c2 = 3) : o3 === a3 ? (l2 = 6, c2 = 3) : (l2 = 7, c2 = 4));
|
|
94017
94053
|
}
|
|
94018
|
-
function
|
|
94054
|
+
function Fc(e3, t3, n3) {
|
|
94019
94055
|
var r3, o3, i3 = -1, a3 = t3[1], s3 = 0, l2 = 7, c2 = 4;
|
|
94020
94056
|
for (0 === a3 && (l2 = 138, c2 = 3), r3 = 0; r3 <= n3; r3++)
|
|
94021
94057
|
if (o3 = a3, a3 = t3[2 * (r3 + 1) + 1], !(++s3 < l2 && o3 === a3)) {
|
|
94022
94058
|
if (s3 < c2)
|
|
94023
94059
|
do {
|
|
94024
|
-
|
|
94060
|
+
Oc(e3, o3, e3.bl_tree);
|
|
94025
94061
|
} while (0 != --s3);
|
|
94026
94062
|
else
|
|
94027
|
-
0 !== o3 ? (o3 !== i3 && (
|
|
94063
|
+
0 !== o3 ? (o3 !== i3 && (Oc(e3, o3, e3.bl_tree), s3--), Oc(e3, 16, e3.bl_tree), Tc(e3, s3 - 3, 2)) : s3 <= 10 ? (Oc(e3, 17, e3.bl_tree), Tc(e3, s3 - 3, 3)) : (Oc(e3, 18, e3.bl_tree), Tc(e3, s3 - 11, 7));
|
|
94028
94064
|
s3 = 0, i3 = o3, 0 === a3 ? (l2 = 138, c2 = 3) : o3 === a3 ? (l2 = 6, c2 = 3) : (l2 = 7, c2 = 4);
|
|
94029
94065
|
}
|
|
94030
94066
|
}
|
|
94031
|
-
|
|
94032
|
-
var
|
|
94033
|
-
function
|
|
94034
|
-
|
|
94035
|
-
|
|
94067
|
+
ic(_c);
|
|
94068
|
+
var Uc = false;
|
|
94069
|
+
function Mc(e3, t3, n3, r3) {
|
|
94070
|
+
Tc(e3, 0 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
|
|
94071
|
+
Nc(e4), Ac(e4, n4), Ac(e4, ~n4), oc.arraySet(e4.pending_buf, e4.window, t4, n4, e4.pending), e4.pending += n4;
|
|
94036
94072
|
}(e3, t3, n3);
|
|
94037
94073
|
}
|
|
94038
|
-
|
|
94039
|
-
|
|
94040
|
-
var e4, t3, n3, r3, o3, i3 = new Array(
|
|
94074
|
+
rc._tr_init = function(e3) {
|
|
94075
|
+
Uc || (function() {
|
|
94076
|
+
var e4, t3, n3, r3, o3, i3 = new Array(cc + 1);
|
|
94041
94077
|
for (n3 = 0, r3 = 0; r3 < 28; r3++)
|
|
94042
|
-
for (
|
|
94043
|
-
|
|
94044
|
-
for (
|
|
94045
|
-
for (
|
|
94046
|
-
|
|
94047
|
-
for (o3 >>= 7; r3 <
|
|
94048
|
-
for (
|
|
94049
|
-
|
|
94050
|
-
for (t3 = 0; t3 <=
|
|
94078
|
+
for (kc[r3] = n3, e4 = 0; e4 < 1 << hc[r3]; e4++)
|
|
94079
|
+
yc[n3++] = r3;
|
|
94080
|
+
for (yc[n3 - 1] = r3, o3 = 0, r3 = 0; r3 < 16; r3++)
|
|
94081
|
+
for (_c[r3] = o3, e4 = 0; e4 < 1 << dc[r3]; e4++)
|
|
94082
|
+
bc[o3++] = r3;
|
|
94083
|
+
for (o3 >>= 7; r3 < lc; r3++)
|
|
94084
|
+
for (_c[r3] = o3 << 7, e4 = 0; e4 < 1 << dc[r3] - 7; e4++)
|
|
94085
|
+
bc[256 + o3++] = r3;
|
|
94086
|
+
for (t3 = 0; t3 <= cc; t3++)
|
|
94051
94087
|
i3[t3] = 0;
|
|
94052
94088
|
for (e4 = 0; e4 <= 143; )
|
|
94053
|
-
|
|
94089
|
+
fc[2 * e4 + 1] = 8, e4++, i3[8]++;
|
|
94054
94090
|
for (; e4 <= 255; )
|
|
94055
|
-
|
|
94091
|
+
fc[2 * e4 + 1] = 9, e4++, i3[9]++;
|
|
94056
94092
|
for (; e4 <= 279; )
|
|
94057
|
-
|
|
94093
|
+
fc[2 * e4 + 1] = 7, e4++, i3[7]++;
|
|
94058
94094
|
for (; e4 <= 287; )
|
|
94059
|
-
|
|
94060
|
-
for (
|
|
94061
|
-
|
|
94062
|
-
|
|
94063
|
-
}(),
|
|
94064
|
-
},
|
|
94095
|
+
fc[2 * e4 + 1] = 8, e4++, i3[8]++;
|
|
94096
|
+
for (Ec(fc, 287, i3), e4 = 0; e4 < lc; e4++)
|
|
94097
|
+
gc[2 * e4 + 1] = 5, gc[2 * e4] = Lc(e4, 5);
|
|
94098
|
+
wc = new Sc(fc, hc, 257, sc, cc), vc = new Sc(gc, dc, 0, lc, cc), xc = new Sc(new Array(0), pc, 0, 19, 7);
|
|
94099
|
+
}(), Uc = true), e3.l_desc = new Cc(e3.dyn_ltree, wc), e3.d_desc = new Cc(e3.dyn_dtree, vc), e3.bl_desc = new Cc(e3.bl_tree, xc), e3.bi_buf = 0, e3.bi_valid = 0, Rc(e3);
|
|
94100
|
+
}, rc._tr_stored_block = Mc, rc._tr_flush_block = function(e3, t3, n3, r3) {
|
|
94065
94101
|
var o3, i3, a3 = 0;
|
|
94066
94102
|
e3.level > 0 ? (2 === e3.strm.data_type && (e3.strm.data_type = function(e4) {
|
|
94067
94103
|
var t4, n4 = 4093624447;
|
|
@@ -94070,29 +94106,29 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94070
94106
|
return 0;
|
|
94071
94107
|
if (0 !== e4.dyn_ltree[18] || 0 !== e4.dyn_ltree[20] || 0 !== e4.dyn_ltree[26])
|
|
94072
94108
|
return 1;
|
|
94073
|
-
for (t4 = 32; t4 <
|
|
94109
|
+
for (t4 = 32; t4 < ac; t4++)
|
|
94074
94110
|
if (0 !== e4.dyn_ltree[2 * t4])
|
|
94075
94111
|
return 1;
|
|
94076
94112
|
return 0;
|
|
94077
|
-
}(e3)),
|
|
94113
|
+
}(e3)), Pc(e3, e3.l_desc), Pc(e3, e3.d_desc), a3 = function(e4) {
|
|
94078
94114
|
var t4;
|
|
94079
|
-
for (
|
|
94115
|
+
for (Bc(e4, e4.dyn_ltree, e4.l_desc.max_code), Bc(e4, e4.dyn_dtree, e4.d_desc.max_code), Pc(e4, e4.bl_desc), t4 = 18; t4 >= 3 && 0 === e4.bl_tree[2 * mc[t4] + 1]; t4--)
|
|
94080
94116
|
;
|
|
94081
94117
|
return e4.opt_len += 3 * (t4 + 1) + 5 + 5 + 4, t4;
|
|
94082
|
-
}(e3), o3 = e3.opt_len + 3 + 7 >>> 3, (i3 = e3.static_len + 3 + 7 >>> 3) <= o3 && (o3 = i3)) : o3 = i3 = n3 + 5, n3 + 4 <= o3 && -1 !== t3 ?
|
|
94118
|
+
}(e3), o3 = e3.opt_len + 3 + 7 >>> 3, (i3 = e3.static_len + 3 + 7 >>> 3) <= o3 && (o3 = i3)) : o3 = i3 = n3 + 5, n3 + 4 <= o3 && -1 !== t3 ? Mc(e3, t3, n3, r3) : 4 === e3.strategy || i3 === o3 ? (Tc(e3, 2 + (r3 ? 1 : 0), 3), Dc(e3, fc, gc)) : (Tc(e3, 4 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
|
|
94083
94119
|
var o4;
|
|
94084
|
-
for (
|
|
94085
|
-
|
|
94086
|
-
|
|
94087
|
-
}(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a3 + 1),
|
|
94088
|
-
},
|
|
94089
|
-
return e3.pending_buf[e3.d_buf + 2 * e3.last_lit] = t3 >>> 8 & 255, e3.pending_buf[e3.d_buf + 2 * e3.last_lit + 1] = 255 & t3, e3.pending_buf[e3.l_buf + e3.last_lit] = 255 & n3, e3.last_lit++, 0 === t3 ? e3.dyn_ltree[2 * n3]++ : (e3.matches++, t3--, e3.dyn_ltree[2 * (
|
|
94090
|
-
},
|
|
94091
|
-
|
|
94092
|
-
16 === e4.bi_valid ? (
|
|
94120
|
+
for (Tc(e4, t4 - 257, 5), Tc(e4, n4 - 1, 5), Tc(e4, r4 - 4, 4), o4 = 0; o4 < r4; o4++)
|
|
94121
|
+
Tc(e4, e4.bl_tree[2 * mc[o4] + 1], 3);
|
|
94122
|
+
Fc(e4, e4.dyn_ltree, t4 - 1), Fc(e4, e4.dyn_dtree, n4 - 1);
|
|
94123
|
+
}(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a3 + 1), Dc(e3, e3.dyn_ltree, e3.dyn_dtree)), Rc(e3), r3 && Nc(e3);
|
|
94124
|
+
}, rc._tr_tally = function(e3, t3, n3) {
|
|
94125
|
+
return e3.pending_buf[e3.d_buf + 2 * e3.last_lit] = t3 >>> 8 & 255, e3.pending_buf[e3.d_buf + 2 * e3.last_lit + 1] = 255 & t3, e3.pending_buf[e3.l_buf + e3.last_lit] = 255 & n3, e3.last_lit++, 0 === t3 ? e3.dyn_ltree[2 * n3]++ : (e3.matches++, t3--, e3.dyn_ltree[2 * (yc[n3] + ac + 1)]++, e3.dyn_dtree[2 * zc(t3)]++), e3.last_lit === e3.lit_bufsize - 1;
|
|
94126
|
+
}, rc._tr_align = function(e3) {
|
|
94127
|
+
Tc(e3, 2, 3), Oc(e3, 256, fc), function(e4) {
|
|
94128
|
+
16 === e4.bi_valid ? (Ac(e4, e4.bi_buf), e4.bi_buf = 0, e4.bi_valid = 0) : e4.bi_valid >= 8 && (e4.pending_buf[e4.pending++] = 255 & e4.bi_buf, e4.bi_buf >>= 8, e4.bi_valid -= 8);
|
|
94093
94129
|
}(e3);
|
|
94094
94130
|
};
|
|
94095
|
-
var
|
|
94131
|
+
var qc, Wc = function(e3, t3, n3, r3) {
|
|
94096
94132
|
for (var o3 = 65535 & e3 | 0, i3 = e3 >>> 16 & 65535 | 0, a3 = 0; 0 !== n3; ) {
|
|
94097
94133
|
n3 -= a3 = n3 > 2e3 ? 2e3 : n3;
|
|
94098
94134
|
do {
|
|
@@ -94101,7 +94137,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94101
94137
|
o3 %= 65521, i3 %= 65521;
|
|
94102
94138
|
}
|
|
94103
94139
|
return o3 | i3 << 16 | 0;
|
|
94104
|
-
},
|
|
94140
|
+
}, $c = function() {
|
|
94105
94141
|
for (var e3, t3 = [], n3 = 0; n3 < 256; n3++) {
|
|
94106
94142
|
e3 = n3;
|
|
94107
94143
|
for (var r3 = 0; r3 < 8; r3++)
|
|
@@ -94109,45 +94145,45 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94109
94145
|
t3[n3] = e3;
|
|
94110
94146
|
}
|
|
94111
94147
|
return t3;
|
|
94112
|
-
}(),
|
|
94113
|
-
var o3 =
|
|
94148
|
+
}(), Vc = function(e3, t3, n3, r3) {
|
|
94149
|
+
var o3 = $c, i3 = r3 + n3;
|
|
94114
94150
|
e3 ^= -1;
|
|
94115
94151
|
for (var a3 = r3; a3 < i3; a3++)
|
|
94116
94152
|
e3 = e3 >>> 8 ^ o3[255 & (e3 ^ t3[a3])];
|
|
94117
94153
|
return -1 ^ e3;
|
|
94118
|
-
},
|
|
94119
|
-
function
|
|
94120
|
-
return e3.msg =
|
|
94154
|
+
}, Zc = { 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" }, Kc = ec, Hc = rc, Gc = Wc, Yc = Vc, Xc = Zc, Qc = 0, Jc = 0, eu = -2, tu = 2, nu = 8, ru = 286, ou = 30, iu = 19, au = 2 * ru + 1, su = 15, lu = 3, cu = 258, uu = cu + lu + 1, hu = 42, du = 103, pu = 113, mu = 666;
|
|
94155
|
+
function fu(e3, t3) {
|
|
94156
|
+
return e3.msg = Xc[t3], t3;
|
|
94121
94157
|
}
|
|
94122
|
-
function
|
|
94158
|
+
function gu(e3) {
|
|
94123
94159
|
return (e3 << 1) - (e3 > 4 ? 9 : 0);
|
|
94124
94160
|
}
|
|
94125
|
-
function
|
|
94161
|
+
function bu(e3) {
|
|
94126
94162
|
for (var t3 = e3.length; --t3 >= 0; )
|
|
94127
94163
|
e3[t3] = 0;
|
|
94128
94164
|
}
|
|
94129
|
-
function
|
|
94165
|
+
function yu(e3) {
|
|
94130
94166
|
var t3 = e3.state, n3 = t3.pending;
|
|
94131
|
-
n3 > e3.avail_out && (n3 = e3.avail_out), 0 !== n3 && (
|
|
94132
|
-
}
|
|
94133
|
-
function yu(e3, t3) {
|
|
94134
|
-
Kc._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, bu(e3.strm);
|
|
94167
|
+
n3 > e3.avail_out && (n3 = e3.avail_out), 0 !== n3 && (Kc.arraySet(e3.output, t3.pending_buf, t3.pending_out, n3, e3.next_out), e3.next_out += n3, t3.pending_out += n3, e3.total_out += n3, e3.avail_out -= n3, t3.pending -= n3, 0 === t3.pending && (t3.pending_out = 0));
|
|
94135
94168
|
}
|
|
94136
94169
|
function ku(e3, t3) {
|
|
94137
|
-
e3.
|
|
94170
|
+
Hc._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, yu(e3.strm);
|
|
94138
94171
|
}
|
|
94139
94172
|
function wu(e3, t3) {
|
|
94140
|
-
e3.pending_buf[e3.pending++] = t3
|
|
94173
|
+
e3.pending_buf[e3.pending++] = t3;
|
|
94141
94174
|
}
|
|
94142
94175
|
function vu(e3, t3) {
|
|
94143
|
-
|
|
94176
|
+
e3.pending_buf[e3.pending++] = t3 >>> 8 & 255, e3.pending_buf[e3.pending++] = 255 & t3;
|
|
94177
|
+
}
|
|
94178
|
+
function xu(e3, t3) {
|
|
94179
|
+
var n3, r3, o3 = e3.max_chain_length, i3 = e3.strstart, a3 = e3.prev_length, s3 = e3.nice_match, l2 = e3.strstart > e3.w_size - uu ? e3.strstart - (e3.w_size - uu) : 0, c2 = e3.window, u2 = e3.w_mask, h2 = e3.prev, d2 = e3.strstart + cu, p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
|
|
94144
94180
|
e3.prev_length >= e3.good_match && (o3 >>= 2), s3 > e3.lookahead && (s3 = e3.lookahead);
|
|
94145
94181
|
do {
|
|
94146
94182
|
if (c2[(n3 = t3) + a3] === m2 && c2[n3 + a3 - 1] === p2 && c2[n3] === c2[i3] && c2[++n3] === c2[i3 + 1]) {
|
|
94147
94183
|
i3 += 2, n3++;
|
|
94148
94184
|
do {
|
|
94149
94185
|
} while (c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && c2[++i3] === c2[++n3] && i3 < d2);
|
|
94150
|
-
if (r3 =
|
|
94186
|
+
if (r3 = cu - (d2 - i3), i3 = d2 - cu, r3 > a3) {
|
|
94151
94187
|
if (e3.match_start = t3, a3 = r3, r3 >= s3)
|
|
94152
94188
|
break;
|
|
94153
94189
|
p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
|
|
@@ -94156,11 +94192,11 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94156
94192
|
} while ((t3 = h2[t3 & u2]) > l2 && 0 != --o3);
|
|
94157
94193
|
return a3 <= e3.lookahead ? a3 : e3.lookahead;
|
|
94158
94194
|
}
|
|
94159
|
-
function
|
|
94195
|
+
function _u(e3) {
|
|
94160
94196
|
var t3, n3, r3, o3, i3, a3, s3, l2, c2, u2, h2 = e3.w_size;
|
|
94161
94197
|
do {
|
|
94162
|
-
if (o3 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= h2 + (h2 -
|
|
94163
|
-
|
|
94198
|
+
if (o3 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= h2 + (h2 - uu)) {
|
|
94199
|
+
Kc.arraySet(e3.window, e3.window, h2, h2, 0), e3.match_start -= h2, e3.strstart -= h2, e3.block_start -= h2, t3 = n3 = e3.hash_size;
|
|
94164
94200
|
do {
|
|
94165
94201
|
r3 = e3.head[--t3], e3.head[t3] = r3 >= h2 ? r3 - h2 : 0;
|
|
94166
94202
|
} while (--n3);
|
|
@@ -94172,309 +94208,309 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94172
94208
|
}
|
|
94173
94209
|
if (0 === e3.strm.avail_in)
|
|
94174
94210
|
break;
|
|
94175
|
-
if (a3 = e3.strm, s3 = e3.window, l2 = e3.strstart + e3.lookahead, c2 = o3, u2 = void 0, (u2 = a3.avail_in) > c2 && (u2 = c2), n3 = 0 === u2 ? 0 : (a3.avail_in -= u2,
|
|
94176
|
-
for (i3 = e3.strstart - e3.insert, e3.ins_h = e3.window[i3], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + 1]) & e3.hash_mask; e3.insert && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 +
|
|
94211
|
+
if (a3 = e3.strm, s3 = e3.window, l2 = e3.strstart + e3.lookahead, c2 = o3, u2 = void 0, (u2 = a3.avail_in) > c2 && (u2 = c2), n3 = 0 === u2 ? 0 : (a3.avail_in -= u2, Kc.arraySet(s3, a3.input, a3.next_in, u2, l2), 1 === a3.state.wrap ? a3.adler = Gc(a3.adler, s3, u2, l2) : 2 === a3.state.wrap && (a3.adler = Yc(a3.adler, s3, u2, l2)), a3.next_in += u2, a3.total_in += u2, u2), e3.lookahead += n3, e3.lookahead + e3.insert >= lu)
|
|
94212
|
+
for (i3 = e3.strstart - e3.insert, e3.ins_h = e3.window[i3], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + 1]) & e3.hash_mask; e3.insert && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[i3 + lu - 1]) & e3.hash_mask, e3.prev[i3 & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = i3, i3++, e3.insert--, !(e3.lookahead + e3.insert < lu)); )
|
|
94177
94213
|
;
|
|
94178
|
-
} while (e3.lookahead <
|
|
94214
|
+
} while (e3.lookahead < uu && 0 !== e3.strm.avail_in);
|
|
94179
94215
|
}
|
|
94180
|
-
function
|
|
94216
|
+
function Su(e3, t3) {
|
|
94181
94217
|
for (var n3, r3; ; ) {
|
|
94182
|
-
if (e3.lookahead <
|
|
94183
|
-
if (
|
|
94218
|
+
if (e3.lookahead < uu) {
|
|
94219
|
+
if (_u(e3), e3.lookahead < uu && t3 === Qc)
|
|
94184
94220
|
return 1;
|
|
94185
94221
|
if (0 === e3.lookahead)
|
|
94186
94222
|
break;
|
|
94187
94223
|
}
|
|
94188
|
-
if (n3 = 0, e3.lookahead >=
|
|
94189
|
-
if (r3 =
|
|
94224
|
+
if (n3 = 0, e3.lookahead >= lu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), 0 !== n3 && e3.strstart - n3 <= e3.w_size - uu && (e3.match_length = xu(e3, n3)), e3.match_length >= lu)
|
|
94225
|
+
if (r3 = Hc._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - lu), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= lu) {
|
|
94190
94226
|
e3.match_length--;
|
|
94191
94227
|
do {
|
|
94192
|
-
e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart +
|
|
94228
|
+
e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart;
|
|
94193
94229
|
} while (0 != --e3.match_length);
|
|
94194
94230
|
e3.strstart++;
|
|
94195
94231
|
} else
|
|
94196
94232
|
e3.strstart += e3.match_length, e3.match_length = 0, e3.ins_h = e3.window[e3.strstart], e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + 1]) & e3.hash_mask;
|
|
94197
94233
|
else
|
|
94198
|
-
r3 =
|
|
94199
|
-
if (r3 && (
|
|
94234
|
+
r3 = Hc._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++;
|
|
94235
|
+
if (r3 && (ku(e3, false), 0 === e3.strm.avail_out))
|
|
94200
94236
|
return 1;
|
|
94201
94237
|
}
|
|
94202
|
-
return e3.insert = e3.strstart <
|
|
94238
|
+
return e3.insert = e3.strstart < lu - 1 ? e3.strstart : lu - 1, 4 === t3 ? (ku(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (ku(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
|
|
94203
94239
|
}
|
|
94204
|
-
function
|
|
94240
|
+
function Cu(e3, t3) {
|
|
94205
94241
|
for (var n3, r3, o3; ; ) {
|
|
94206
|
-
if (e3.lookahead <
|
|
94207
|
-
if (
|
|
94242
|
+
if (e3.lookahead < uu) {
|
|
94243
|
+
if (_u(e3), e3.lookahead < uu && t3 === Qc)
|
|
94208
94244
|
return 1;
|
|
94209
94245
|
if (0 === e3.lookahead)
|
|
94210
94246
|
break;
|
|
94211
94247
|
}
|
|
94212
|
-
if (n3 = 0, e3.lookahead >=
|
|
94213
|
-
o3 = e3.strstart + e3.lookahead -
|
|
94248
|
+
if (n3 = 0, e3.lookahead >= lu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart), e3.prev_length = e3.match_length, e3.prev_match = e3.match_start, e3.match_length = lu - 1, 0 !== n3 && e3.prev_length < e3.max_lazy_match && e3.strstart - n3 <= e3.w_size - uu && (e3.match_length = xu(e3, n3), e3.match_length <= 5 && (1 === e3.strategy || e3.match_length === lu && e3.strstart - e3.match_start > 4096) && (e3.match_length = lu - 1)), e3.prev_length >= lu && e3.match_length <= e3.prev_length) {
|
|
94249
|
+
o3 = e3.strstart + e3.lookahead - lu, r3 = Hc._tr_tally(e3, e3.strstart - 1 - e3.prev_match, e3.prev_length - lu), e3.lookahead -= e3.prev_length - 1, e3.prev_length -= 2;
|
|
94214
94250
|
do {
|
|
94215
|
-
++e3.strstart <= o3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart +
|
|
94251
|
+
++e3.strstart <= o3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + lu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart);
|
|
94216
94252
|
} while (0 != --e3.prev_length);
|
|
94217
|
-
if (e3.match_available = 0, e3.match_length =
|
|
94253
|
+
if (e3.match_available = 0, e3.match_length = lu - 1, e3.strstart++, r3 && (ku(e3, false), 0 === e3.strm.avail_out))
|
|
94218
94254
|
return 1;
|
|
94219
94255
|
} else if (e3.match_available) {
|
|
94220
|
-
if ((r3 =
|
|
94256
|
+
if ((r3 = Hc._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && ku(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out)
|
|
94221
94257
|
return 1;
|
|
94222
94258
|
} else
|
|
94223
94259
|
e3.match_available = 1, e3.strstart++, e3.lookahead--;
|
|
94224
94260
|
}
|
|
94225
|
-
return e3.match_available && (r3 =
|
|
94261
|
+
return e3.match_available && (r3 = Hc._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < lu - 1 ? e3.strstart : lu - 1, 4 === t3 ? (ku(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (ku(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
|
|
94226
94262
|
}
|
|
94227
|
-
function
|
|
94263
|
+
function zu(e3, t3, n3, r3, o3) {
|
|
94228
94264
|
this.good_length = e3, this.max_lazy = t3, this.nice_length = n3, this.max_chain = r3, this.func = o3;
|
|
94229
94265
|
}
|
|
94230
|
-
function
|
|
94231
|
-
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method =
|
|
94266
|
+
function Au() {
|
|
94267
|
+
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = nu, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new Kc.Buf16(2 * au), this.dyn_dtree = new Kc.Buf16(2 * (2 * ou + 1)), this.bl_tree = new Kc.Buf16(2 * (2 * iu + 1)), bu(this.dyn_ltree), bu(this.dyn_dtree), bu(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Kc.Buf16(su + 1), this.heap = new Kc.Buf16(2 * ru + 1), bu(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Kc.Buf16(2 * ru + 1), bu(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
94232
94268
|
}
|
|
94233
|
-
function
|
|
94269
|
+
function Tu(e3) {
|
|
94234
94270
|
var t3;
|
|
94235
|
-
return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type =
|
|
94271
|
+
return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type = tu, (t3 = e3.state).pending = 0, t3.pending_out = 0, t3.wrap < 0 && (t3.wrap = -t3.wrap), t3.status = t3.wrap ? hu : pu, e3.adler = 2 === t3.wrap ? 0 : 1, t3.last_flush = Qc, Hc._tr_init(t3), Jc) : fu(e3, eu);
|
|
94236
94272
|
}
|
|
94237
|
-
function
|
|
94238
|
-
var t3, n3 =
|
|
94239
|
-
return n3 ===
|
|
94273
|
+
function Ou(e3) {
|
|
94274
|
+
var t3, n3 = Tu(e3);
|
|
94275
|
+
return n3 === Jc && ((t3 = e3.state).window_size = 2 * t3.w_size, bu(t3.head), t3.max_lazy_match = qc[t3.level].max_lazy, t3.good_match = qc[t3.level].good_length, t3.nice_match = qc[t3.level].nice_length, t3.max_chain_length = qc[t3.level].max_chain, t3.strstart = 0, t3.block_start = 0, t3.lookahead = 0, t3.insert = 0, t3.match_length = t3.prev_length = lu - 1, t3.match_available = 0, t3.ins_h = 0), n3;
|
|
94240
94276
|
}
|
|
94241
|
-
function
|
|
94277
|
+
function Lu(e3, t3, n3, r3, o3, i3) {
|
|
94242
94278
|
if (!e3)
|
|
94243
|
-
return
|
|
94279
|
+
return eu;
|
|
94244
94280
|
var a3 = 1;
|
|
94245
|
-
if (-1 === t3 && (t3 = 6), r3 < 0 ? (a3 = 0, r3 = -r3) : r3 > 15 && (a3 = 2, r3 -= 16), o3 < 1 || o3 > 9 || n3 !==
|
|
94246
|
-
return
|
|
94281
|
+
if (-1 === t3 && (t3 = 6), r3 < 0 ? (a3 = 0, r3 = -r3) : r3 > 15 && (a3 = 2, r3 -= 16), o3 < 1 || o3 > 9 || n3 !== nu || r3 < 8 || r3 > 15 || t3 < 0 || t3 > 9 || i3 < 0 || i3 > 4)
|
|
94282
|
+
return fu(e3, eu);
|
|
94247
94283
|
8 === r3 && (r3 = 9);
|
|
94248
|
-
var s3 = new
|
|
94249
|
-
return e3.state = s3, s3.strm = e3, s3.wrap = a3, s3.gzhead = null, s3.w_bits = r3, s3.w_size = 1 << s3.w_bits, s3.w_mask = s3.w_size - 1, s3.hash_bits = o3 + 7, s3.hash_size = 1 << s3.hash_bits, s3.hash_mask = s3.hash_size - 1, s3.hash_shift = ~~((s3.hash_bits +
|
|
94284
|
+
var s3 = new Au();
|
|
94285
|
+
return e3.state = s3, s3.strm = e3, s3.wrap = a3, s3.gzhead = null, s3.w_bits = r3, s3.w_size = 1 << s3.w_bits, s3.w_mask = s3.w_size - 1, s3.hash_bits = o3 + 7, s3.hash_size = 1 << s3.hash_bits, s3.hash_mask = s3.hash_size - 1, s3.hash_shift = ~~((s3.hash_bits + lu - 1) / lu), s3.window = new Kc.Buf8(2 * s3.w_size), s3.head = new Kc.Buf16(s3.hash_size), s3.prev = new Kc.Buf16(s3.w_size), s3.lit_bufsize = 1 << o3 + 6, s3.pending_buf_size = 4 * s3.lit_bufsize, s3.pending_buf = new Kc.Buf8(s3.pending_buf_size), s3.d_buf = 1 * s3.lit_bufsize, s3.l_buf = 3 * s3.lit_bufsize, s3.level = t3, s3.strategy = i3, s3.method = n3, Ou(e3);
|
|
94250
94286
|
}
|
|
94251
|
-
|
|
94287
|
+
qc = [new zu(0, 0, 0, 0, function(e3, t3) {
|
|
94252
94288
|
var n3 = 65535;
|
|
94253
94289
|
for (n3 > e3.pending_buf_size - 5 && (n3 = e3.pending_buf_size - 5); ; ) {
|
|
94254
94290
|
if (e3.lookahead <= 1) {
|
|
94255
|
-
if (
|
|
94291
|
+
if (_u(e3), 0 === e3.lookahead && t3 === Qc)
|
|
94256
94292
|
return 1;
|
|
94257
94293
|
if (0 === e3.lookahead)
|
|
94258
94294
|
break;
|
|
94259
94295
|
}
|
|
94260
94296
|
e3.strstart += e3.lookahead, e3.lookahead = 0;
|
|
94261
94297
|
var r3 = e3.block_start + n3;
|
|
94262
|
-
if ((0 === e3.strstart || e3.strstart >= r3) && (e3.lookahead = e3.strstart - r3, e3.strstart = r3,
|
|
94298
|
+
if ((0 === e3.strstart || e3.strstart >= r3) && (e3.lookahead = e3.strstart - r3, e3.strstart = r3, ku(e3, false), 0 === e3.strm.avail_out))
|
|
94263
94299
|
return 1;
|
|
94264
|
-
if (e3.strstart - e3.block_start >= e3.w_size -
|
|
94300
|
+
if (e3.strstart - e3.block_start >= e3.w_size - uu && (ku(e3, false), 0 === e3.strm.avail_out))
|
|
94265
94301
|
return 1;
|
|
94266
94302
|
}
|
|
94267
|
-
return e3.insert = 0, 4 === t3 ? (
|
|
94268
|
-
}), new
|
|
94269
|
-
return
|
|
94270
|
-
},
|
|
94271
|
-
return e3 && e3.state ? 2 !== e3.state.wrap ?
|
|
94272
|
-
},
|
|
94303
|
+
return e3.insert = 0, 4 === t3 ? (ku(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : (e3.strstart > e3.block_start && (ku(e3, false), e3.strm.avail_out), 1);
|
|
94304
|
+
}), new zu(4, 4, 8, 4, Su), new zu(4, 5, 16, 8, Su), new zu(4, 6, 32, 32, Su), new zu(4, 4, 16, 16, Cu), new zu(8, 16, 32, 32, Cu), new zu(8, 16, 128, 128, Cu), new zu(8, 32, 128, 256, Cu), new zu(32, 128, 258, 1024, Cu), new zu(32, 258, 258, 4096, Cu)], nc.deflateInit = function(e3, t3) {
|
|
94305
|
+
return Lu(e3, t3, nu, 15, 8, 0);
|
|
94306
|
+
}, nc.deflateInit2 = Lu, nc.deflateReset = Ou, nc.deflateResetKeep = Tu, nc.deflateSetHeader = function(e3, t3) {
|
|
94307
|
+
return e3 && e3.state ? 2 !== e3.state.wrap ? eu : (e3.state.gzhead = t3, Jc) : eu;
|
|
94308
|
+
}, nc.deflate = function(e3, t3) {
|
|
94273
94309
|
var n3, r3, o3, i3;
|
|
94274
94310
|
if (!e3 || !e3.state || t3 > 5 || t3 < 0)
|
|
94275
|
-
return e3 ?
|
|
94276
|
-
if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status ===
|
|
94277
|
-
return
|
|
94278
|
-
if (r3.strm = e3, n3 = r3.last_flush, r3.last_flush = t3, r3.status ===
|
|
94311
|
+
return e3 ? fu(e3, eu) : eu;
|
|
94312
|
+
if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status === mu && 4 !== t3)
|
|
94313
|
+
return fu(e3, 0 === e3.avail_out ? -5 : eu);
|
|
94314
|
+
if (r3.strm = e3, n3 = r3.last_flush, r3.last_flush = t3, r3.status === hu)
|
|
94279
94315
|
if (2 === r3.wrap)
|
|
94280
|
-
e3.adler = 0,
|
|
94316
|
+
e3.adler = 0, wu(r3, 31), wu(r3, 139), wu(r3, 8), r3.gzhead ? (wu(r3, (r3.gzhead.text ? 1 : 0) + (r3.gzhead.hcrc ? 2 : 0) + (r3.gzhead.extra ? 4 : 0) + (r3.gzhead.name ? 8 : 0) + (r3.gzhead.comment ? 16 : 0)), wu(r3, 255 & r3.gzhead.time), wu(r3, r3.gzhead.time >> 8 & 255), wu(r3, r3.gzhead.time >> 16 & 255), wu(r3, r3.gzhead.time >> 24 & 255), wu(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), wu(r3, 255 & r3.gzhead.os), r3.gzhead.extra && r3.gzhead.extra.length && (wu(r3, 255 & r3.gzhead.extra.length), wu(r3, r3.gzhead.extra.length >> 8 & 255)), r3.gzhead.hcrc && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending, 0)), r3.gzindex = 0, r3.status = 69) : (wu(r3, 0), wu(r3, 0), wu(r3, 0), wu(r3, 0), wu(r3, 0), wu(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), wu(r3, 3), r3.status = pu);
|
|
94281
94317
|
else {
|
|
94282
|
-
var a3 =
|
|
94283
|
-
a3 |= (r3.strategy >= 2 || r3.level < 2 ? 0 : r3.level < 6 ? 1 : 6 === r3.level ? 2 : 3) << 6, 0 !== r3.strstart && (a3 |= 32), a3 += 31 - a3 % 31, r3.status =
|
|
94318
|
+
var a3 = nu + (r3.w_bits - 8 << 4) << 8;
|
|
94319
|
+
a3 |= (r3.strategy >= 2 || r3.level < 2 ? 0 : r3.level < 6 ? 1 : 6 === r3.level ? 2 : 3) << 6, 0 !== r3.strstart && (a3 |= 32), a3 += 31 - a3 % 31, r3.status = pu, vu(r3, a3), 0 !== r3.strstart && (vu(r3, e3.adler >>> 16), vu(r3, 65535 & e3.adler)), e3.adler = 1;
|
|
94284
94320
|
}
|
|
94285
94321
|
if (69 === r3.status)
|
|
94286
94322
|
if (r3.gzhead.extra) {
|
|
94287
|
-
for (o3 = r3.pending; r3.gzindex < (65535 & r3.gzhead.extra.length) && (r3.pending !== r3.pending_buf_size || (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler =
|
|
94288
|
-
|
|
94289
|
-
r3.gzhead.hcrc && r3.pending > o3 && (e3.adler =
|
|
94323
|
+
for (o3 = r3.pending; r3.gzindex < (65535 & r3.gzhead.extra.length) && (r3.pending !== r3.pending_buf_size || (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), yu(e3), o3 = r3.pending, r3.pending !== r3.pending_buf_size)); )
|
|
94324
|
+
wu(r3, 255 & r3.gzhead.extra[r3.gzindex]), r3.gzindex++;
|
|
94325
|
+
r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), r3.gzindex === r3.gzhead.extra.length && (r3.gzindex = 0, r3.status = 73);
|
|
94290
94326
|
} else
|
|
94291
94327
|
r3.status = 73;
|
|
94292
94328
|
if (73 === r3.status)
|
|
94293
94329
|
if (r3.gzhead.name) {
|
|
94294
94330
|
o3 = r3.pending;
|
|
94295
94331
|
do {
|
|
94296
|
-
if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler =
|
|
94332
|
+
if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), yu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
|
|
94297
94333
|
i3 = 1;
|
|
94298
94334
|
break;
|
|
94299
94335
|
}
|
|
94300
|
-
i3 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0,
|
|
94336
|
+
i3 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0, wu(r3, i3);
|
|
94301
94337
|
} while (0 !== i3);
|
|
94302
|
-
r3.gzhead.hcrc && r3.pending > o3 && (e3.adler =
|
|
94338
|
+
r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.gzindex = 0, r3.status = 91);
|
|
94303
94339
|
} else
|
|
94304
94340
|
r3.status = 91;
|
|
94305
94341
|
if (91 === r3.status)
|
|
94306
94342
|
if (r3.gzhead.comment) {
|
|
94307
94343
|
o3 = r3.pending;
|
|
94308
94344
|
do {
|
|
94309
|
-
if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler =
|
|
94345
|
+
if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), yu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
|
|
94310
94346
|
i3 = 1;
|
|
94311
94347
|
break;
|
|
94312
94348
|
}
|
|
94313
|
-
i3 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0,
|
|
94349
|
+
i3 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0, wu(r3, i3);
|
|
94314
94350
|
} while (0 !== i3);
|
|
94315
|
-
r3.gzhead.hcrc && r3.pending > o3 && (e3.adler =
|
|
94351
|
+
r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Yc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.status = du);
|
|
94316
94352
|
} else
|
|
94317
|
-
r3.status =
|
|
94318
|
-
if (r3.status ===
|
|
94319
|
-
if (
|
|
94320
|
-
return r3.last_flush = -1,
|
|
94321
|
-
} else if (0 === e3.avail_in &&
|
|
94322
|
-
return
|
|
94323
|
-
if (r3.status ===
|
|
94324
|
-
return
|
|
94325
|
-
if (0 !== e3.avail_in || 0 !== r3.lookahead || t3 !==
|
|
94353
|
+
r3.status = du;
|
|
94354
|
+
if (r3.status === du && (r3.gzhead.hcrc ? (r3.pending + 2 > r3.pending_buf_size && yu(e3), r3.pending + 2 <= r3.pending_buf_size && (wu(r3, 255 & e3.adler), wu(r3, e3.adler >> 8 & 255), e3.adler = 0, r3.status = pu)) : r3.status = pu), 0 !== r3.pending) {
|
|
94355
|
+
if (yu(e3), 0 === e3.avail_out)
|
|
94356
|
+
return r3.last_flush = -1, Jc;
|
|
94357
|
+
} else if (0 === e3.avail_in && gu(t3) <= gu(n3) && 4 !== t3)
|
|
94358
|
+
return fu(e3, -5);
|
|
94359
|
+
if (r3.status === mu && 0 !== e3.avail_in)
|
|
94360
|
+
return fu(e3, -5);
|
|
94361
|
+
if (0 !== e3.avail_in || 0 !== r3.lookahead || t3 !== Qc && r3.status !== mu) {
|
|
94326
94362
|
var s3 = 2 === r3.strategy ? function(e4, t4) {
|
|
94327
94363
|
for (var n4; ; ) {
|
|
94328
|
-
if (0 === e4.lookahead && (
|
|
94329
|
-
if (t4 ===
|
|
94364
|
+
if (0 === e4.lookahead && (_u(e4), 0 === e4.lookahead)) {
|
|
94365
|
+
if (t4 === Qc)
|
|
94330
94366
|
return 1;
|
|
94331
94367
|
break;
|
|
94332
94368
|
}
|
|
94333
|
-
if (e4.match_length = 0, n4 =
|
|
94369
|
+
if (e4.match_length = 0, n4 = Hc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++, n4 && (ku(e4, false), 0 === e4.strm.avail_out))
|
|
94334
94370
|
return 1;
|
|
94335
94371
|
}
|
|
94336
|
-
return e4.insert = 0, 4 === t4 ? (
|
|
94372
|
+
return e4.insert = 0, 4 === t4 ? (ku(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (ku(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
|
|
94337
94373
|
}(r3, t3) : 3 === r3.strategy ? function(e4, t4) {
|
|
94338
94374
|
for (var n4, r4, o4, i4, a4 = e4.window; ; ) {
|
|
94339
|
-
if (e4.lookahead <=
|
|
94340
|
-
if (
|
|
94375
|
+
if (e4.lookahead <= cu) {
|
|
94376
|
+
if (_u(e4), e4.lookahead <= cu && t4 === Qc)
|
|
94341
94377
|
return 1;
|
|
94342
94378
|
if (0 === e4.lookahead)
|
|
94343
94379
|
break;
|
|
94344
94380
|
}
|
|
94345
|
-
if (e4.match_length = 0, e4.lookahead >=
|
|
94346
|
-
i4 = e4.strstart +
|
|
94381
|
+
if (e4.match_length = 0, e4.lookahead >= lu && e4.strstart > 0 && (r4 = a4[o4 = e4.strstart - 1]) === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4]) {
|
|
94382
|
+
i4 = e4.strstart + cu;
|
|
94347
94383
|
do {
|
|
94348
94384
|
} while (r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4] && o4 < i4);
|
|
94349
|
-
e4.match_length =
|
|
94385
|
+
e4.match_length = cu - (i4 - o4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead);
|
|
94350
94386
|
}
|
|
94351
|
-
if (e4.match_length >=
|
|
94387
|
+
if (e4.match_length >= lu ? (n4 = Hc._tr_tally(e4, 1, e4.match_length - lu), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (n4 = Hc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), n4 && (ku(e4, false), 0 === e4.strm.avail_out))
|
|
94352
94388
|
return 1;
|
|
94353
94389
|
}
|
|
94354
|
-
return e4.insert = 0, 4 === t4 ? (
|
|
94355
|
-
}(r3, t3) :
|
|
94356
|
-
if (3 !== s3 && 4 !== s3 || (r3.status =
|
|
94357
|
-
return 0 === e3.avail_out && (r3.last_flush = -1),
|
|
94358
|
-
if (2 === s3 && (1 === t3 ?
|
|
94359
|
-
return r3.last_flush = -1,
|
|
94360
|
-
}
|
|
94361
|
-
return 4 !== t3 ?
|
|
94362
|
-
},
|
|
94390
|
+
return e4.insert = 0, 4 === t4 ? (ku(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (ku(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
|
|
94391
|
+
}(r3, t3) : qc[r3.level].func(r3, t3);
|
|
94392
|
+
if (3 !== s3 && 4 !== s3 || (r3.status = mu), 1 === s3 || 3 === s3)
|
|
94393
|
+
return 0 === e3.avail_out && (r3.last_flush = -1), Jc;
|
|
94394
|
+
if (2 === s3 && (1 === t3 ? Hc._tr_align(r3) : 5 !== t3 && (Hc._tr_stored_block(r3, 0, 0, false), 3 === t3 && (bu(r3.head), 0 === r3.lookahead && (r3.strstart = 0, r3.block_start = 0, r3.insert = 0))), yu(e3), 0 === e3.avail_out))
|
|
94395
|
+
return r3.last_flush = -1, Jc;
|
|
94396
|
+
}
|
|
94397
|
+
return 4 !== t3 ? Jc : r3.wrap <= 0 ? 1 : (2 === r3.wrap ? (wu(r3, 255 & e3.adler), wu(r3, e3.adler >> 8 & 255), wu(r3, e3.adler >> 16 & 255), wu(r3, e3.adler >> 24 & 255), wu(r3, 255 & e3.total_in), wu(r3, e3.total_in >> 8 & 255), wu(r3, e3.total_in >> 16 & 255), wu(r3, e3.total_in >> 24 & 255)) : (vu(r3, e3.adler >>> 16), vu(r3, 65535 & e3.adler)), yu(e3), r3.wrap > 0 && (r3.wrap = -r3.wrap), 0 !== r3.pending ? Jc : 1);
|
|
94398
|
+
}, nc.deflateEnd = function(e3) {
|
|
94363
94399
|
var t3;
|
|
94364
|
-
return e3 && e3.state ? (t3 = e3.state.status) !==
|
|
94365
|
-
},
|
|
94400
|
+
return e3 && e3.state ? (t3 = e3.state.status) !== hu && 69 !== t3 && 73 !== t3 && 91 !== t3 && t3 !== du && t3 !== pu && t3 !== mu ? fu(e3, eu) : (e3.state = null, t3 === pu ? fu(e3, -3) : Jc) : eu;
|
|
94401
|
+
}, nc.deflateSetDictionary = function(e3, t3) {
|
|
94366
94402
|
var n3, r3, o3, i3, a3, s3, l2, c2, u2 = t3.length;
|
|
94367
94403
|
if (!e3 || !e3.state)
|
|
94368
|
-
return
|
|
94369
|
-
if (2 === (i3 = (n3 = e3.state).wrap) || 1 === i3 && n3.status !==
|
|
94370
|
-
return
|
|
94371
|
-
for (1 === i3 && (e3.adler =
|
|
94372
|
-
r3 = n3.strstart, o3 = n3.lookahead - (
|
|
94404
|
+
return eu;
|
|
94405
|
+
if (2 === (i3 = (n3 = e3.state).wrap) || 1 === i3 && n3.status !== hu || n3.lookahead)
|
|
94406
|
+
return eu;
|
|
94407
|
+
for (1 === i3 && (e3.adler = Gc(e3.adler, t3, u2, 0)), n3.wrap = 0, u2 >= n3.w_size && (0 === i3 && (bu(n3.head), n3.strstart = 0, n3.block_start = 0, n3.insert = 0), c2 = new Kc.Buf8(n3.w_size), Kc.arraySet(c2, t3, u2 - n3.w_size, n3.w_size, 0), t3 = c2, u2 = n3.w_size), a3 = e3.avail_in, s3 = e3.next_in, l2 = e3.input, e3.avail_in = u2, e3.next_in = 0, e3.input = t3, _u(n3); n3.lookahead >= lu; ) {
|
|
94408
|
+
r3 = n3.strstart, o3 = n3.lookahead - (lu - 1);
|
|
94373
94409
|
do {
|
|
94374
|
-
n3.ins_h = (n3.ins_h << n3.hash_shift ^ n3.window[r3 +
|
|
94410
|
+
n3.ins_h = (n3.ins_h << n3.hash_shift ^ n3.window[r3 + lu - 1]) & n3.hash_mask, n3.prev[r3 & n3.w_mask] = n3.head[n3.ins_h], n3.head[n3.ins_h] = r3, r3++;
|
|
94375
94411
|
} while (--o3);
|
|
94376
|
-
n3.strstart = r3, n3.lookahead =
|
|
94412
|
+
n3.strstart = r3, n3.lookahead = lu - 1, _u(n3);
|
|
94377
94413
|
}
|
|
94378
|
-
return n3.strstart += n3.lookahead, n3.block_start = n3.strstart, n3.insert = n3.lookahead, n3.lookahead = 0, n3.match_length = n3.prev_length =
|
|
94379
|
-
},
|
|
94380
|
-
var
|
|
94414
|
+
return n3.strstart += n3.lookahead, n3.block_start = n3.strstart, n3.insert = n3.lookahead, n3.lookahead = 0, n3.match_length = n3.prev_length = lu - 1, n3.match_available = 0, e3.next_in = s3, e3.input = l2, e3.avail_in = a3, n3.wrap = i3, Jc;
|
|
94415
|
+
}, nc.deflateInfo = "pako deflate (from Nodeca project)";
|
|
94416
|
+
var Eu = {}, Ru = ec, Nu = true, ju = true;
|
|
94381
94417
|
try {
|
|
94382
94418
|
String.fromCharCode.apply(null, [0]);
|
|
94383
94419
|
} catch (t3) {
|
|
94384
|
-
|
|
94420
|
+
Nu = false;
|
|
94385
94421
|
}
|
|
94386
94422
|
try {
|
|
94387
94423
|
String.fromCharCode.apply(null, new Uint8Array(1));
|
|
94388
94424
|
} catch (t3) {
|
|
94389
|
-
|
|
94425
|
+
ju = false;
|
|
94390
94426
|
}
|
|
94391
|
-
for (var
|
|
94392
|
-
|
|
94393
|
-
function
|
|
94394
|
-
if (t3 < 65534 && (e3.subarray &&
|
|
94395
|
-
return String.fromCharCode.apply(null,
|
|
94427
|
+
for (var Iu = new Ru.Buf8(256), Du = 0; Du < 256; Du++)
|
|
94428
|
+
Iu[Du] = Du >= 252 ? 6 : Du >= 248 ? 5 : Du >= 240 ? 4 : Du >= 224 ? 3 : Du >= 192 ? 2 : 1;
|
|
94429
|
+
function Pu(e3, t3) {
|
|
94430
|
+
if (t3 < 65534 && (e3.subarray && ju || !e3.subarray && Nu))
|
|
94431
|
+
return String.fromCharCode.apply(null, Ru.shrinkBuf(e3, t3));
|
|
94396
94432
|
for (var n3 = "", r3 = 0; r3 < t3; r3++)
|
|
94397
94433
|
n3 += String.fromCharCode(e3[r3]);
|
|
94398
94434
|
return n3;
|
|
94399
94435
|
}
|
|
94400
|
-
|
|
94436
|
+
Iu[254] = Iu[254] = 1, Eu.string2buf = function(e3) {
|
|
94401
94437
|
var t3, n3, r3, o3, i3, a3 = e3.length, s3 = 0;
|
|
94402
94438
|
for (o3 = 0; o3 < a3; o3++)
|
|
94403
94439
|
55296 == (64512 & (n3 = e3.charCodeAt(o3))) && o3 + 1 < a3 && 56320 == (64512 & (r3 = e3.charCodeAt(o3 + 1))) && (n3 = 65536 + (n3 - 55296 << 10) + (r3 - 56320), o3++), s3 += n3 < 128 ? 1 : n3 < 2048 ? 2 : n3 < 65536 ? 3 : 4;
|
|
94404
|
-
for (t3 = new
|
|
94440
|
+
for (t3 = new Ru.Buf8(s3), i3 = 0, o3 = 0; i3 < s3; o3++)
|
|
94405
94441
|
55296 == (64512 & (n3 = e3.charCodeAt(o3))) && o3 + 1 < a3 && 56320 == (64512 & (r3 = e3.charCodeAt(o3 + 1))) && (n3 = 65536 + (n3 - 55296 << 10) + (r3 - 56320), o3++), n3 < 128 ? t3[i3++] = n3 : n3 < 2048 ? (t3[i3++] = 192 | n3 >>> 6, t3[i3++] = 128 | 63 & n3) : n3 < 65536 ? (t3[i3++] = 224 | n3 >>> 12, t3[i3++] = 128 | n3 >>> 6 & 63, t3[i3++] = 128 | 63 & n3) : (t3[i3++] = 240 | n3 >>> 18, t3[i3++] = 128 | n3 >>> 12 & 63, t3[i3++] = 128 | n3 >>> 6 & 63, t3[i3++] = 128 | 63 & n3);
|
|
94406
94442
|
return t3;
|
|
94407
|
-
},
|
|
94408
|
-
return
|
|
94409
|
-
},
|
|
94410
|
-
for (var t3 = new
|
|
94443
|
+
}, Eu.buf2binstring = function(e3) {
|
|
94444
|
+
return Pu(e3, e3.length);
|
|
94445
|
+
}, Eu.binstring2buf = function(e3) {
|
|
94446
|
+
for (var t3 = new Ru.Buf8(e3.length), n3 = 0, r3 = t3.length; n3 < r3; n3++)
|
|
94411
94447
|
t3[n3] = e3.charCodeAt(n3);
|
|
94412
94448
|
return t3;
|
|
94413
|
-
},
|
|
94449
|
+
}, Eu.buf2string = function(e3, t3) {
|
|
94414
94450
|
var n3, r3, o3, i3, a3 = t3 || e3.length, s3 = new Array(2 * a3);
|
|
94415
94451
|
for (r3 = 0, n3 = 0; n3 < a3; )
|
|
94416
94452
|
if ((o3 = e3[n3++]) < 128)
|
|
94417
94453
|
s3[r3++] = o3;
|
|
94418
|
-
else if ((i3 =
|
|
94454
|
+
else if ((i3 = Iu[o3]) > 4)
|
|
94419
94455
|
s3[r3++] = 65533, n3 += i3 - 1;
|
|
94420
94456
|
else {
|
|
94421
94457
|
for (o3 &= 2 === i3 ? 31 : 3 === i3 ? 15 : 7; i3 > 1 && n3 < a3; )
|
|
94422
94458
|
o3 = o3 << 6 | 63 & e3[n3++], i3--;
|
|
94423
94459
|
i3 > 1 ? s3[r3++] = 65533 : o3 < 65536 ? s3[r3++] = o3 : (o3 -= 65536, s3[r3++] = 55296 | o3 >> 10 & 1023, s3[r3++] = 56320 | 1023 & o3);
|
|
94424
94460
|
}
|
|
94425
|
-
return
|
|
94426
|
-
},
|
|
94461
|
+
return Pu(s3, r3);
|
|
94462
|
+
}, Eu.utf8border = function(e3, t3) {
|
|
94427
94463
|
var n3;
|
|
94428
94464
|
for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), n3 = t3 - 1; n3 >= 0 && 128 == (192 & e3[n3]); )
|
|
94429
94465
|
n3--;
|
|
94430
|
-
return n3 < 0 || 0 === n3 ? t3 : n3 +
|
|
94466
|
+
return n3 < 0 || 0 === n3 ? t3 : n3 + Iu[e3[n3]] > t3 ? n3 : t3;
|
|
94431
94467
|
};
|
|
94432
|
-
var
|
|
94468
|
+
var Bu = function() {
|
|
94433
94469
|
this.input = null, this.next_in = 0, this.avail_in = 0, this.total_in = 0, this.output = null, this.next_out = 0, this.avail_out = 0, this.total_out = 0, this.msg = "", this.state = null, this.data_type = 2, this.adler = 0;
|
|
94434
|
-
},
|
|
94435
|
-
function
|
|
94436
|
-
if (!(this instanceof
|
|
94437
|
-
return new
|
|
94438
|
-
this.options =
|
|
94470
|
+
}, Fu = nc, Uu = ec, Mu = Eu, qu = Zc, Wu = Bu, $u = Object.prototype.toString, Vu = 0, Zu = -1, Ku = 0, Hu = 8;
|
|
94471
|
+
function Gu(e3) {
|
|
94472
|
+
if (!(this instanceof Gu))
|
|
94473
|
+
return new Gu(e3);
|
|
94474
|
+
this.options = Uu.assign({ level: Zu, method: Hu, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: Ku, to: "" }, e3 || {});
|
|
94439
94475
|
var t3 = this.options;
|
|
94440
|
-
t3.raw && t3.windowBits > 0 ? t3.windowBits = -t3.windowBits : t3.gzip && t3.windowBits > 0 && t3.windowBits < 16 && (t3.windowBits += 16), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new
|
|
94441
|
-
var n3 =
|
|
94442
|
-
if (n3 !==
|
|
94443
|
-
throw new Error(
|
|
94444
|
-
if (t3.header &&
|
|
94476
|
+
t3.raw && t3.windowBits > 0 ? t3.windowBits = -t3.windowBits : t3.gzip && t3.windowBits > 0 && t3.windowBits < 16 && (t3.windowBits += 16), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new Wu(), this.strm.avail_out = 0;
|
|
94477
|
+
var n3 = Fu.deflateInit2(this.strm, t3.level, t3.method, t3.windowBits, t3.memLevel, t3.strategy);
|
|
94478
|
+
if (n3 !== Vu)
|
|
94479
|
+
throw new Error(qu[n3]);
|
|
94480
|
+
if (t3.header && Fu.deflateSetHeader(this.strm, t3.header), t3.dictionary) {
|
|
94445
94481
|
var r3;
|
|
94446
|
-
if (r3 = "string" == typeof t3.dictionary ?
|
|
94447
|
-
throw new Error(
|
|
94482
|
+
if (r3 = "string" == typeof t3.dictionary ? Mu.string2buf(t3.dictionary) : "[object ArrayBuffer]" === $u.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, (n3 = Fu.deflateSetDictionary(this.strm, r3)) !== Vu)
|
|
94483
|
+
throw new Error(qu[n3]);
|
|
94448
94484
|
this._dict_set = true;
|
|
94449
94485
|
}
|
|
94450
94486
|
}
|
|
94451
|
-
function
|
|
94452
|
-
var n3 = new
|
|
94487
|
+
function Yu(e3, t3) {
|
|
94488
|
+
var n3 = new Gu(t3);
|
|
94453
94489
|
if (n3.push(e3, true), n3.err)
|
|
94454
|
-
throw n3.msg ||
|
|
94490
|
+
throw n3.msg || qu[n3.err];
|
|
94455
94491
|
return n3.result;
|
|
94456
94492
|
}
|
|
94457
|
-
|
|
94493
|
+
Gu.prototype.push = function(e3, t3) {
|
|
94458
94494
|
var n3, r3, o3 = this.strm, i3 = this.options.chunkSize;
|
|
94459
94495
|
if (this.ended)
|
|
94460
94496
|
return false;
|
|
94461
|
-
r3 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? o3.input =
|
|
94497
|
+
r3 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? o3.input = Mu.string2buf(e3) : "[object ArrayBuffer]" === $u.call(e3) ? o3.input = new Uint8Array(e3) : o3.input = e3, o3.next_in = 0, o3.avail_in = o3.input.length;
|
|
94462
94498
|
do {
|
|
94463
|
-
if (0 === o3.avail_out && (o3.output = new
|
|
94499
|
+
if (0 === o3.avail_out && (o3.output = new Uu.Buf8(i3), o3.next_out = 0, o3.avail_out = i3), 1 !== (n3 = Fu.deflate(o3, r3)) && n3 !== Vu)
|
|
94464
94500
|
return this.onEnd(n3), this.ended = true, false;
|
|
94465
|
-
0 !== o3.avail_out && (0 !== o3.avail_in || 4 !== r3 && 2 !== r3) || ("string" === this.options.to ? this.onData(
|
|
94501
|
+
0 !== o3.avail_out && (0 !== o3.avail_in || 4 !== r3 && 2 !== r3) || ("string" === this.options.to ? this.onData(Mu.buf2binstring(Uu.shrinkBuf(o3.output, o3.next_out))) : this.onData(Uu.shrinkBuf(o3.output, o3.next_out)));
|
|
94466
94502
|
} while ((o3.avail_in > 0 || 0 === o3.avail_out) && 1 !== n3);
|
|
94467
|
-
return 4 === r3 ? (n3 =
|
|
94468
|
-
},
|
|
94503
|
+
return 4 === r3 ? (n3 = Fu.deflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Vu) : 2 !== r3 || (this.onEnd(Vu), o3.avail_out = 0, true);
|
|
94504
|
+
}, Gu.prototype.onData = function(e3) {
|
|
94469
94505
|
this.chunks.push(e3);
|
|
94470
|
-
},
|
|
94471
|
-
e3 ===
|
|
94472
|
-
},
|
|
94473
|
-
return (t3 = t3 || {}).raw = true,
|
|
94474
|
-
},
|
|
94475
|
-
return (t3 = t3 || {}).gzip = true,
|
|
94506
|
+
}, Gu.prototype.onEnd = function(e3) {
|
|
94507
|
+
e3 === Vu && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Uu.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
|
|
94508
|
+
}, tc.Deflate = Gu, tc.deflate = Yu, tc.deflateRaw = function(e3, t3) {
|
|
94509
|
+
return (t3 = t3 || {}).raw = true, Yu(e3, t3);
|
|
94510
|
+
}, tc.gzip = function(e3, t3) {
|
|
94511
|
+
return (t3 = t3 || {}).gzip = true, Yu(e3, t3);
|
|
94476
94512
|
};
|
|
94477
|
-
var
|
|
94513
|
+
var Xu = {}, Qu = {}, Ju = ec, eh = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], th = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], nh = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], rh = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64], oh = ec, ih = Wc, ah = Vc, sh = function(e3, t3) {
|
|
94478
94514
|
var n3, r3, o3, i3, a3, s3, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, _2, S2, C2, z2;
|
|
94479
94515
|
n3 = e3.state, r3 = e3.next_in, C2 = e3.input, o3 = r3 + (e3.avail_in - 5), i3 = e3.next_out, z2 = e3.output, a3 = i3 - (t3 - e3.avail_out), s3 = i3 + (e3.avail_out - 257), l2 = n3.dmax, c2 = n3.wsize, u2 = n3.whave, h2 = n3.wnext, d2 = n3.window, p2 = n3.hold, m2 = n3.bits, f2 = n3.lencode, g2 = n3.distcode, b2 = (1 << n3.lenbits) - 1, y2 = (1 << n3.distbits) - 1;
|
|
94480
94516
|
e:
|
|
@@ -94563,8 +94599,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94563
94599
|
}
|
|
94564
94600
|
} while (r3 < o3 && i3 < s3);
|
|
94565
94601
|
r3 -= v2 = m2 >> 3, p2 &= (1 << (m2 -= v2 << 3)) - 1, e3.next_in = r3, e3.next_out = i3, e3.avail_in = r3 < o3 ? o3 - r3 + 5 : 5 - (r3 - o3), e3.avail_out = i3 < s3 ? s3 - i3 + 257 : 257 - (i3 - s3), n3.hold = p2, n3.bits = m2;
|
|
94566
|
-
},
|
|
94567
|
-
var l2, c2, u2, h2, d2, p2, m2, f2, g2, b2 = s3.bits, y2 = 0, k2 = 0, w2 = 0, v2 = 0, x2 = 0, _2 = 0, S2 = 0, C2 = 0, z2 = 0, A2 = 0, T2 = null, O2 = 0, L2 = new
|
|
94602
|
+
}, lh = function(e3, t3, n3, r3, o3, i3, a3, s3) {
|
|
94603
|
+
var l2, c2, u2, h2, d2, p2, m2, f2, g2, b2 = s3.bits, y2 = 0, k2 = 0, w2 = 0, v2 = 0, x2 = 0, _2 = 0, S2 = 0, C2 = 0, z2 = 0, A2 = 0, T2 = null, O2 = 0, L2 = new Ju.Buf16(16), E2 = new Ju.Buf16(16), R2 = null, N2 = 0;
|
|
94568
94604
|
for (y2 = 0; y2 <= 15; y2++)
|
|
94569
94605
|
L2[y2] = 0;
|
|
94570
94606
|
for (k2 = 0; k2 < r3; k2++)
|
|
@@ -94584,7 +94620,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94584
94620
|
E2[y2 + 1] = E2[y2] + L2[y2];
|
|
94585
94621
|
for (k2 = 0; k2 < r3; k2++)
|
|
94586
94622
|
0 !== t3[n3 + k2] && (a3[E2[t3[n3 + k2]]++] = k2);
|
|
94587
|
-
if (0 === e3 ? (T2 = R2 = a3, p2 = 19) : 1 === e3 ? (T2 =
|
|
94623
|
+
if (0 === e3 ? (T2 = R2 = a3, p2 = 19) : 1 === e3 ? (T2 = eh, O2 -= 257, R2 = th, N2 -= 257, p2 = 256) : (T2 = nh, R2 = rh, p2 = -1), A2 = 0, k2 = 0, y2 = w2, d2 = i3, _2 = x2, S2 = 0, u2 = -1, h2 = (z2 = 1 << x2) - 1, 1 === e3 && z2 > 852 || 2 === e3 && z2 > 592)
|
|
94588
94624
|
return 1;
|
|
94589
94625
|
for (; ; ) {
|
|
94590
94626
|
m2 = y2 - S2, a3[k2] < p2 ? (f2 = 0, g2 = a3[k2]) : a3[k2] > p2 ? (f2 = R2[N2 + a3[k2]], g2 = T2[O2 + a3[k2]]) : (f2 = 96, g2 = 0), l2 = 1 << y2 - S2, w2 = c2 = 1 << _2;
|
|
@@ -94607,34 +94643,34 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94607
94643
|
}
|
|
94608
94644
|
}
|
|
94609
94645
|
return 0 !== A2 && (o3[d2 + A2] = y2 - S2 << 24 | 64 << 16 | 0), s3.bits = x2, 0;
|
|
94610
|
-
},
|
|
94611
|
-
function
|
|
94646
|
+
}, ch = 0, uh = -2, hh = 1, dh = 12, ph = 30, mh = 852, fh = 592;
|
|
94647
|
+
function gh(e3) {
|
|
94612
94648
|
return (e3 >>> 24 & 255) + (e3 >>> 8 & 65280) + ((65280 & e3) << 8) + ((255 & e3) << 24);
|
|
94613
94649
|
}
|
|
94614
|
-
function
|
|
94615
|
-
this.mode = 0, this.last = false, this.wrap = 0, this.havedict = false, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new
|
|
94650
|
+
function bh() {
|
|
94651
|
+
this.mode = 0, this.last = false, this.wrap = 0, this.havedict = false, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new oh.Buf16(320), this.work = new oh.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
|
|
94616
94652
|
}
|
|
94617
|
-
function
|
|
94653
|
+
function yh(e3) {
|
|
94618
94654
|
var t3;
|
|
94619
|
-
return e3 && e3.state ? (t3 = e3.state, e3.total_in = e3.total_out = t3.total = 0, e3.msg = "", t3.wrap && (e3.adler = 1 & t3.wrap), t3.mode =
|
|
94655
|
+
return e3 && e3.state ? (t3 = e3.state, e3.total_in = e3.total_out = t3.total = 0, e3.msg = "", t3.wrap && (e3.adler = 1 & t3.wrap), t3.mode = hh, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new oh.Buf32(mh), t3.distcode = t3.distdyn = new oh.Buf32(fh), t3.sane = 1, t3.back = -1, ch) : uh;
|
|
94620
94656
|
}
|
|
94621
|
-
function
|
|
94657
|
+
function kh(e3) {
|
|
94622
94658
|
var t3;
|
|
94623
|
-
return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0,
|
|
94659
|
+
return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, yh(e3)) : uh;
|
|
94624
94660
|
}
|
|
94625
|
-
function
|
|
94661
|
+
function wh(e3, t3) {
|
|
94626
94662
|
var n3, r3;
|
|
94627
|
-
return e3 && e3.state ? (r3 = e3.state, t3 < 0 ? (n3 = 0, t3 = -t3) : (n3 = 1 + (t3 >> 4), t3 < 48 && (t3 &= 15)), t3 && (t3 < 8 || t3 > 15) ?
|
|
94663
|
+
return e3 && e3.state ? (r3 = e3.state, t3 < 0 ? (n3 = 0, t3 = -t3) : (n3 = 1 + (t3 >> 4), t3 < 48 && (t3 &= 15)), t3 && (t3 < 8 || t3 > 15) ? uh : (null !== r3.window && r3.wbits !== t3 && (r3.window = null), r3.wrap = n3, r3.wbits = t3, kh(e3))) : uh;
|
|
94628
94664
|
}
|
|
94629
|
-
function
|
|
94665
|
+
function vh(e3, t3) {
|
|
94630
94666
|
var n3, r3;
|
|
94631
|
-
return e3 ? (r3 = new
|
|
94667
|
+
return e3 ? (r3 = new bh(), e3.state = r3, r3.window = null, (n3 = wh(e3, t3)) !== ch && (e3.state = null), n3) : uh;
|
|
94632
94668
|
}
|
|
94633
|
-
var
|
|
94634
|
-
function
|
|
94635
|
-
if (
|
|
94669
|
+
var xh, _h, Sh = true;
|
|
94670
|
+
function Ch(e3) {
|
|
94671
|
+
if (Sh) {
|
|
94636
94672
|
var t3;
|
|
94637
|
-
for (
|
|
94673
|
+
for (xh = new oh.Buf32(512), _h = new oh.Buf32(32), t3 = 0; t3 < 144; )
|
|
94638
94674
|
e3.lens[t3++] = 8;
|
|
94639
94675
|
for (; t3 < 256; )
|
|
94640
94676
|
e3.lens[t3++] = 9;
|
|
@@ -94642,27 +94678,27 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94642
94678
|
e3.lens[t3++] = 7;
|
|
94643
94679
|
for (; t3 < 288; )
|
|
94644
94680
|
e3.lens[t3++] = 8;
|
|
94645
|
-
for (
|
|
94681
|
+
for (lh(1, e3.lens, 0, 288, xh, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; )
|
|
94646
94682
|
e3.lens[t3++] = 5;
|
|
94647
|
-
|
|
94683
|
+
lh(2, e3.lens, 0, 32, _h, 0, e3.work, { bits: 5 }), Sh = false;
|
|
94648
94684
|
}
|
|
94649
|
-
e3.lencode =
|
|
94685
|
+
e3.lencode = xh, e3.lenbits = 9, e3.distcode = _h, e3.distbits = 5;
|
|
94650
94686
|
}
|
|
94651
|
-
function
|
|
94687
|
+
function zh(e3, t3, n3, r3) {
|
|
94652
94688
|
var o3, i3 = e3.state;
|
|
94653
|
-
return null === i3.window && (i3.wsize = 1 << i3.wbits, i3.wnext = 0, i3.whave = 0, i3.window = new
|
|
94689
|
+
return null === i3.window && (i3.wsize = 1 << i3.wbits, i3.wnext = 0, i3.whave = 0, i3.window = new oh.Buf8(i3.wsize)), r3 >= i3.wsize ? (oh.arraySet(i3.window, t3, n3 - i3.wsize, i3.wsize, 0), i3.wnext = 0, i3.whave = i3.wsize) : ((o3 = i3.wsize - i3.wnext) > r3 && (o3 = r3), oh.arraySet(i3.window, t3, n3 - r3, o3, i3.wnext), (r3 -= o3) ? (oh.arraySet(i3.window, t3, n3 - r3, r3, 0), i3.wnext = r3, i3.whave = i3.wsize) : (i3.wnext += o3, i3.wnext === i3.wsize && (i3.wnext = 0), i3.whave < i3.wsize && (i3.whave += o3))), 0;
|
|
94654
94690
|
}
|
|
94655
|
-
|
|
94656
|
-
return
|
|
94657
|
-
},
|
|
94658
|
-
var n3, r3, o3, i3, a3, s3, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, _2, S2, C2, z2 = 0, A2 = new
|
|
94691
|
+
Qu.inflateReset = kh, Qu.inflateReset2 = wh, Qu.inflateResetKeep = yh, Qu.inflateInit = function(e3) {
|
|
94692
|
+
return vh(e3, 15);
|
|
94693
|
+
}, Qu.inflateInit2 = vh, Qu.inflate = function(e3, t3) {
|
|
94694
|
+
var n3, r3, o3, i3, a3, s3, l2, c2, u2, h2, d2, p2, m2, f2, g2, b2, y2, k2, w2, v2, x2, _2, S2, C2, z2 = 0, A2 = new oh.Buf8(4), T2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
94659
94695
|
if (!e3 || !e3.state || !e3.output || !e3.input && 0 !== e3.avail_in)
|
|
94660
|
-
return
|
|
94661
|
-
(n3 = e3.state).mode ===
|
|
94696
|
+
return uh;
|
|
94697
|
+
(n3 = e3.state).mode === dh && (n3.mode = 13), a3 = e3.next_out, o3 = e3.output, l2 = e3.avail_out, i3 = e3.next_in, r3 = e3.input, s3 = e3.avail_in, c2 = n3.hold, u2 = n3.bits, h2 = s3, d2 = l2, _2 = ch;
|
|
94662
94698
|
e:
|
|
94663
94699
|
for (; ; )
|
|
94664
94700
|
switch (n3.mode) {
|
|
94665
|
-
case
|
|
94701
|
+
case hh:
|
|
94666
94702
|
if (0 === n3.wrap) {
|
|
94667
94703
|
n3.mode = 13;
|
|
94668
94704
|
break;
|
|
@@ -94673,24 +94709,24 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94673
94709
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94674
94710
|
}
|
|
94675
94711
|
if (2 & n3.wrap && 35615 === c2) {
|
|
94676
|
-
n3.check = 0, A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check =
|
|
94712
|
+
n3.check = 0, A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0), c2 = 0, u2 = 0, n3.mode = 2;
|
|
94677
94713
|
break;
|
|
94678
94714
|
}
|
|
94679
94715
|
if (n3.flags = 0, n3.head && (n3.head.done = false), !(1 & n3.wrap) || (((255 & c2) << 8) + (c2 >> 8)) % 31) {
|
|
94680
|
-
e3.msg = "incorrect header check", n3.mode =
|
|
94716
|
+
e3.msg = "incorrect header check", n3.mode = ph;
|
|
94681
94717
|
break;
|
|
94682
94718
|
}
|
|
94683
94719
|
if (8 != (15 & c2)) {
|
|
94684
|
-
e3.msg = "unknown compression method", n3.mode =
|
|
94720
|
+
e3.msg = "unknown compression method", n3.mode = ph;
|
|
94685
94721
|
break;
|
|
94686
94722
|
}
|
|
94687
94723
|
if (u2 -= 4, x2 = 8 + (15 & (c2 >>>= 4)), 0 === n3.wbits)
|
|
94688
94724
|
n3.wbits = x2;
|
|
94689
94725
|
else if (x2 > n3.wbits) {
|
|
94690
|
-
e3.msg = "invalid window size", n3.mode =
|
|
94726
|
+
e3.msg = "invalid window size", n3.mode = ph;
|
|
94691
94727
|
break;
|
|
94692
94728
|
}
|
|
94693
|
-
n3.dmax = 1 << x2, e3.adler = n3.check = 1, n3.mode = 512 & c2 ? 10 :
|
|
94729
|
+
n3.dmax = 1 << x2, e3.adler = n3.check = 1, n3.mode = 512 & c2 ? 10 : dh, c2 = 0, u2 = 0;
|
|
94694
94730
|
break;
|
|
94695
94731
|
case 2:
|
|
94696
94732
|
for (; u2 < 16; ) {
|
|
@@ -94699,28 +94735,28 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94699
94735
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94700
94736
|
}
|
|
94701
94737
|
if (n3.flags = c2, 8 != (255 & n3.flags)) {
|
|
94702
|
-
e3.msg = "unknown compression method", n3.mode =
|
|
94738
|
+
e3.msg = "unknown compression method", n3.mode = ph;
|
|
94703
94739
|
break;
|
|
94704
94740
|
}
|
|
94705
94741
|
if (57344 & n3.flags) {
|
|
94706
|
-
e3.msg = "unknown header flags set", n3.mode =
|
|
94742
|
+
e3.msg = "unknown header flags set", n3.mode = ph;
|
|
94707
94743
|
break;
|
|
94708
94744
|
}
|
|
94709
|
-
n3.head && (n3.head.text = c2 >> 8 & 1), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check =
|
|
94745
|
+
n3.head && (n3.head.text = c2 >> 8 & 1), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 3;
|
|
94710
94746
|
case 3:
|
|
94711
94747
|
for (; u2 < 32; ) {
|
|
94712
94748
|
if (0 === s3)
|
|
94713
94749
|
break e;
|
|
94714
94750
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94715
94751
|
}
|
|
94716
|
-
n3.head && (n3.head.time = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, A2[2] = c2 >>> 16 & 255, A2[3] = c2 >>> 24 & 255, n3.check =
|
|
94752
|
+
n3.head && (n3.head.time = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, A2[2] = c2 >>> 16 & 255, A2[3] = c2 >>> 24 & 255, n3.check = ah(n3.check, A2, 4, 0)), c2 = 0, u2 = 0, n3.mode = 4;
|
|
94717
94753
|
case 4:
|
|
94718
94754
|
for (; u2 < 16; ) {
|
|
94719
94755
|
if (0 === s3)
|
|
94720
94756
|
break e;
|
|
94721
94757
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94722
94758
|
}
|
|
94723
|
-
n3.head && (n3.head.xflags = 255 & c2, n3.head.os = c2 >> 8), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check =
|
|
94759
|
+
n3.head && (n3.head.xflags = 255 & c2, n3.head.os = c2 >> 8), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 5;
|
|
94724
94760
|
case 5:
|
|
94725
94761
|
if (1024 & n3.flags) {
|
|
94726
94762
|
for (; u2 < 16; ) {
|
|
@@ -94728,12 +94764,12 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94728
94764
|
break e;
|
|
94729
94765
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94730
94766
|
}
|
|
94731
|
-
n3.length = c2, n3.head && (n3.head.extra_len = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check =
|
|
94767
|
+
n3.length = c2, n3.head && (n3.head.extra_len = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ah(n3.check, A2, 2, 0)), c2 = 0, u2 = 0;
|
|
94732
94768
|
} else
|
|
94733
94769
|
n3.head && (n3.head.extra = null);
|
|
94734
94770
|
n3.mode = 6;
|
|
94735
94771
|
case 6:
|
|
94736
|
-
if (1024 & n3.flags && ((p2 = n3.length) > s3 && (p2 = s3), p2 && (n3.head && (x2 = n3.head.extra_len - n3.length, n3.head.extra || (n3.head.extra = new Array(n3.head.extra_len)),
|
|
94772
|
+
if (1024 & n3.flags && ((p2 = n3.length) > s3 && (p2 = s3), p2 && (n3.head && (x2 = n3.head.extra_len - n3.length, n3.head.extra || (n3.head.extra = new Array(n3.head.extra_len)), oh.arraySet(n3.head.extra, r3, i3, p2, x2)), 512 & n3.flags && (n3.check = ah(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, n3.length -= p2), n3.length))
|
|
94737
94773
|
break e;
|
|
94738
94774
|
n3.length = 0, n3.mode = 7;
|
|
94739
94775
|
case 7:
|
|
@@ -94744,7 +94780,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94744
94780
|
do {
|
|
94745
94781
|
x2 = r3[i3 + p2++], n3.head && x2 && n3.length < 65536 && (n3.head.name += String.fromCharCode(x2));
|
|
94746
94782
|
} while (x2 && p2 < s3);
|
|
94747
|
-
if (512 & n3.flags && (n3.check =
|
|
94783
|
+
if (512 & n3.flags && (n3.check = ah(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
|
|
94748
94784
|
break e;
|
|
94749
94785
|
} else
|
|
94750
94786
|
n3.head && (n3.head.name = null);
|
|
@@ -94757,7 +94793,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94757
94793
|
do {
|
|
94758
94794
|
x2 = r3[i3 + p2++], n3.head && x2 && n3.length < 65536 && (n3.head.comment += String.fromCharCode(x2));
|
|
94759
94795
|
} while (x2 && p2 < s3);
|
|
94760
|
-
if (512 & n3.flags && (n3.check =
|
|
94796
|
+
if (512 & n3.flags && (n3.check = ah(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
|
|
94761
94797
|
break e;
|
|
94762
94798
|
} else
|
|
94763
94799
|
n3.head && (n3.head.comment = null);
|
|
@@ -94770,12 +94806,12 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94770
94806
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94771
94807
|
}
|
|
94772
94808
|
if (c2 !== (65535 & n3.check)) {
|
|
94773
|
-
e3.msg = "header crc mismatch", n3.mode =
|
|
94809
|
+
e3.msg = "header crc mismatch", n3.mode = ph;
|
|
94774
94810
|
break;
|
|
94775
94811
|
}
|
|
94776
94812
|
c2 = 0, u2 = 0;
|
|
94777
94813
|
}
|
|
94778
|
-
n3.head && (n3.head.hcrc = n3.flags >> 9 & 1, n3.head.done = true), e3.adler = n3.check = 0, n3.mode =
|
|
94814
|
+
n3.head && (n3.head.hcrc = n3.flags >> 9 & 1, n3.head.done = true), e3.adler = n3.check = 0, n3.mode = dh;
|
|
94779
94815
|
break;
|
|
94780
94816
|
case 10:
|
|
94781
94817
|
for (; u2 < 32; ) {
|
|
@@ -94783,12 +94819,12 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94783
94819
|
break e;
|
|
94784
94820
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94785
94821
|
}
|
|
94786
|
-
e3.adler = n3.check =
|
|
94822
|
+
e3.adler = n3.check = gh(c2), c2 = 0, u2 = 0, n3.mode = 11;
|
|
94787
94823
|
case 11:
|
|
94788
94824
|
if (0 === n3.havedict)
|
|
94789
94825
|
return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, 2;
|
|
94790
|
-
e3.adler = n3.check = 1, n3.mode =
|
|
94791
|
-
case
|
|
94826
|
+
e3.adler = n3.check = 1, n3.mode = dh;
|
|
94827
|
+
case dh:
|
|
94792
94828
|
if (5 === t3 || 6 === t3)
|
|
94793
94829
|
break e;
|
|
94794
94830
|
case 13:
|
|
@@ -94806,7 +94842,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94806
94842
|
n3.mode = 14;
|
|
94807
94843
|
break;
|
|
94808
94844
|
case 1:
|
|
94809
|
-
if (
|
|
94845
|
+
if (Ch(n3), n3.mode = 20, 6 === t3) {
|
|
94810
94846
|
c2 >>>= 2, u2 -= 2;
|
|
94811
94847
|
break e;
|
|
94812
94848
|
}
|
|
@@ -94815,7 +94851,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94815
94851
|
n3.mode = 17;
|
|
94816
94852
|
break;
|
|
94817
94853
|
case 3:
|
|
94818
|
-
e3.msg = "invalid block type", n3.mode =
|
|
94854
|
+
e3.msg = "invalid block type", n3.mode = ph;
|
|
94819
94855
|
}
|
|
94820
94856
|
c2 >>>= 2, u2 -= 2;
|
|
94821
94857
|
break;
|
|
@@ -94826,7 +94862,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94826
94862
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94827
94863
|
}
|
|
94828
94864
|
if ((65535 & c2) != (c2 >>> 16 ^ 65535)) {
|
|
94829
|
-
e3.msg = "invalid stored block lengths", n3.mode =
|
|
94865
|
+
e3.msg = "invalid stored block lengths", n3.mode = ph;
|
|
94830
94866
|
break;
|
|
94831
94867
|
}
|
|
94832
94868
|
if (n3.length = 65535 & c2, c2 = 0, u2 = 0, n3.mode = 15, 6 === t3)
|
|
@@ -94837,10 +94873,10 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94837
94873
|
if (p2 = n3.length) {
|
|
94838
94874
|
if (p2 > s3 && (p2 = s3), p2 > l2 && (p2 = l2), 0 === p2)
|
|
94839
94875
|
break e;
|
|
94840
|
-
|
|
94876
|
+
oh.arraySet(o3, r3, i3, p2, a3), s3 -= p2, i3 += p2, l2 -= p2, a3 += p2, n3.length -= p2;
|
|
94841
94877
|
break;
|
|
94842
94878
|
}
|
|
94843
|
-
n3.mode =
|
|
94879
|
+
n3.mode = dh;
|
|
94844
94880
|
break;
|
|
94845
94881
|
case 17:
|
|
94846
94882
|
for (; u2 < 14; ) {
|
|
@@ -94849,7 +94885,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94849
94885
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94850
94886
|
}
|
|
94851
94887
|
if (n3.nlen = 257 + (31 & c2), c2 >>>= 5, u2 -= 5, n3.ndist = 1 + (31 & c2), c2 >>>= 5, u2 -= 5, n3.ncode = 4 + (15 & c2), c2 >>>= 4, u2 -= 4, n3.nlen > 286 || n3.ndist > 30) {
|
|
94852
|
-
e3.msg = "too many length or distance symbols", n3.mode =
|
|
94888
|
+
e3.msg = "too many length or distance symbols", n3.mode = ph;
|
|
94853
94889
|
break;
|
|
94854
94890
|
}
|
|
94855
94891
|
n3.have = 0, n3.mode = 18;
|
|
@@ -94864,8 +94900,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94864
94900
|
}
|
|
94865
94901
|
for (; n3.have < 19; )
|
|
94866
94902
|
n3.lens[T2[n3.have++]] = 0;
|
|
94867
|
-
if (n3.lencode = n3.lendyn, n3.lenbits = 7, S2 = { bits: n3.lenbits }, _2 =
|
|
94868
|
-
e3.msg = "invalid code lengths set", n3.mode =
|
|
94903
|
+
if (n3.lencode = n3.lendyn, n3.lenbits = 7, S2 = { bits: n3.lenbits }, _2 = lh(0, n3.lens, 0, 19, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
|
|
94904
|
+
e3.msg = "invalid code lengths set", n3.mode = ph;
|
|
94869
94905
|
break;
|
|
94870
94906
|
}
|
|
94871
94907
|
n3.have = 0, n3.mode = 19;
|
|
@@ -94886,7 +94922,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94886
94922
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
94887
94923
|
}
|
|
94888
94924
|
if (c2 >>>= g2, u2 -= g2, 0 === n3.have) {
|
|
94889
|
-
e3.msg = "invalid bit length repeat", n3.mode =
|
|
94925
|
+
e3.msg = "invalid bit length repeat", n3.mode = ph;
|
|
94890
94926
|
break;
|
|
94891
94927
|
}
|
|
94892
94928
|
x2 = n3.lens[n3.have - 1], p2 = 3 + (3 & c2), c2 >>>= 2, u2 -= 2;
|
|
@@ -94906,25 +94942,25 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94906
94942
|
u2 -= g2, x2 = 0, p2 = 11 + (127 & (c2 >>>= g2)), c2 >>>= 7, u2 -= 7;
|
|
94907
94943
|
}
|
|
94908
94944
|
if (n3.have + p2 > n3.nlen + n3.ndist) {
|
|
94909
|
-
e3.msg = "invalid bit length repeat", n3.mode =
|
|
94945
|
+
e3.msg = "invalid bit length repeat", n3.mode = ph;
|
|
94910
94946
|
break;
|
|
94911
94947
|
}
|
|
94912
94948
|
for (; p2--; )
|
|
94913
94949
|
n3.lens[n3.have++] = x2;
|
|
94914
94950
|
}
|
|
94915
94951
|
}
|
|
94916
|
-
if (n3.mode ===
|
|
94952
|
+
if (n3.mode === ph)
|
|
94917
94953
|
break;
|
|
94918
94954
|
if (0 === n3.lens[256]) {
|
|
94919
|
-
e3.msg = "invalid code -- missing end-of-block", n3.mode =
|
|
94955
|
+
e3.msg = "invalid code -- missing end-of-block", n3.mode = ph;
|
|
94920
94956
|
break;
|
|
94921
94957
|
}
|
|
94922
|
-
if (n3.lenbits = 9, S2 = { bits: n3.lenbits }, _2 =
|
|
94923
|
-
e3.msg = "invalid literal/lengths set", n3.mode =
|
|
94958
|
+
if (n3.lenbits = 9, S2 = { bits: n3.lenbits }, _2 = lh(1, n3.lens, 0, n3.nlen, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
|
|
94959
|
+
e3.msg = "invalid literal/lengths set", n3.mode = ph;
|
|
94924
94960
|
break;
|
|
94925
94961
|
}
|
|
94926
|
-
if (n3.distbits = 6, n3.distcode = n3.distdyn, S2 = { bits: n3.distbits }, _2 =
|
|
94927
|
-
e3.msg = "invalid distances set", n3.mode =
|
|
94962
|
+
if (n3.distbits = 6, n3.distcode = n3.distdyn, S2 = { bits: n3.distbits }, _2 = lh(2, n3.lens, n3.nlen, n3.ndist, n3.distcode, 0, n3.work, S2), n3.distbits = S2.bits, _2) {
|
|
94963
|
+
e3.msg = "invalid distances set", n3.mode = ph;
|
|
94928
94964
|
break;
|
|
94929
94965
|
}
|
|
94930
94966
|
if (n3.mode = 20, 6 === t3)
|
|
@@ -94933,7 +94969,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94933
94969
|
n3.mode = 21;
|
|
94934
94970
|
case 21:
|
|
94935
94971
|
if (s3 >= 6 && l2 >= 258) {
|
|
94936
|
-
e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2,
|
|
94972
|
+
e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, sh(e3, d2), a3 = e3.next_out, o3 = e3.output, l2 = e3.avail_out, i3 = e3.next_in, r3 = e3.input, s3 = e3.avail_in, c2 = n3.hold, u2 = n3.bits, n3.mode === dh && (n3.back = -1);
|
|
94937
94973
|
break;
|
|
94938
94974
|
}
|
|
94939
94975
|
for (n3.back = 0; b2 = (z2 = n3.lencode[c2 & (1 << n3.lenbits) - 1]) >>> 16 & 255, y2 = 65535 & z2, !((g2 = z2 >>> 24) <= u2); ) {
|
|
@@ -94954,11 +94990,11 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94954
94990
|
break;
|
|
94955
94991
|
}
|
|
94956
94992
|
if (32 & b2) {
|
|
94957
|
-
n3.back = -1, n3.mode =
|
|
94993
|
+
n3.back = -1, n3.mode = dh;
|
|
94958
94994
|
break;
|
|
94959
94995
|
}
|
|
94960
94996
|
if (64 & b2) {
|
|
94961
|
-
e3.msg = "invalid literal/length code", n3.mode =
|
|
94997
|
+
e3.msg = "invalid literal/length code", n3.mode = ph;
|
|
94962
94998
|
break;
|
|
94963
94999
|
}
|
|
94964
95000
|
n3.extra = 15 & b2, n3.mode = 22;
|
|
@@ -94987,7 +95023,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
94987
95023
|
c2 >>>= k2, u2 -= k2, n3.back += k2;
|
|
94988
95024
|
}
|
|
94989
95025
|
if (c2 >>>= g2, u2 -= g2, n3.back += g2, 64 & b2) {
|
|
94990
|
-
e3.msg = "invalid distance code", n3.mode =
|
|
95026
|
+
e3.msg = "invalid distance code", n3.mode = ph;
|
|
94991
95027
|
break;
|
|
94992
95028
|
}
|
|
94993
95029
|
n3.offset = y2, n3.extra = 15 & b2, n3.mode = 24;
|
|
@@ -95001,7 +95037,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
95001
95037
|
n3.offset += c2 & (1 << n3.extra) - 1, c2 >>>= n3.extra, u2 -= n3.extra, n3.back += n3.extra;
|
|
95002
95038
|
}
|
|
95003
95039
|
if (n3.offset > n3.dmax) {
|
|
95004
|
-
e3.msg = "invalid distance too far back", n3.mode =
|
|
95040
|
+
e3.msg = "invalid distance too far back", n3.mode = ph;
|
|
95005
95041
|
break;
|
|
95006
95042
|
}
|
|
95007
95043
|
n3.mode = 25;
|
|
@@ -95010,7 +95046,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
95010
95046
|
break e;
|
|
95011
95047
|
if (p2 = d2 - l2, n3.offset > p2) {
|
|
95012
95048
|
if ((p2 = n3.offset - p2) > n3.whave && n3.sane) {
|
|
95013
|
-
e3.msg = "invalid distance too far back", n3.mode =
|
|
95049
|
+
e3.msg = "invalid distance too far back", n3.mode = ph;
|
|
95014
95050
|
break;
|
|
95015
95051
|
}
|
|
95016
95052
|
p2 > n3.wnext ? (p2 -= n3.wnext, m2 = n3.wsize - p2) : m2 = n3.wnext - p2, p2 > n3.length && (p2 = n3.length), f2 = n3.window;
|
|
@@ -95034,8 +95070,8 @@ var require_processPagePollCjs = __commonJS({
|
|
|
95034
95070
|
break e;
|
|
95035
95071
|
s3--, c2 |= r3[i3++] << u2, u2 += 8;
|
|
95036
95072
|
}
|
|
95037
|
-
if (d2 -= l2, e3.total_out += d2, n3.total += d2, d2 && (e3.adler = n3.check = n3.flags ?
|
|
95038
|
-
e3.msg = "incorrect data check", n3.mode =
|
|
95073
|
+
if (d2 -= l2, e3.total_out += d2, n3.total += d2, d2 && (e3.adler = n3.check = n3.flags ? ah(n3.check, o3, d2, a3 - d2) : ih(n3.check, o3, d2, a3 - d2)), d2 = l2, (n3.flags ? c2 : gh(c2)) !== n3.check) {
|
|
95074
|
+
e3.msg = "incorrect data check", n3.mode = ph;
|
|
95039
95075
|
break;
|
|
95040
95076
|
}
|
|
95041
95077
|
c2 = 0, u2 = 0;
|
|
@@ -95049,7 +95085,7 @@ var require_processPagePollCjs = __commonJS({
|
|
|
95049
95085
|
s3--, c2 += r3[i3++] << u2, u2 += 8;
|
|
95050
95086
|
}
|
|
95051
95087
|
if (c2 !== (4294967295 & n3.total)) {
|
|
95052
|
-
e3.msg = "incorrect length check", n3.mode =
|
|
95088
|
+
e3.msg = "incorrect length check", n3.mode = ph;
|
|
95053
95089
|
break;
|
|
95054
95090
|
}
|
|
95055
95091
|
c2 = 0, u2 = 0;
|
|
@@ -95058,72 +95094,72 @@ var require_processPagePollCjs = __commonJS({
|
|
|
95058
95094
|
case 29:
|
|
95059
95095
|
_2 = 1;
|
|
95060
95096
|
break e;
|
|
95061
|
-
case
|
|
95097
|
+
case ph:
|
|
95062
95098
|
_2 = -3;
|
|
95063
95099
|
break e;
|
|
95064
95100
|
case 31:
|
|
95065
95101
|
return -4;
|
|
95066
95102
|
default:
|
|
95067
|
-
return
|
|
95103
|
+
return uh;
|
|
95068
95104
|
}
|
|
95069
|
-
return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, (n3.wsize || d2 !== e3.avail_out && n3.mode <
|
|
95070
|
-
},
|
|
95105
|
+
return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, (n3.wsize || d2 !== e3.avail_out && n3.mode < ph && (n3.mode < 27 || 4 !== t3)) && zh(e3, e3.output, e3.next_out, d2 - e3.avail_out), h2 -= e3.avail_in, d2 -= e3.avail_out, e3.total_in += h2, e3.total_out += d2, n3.total += d2, n3.wrap && d2 && (e3.adler = n3.check = n3.flags ? ah(n3.check, o3, d2, e3.next_out - d2) : ih(n3.check, o3, d2, e3.next_out - d2)), e3.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === dh ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t3) && _2 === ch && (_2 = -5), _2;
|
|
95106
|
+
}, Qu.inflateEnd = function(e3) {
|
|
95071
95107
|
if (!e3 || !e3.state)
|
|
95072
|
-
return
|
|
95108
|
+
return uh;
|
|
95073
95109
|
var t3 = e3.state;
|
|
95074
|
-
return t3.window && (t3.window = null), e3.state = null,
|
|
95075
|
-
},
|
|
95110
|
+
return t3.window && (t3.window = null), e3.state = null, ch;
|
|
95111
|
+
}, Qu.inflateGetHeader = function(e3, t3) {
|
|
95076
95112
|
var n3;
|
|
95077
|
-
return e3 && e3.state ? 0 == (2 & (n3 = e3.state).wrap) ?
|
|
95078
|
-
},
|
|
95113
|
+
return e3 && e3.state ? 0 == (2 & (n3 = e3.state).wrap) ? uh : (n3.head = t3, t3.done = false, ch) : uh;
|
|
95114
|
+
}, Qu.inflateSetDictionary = function(e3, t3) {
|
|
95079
95115
|
var n3, r3 = t3.length;
|
|
95080
|
-
return e3 && e3.state ? 0 !== (n3 = e3.state).wrap && 11 !== n3.mode ?
|
|
95081
|
-
},
|
|
95082
|
-
var
|
|
95116
|
+
return e3 && e3.state ? 0 !== (n3 = e3.state).wrap && 11 !== n3.mode ? uh : 11 === n3.mode && ih(1, t3, r3, 0) !== n3.check ? -3 : zh(e3, t3, r3, r3) ? (n3.mode = 31, -4) : (n3.havedict = 1, ch) : uh;
|
|
95117
|
+
}, Qu.inflateInfo = "pako inflate (from Nodeca project)";
|
|
95118
|
+
var Ah = { 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 }, Th = Qu, Oh = ec, Lh = Eu, Eh = Ah, Rh = Zc, Nh = Bu, jh = function() {
|
|
95083
95119
|
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;
|
|
95084
|
-
},
|
|
95085
|
-
function
|
|
95086
|
-
if (!(this instanceof
|
|
95087
|
-
return new
|
|
95088
|
-
this.options =
|
|
95120
|
+
}, Ih = Object.prototype.toString;
|
|
95121
|
+
function Dh(e3) {
|
|
95122
|
+
if (!(this instanceof Dh))
|
|
95123
|
+
return new Dh(e3);
|
|
95124
|
+
this.options = Oh.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e3 || {});
|
|
95089
95125
|
var t3 = this.options;
|
|
95090
|
-
t3.raw && t3.windowBits >= 0 && t3.windowBits < 16 && (t3.windowBits = -t3.windowBits, 0 === t3.windowBits && (t3.windowBits = -15)), !(t3.windowBits >= 0 && t3.windowBits < 16) || e3 && e3.windowBits || (t3.windowBits += 32), t3.windowBits > 15 && t3.windowBits < 48 && 0 == (15 & t3.windowBits) && (t3.windowBits |= 15), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new
|
|
95091
|
-
var n3 =
|
|
95092
|
-
if (n3 !==
|
|
95093
|
-
throw new Error(
|
|
95094
|
-
if (this.header = new
|
|
95095
|
-
throw new Error(
|
|
95096
|
-
}
|
|
95097
|
-
function
|
|
95098
|
-
var n3 = new
|
|
95126
|
+
t3.raw && t3.windowBits >= 0 && t3.windowBits < 16 && (t3.windowBits = -t3.windowBits, 0 === t3.windowBits && (t3.windowBits = -15)), !(t3.windowBits >= 0 && t3.windowBits < 16) || e3 && e3.windowBits || (t3.windowBits += 32), t3.windowBits > 15 && t3.windowBits < 48 && 0 == (15 & t3.windowBits) && (t3.windowBits |= 15), this.err = 0, this.msg = "", this.ended = false, this.chunks = [], this.strm = new Nh(), this.strm.avail_out = 0;
|
|
95127
|
+
var n3 = Th.inflateInit2(this.strm, t3.windowBits);
|
|
95128
|
+
if (n3 !== Eh.Z_OK)
|
|
95129
|
+
throw new Error(Rh[n3]);
|
|
95130
|
+
if (this.header = new jh(), Th.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = Lh.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Ih.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (n3 = Th.inflateSetDictionary(this.strm, t3.dictionary)) !== Eh.Z_OK))
|
|
95131
|
+
throw new Error(Rh[n3]);
|
|
95132
|
+
}
|
|
95133
|
+
function Ph(e3, t3) {
|
|
95134
|
+
var n3 = new Dh(t3);
|
|
95099
95135
|
if (n3.push(e3, true), n3.err)
|
|
95100
|
-
throw n3.msg ||
|
|
95136
|
+
throw n3.msg || Rh[n3.err];
|
|
95101
95137
|
return n3.result;
|
|
95102
95138
|
}
|
|
95103
|
-
|
|
95139
|
+
Dh.prototype.push = function(e3, t3) {
|
|
95104
95140
|
var n3, r3, o3, i3, a3, s3 = this.strm, l2 = this.options.chunkSize, c2 = this.options.dictionary, u2 = false;
|
|
95105
95141
|
if (this.ended)
|
|
95106
95142
|
return false;
|
|
95107
|
-
r3 = t3 === ~~t3 ? t3 : true === t3 ?
|
|
95143
|
+
r3 = t3 === ~~t3 ? t3 : true === t3 ? Eh.Z_FINISH : Eh.Z_NO_FLUSH, "string" == typeof e3 ? s3.input = Lh.binstring2buf(e3) : "[object ArrayBuffer]" === Ih.call(e3) ? s3.input = new Uint8Array(e3) : s3.input = e3, s3.next_in = 0, s3.avail_in = s3.input.length;
|
|
95108
95144
|
do {
|
|
95109
|
-
if (0 === s3.avail_out && (s3.output = new
|
|
95145
|
+
if (0 === s3.avail_out && (s3.output = new Oh.Buf8(l2), s3.next_out = 0, s3.avail_out = l2), (n3 = Th.inflate(s3, Eh.Z_NO_FLUSH)) === Eh.Z_NEED_DICT && c2 && (n3 = Th.inflateSetDictionary(this.strm, c2)), n3 === Eh.Z_BUF_ERROR && true === u2 && (n3 = Eh.Z_OK, u2 = false), n3 !== Eh.Z_STREAM_END && n3 !== Eh.Z_OK)
|
|
95110
95146
|
return this.onEnd(n3), this.ended = true, false;
|
|
95111
|
-
s3.next_out && (0 !== s3.avail_out && n3 !==
|
|
95112
|
-
} while ((s3.avail_in > 0 || 0 === s3.avail_out) && n3 !==
|
|
95113
|
-
return n3 ===
|
|
95114
|
-
},
|
|
95147
|
+
s3.next_out && (0 !== s3.avail_out && n3 !== Eh.Z_STREAM_END && (0 !== s3.avail_in || r3 !== Eh.Z_FINISH && r3 !== Eh.Z_SYNC_FLUSH) || ("string" === this.options.to ? (o3 = Lh.utf8border(s3.output, s3.next_out), i3 = s3.next_out - o3, a3 = Lh.buf2string(s3.output, o3), s3.next_out = i3, s3.avail_out = l2 - i3, i3 && Oh.arraySet(s3.output, s3.output, o3, i3, 0), this.onData(a3)) : this.onData(Oh.shrinkBuf(s3.output, s3.next_out)))), 0 === s3.avail_in && 0 === s3.avail_out && (u2 = true);
|
|
95148
|
+
} while ((s3.avail_in > 0 || 0 === s3.avail_out) && n3 !== Eh.Z_STREAM_END);
|
|
95149
|
+
return n3 === Eh.Z_STREAM_END && (r3 = Eh.Z_FINISH), r3 === Eh.Z_FINISH ? (n3 = Th.inflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Eh.Z_OK) : r3 !== Eh.Z_SYNC_FLUSH || (this.onEnd(Eh.Z_OK), s3.avail_out = 0, true);
|
|
95150
|
+
}, Dh.prototype.onData = function(e3) {
|
|
95115
95151
|
this.chunks.push(e3);
|
|
95116
|
-
},
|
|
95117
|
-
e3 ===
|
|
95118
|
-
},
|
|
95119
|
-
return (t3 = t3 || {}).raw = true,
|
|
95120
|
-
},
|
|
95121
|
-
var
|
|
95122
|
-
(0,
|
|
95123
|
-
var
|
|
95124
|
-
function
|
|
95152
|
+
}, Dh.prototype.onEnd = function(e3) {
|
|
95153
|
+
e3 === Eh.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Oh.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
|
|
95154
|
+
}, Xu.Inflate = Dh, Xu.inflate = Ph, Xu.inflateRaw = function(e3, t3) {
|
|
95155
|
+
return (t3 = t3 || {}).raw = true, Ph(e3, t3);
|
|
95156
|
+
}, Xu.ungzip = Ph;
|
|
95157
|
+
var Bh = {};
|
|
95158
|
+
(0, ec.assign)(Bh, tc, Xu, Ah);
|
|
95159
|
+
var Fh = Bh;
|
|
95160
|
+
function Uh({ type: e3, value: t3, compress: n3, serialize: r3 }) {
|
|
95125
95161
|
const o3 = { type: e3, value: t3 };
|
|
95126
|
-
return n3 && (o3.value =
|
|
95162
|
+
return n3 && (o3.value = Fh.deflate(new Uint8Array(o3.value)), o3.compressed = true), r3 && (o3.value = function(e4) {
|
|
95127
95163
|
const t4 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), n4 = new Uint8Array(e4), r4 = n4.length, o4 = r4 % 3, i3 = [], a3 = 16383;
|
|
95128
95164
|
let s3;
|
|
95129
95165
|
for (let e5 = 0, t5 = r4 - o4; e5 < t5; e5 += a3)
|
|
@@ -95139,38 +95175,38 @@ var require_processPagePollCjs = __commonJS({
|
|
|
95139
95175
|
}
|
|
95140
95176
|
}(o3.value)), o3;
|
|
95141
95177
|
}
|
|
95142
|
-
function
|
|
95178
|
+
function Mh(e3) {
|
|
95143
95179
|
return /^(blob|https?):/.test(e3);
|
|
95144
95180
|
}
|
|
95145
|
-
function
|
|
95181
|
+
function qh(e3) {
|
|
95146
95182
|
const t3 = e3 && e3.match(/(^[^#]*)/), n3 = t3 && t3[1] || e3;
|
|
95147
95183
|
return n3 && n3.replace(/\?\s*$/, "?") || e3;
|
|
95148
95184
|
}
|
|
95149
|
-
const
|
|
95185
|
+
const Wh = (...e3) => {
|
|
95150
95186
|
};
|
|
95151
|
-
function
|
|
95187
|
+
function $h(e3) {
|
|
95152
95188
|
return e3.reduce((e4, t3) => e4.concat(t3), []);
|
|
95153
95189
|
}
|
|
95154
|
-
function
|
|
95190
|
+
function Vh(t3) {
|
|
95155
95191
|
const n3 = new TextDecoder("utf-8").decode(t3), r3 = e2.head || e2.querySelectorAll("head")[0], o3 = e2.createElement("style");
|
|
95156
95192
|
return o3.type = "text/css", o3.setAttribute("data-desc", "Applitools tmp variable created by DOM SNAPSHOT"), r3.appendChild(o3), o3.styleSheet ? o3.styleSheet.cssText = n3 : o3.appendChild(e2.createTextNode(n3)), o3.sheet;
|
|
95157
95193
|
}
|
|
95158
|
-
function
|
|
95194
|
+
function Zh(e3, t3, n3 = Wh) {
|
|
95159
95195
|
let r3;
|
|
95160
95196
|
if (t3)
|
|
95161
95197
|
try {
|
|
95162
95198
|
t3.cssRules, r3 = t3;
|
|
95163
95199
|
} catch (o3) {
|
|
95164
95200
|
n3(`[dom-snapshot] could not access cssRules for ${t3.href} ${o3}
|
|
95165
|
-
creating temp style for access.`), r3 =
|
|
95201
|
+
creating temp style for access.`), r3 = Vh(e3);
|
|
95166
95202
|
}
|
|
95167
95203
|
else
|
|
95168
|
-
r3 =
|
|
95204
|
+
r3 = Vh(e3);
|
|
95169
95205
|
return { corsFreeStyleSheet: r3, cleanStyleSheet: function() {
|
|
95170
95206
|
r3 !== t3 && r3.ownerNode.parentNode.removeChild(r3.ownerNode);
|
|
95171
95207
|
} };
|
|
95172
95208
|
}
|
|
95173
|
-
function
|
|
95209
|
+
function Kh(e3, { log: t3, compress: n3, serialize: r3 }) {
|
|
95174
95210
|
return e3.reduce(async (e4, { url: o3, element: i3, cdtNode: a3 }) => {
|
|
95175
95211
|
const s3 = new Promise(async (e5) => {
|
|
95176
95212
|
try {
|
|
@@ -95189,19 +95225,19 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95189
95225
|
});
|
|
95190
95226
|
return e4.then((e5) => s3.then((t4) => {
|
|
95191
95227
|
if (t4) {
|
|
95192
|
-
const i4 =
|
|
95228
|
+
const i4 = Uh({ type: "image/png", value: t4, compress: n3, serialize: r3 }), a4 = { ...i4, value: i4.value, url: o3 };
|
|
95193
95229
|
e5.push(a4);
|
|
95194
95230
|
}
|
|
95195
95231
|
return e5;
|
|
95196
95232
|
}));
|
|
95197
95233
|
}, Promise.resolve([]));
|
|
95198
95234
|
}
|
|
95199
|
-
const
|
|
95200
|
-
function
|
|
95201
|
-
return e3 &&
|
|
95235
|
+
const Hh = "__process_resource";
|
|
95236
|
+
function Gh(e3) {
|
|
95237
|
+
return e3 && Mh(e3);
|
|
95202
95238
|
}
|
|
95203
95239
|
window[x] = window[x] || {};
|
|
95204
|
-
const
|
|
95240
|
+
const Yh = f(function({ doc: t3 = e2, showLogs: n3, useSessionCache: r3, dontFetchResources: o3, fetchTimeout: i3, skipResources: a3, compressResources: s3, serializeResources: l2, removeReverseProxyURLPrefixes: c2, elements: u2 } = {}) {
|
|
95205
95241
|
if (arguments[0] instanceof Document) {
|
|
95206
95242
|
t3 = arguments[0];
|
|
95207
95243
|
const e3 = arguments[1];
|
|
@@ -95232,7 +95268,7 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95232
95268
|
try {
|
|
95233
95269
|
const e4 = t4 || ("undefined" != typeof window ? window.sessionStorage : void 0);
|
|
95234
95270
|
if (e4) {
|
|
95235
|
-
const t5 = e4.getItem(
|
|
95271
|
+
const t5 = e4.getItem(Hh);
|
|
95236
95272
|
n4 = t5 ? JSON.parse(t5) : {};
|
|
95237
95273
|
}
|
|
95238
95274
|
} catch (t5) {
|
|
@@ -95248,22 +95284,22 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95248
95284
|
}, persist: function() {
|
|
95249
95285
|
if (n4) {
|
|
95250
95286
|
const e4 = t4 || ("undefined" != typeof window ? window.sessionStorage : void 0);
|
|
95251
|
-
e4 && e4.setItem(
|
|
95287
|
+
e4 && e4.setItem(Hh, JSON.stringify(n4));
|
|
95252
95288
|
}
|
|
95253
95289
|
} };
|
|
95254
95290
|
}({ log: h2.log }), p2 = {}, m2 = function({ styleSheetCache: e3, CSSRule: t4 = window.CSSRule, removeReverseProxyURLPrefixes: n4 }) {
|
|
95255
95291
|
return function r4(o4) {
|
|
95256
|
-
return
|
|
95292
|
+
return Ql(Array.from(o4.cssRules || []).reduce((o5, i4) => {
|
|
95257
95293
|
const a4 = { [t4.IMPORT_RULE]: () => {
|
|
95258
95294
|
const t5 = i4;
|
|
95259
95295
|
return t5.styleSheet && (e3[t5.styleSheet.href] = t5.styleSheet, t5.styleSheet.href) ? t5.styleSheet.href : t5.href;
|
|
95260
|
-
}, [t4.FONT_FACE_RULE]: () =>
|
|
95296
|
+
}, [t4.FONT_FACE_RULE]: () => Bl(i4.cssText, { removeReverseProxyURLPrefixes: n4 }), [t4.SUPPORTS_RULE]: () => r4(i4), [t4.MEDIA_RULE]: () => r4(i4), [t4.STYLE_RULE]: () => Fl(i4.style) }[i4.type], s4 = a4 && a4() || [];
|
|
95261
95297
|
return (null == i4 ? void 0 : i4.cssRules) && s4.push(...r4(i4)), o5.concat(s4);
|
|
95262
95298
|
}, [])).filter((e4) => "#" !== e4[0]);
|
|
95263
95299
|
};
|
|
95264
95300
|
}({ styleSheetCache: p2, removeReverseProxyURLPrefixes: Boolean(null == c2 ? void 0 : c2.length) }), f2 = function({ styleSheetCache: e3 }) {
|
|
95265
95301
|
return function(t4, n4) {
|
|
95266
|
-
const r4 =
|
|
95302
|
+
const r4 = $h(n4.map((e4) => {
|
|
95267
95303
|
try {
|
|
95268
95304
|
return Array.from(e4.styleSheets);
|
|
95269
95305
|
} catch (e5) {
|
|
@@ -95271,7 +95307,7 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95271
95307
|
}
|
|
95272
95308
|
}));
|
|
95273
95309
|
return e3[t4] || r4.find((e4) => {
|
|
95274
|
-
const n5 = e4.href &&
|
|
95310
|
+
const n5 = e4.href && qh(e4.href);
|
|
95275
95311
|
return n5 && function(e5) {
|
|
95276
95312
|
const t5 = new URL(e5);
|
|
95277
95313
|
return t5.username && (t5.username = ""), t5.password && (t5.password = ""), t5.href;
|
|
@@ -95280,14 +95316,14 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95280
95316
|
};
|
|
95281
95317
|
}({ styleSheetCache: p2 }), g2 = function(e3) {
|
|
95282
95318
|
return function(t4, n4 = true) {
|
|
95283
|
-
return
|
|
95319
|
+
return Ql(Array.from(t4.querySelectorAll("style")).reduce((r4, o4) => {
|
|
95284
95320
|
const i4 = n4 ? Array.from(t4.styleSheets).find((e4) => e4.ownerNode === o4) : o4.sheet;
|
|
95285
95321
|
return i4 ? r4.concat(e3(i4)) : r4;
|
|
95286
95322
|
}, []));
|
|
95287
95323
|
};
|
|
95288
95324
|
}(m2), b2 = function(e3) {
|
|
95289
95325
|
return function(t4) {
|
|
95290
|
-
return t4.adoptedStyleSheets ?
|
|
95326
|
+
return t4.adoptedStyleSheets ? Ql(t4.adoptedStyleSheets.reduce((t5, n4) => t5.concat(e3(n4)), [])) : [];
|
|
95291
95327
|
};
|
|
95292
95328
|
}(m2), k2 = function({ parser: e3, decoder: t4, extractResourceUrlsFromStyleTags: n4 }) {
|
|
95293
95329
|
return function(r4) {
|
|
@@ -95295,7 +95331,7 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95295
95331
|
const t5 = e4.getAttribute("srcset");
|
|
95296
95332
|
return t5 ? t5.split(", ").map((e5) => e5.trim().split(/\s+/)[0]) : [];
|
|
95297
95333
|
}).reduce((e4, t5) => e4.concat(t5), []), s4 = Array.from(i4.querySelectorAll("img[src]")).map((e4) => e4.getAttribute("src")).filter(Boolean), l3 = Array.from(i4.querySelectorAll('image,use,link[rel="stylesheet"]')).map((e4) => e4.getAttribute("href") || e4.getAttribute("xlink:href")).filter(Boolean), c3 = Array.from(i4.getElementsByTagName("object")).map((e4) => e4.getAttribute("data")).filter(Boolean), u3 = n4(i4, false), h3 = function(e4) {
|
|
95298
|
-
return
|
|
95334
|
+
return $h(Array.from(e4.querySelectorAll("*[style]")).map((e5) => e5.style.cssText).map((e5) => Bl(e5)).filter(Boolean));
|
|
95299
95335
|
}(i4);
|
|
95300
95336
|
return a4.concat(s4).concat(l3).concat(c3).concat(u3).concat(h3).filter((e4) => "#" !== e4[0]);
|
|
95301
95337
|
};
|
|
@@ -95315,13 +95351,13 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95315
95351
|
}).then(i4).catch((e4) => a4(e4));
|
|
95316
95352
|
});
|
|
95317
95353
|
};
|
|
95318
|
-
}({ timeout: i3 }), v2 = function({ fetchUrl: e3, findStyleSheetByUrl: t4, getCorsFreeStyleSheet: n4, extractResourcesFromStyleSheet: r4, extractResourcesFromSvg: o4, sessionCache: i4, cache: a4 = {}, compress: s4, serialize: l3, log: c3 =
|
|
95354
|
+
}({ timeout: i3 }), v2 = function({ fetchUrl: e3, findStyleSheetByUrl: t4, getCorsFreeStyleSheet: n4, extractResourcesFromStyleSheet: r4, extractResourcesFromSvg: o4, sessionCache: i4, cache: a4 = {}, compress: s4, serialize: l3, log: c3 = Wh }) {
|
|
95319
95355
|
return function({ url: u3, documents: h3, getResourceUrlsAndBlobs: d3, forceCreateStyle: p3 = false, skipResources: m3 }) {
|
|
95320
95356
|
if (!a4[u3])
|
|
95321
95357
|
if (i4 && i4.getItem(u3)) {
|
|
95322
95358
|
const e4 = function e5(t5) {
|
|
95323
95359
|
const n5 = i4.getItem(t5);
|
|
95324
|
-
return [t5].concat(n5 ?
|
|
95360
|
+
return [t5].concat(n5 ? Ql($h(n5.map(e5))) : []);
|
|
95325
95361
|
}(u3);
|
|
95326
95362
|
c3("doProcessResource from sessionStorage", u3, "deps:", e4.slice(1)), a4[u3] = Promise.resolve({ resourceUrls: e4 });
|
|
95327
95363
|
} else if (m3 && m3.indexOf(u3) > -1 || /https:\/\/fonts\.googleapis\.com/.test(u3))
|
|
@@ -95356,9 +95392,9 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95356
95392
|
} catch (e5) {
|
|
95357
95393
|
c3("could not parse svg content", e5);
|
|
95358
95394
|
}
|
|
95359
|
-
const v3 = { [e4]:
|
|
95395
|
+
const v3 = { [e4]: Uh({ type: a6, value: f4, compress: s4, serialize: l3 }) };
|
|
95360
95396
|
if (w3) {
|
|
95361
|
-
const t5 = w3.map((t6) => y(t6, e4.replace(/^blob:/, ""))).map(
|
|
95397
|
+
const t5 = w3.map((t6) => y(t6, e4.replace(/^blob:/, ""))).map(qh).filter(Mh);
|
|
95362
95398
|
return t5.length && (v3[e4].dependencies = t5), i4 && i4.setItem(e4, t5), d3({ documents: h3, urls: t5, forceCreateStyle: p3, skipResources: m3 }).then(({ resourceUrls: e5, blobsObj: t6 }) => ({ resourceUrls: e5, blobsObj: Object.assign(t6, v3) }));
|
|
95363
95399
|
}
|
|
95364
95400
|
return i4 && i4.setItem(e4, []), { blobsObj: v3 };
|
|
@@ -95373,11 +95409,11 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95373
95409
|
}), c3("cleared from sessionStorage:", u3);
|
|
95374
95410
|
}
|
|
95375
95411
|
};
|
|
95376
|
-
}({ fetchUrl: w2, findStyleSheetByUrl: f2, getCorsFreeStyleSheet:
|
|
95412
|
+
}({ fetchUrl: w2, findStyleSheetByUrl: f2, getCorsFreeStyleSheet: Zh, extractResourcesFromStyleSheet: m2, extractResourcesFromSvg: k2, log: h2.log, sessionCache: d2, compress: s3, serialize: l2 }), x2 = function({ processResource: e3, aggregateResourceUrlsAndBlobs: t4 }) {
|
|
95377
95413
|
return function n4({ documents: r4, urls: o4, forceCreateStyle: i4 = false, skipResources: a4 }) {
|
|
95378
95414
|
return Promise.all(o4.map((t5) => e3({ url: t5, documents: r4, getResourceUrlsAndBlobs: n4, forceCreateStyle: i4, skipResources: a4 }))).then((e4) => t4(e4));
|
|
95379
95415
|
};
|
|
95380
|
-
}({ processResource: v2, aggregateResourceUrlsAndBlobs:
|
|
95416
|
+
}({ processResource: v2, aggregateResourceUrlsAndBlobs: Jl });
|
|
95381
95417
|
return function t4(n4, r4 = n4.location.href) {
|
|
95382
95418
|
const i4 = function(e3) {
|
|
95383
95419
|
const t5 = e3.querySelectorAll("base")[0] && e3.querySelectorAll("base")[0].href;
|
|
@@ -95465,12 +95501,12 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95465
95501
|
return o4 += e3.length, t6;
|
|
95466
95502
|
});
|
|
95467
95503
|
return i5;
|
|
95468
|
-
}(u2), { cdt: p3, docRoots: m3, canvasElements: f3, frames: k3, inlineFrames: w3, crossFrames: v3, linkUrls: S2, imageBlobs: C2, videoBlobs: z2 } =
|
|
95504
|
+
}(u2), { cdt: p3, docRoots: m3, canvasElements: f3, frames: k3, inlineFrames: w3, crossFrames: v3, linkUrls: S2, imageBlobs: C2, videoBlobs: z2 } = Hl(n4, i4, h2), A2 = $h(m3.map((e3) => g2(e3))), T2 = $h(m3.map((e3) => b2(e3))), O2 = (P2 = i4, function(e3) {
|
|
95469
95505
|
try {
|
|
95470
95506
|
return _(y(e3, P2));
|
|
95471
95507
|
} catch (e4) {
|
|
95472
95508
|
}
|
|
95473
|
-
}), L2 =
|
|
95509
|
+
}), L2 = Ql(Array.from(S2).concat(Array.from(A2)).concat(Array.from(T2))).map((e3) => e3.trim()).reduce((e3, t5) => {
|
|
95474
95510
|
e3.push(t5);
|
|
95475
95511
|
const n5 = function(e4) {
|
|
95476
95512
|
return e4 && e4.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, (e5) => {
|
|
@@ -95479,18 +95515,18 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95479
95515
|
}) || e4;
|
|
95480
95516
|
}(t5);
|
|
95481
95517
|
return n5 !== t5 && e3.push(n5), e3;
|
|
95482
|
-
}, []).map(O2).map(
|
|
95518
|
+
}, []).map(O2).map(qh).filter(Gh), E2 = o3 ? Promise.resolve({ resourceUrls: L2, blobsObj: {} }) : x2({ documents: m3, urls: L2, skipResources: a3 }).then((e3) => (d2 && d2.persist(), e3)), R2 = Kh(f3, { log: h2.log, compress: s3, serialize: l2 }), N2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, log: r5, compress: o4, serialize: i5, sessionCache: a4 }) {
|
|
95483
95519
|
if (!t5.body || 0 === e4.length)
|
|
95484
95520
|
return Promise.resolve([]);
|
|
95485
95521
|
const s4 = new Set(Object.keys(n5)), l3 = e4.filter(({ url: e5 }) => !(s4.has("blob:" + e5) || a4 && a4.getItem("blob:" + e5))), c4 = t5.createElement("canvas");
|
|
95486
95522
|
c4.style.display = "none";
|
|
95487
|
-
const u3 =
|
|
95523
|
+
const u3 = Vl(t5.body);
|
|
95488
95524
|
return u3.appendChild(c4), Promise.all(l3.map(({ element: e5, url: t6, cdtNode: n6 }) => {
|
|
95489
95525
|
try {
|
|
95490
|
-
return c4.width = e5.naturalWidth, c4.height = e5.naturalHeight, c4.getContext("2d").drawImage(
|
|
95526
|
+
return c4.width = e5.naturalWidth, c4.height = e5.naturalHeight, c4.getContext("2d").drawImage(Vl.unwrap(e5), 0, 0), Kh([{ url: t6, element: c4, cdtNode: n6 }], { log: r5, compress: o4, serialize: i5 });
|
|
95491
95527
|
} catch (e6) {
|
|
95492
95528
|
}
|
|
95493
|
-
})).then((e5) =>
|
|
95529
|
+
})).then((e5) => $h(e5)).catch().finally(() => {
|
|
95494
95530
|
u3.removeChild(c4);
|
|
95495
95531
|
});
|
|
95496
95532
|
}(C2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2.log, compress: s3, serialize: l2, sessionCache: d2 })), j2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, compress: r5, serialize: o4, sessionCache: i5 }) {
|
|
@@ -95503,12 +95539,12 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95503
95539
|
const a5 = new MediaRecorder(n6, { mimeType: "video/webm" });
|
|
95504
95540
|
a5.addEventListener("dataavailable", (n7) => {
|
|
95505
95541
|
a5.stop(), e5.pause(), n7.data.arrayBuffer().then((e6) => {
|
|
95506
|
-
const a6 =
|
|
95542
|
+
const a6 = Uh({ type: n7.data.type, value: e6, compress: r5, serialize: o4 });
|
|
95507
95543
|
a6.url = t6, i6(a6);
|
|
95508
95544
|
});
|
|
95509
95545
|
}, { once: true }), e5.play(), a5.start(), setTimeout(() => a5.requestData(), 1e3);
|
|
95510
95546
|
});
|
|
95511
|
-
})).then((e5) =>
|
|
95547
|
+
})).then((e5) => $h(e5));
|
|
95512
95548
|
}(z2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2.log, compress: s3, serialize: l2, sessionCache: d2 })), I2 = k3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5)), D2 = w3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5));
|
|
95513
95549
|
var P2;
|
|
95514
95550
|
return Promise.all([E2, R2, N2, j2, ...I2, ...D2]).then(function(t5) {
|
|
@@ -95541,11 +95577,11 @@ creating temp style for access.`), r3 = $h(e3);
|
|
|
95541
95577
|
function B2(e3) {
|
|
95542
95578
|
return n4.defaultView && n4.defaultView.frameElement && n4.defaultView.frameElement.getAttribute(e3);
|
|
95543
95579
|
}
|
|
95544
|
-
}(t3).then((e3) => (h2.log("processPage end"), e3.scriptVersion = "4.15.
|
|
95580
|
+
}(t3).then((e3) => (h2.log("processPage end"), e3.scriptVersion = "4.15.3", e3));
|
|
95545
95581
|
}, window[x], "domSnapshotResult");
|
|
95546
95582
|
return function(e3) {
|
|
95547
95583
|
try {
|
|
95548
|
-
return JSON.stringify(
|
|
95584
|
+
return JSON.stringify(Yh(e3)(e3));
|
|
95549
95585
|
} catch (e4) {
|
|
95550
95586
|
return JSON.stringify({ status: "ERROR", error: e4.message });
|
|
95551
95587
|
}
|
|
@@ -119898,8 +119934,7 @@ var require_open_eyes4 = __commonJS({
|
|
|
119898
119934
|
eyes_appium: void 0,
|
|
119899
119935
|
eyes_selenium: void 0,
|
|
119900
119936
|
eyes_universal: void 0,
|
|
119901
|
-
eyes_capybara: void 0
|
|
119902
|
-
eyes_calabash: void 0
|
|
119937
|
+
eyes_capybara: void 0
|
|
119903
119938
|
},
|
|
119904
119939
|
java: {
|
|
119905
119940
|
java_appium: void 0,
|
|
@@ -120462,7 +120497,7 @@ var require_package3 = __commonJS({
|
|
|
120462
120497
|
"../core/package.json"(exports, module) {
|
|
120463
120498
|
module.exports = {
|
|
120464
120499
|
name: "@applitools/core",
|
|
120465
|
-
version: "4.53.
|
|
120500
|
+
version: "4.53.2",
|
|
120466
120501
|
homepage: "https://applitools.com",
|
|
120467
120502
|
bugs: {
|
|
120468
120503
|
url: "https://github.com/applitools/eyes.sdk.javascript1/issues"
|
|
@@ -125128,7 +125163,9 @@ var require_spec_driver2 = __commonJS({
|
|
|
125128
125163
|
}
|
|
125129
125164
|
}
|
|
125130
125165
|
function getWebDriver() {
|
|
125131
|
-
|
|
125166
|
+
var _a;
|
|
125167
|
+
const webdriver = __require("webdriver");
|
|
125168
|
+
return (_a = webdriver.default) !== null && _a !== void 0 ? _a : webdriver;
|
|
125132
125169
|
}
|
|
125133
125170
|
function getProxyConfiguration() {
|
|
125134
125171
|
const httpProxy2 = utils34.general.getEnvCaseInsensitive("HTTP_PROXY");
|
|
@@ -126727,11 +126764,14 @@ var require_calculate_estimated_time = __commonJS({
|
|
|
126727
126764
|
var _a;
|
|
126728
126765
|
(0, populate_eyes_server_settings_1.populateEyesServerSettings)(settings);
|
|
126729
126766
|
const accountInfo = await core.getAccountInfo({ settings, logger });
|
|
126730
|
-
const ufgClient = await core.getUFGClient({
|
|
126731
|
-
|
|
126732
|
-
|
|
126733
|
-
|
|
126734
|
-
|
|
126767
|
+
const ufgClient = await core.getUFGClient({
|
|
126768
|
+
settings: {
|
|
126769
|
+
...settings,
|
|
126770
|
+
ufgServerUrl: accountInfo.ufgServer.ufgServerUrl,
|
|
126771
|
+
accessToken: accountInfo.ufgServer.accessToken
|
|
126772
|
+
},
|
|
126773
|
+
logger
|
|
126774
|
+
});
|
|
126735
126775
|
const deviceProviders = {
|
|
126736
126776
|
getChromeEmulationDevices: ufgClient.getChromeEmulationDevices.bind(ufgClient),
|
|
126737
126777
|
getIOSDevices: ufgClient.getIOSDevices.bind(ufgClient)
|
|
@@ -127372,7 +127412,7 @@ var require_package4 = __commonJS({
|
|
|
127372
127412
|
"../eyes/package.json"(exports, module) {
|
|
127373
127413
|
module.exports = {
|
|
127374
127414
|
name: "@applitools/eyes",
|
|
127375
|
-
version: "1.36.
|
|
127415
|
+
version: "1.36.17",
|
|
127376
127416
|
keywords: [
|
|
127377
127417
|
"applitools",
|
|
127378
127418
|
"eyes",
|
|
@@ -127821,6 +127861,9 @@ var IosMultiDeviceTarget = {
|
|
|
127821
127861
|
get iPhone_16() {
|
|
127822
127862
|
return new IosDeviceTarget("iPhone 16");
|
|
127823
127863
|
},
|
|
127864
|
+
get iPhone_16e() {
|
|
127865
|
+
return new IosDeviceTarget("iPhone 16e");
|
|
127866
|
+
},
|
|
127824
127867
|
get iPhone_16_Pro() {
|
|
127825
127868
|
return new IosDeviceTarget("iPhone 16 Pro");
|
|
127826
127869
|
},
|
|
@@ -127829,6 +127872,18 @@ var IosMultiDeviceTarget = {
|
|
|
127829
127872
|
},
|
|
127830
127873
|
get iPhone_16_Pro_Max() {
|
|
127831
127874
|
return new IosDeviceTarget("iPhone 16 Pro Max");
|
|
127875
|
+
},
|
|
127876
|
+
get iPhone_17() {
|
|
127877
|
+
return new IosDeviceTarget("iPhone 17");
|
|
127878
|
+
},
|
|
127879
|
+
get iPhone_17_Pro() {
|
|
127880
|
+
return new IosDeviceTarget("iPhone 17 Pro");
|
|
127881
|
+
},
|
|
127882
|
+
get iPhone_17_Pro_Max() {
|
|
127883
|
+
return new IosDeviceTarget("iPhone 17 Pro Max");
|
|
127884
|
+
},
|
|
127885
|
+
get iPhone_Air() {
|
|
127886
|
+
return new IosDeviceTarget("iPhone Air");
|
|
127832
127887
|
}
|
|
127833
127888
|
};
|
|
127834
127889
|
|