@applitools/eyes-browser 1.5.11 → 1.5.12

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/index.js +489 -490
  3. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -73714,7 +73714,7 @@ var require_captureDomPollCjs = __commonJS({
73714
73714
  for (; o2 !== r2 && (!o2 || o2.nodeType !== C.DOCUMENT_FRAGMENT); )
73715
73715
  n3 = `${o2.tagName}[${T(o2)}]/${n3}`, o2 = o2.parentNode;
73716
73716
  return s2 && (n3 = `${e4(s2)},${n3}`), n3.replace(/\/$/, "");
73717
- }, M = function({ parseCss: e4, CSSImportRule: t4, absolutizeUrl: n3, getCssFromCache: o2, unfetchedToken: r2 }) {
73717
+ }, x = function({ parseCss: e4, CSSImportRule: t4, absolutizeUrl: n3, getCssFromCache: o2, unfetchedToken: r2 }) {
73718
73718
  return function s2(a2, c2) {
73719
73719
  let u2, i2 = "";
73720
73720
  try {
@@ -73737,7 +73737,7 @@ ${r2}${t5}${r2}`;
73737
73737
  /** ${d2} **/
73738
73738
  ${l2}`}`, { bundledCss: i2, unfetchedResources: u2 };
73739
73739
  };
73740
- }, x = b, V = function(e4, t4) {
73740
+ }, M = b, V = function(e4, t4) {
73741
73741
  try {
73742
73742
  return ["before", "after"].reduce((n3, o2) => {
73743
73743
  const r2 = e4.ownerDocument.defaultView.getComputedStyle(e4, `:${o2}`);
@@ -73845,7 +73845,7 @@ ${l2}`}`, { bundledCss: i2, unfetchedResources: u2 };
73845
73845
  l2(i2.prefetchCss);
73846
73846
  const w2 = j(z(fetch, { fetchTimeLimit: u2 })), E2 = await w2(t4);
73847
73847
  d2(i2.prefetchCss);
73848
- const C2 = M({ parseCss: x, CSSImportRule, getCssFromCache: E2, absolutizeUrl: O, unfetchedToken: g2 }), T2 = B({ getCssFromCache: E2, absolutizeUrl: O }), b2 = Y({ extractCssFromNode: T2, getBundledCssFromCssText: C2, unfetchedToken: g2 });
73848
+ const C2 = x({ parseCss: M, CSSImportRule, getCssFromCache: E2, absolutizeUrl: O, unfetchedToken: g2 }), T2 = B({ getCssFromCache: E2, absolutizeUrl: O }), b2 = Y({ extractCssFromNode: T2, getBundledCssFromCssText: C2, unfetchedToken: g2 });
73849
73849
  l2(i2.doCaptureDoc);
73850
73850
  const N2 = function c3(u3, i3 = u3.location && u3.location.href) {
73851
73851
  const l3 = /* @__PURE__ */ new Set();
@@ -73918,6 +73918,7 @@ ${l2}`}`, { bundledCss: i2, unfetchedResources: u2 };
73918
73918
  const b3 = {};
73919
73919
  for (const t5 of r2)
73920
73920
  b3[t5] = e4[t5];
73921
+ "SELECT" === f3 && e4.selectedOptions && e4.selectedOptions.length > 0 && (b3.selectedText = Array.from(e4.selectedOptions).map((e5) => e5.innerText));
73921
73922
  const N3 = { tagName: f3, style: P2(p3), rect: P2(g4), attributes: P2(w4), properties: P2(b3), childNodes: u4, pseudo: T3 };
73922
73923
  return d4 && (N3.shadowRoot = d4), N3;
73923
73924
  }
@@ -80394,31 +80395,32 @@ var require_processPagePollCjs = __commonJS({
80394
80395
  pl.get(e4) || pl.set(e4, /* @__PURE__ */ new Set()), pl.get(e4).add(t3);
80395
80396
  });
80396
80397
  });
80397
- const yl = { 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" }, 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" } };
80398
- function kl(e3) {
80398
+ const yl = (...e3) => {
80399
+ }, kl = { 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" }, 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" } };
80400
+ function wl(e3, t3 = yl) {
80399
80401
  return Array.from(e3, (e4) => {
80400
- var t3, n3, r3;
80401
- const o3 = null !== (t3 = yl[e4.type]) && void 0 !== t3 ? t3 : yl[e4.constructor.name];
80402
- if (!o3)
80403
- throw new Error(`Unknown CSS object model rule ${e4.constructor.name} ${null === (n3 = e4.cssText) || void 0 === n3 ? void 0 : n3.substring(0, 150)}`);
80404
- const i3 = {};
80405
- if (o3.atrule) {
80406
- i3.type = "Atrule";
80407
- const [t4, n4] = e4.cssText.match(new RegExp(`^@(-\\w+-)?${o3.atrule}`)) || [];
80408
- i3.name = n4 ? n4 + o3.atrule : o3.atrule;
80402
+ var n3, r3, o3;
80403
+ const i3 = null !== (n3 = kl[e4.type]) && void 0 !== n3 ? n3 : kl[e4.constructor.name];
80404
+ if (!i3)
80405
+ return t3(`createAstFromCssom | Unknown CSS object model rule ${e4.constructor.name} ${null === (r3 = e4.cssText) || void 0 === r3 ? void 0 : r3.substring(0, 150)}`), { type: "Raw", value: e4.cssText || "" };
80406
+ const a3 = {};
80407
+ if (i3.atrule) {
80408
+ a3.type = "Atrule";
80409
+ const [t4, n4] = e4.cssText.match(new RegExp(`^@(-\\w+-)?${i3.atrule}`)) || [];
80410
+ a3.name = n4 ? n4 + i3.atrule : i3.atrule;
80409
80411
  } else
80410
- i3.type = "Rule";
80411
- let a3;
80412
- if ("property" === o3.atrule ? (a3 = e4.name, i3.syntax = e4.syntax, i3.inherits = e4.inherits, i3.initialValue = e4.initialValue) : "selector" === o3.prelude ? a3 = e4.selectorText : "key" === o3.prelude ? a3 = e4.keyText : "condition" === o3.prelude ? a3 = e4.conditionText : "name" === o3.prelude ? a3 = e4.name : "import" === o3.prelude ? a3 = `url("${e4.href}") ${e4.media.mediaText}` : "namespace" === o3.prelude ? a3 = `${e4.prefix} url("${e4.namespaceURI}")` : "charset" === o3.prelude ? a3 = `"${e4.encoding}"` : "nameList" === o3.prelude && (a3 = e4.nameList), a3) {
80413
- const e5 = o3.atrule ? { context: "atrulePrelude", atrule: o3.atrule } : { context: "selectorList" };
80414
- i3.prelude = al(Xs(a3, e5));
80412
+ a3.type = "Rule";
80413
+ let s3;
80414
+ if ("property" === i3.atrule ? (s3 = e4.name, a3.syntax = e4.syntax, a3.inherits = e4.inherits, a3.initialValue = e4.initialValue) : "selector" === i3.prelude ? s3 = e4.selectorText : "key" === i3.prelude ? s3 = e4.keyText : "condition" === i3.prelude ? s3 = e4.conditionText : "name" === i3.prelude ? s3 = e4.name : "import" === i3.prelude ? s3 = `url("${e4.href}") ${e4.media.mediaText}` : "namespace" === i3.prelude ? s3 = `${e4.prefix} url("${e4.namespaceURI}")` : "charset" === i3.prelude ? s3 = `"${e4.encoding}"` : "nameList" === i3.prelude && (s3 = e4.nameList), s3) {
80415
+ const e5 = i3.atrule ? { context: "atrulePrelude", atrule: i3.atrule } : { context: "selectorList" };
80416
+ a3.prelude = al(Xs(s3, e5));
80415
80417
  } else
80416
- i3.prelude = null;
80417
- return "nested" === o3.block || (null === (r3 = e4.cssRules) || void 0 === r3 ? void 0 : r3.length) > 0 ? i3.block = { type: "Block", children: kl(e4.cssRules) } : "style" === o3.block ? i3.block = { type: "Block", children: gl(e4.style) } : i3.block = null, i3;
80418
+ a3.prelude = null;
80419
+ return "nested" === i3.block || (null === (o3 = e4.cssRules) || void 0 === o3 ? void 0 : o3.length) > 0 ? a3.block = { type: "Block", children: wl(e4.cssRules, t3) } : "style" === i3.block ? a3.block = { type: "Block", children: gl(e4.style) } : a3.block = null, a3;
80418
80420
  });
80419
80421
  }
80420
- const wl = /* @__PURE__ */ new Set(["before", "after", "first-line", "first-letter"]), vl = { "word-wrap": "overflow-wrap", clip: "clip-path" };
80421
- function xl(e3, t3) {
80422
+ const vl = /* @__PURE__ */ new Set(["before", "after", "first-line", "first-letter"]), xl = { "word-wrap": "overflow-wrap", clip: "clip-path" };
80423
+ function _l(e3, t3) {
80422
80424
  let n3 = 0;
80423
80425
  const r3 = [];
80424
80426
  return e3.forEach((e4) => {
@@ -80431,11 +80433,11 @@ var require_processPagePollCjs = __commonJS({
80431
80433
  return r4;
80432
80434
  return -1;
80433
80435
  }(e5, t4, (e6) => {
80434
- return e6.type === n4.type && e6.name === n4.name && (o4 = e6.prelude, i4 = n4.prelude, !o4 && !i4 || o4.type === i4.type && Sl(o4.children, i4.children)) && (!Cl(n4) || (t5 = e6.block.children, (r4 = n4.block.children).reduce((e7, n5) => {
80436
+ return e6.type === n4.type && e6.name === n4.name && (o4 = e6.prelude, i4 = n4.prelude, !o4 && !i4 || o4.type === i4.type && Cl(o4.children, i4.children)) && (!zl(n4) || (t5 = e6.block.children, (r4 = n4.block.children).reduce((e7, n5) => {
80435
80437
  const r5 = "Declaration" === n5.type && (function(e8) {
80436
80438
  return /^(-\w+-)/.test(e8);
80437
80439
  }(n5.property) || t5.some((e8) => function(e9, t6) {
80438
- const n6 = vl[e9] || e9, r6 = vl[t6] || t6;
80440
+ const n6 = xl[e9] || e9, r6 = xl[t6] || t6;
80439
80441
  return n6 === r6 || fl(r6, n6) || fl(n6, r6);
80440
80442
  }(e8.property, n5.property)));
80441
80443
  return e7 + (r5 ? 1 : 0);
@@ -80443,12 +80445,12 @@ var require_processPagePollCjs = __commonJS({
80443
80445
  var t5, r4, o4, i4;
80444
80446
  });
80445
80447
  }(t3, n3, e4);
80446
- i3 > n3 && zl(t3, n3, i3, (e5) => r3.push(e5)), i3 >= 0 && (n3 = i3 + 1, function(e5) {
80448
+ i3 > n3 && Al(t3, n3, i3, (e5) => r3.push(e5)), i3 >= 0 && (n3 = i3 + 1, function(e5) {
80447
80449
  return "Atrule" === e5.type && /^(-\w+-)?(media|supports|document|keyframes)$/.test(e5.name);
80448
- }(e4) ? o3.block = { type: "Block", children: xl(e4.block.children, t3[i3].block.children) } : Cl(e4) && (o3.block = { type: "Block", children: _l(e4.block.children, t3[i3].block.children) })), r3.push(o3);
80449
- }, []), n3 < t3.length && zl(t3, n3, t3.length, (e4) => r3.push(e4)), r3;
80450
+ }(e4) ? o3.block = { type: "Block", children: _l(e4.block.children, t3[i3].block.children) } : zl(e4) && (o3.block = { type: "Block", children: Sl(e4.block.children, t3[i3].block.children) })), r3.push(o3);
80451
+ }, []), n3 < t3.length && Al(t3, n3, t3.length, (e4) => r3.push(e4)), r3;
80450
80452
  }
80451
- function _l(e3, t3) {
80453
+ function Sl(e3, t3) {
80452
80454
  let n3 = [];
80453
80455
  return e3.forEach((e4) => {
80454
80456
  "Declaration" === e4.type && n3.push(e4);
@@ -80474,27 +80476,25 @@ var require_processPagePollCjs = __commonJS({
80474
80476
  var o3;
80475
80477
  }), n3;
80476
80478
  }
80477
- function Sl(e3, t3) {
80479
+ function Cl(e3, t3) {
80478
80480
  return !Array.isArray(e3) && !Array.isArray(t3) || Array.isArray(e3) && Array.isArray(t3) && e3.length === t3.length && e3.every((e4, n3) => {
80479
80481
  const r3 = t3[n3];
80480
- 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) && Sl(e4.children, r3.children);
80482
+ 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) && Cl(e4.children, r3.children);
80481
80483
  var o3, i3, a3, s3;
80482
80484
  });
80483
80485
  }
80484
- function Cl(e3) {
80486
+ function zl(e3) {
80485
80487
  return "Rule" === e3.type || /^(-\w+-)?(page|font-face)$/.test(e3.name);
80486
80488
  }
80487
- function zl(e3, t3, n3, r3) {
80489
+ function Al(e3, t3, n3, r3) {
80488
80490
  for (let o3 = t3; o3 < n3; ++o3)
80489
80491
  r3(e3[o3], o3, e3);
80490
80492
  }
80491
- const Al = (...e3) => {
80492
- };
80493
80493
  function Ol(e3) {
80494
80494
  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("");
80495
80495
  return `${e3.nodeName}${t3}`;
80496
80496
  }
80497
- function Tl(e3, t3 = Al) {
80497
+ function Tl(e3, t3 = yl) {
80498
80498
  t3("[processInlineCss] processing inline css for", Ol(e3));
80499
80499
  try {
80500
80500
  const n3 = function(e4) {
@@ -80507,7 +80507,7 @@ var require_processPagePollCjs = __commonJS({
80507
80507
  "String" === r4.type && (t5[n4] = { type: "Url", value: r4.value }, e5.children.fromArray(t5));
80508
80508
  }
80509
80509
  } }), nl(t4, { visit: "PseudoClassSelector", enter(e5) {
80510
- wl.has(e5.name) && (e5.type = "PseudoElementSelector");
80510
+ vl.has(e5.name) && (e5.type = "PseudoElementSelector");
80511
80511
  } }), nl(t4, { visit: "Selector", enter(e5) {
80512
80512
  const t5 = e5.children.toArray();
80513
80513
  if (t5.length > 1) {
@@ -80522,9 +80522,9 @@ var require_processPagePollCjs = __commonJS({
80522
80522
  } }), al(t4);
80523
80523
  }(e3.textContent);
80524
80524
  t3("[processInlineCss] created AST for textContent");
80525
- const r3 = kl(e3.sheet.cssRules);
80525
+ const r3 = wl(e3.sheet.cssRules, t3);
80526
80526
  t3("[processInlineCss] created AST for CSSOM");
80527
- const o3 = xl(n3.children, r3);
80527
+ const o3 = _l(n3.children, r3);
80528
80528
  t3("[processInlineCss] merged AST");
80529
80529
  const i3 = Js(sl({ type: "StyleSheet", children: o3 }));
80530
80530
  return t3("[processInlineCss] generated cssText of length", i3.length), i3;
@@ -80592,20 +80592,16 @@ var require_processPagePollCjs = __commonJS({
80592
80592
  }
80593
80593
  const ql = /(\S+)(?:\s+[\d.]+[wx])?(?:,|$)/g;
80594
80594
  function $l(e3) {
80595
- const t3 = kl(e3.cssRules);
80596
- return Js(sl({ type: "StyleSheet", children: t3 }));
80597
- }
80598
- function Wl(e3) {
80599
80595
  const { ownerDocument: t3 } = e3;
80600
80596
  if (!t3)
80601
80597
  return true;
80602
80598
  const { display: n3 } = t3.defaultView.getComputedStyle(e3), { width: r3, height: o3 } = e3.getBoundingClientRect();
80603
80599
  return "none" === n3 || 0 === r3 || 0 === o3;
80604
80600
  }
80605
- function Zl(e3) {
80601
+ function Wl(e3) {
80606
80602
  try {
80607
80603
  return al(Xs(e3.toLowerCase(), { context: "mediaQueryList" })).children.some((e4) => {
80608
- const t3 = Vl(e4);
80604
+ const t3 = Zl(e4);
80609
80605
  return e4.mediaType && t3.unshift(e4), t3.every((e5) => {
80610
80606
  var t4, n3;
80611
80607
  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));
@@ -80615,19 +80611,19 @@ var require_processPagePollCjs = __commonJS({
80615
80611
  return false;
80616
80612
  }
80617
80613
  }
80618
- function Vl(e3) {
80614
+ function Zl(e3) {
80619
80615
  var t3, n3;
80620
80616
  const r3 = [];
80621
80617
  if (e3.condition)
80622
- r3.push(...Vl(e3.condition));
80618
+ r3.push(...Zl(e3.condition));
80623
80619
  else {
80624
- const o3 = null !== (n3 = null === (t3 = e3.children) || void 0 === t3 ? void 0 : t3.reduce((e4, t4) => ("Condition" === t4.type ? e4.push(...Vl(t4)) : "Identifier" === t4.type && "and" === t4.name || e4.push(t4), e4), [])) && void 0 !== n3 ? n3 : [];
80620
+ const o3 = null !== (n3 = null === (t3 = e3.children) || void 0 === t3 ? void 0 : t3.reduce((e4, t4) => ("Condition" === t4.type ? e4.push(...Zl(t4)) : "Identifier" === t4.type && "and" === t4.name || e4.push(t4), e4), [])) && void 0 !== n3 ? n3 : [];
80625
80621
  r3.push(...o3);
80626
80622
  }
80627
80623
  return r3;
80628
80624
  }
80629
- const Hl = Symbol("raw");
80630
- function Kl(e3) {
80625
+ const Vl = Symbol("raw");
80626
+ function Hl(e3) {
80631
80627
  const t3 = function(e4) {
80632
80628
  if ("undefined" == typeof window)
80633
80629
  return null;
@@ -80635,7 +80631,7 @@ var require_processPagePollCjs = __commonJS({
80635
80631
  return window[t4];
80636
80632
  }(e3);
80637
80633
  return t3 ? (n3 = e3, r3 = t3.prototype, new Proxy(Object.create(n3), { get(e4, t4, o3) {
80638
- if (t4 === Hl)
80634
+ if (t4 === Vl)
80639
80635
  return n3;
80640
80636
  const i3 = Reflect.get(r3, t4, n3);
80641
80637
  return "function" == typeof i3 ? function() {
@@ -80644,15 +80640,15 @@ var require_processPagePollCjs = __commonJS({
80644
80640
  } })) : e3;
80645
80641
  var n3, r3;
80646
80642
  }
80647
- Kl.unwrap = function(e3) {
80648
- return e3[Hl] || e3;
80643
+ Hl.unwrap = function(e3) {
80644
+ return e3[Vl] || e3;
80649
80645
  };
80650
- const Gl = /* @__PURE__ */ new Set(["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week", "range"]), Yl = /^on[a-z]+$/;
80651
- function Ql(e3, t3, n3 = Al) {
80646
+ const Kl = /* @__PURE__ */ new Set(["date", "datetime-local", "email", "month", "number", "password", "search", "tel", "text", "time", "url", "week", "range"]), Gl = /^on[a-z]+$/;
80647
+ function Yl(e3, t3, n3 = yl) {
80652
80648
  const r3 = [{ nodeType: Node.DOCUMENT_NODE }], o3 = [e3], i3 = [], a3 = [], s3 = [], l2 = [];
80653
80649
  let c2 = [];
80654
80650
  const u2 = [], h2 = [];
80655
- return r3[0].childNodeIndexes = p2(r3, e3.childNodes), e3.adoptedStyleSheets && e3.adoptedStyleSheets.length > 0 && (r3[0].exp_adoptedStyleSheets = ec(e3)), { cdt: r3, docRoots: o3, canvasElements: i3, frames: s3, inlineFrames: a3, crossFrames: l2, linkUrls: c2, imageBlobs: u2, videoBlobs: h2 };
80651
+ return r3[0].childNodeIndexes = p2(r3, e3.childNodes), e3.adoptedStyleSheets && e3.adoptedStyleSheets.length > 0 && (r3[0].exp_adoptedStyleSheets = Jl(e3, n3)), { cdt: r3, docRoots: o3, canvasElements: i3, frames: s3, inlineFrames: a3, crossFrames: l2, linkUrls: c2, imageBlobs: u2, videoBlobs: h2 };
80656
80652
  function p2(e4, t4) {
80657
80653
  if (!t4 || 0 === t4.length)
80658
80654
  return null;
@@ -80664,28 +80660,28 @@ var require_processPagePollCjs = __commonJS({
80664
80660
  }
80665
80661
  function m2(e4, r4) {
80666
80662
  var f2;
80667
- const g2 = Kl(r4);
80663
+ const g2 = Hl(r4);
80668
80664
  let b2;
80669
80665
  if ([Node.ELEMENT_NODE, Node.DOCUMENT_FRAGMENT_NODE].includes(g2.nodeType)) {
80670
80666
  if (g2.hasAttribute && g2.hasAttribute("data-applitools-skip"))
80671
80667
  return null;
80672
- if (["LINK", "STYLE", "SOURCE"].includes(g2.nodeName) && (null === (f2 = g2.media) || void 0 === f2 ? void 0 : f2.trim()) && !Zl(g2.media))
80668
+ if (["LINK", "STYLE", "SOURCE"].includes(g2.nodeName) && (null === (f2 = g2.media) || void 0 === f2 ? void 0 : f2.trim()) && !Wl(g2.media))
80673
80669
  return null;
80674
80670
  if ("SCRIPT" === g2.nodeName)
80675
80671
  b2 = function(e5) {
80676
- return { nodeType: Node.ELEMENT_NODE, nodeName: "SCRIPT", attributes: Xl(e5).map((t4) => {
80672
+ return { nodeType: Node.ELEMENT_NODE, nodeName: "SCRIPT", attributes: Ql(e5).map((t4) => {
80677
80673
  const n4 = e5.attributes[t4].name;
80678
- return { name: n4, value: Yl.test(n4) ? "" : e5.attributes[t4].value };
80674
+ return { name: n4, value: Gl.test(n4) ? "" : e5.attributes[t4].value };
80679
80675
  }).filter((e6) => "src" !== e6.name), childNodeIndexes: [] };
80680
80676
  }(g2);
80681
80677
  else {
80682
80678
  const c3 = g2.shadowRoot && g2.shadowRoot.childNodes.length && "ShadowRoot" !== g2.shadowRoot.constructor.name;
80683
80679
  if (b2 = function(e5) {
80684
80680
  var t4, n4, r5;
80685
- const o4 = { nodeType: e5.nodeType, nodeName: e5.nodeName, attributes: Xl(e5).map((t5) => {
80681
+ const o4 = { nodeType: e5.nodeType, nodeName: e5.nodeName, attributes: Ql(e5).map((t5) => {
80686
80682
  let n5 = e5.attributes[t5].value;
80687
80683
  const r6 = e5.attributes[t5].name;
80688
- return n5.includes("blob:") ? n5 = n5.replace(/blob:/g, "") : Yl.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) {
80684
+ return n5.includes("blob:") ? n5 = n5.replace(/blob:/g, "") : Gl.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) {
80689
80685
  const t6 = { type: "DeclarationList", children: gl(e6) };
80690
80686
  return Js(t6);
80691
80687
  }(e5.style)), { name: r6, value: n5 };
@@ -80697,11 +80693,11 @@ var require_processPagePollCjs = __commonJS({
80697
80693
  }
80698
80694
  !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 }) });
80699
80695
  }
80700
- if ("INPUT" === e5.tagName && Gl.has(e5.type)) {
80696
+ if ("INPUT" === e5.tagName && Kl.has(e5.type)) {
80701
80697
  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 : "";
80702
- i4 && a4 === s4 || Jl(o4.attributes, "value", s4);
80698
+ i4 && a4 === s4 || Xl(o4.attributes, "value", s4);
80703
80699
  }
80704
- return "OPTION" === e5.tagName && e5.parentElement && e5.parentElement.selectedOptions && Array.from(e5.parentElement.selectedOptions).indexOf(Kl.unwrap(e5)) > -1 && Jl(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 && Jl(o4.attributes, "disabled", ""), o4;
80700
+ return "OPTION" === e5.tagName && e5.parentElement && e5.parentElement.selectedOptions && Array.from(e5.parentElement.selectedOptions).indexOf(Hl.unwrap(e5)) > -1 && Xl(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 && Xl(o4.attributes, "disabled", ""), o4;
80705
80701
  }(g2), "STYLE" === g2.nodeName && g2.sheet && g2.sheet.cssRules.length ? (e4.push(function(e5, t4, n4) {
80706
80702
  const r5 = (o4 = e5, function(e6) {
80707
80703
  return t5 = function(e7) {
@@ -80728,13 +80724,13 @@ var require_processPagePollCjs = __commonJS({
80728
80724
  const t4 = g2.assignedNodes();
80729
80725
  b2.childNodeIndexes = b2.childNodeIndexes || [], b2.childNodeIndexes = t4.length ? b2.childNodeIndexes.concat(p2(e4, t4)) : b2.childNodeIndexes;
80730
80726
  }
80731
- 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 && !Wl(r4)) {
80727
+ 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 && !$l(r4)) {
80732
80728
  const e5 = y(`applitools-canvas-${S()}.png`, t3);
80733
80729
  b2.attributes.push({ name: "data-applitools-src", value: e5 }), i3.push({ element: g2, cdtNode: b2, url: e5 });
80734
80730
  }
80735
80731
  if ("IFRAME" === g2.nodeName) {
80736
80732
  const n4 = S();
80737
- if (g2.setAttribute("data-applitools-selector", n4.toString()), Wl(r4))
80733
+ if (g2.setAttribute("data-applitools-selector", n4.toString()), $l(r4))
80738
80734
  b2.attributes.forEach((e5) => {
80739
80735
  "src" !== e5.name && "srcdoc" !== e5.name || (b2.attributes.push({ name: `data-applitools-original-${e5.name}`, value: e5.value }), e5.value = "");
80740
80736
  });
@@ -80751,7 +80747,7 @@ var require_processPagePollCjs = __commonJS({
80751
80747
  l2.push({ selector: t4, index: e4.length });
80752
80748
  }
80753
80749
  }
80754
- g2.adoptedStyleSheets && g2.adoptedStyleSheets.length > 0 && (b2.exp_adoptedStyleSheets = ec(g2));
80750
+ g2.adoptedStyleSheets && g2.adoptedStyleSheets.length > 0 && (b2.exp_adoptedStyleSheets = Jl(g2, n3));
80755
80751
  }
80756
80752
  if (g2.nodeType === Node.ELEMENT_NODE) {
80757
80753
  const e5 = function(e6) {
@@ -80818,24 +80814,27 @@ var require_processPagePollCjs = __commonJS({
80818
80814
  return b2 ? (e4.push(b2), e4.length - 1) : null;
80819
80815
  }
80820
80816
  }
80821
- function Xl(e3) {
80817
+ function Ql(e3) {
80822
80818
  return Object.keys(e3.attributes || {}).filter((t3) => e3.attributes[t3] && e3.attributes[t3].name);
80823
80819
  }
80824
- function Jl(e3, t3, n3) {
80820
+ function Xl(e3, t3, n3) {
80825
80821
  const r3 = e3.find((e4) => e4.name === t3);
80826
80822
  r3 ? r3.value = n3 : e3.push({ name: t3, value: n3 });
80827
80823
  }
80828
- function ec(e3) {
80829
- return Array.from(e3.adoptedStyleSheets).map($l);
80824
+ function Jl(e3, t3 = yl) {
80825
+ return Array.from(e3.adoptedStyleSheets).map((e4) => function(e5, t4 = yl) {
80826
+ const n3 = wl(e5.cssRules, t4);
80827
+ return Js(sl({ type: "StyleSheet", children: n3 }));
80828
+ }(e4, t3));
80830
80829
  }
80831
- function tc(e3) {
80830
+ function ec(e3) {
80832
80831
  const t3 = [];
80833
80832
  return new Set(e3).forEach((e4) => e4 && t3.push(e4)), t3;
80834
80833
  }
80835
- function nc(e3) {
80836
- return e3.reduce(({ resourceUrls: e4, blobsObj: t3 }, { resourceUrls: n3, blobsObj: r3 }) => ({ resourceUrls: tc(e4.concat(n3)), blobsObj: Object.assign(t3, r3) }), { resourceUrls: [], blobsObj: {} });
80834
+ function tc(e3) {
80835
+ return e3.reduce(({ resourceUrls: e4, blobsObj: t3 }, { resourceUrls: n3, blobsObj: r3 }) => ({ resourceUrls: ec(e4.concat(n3)), blobsObj: Object.assign(t3, r3) }), { resourceUrls: [], blobsObj: {} });
80837
80836
  }
80838
- var rc = {};
80837
+ var nc = {};
80839
80838
  !function(e3) {
80840
80839
  var t3 = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array;
80841
80840
  function n3(e4, t4) {
@@ -80877,102 +80876,102 @@ var require_processPagePollCjs = __commonJS({
80877
80876
  e3.setTyped = function(t4) {
80878
80877
  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));
80879
80878
  }, e3.setTyped(t3);
80880
- }(rc);
80881
- var oc = {}, ic = {}, ac = {}, sc = rc;
80882
- function lc(e3) {
80879
+ }(nc);
80880
+ var rc = {}, oc = {}, ic = {}, ac = nc;
80881
+ function sc(e3) {
80883
80882
  for (var t3 = e3.length; --t3 >= 0; )
80884
80883
  e3[t3] = 0;
80885
80884
  }
80886
- var cc = 256, uc = 286, hc = 30, dc = 15, pc = 16, mc = [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], fc = [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], gc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], bc = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], yc = new Array(576);
80887
- lc(yc);
80888
- var kc = new Array(60);
80889
- lc(kc);
80890
- var wc = new Array(512);
80891
- lc(wc);
80892
- var vc = new Array(256);
80893
- lc(vc);
80894
- var xc = new Array(29);
80895
- lc(xc);
80896
- var _c, Sc, Cc, zc = new Array(hc);
80897
- function Ac(e3, t3, n3, r3, o3) {
80885
+ var lc = 256, cc = 286, uc = 30, hc = 15, dc = 16, pc = [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], mc = [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], fc = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], gc = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], bc = new Array(576);
80886
+ sc(bc);
80887
+ var yc = new Array(60);
80888
+ sc(yc);
80889
+ var kc = new Array(512);
80890
+ sc(kc);
80891
+ var wc = new Array(256);
80892
+ sc(wc);
80893
+ var vc = new Array(29);
80894
+ sc(vc);
80895
+ var xc, _c, Sc, Cc = new Array(uc);
80896
+ function zc(e3, t3, n3, r3, o3) {
80898
80897
  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;
80899
80898
  }
80900
- function Oc(e3, t3) {
80899
+ function Ac(e3, t3) {
80901
80900
  this.dyn_tree = e3, this.max_code = 0, this.stat_desc = t3;
80902
80901
  }
80903
- function Tc(e3) {
80904
- return e3 < 256 ? wc[e3] : wc[256 + (e3 >>> 7)];
80902
+ function Oc(e3) {
80903
+ return e3 < 256 ? kc[e3] : kc[256 + (e3 >>> 7)];
80905
80904
  }
80906
- function Lc(e3, t3) {
80905
+ function Tc(e3, t3) {
80907
80906
  e3.pending_buf[e3.pending++] = 255 & t3, e3.pending_buf[e3.pending++] = t3 >>> 8 & 255;
80908
80907
  }
80909
- function Ec(e3, t3, n3) {
80910
- e3.bi_valid > pc - n3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, Lc(e3, e3.bi_buf), e3.bi_buf = t3 >> pc - e3.bi_valid, e3.bi_valid += n3 - pc) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += n3);
80908
+ function Lc(e3, t3, n3) {
80909
+ e3.bi_valid > dc - n3 ? (e3.bi_buf |= t3 << e3.bi_valid & 65535, Tc(e3, e3.bi_buf), e3.bi_buf = t3 >> dc - e3.bi_valid, e3.bi_valid += n3 - dc) : (e3.bi_buf |= t3 << e3.bi_valid & 65535, e3.bi_valid += n3);
80911
80910
  }
80912
- function Rc(e3, t3, n3) {
80913
- Ec(e3, n3[2 * t3], n3[2 * t3 + 1]);
80911
+ function Ec(e3, t3, n3) {
80912
+ Lc(e3, n3[2 * t3], n3[2 * t3 + 1]);
80914
80913
  }
80915
- function Nc(e3, t3) {
80914
+ function Rc(e3, t3) {
80916
80915
  var n3 = 0;
80917
80916
  do {
80918
80917
  n3 |= 1 & e3, e3 >>>= 1, n3 <<= 1;
80919
80918
  } while (--t3 > 0);
80920
80919
  return n3 >>> 1;
80921
80920
  }
80922
- function jc(e3, t3, n3) {
80923
- var r3, o3, i3 = new Array(dc + 1), a3 = 0;
80924
- for (r3 = 1; r3 <= dc; r3++)
80921
+ function Nc(e3, t3, n3) {
80922
+ var r3, o3, i3 = new Array(hc + 1), a3 = 0;
80923
+ for (r3 = 1; r3 <= hc; r3++)
80925
80924
  i3[r3] = a3 = a3 + n3[r3 - 1] << 1;
80926
80925
  for (o3 = 0; o3 <= t3; o3++) {
80927
80926
  var s3 = e3[2 * o3 + 1];
80928
- 0 !== s3 && (e3[2 * o3] = Nc(i3[s3]++, s3));
80927
+ 0 !== s3 && (e3[2 * o3] = Rc(i3[s3]++, s3));
80929
80928
  }
80930
80929
  }
80931
- function Ic(e3) {
80930
+ function jc(e3) {
80932
80931
  var t3;
80933
- for (t3 = 0; t3 < uc; t3++)
80932
+ for (t3 = 0; t3 < cc; t3++)
80934
80933
  e3.dyn_ltree[2 * t3] = 0;
80935
- for (t3 = 0; t3 < hc; t3++)
80934
+ for (t3 = 0; t3 < uc; t3++)
80936
80935
  e3.dyn_dtree[2 * t3] = 0;
80937
80936
  for (t3 = 0; t3 < 19; t3++)
80938
80937
  e3.bl_tree[2 * t3] = 0;
80939
80938
  e3.dyn_ltree[512] = 1, e3.opt_len = e3.static_len = 0, e3.last_lit = e3.matches = 0;
80940
80939
  }
80941
- function Dc(e3) {
80942
- e3.bi_valid > 8 ? Lc(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0;
80940
+ function Ic(e3) {
80941
+ e3.bi_valid > 8 ? Tc(e3, e3.bi_buf) : e3.bi_valid > 0 && (e3.pending_buf[e3.pending++] = e3.bi_buf), e3.bi_buf = 0, e3.bi_valid = 0;
80943
80942
  }
80944
- function Pc(e3, t3, n3, r3) {
80943
+ function Dc(e3, t3, n3, r3) {
80945
80944
  var o3 = 2 * t3, i3 = 2 * n3;
80946
80945
  return e3[o3] < e3[i3] || e3[o3] === e3[i3] && r3[t3] <= r3[n3];
80947
80946
  }
80948
- function Bc(e3, t3, n3) {
80949
- for (var r3 = e3.heap[n3], o3 = n3 << 1; o3 <= e3.heap_len && (o3 < e3.heap_len && Pc(t3, e3.heap[o3 + 1], e3.heap[o3], e3.depth) && o3++, !Pc(t3, r3, e3.heap[o3], e3.depth)); )
80947
+ function Pc(e3, t3, n3) {
80948
+ for (var r3 = e3.heap[n3], o3 = n3 << 1; o3 <= e3.heap_len && (o3 < e3.heap_len && Dc(t3, e3.heap[o3 + 1], e3.heap[o3], e3.depth) && o3++, !Dc(t3, r3, e3.heap[o3], e3.depth)); )
80950
80949
  e3.heap[n3] = e3.heap[o3], n3 = o3, o3 <<= 1;
80951
80950
  e3.heap[n3] = r3;
80952
80951
  }
80953
- function Fc(e3, t3, n3) {
80952
+ function Bc(e3, t3, n3) {
80954
80953
  var r3, o3, i3, a3, s3 = 0;
80955
80954
  if (0 !== e3.last_lit)
80956
80955
  do {
80957
- 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 ? Rc(e3, o3, t3) : (Rc(e3, (i3 = vc[o3]) + cc + 1, t3), 0 !== (a3 = mc[i3]) && Ec(e3, o3 -= xc[i3], a3), Rc(e3, i3 = Tc(--r3), n3), 0 !== (a3 = fc[i3]) && Ec(e3, r3 -= zc[i3], a3));
80956
+ 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 ? Ec(e3, o3, t3) : (Ec(e3, (i3 = wc[o3]) + lc + 1, t3), 0 !== (a3 = pc[i3]) && Lc(e3, o3 -= vc[i3], a3), Ec(e3, i3 = Oc(--r3), n3), 0 !== (a3 = mc[i3]) && Lc(e3, r3 -= Cc[i3], a3));
80958
80957
  } while (s3 < e3.last_lit);
80959
- Rc(e3, 256, t3);
80958
+ Ec(e3, 256, t3);
80960
80959
  }
80961
- function Uc(e3, t3) {
80960
+ function Fc(e3, t3) {
80962
80961
  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;
80963
80962
  for (e3.heap_len = 0, e3.heap_max = 573, n3 = 0; n3 < l2; n3++)
80964
80963
  0 !== i3[2 * n3] ? (e3.heap[++e3.heap_len] = c2 = n3, e3.depth[n3] = 0) : i3[2 * n3 + 1] = 0;
80965
80964
  for (; e3.heap_len < 2; )
80966
80965
  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]);
80967
80966
  for (t3.max_code = c2, n3 = e3.heap_len >> 1; n3 >= 1; n3--)
80968
- Bc(e3, i3, n3);
80967
+ Pc(e3, i3, n3);
80969
80968
  o3 = l2;
80970
80969
  do {
80971
- n3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], Bc(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++, Bc(e3, i3, 1);
80970
+ n3 = e3.heap[1], e3.heap[1] = e3.heap[e3.heap_len--], Pc(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++, Pc(e3, i3, 1);
80972
80971
  } while (e3.heap_len >= 2);
80973
80972
  e3.heap[--e3.heap_max] = e3.heap[1], function(e4, t4) {
80974
80973
  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;
80975
- for (i4 = 0; i4 <= dc; i4++)
80974
+ for (i4 = 0; i4 <= hc; i4++)
80976
80975
  e4.bl_count[i4] = 0;
80977
80976
  for (l3[2 * e4.heap[e4.heap_max] + 1] = 0, n4 = e4.heap_max + 1; n4 < 573; n4++)
80978
80977
  (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)));
@@ -80986,60 +80985,60 @@ var require_processPagePollCjs = __commonJS({
80986
80985
  for (r4 = e4.bl_count[i4]; 0 !== r4; )
80987
80986
  (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--);
80988
80987
  }
80989
- }(e3, t3), jc(i3, c2, e3.bl_count);
80988
+ }(e3, t3), Nc(i3, c2, e3.bl_count);
80990
80989
  }
80991
- function Mc(e3, t3, n3) {
80990
+ function Uc(e3, t3, n3) {
80992
80991
  var r3, o3, i3 = -1, a3 = t3[1], s3 = 0, l2 = 7, c2 = 4;
80993
80992
  for (0 === a3 && (l2 = 138, c2 = 3), t3[2 * (n3 + 1) + 1] = 65535, r3 = 0; r3 <= n3; r3++)
80994
80993
  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));
80995
80994
  }
80996
- function qc(e3, t3, n3) {
80995
+ function Mc(e3, t3, n3) {
80997
80996
  var r3, o3, i3 = -1, a3 = t3[1], s3 = 0, l2 = 7, c2 = 4;
80998
80997
  for (0 === a3 && (l2 = 138, c2 = 3), r3 = 0; r3 <= n3; r3++)
80999
80998
  if (o3 = a3, a3 = t3[2 * (r3 + 1) + 1], !(++s3 < l2 && o3 === a3)) {
81000
80999
  if (s3 < c2)
81001
81000
  do {
81002
- Rc(e3, o3, e3.bl_tree);
81001
+ Ec(e3, o3, e3.bl_tree);
81003
81002
  } while (0 != --s3);
81004
81003
  else
81005
- 0 !== o3 ? (o3 !== i3 && (Rc(e3, o3, e3.bl_tree), s3--), Rc(e3, 16, e3.bl_tree), Ec(e3, s3 - 3, 2)) : s3 <= 10 ? (Rc(e3, 17, e3.bl_tree), Ec(e3, s3 - 3, 3)) : (Rc(e3, 18, e3.bl_tree), Ec(e3, s3 - 11, 7));
81004
+ 0 !== o3 ? (o3 !== i3 && (Ec(e3, o3, e3.bl_tree), s3--), Ec(e3, 16, e3.bl_tree), Lc(e3, s3 - 3, 2)) : s3 <= 10 ? (Ec(e3, 17, e3.bl_tree), Lc(e3, s3 - 3, 3)) : (Ec(e3, 18, e3.bl_tree), Lc(e3, s3 - 11, 7));
81006
81005
  s3 = 0, i3 = o3, 0 === a3 ? (l2 = 138, c2 = 3) : o3 === a3 ? (l2 = 6, c2 = 3) : (l2 = 7, c2 = 4);
81007
81006
  }
81008
81007
  }
81009
- lc(zc);
81010
- var $c = false;
81011
- function Wc(e3, t3, n3, r3) {
81012
- Ec(e3, 0 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81013
- Dc(e4), Lc(e4, n4), Lc(e4, ~n4), sc.arraySet(e4.pending_buf, e4.window, t4, n4, e4.pending), e4.pending += n4;
81008
+ sc(Cc);
81009
+ var qc = false;
81010
+ function $c(e3, t3, n3, r3) {
81011
+ Lc(e3, 0 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81012
+ Ic(e4), Tc(e4, n4), Tc(e4, ~n4), ac.arraySet(e4.pending_buf, e4.window, t4, n4, e4.pending), e4.pending += n4;
81014
81013
  }(e3, t3, n3);
81015
81014
  }
81016
- ac._tr_init = function(e3) {
81017
- $c || (function() {
81018
- var e4, t3, n3, r3, o3, i3 = new Array(dc + 1);
81015
+ ic._tr_init = function(e3) {
81016
+ qc || (function() {
81017
+ var e4, t3, n3, r3, o3, i3 = new Array(hc + 1);
81019
81018
  for (n3 = 0, r3 = 0; r3 < 28; r3++)
81020
- for (xc[r3] = n3, e4 = 0; e4 < 1 << mc[r3]; e4++)
81021
- vc[n3++] = r3;
81022
- for (vc[n3 - 1] = r3, o3 = 0, r3 = 0; r3 < 16; r3++)
81023
- for (zc[r3] = o3, e4 = 0; e4 < 1 << fc[r3]; e4++)
81024
- wc[o3++] = r3;
81025
- for (o3 >>= 7; r3 < hc; r3++)
81026
- for (zc[r3] = o3 << 7, e4 = 0; e4 < 1 << fc[r3] - 7; e4++)
81027
- wc[256 + o3++] = r3;
81028
- for (t3 = 0; t3 <= dc; t3++)
81019
+ for (vc[r3] = n3, e4 = 0; e4 < 1 << pc[r3]; e4++)
81020
+ wc[n3++] = r3;
81021
+ for (wc[n3 - 1] = r3, o3 = 0, r3 = 0; r3 < 16; r3++)
81022
+ for (Cc[r3] = o3, e4 = 0; e4 < 1 << mc[r3]; e4++)
81023
+ kc[o3++] = r3;
81024
+ for (o3 >>= 7; r3 < uc; r3++)
81025
+ for (Cc[r3] = o3 << 7, e4 = 0; e4 < 1 << mc[r3] - 7; e4++)
81026
+ kc[256 + o3++] = r3;
81027
+ for (t3 = 0; t3 <= hc; t3++)
81029
81028
  i3[t3] = 0;
81030
81029
  for (e4 = 0; e4 <= 143; )
81031
- yc[2 * e4 + 1] = 8, e4++, i3[8]++;
81030
+ bc[2 * e4 + 1] = 8, e4++, i3[8]++;
81032
81031
  for (; e4 <= 255; )
81033
- yc[2 * e4 + 1] = 9, e4++, i3[9]++;
81032
+ bc[2 * e4 + 1] = 9, e4++, i3[9]++;
81034
81033
  for (; e4 <= 279; )
81035
- yc[2 * e4 + 1] = 7, e4++, i3[7]++;
81034
+ bc[2 * e4 + 1] = 7, e4++, i3[7]++;
81036
81035
  for (; e4 <= 287; )
81037
- yc[2 * e4 + 1] = 8, e4++, i3[8]++;
81038
- for (jc(yc, 287, i3), e4 = 0; e4 < hc; e4++)
81039
- kc[2 * e4 + 1] = 5, kc[2 * e4] = Nc(e4, 5);
81040
- _c = new Ac(yc, mc, 257, uc, dc), Sc = new Ac(kc, fc, 0, hc, dc), Cc = new Ac(new Array(0), gc, 0, 19, 7);
81041
- }(), $c = true), e3.l_desc = new Oc(e3.dyn_ltree, _c), e3.d_desc = new Oc(e3.dyn_dtree, Sc), e3.bl_desc = new Oc(e3.bl_tree, Cc), e3.bi_buf = 0, e3.bi_valid = 0, Ic(e3);
81042
- }, ac._tr_stored_block = Wc, ac._tr_flush_block = function(e3, t3, n3, r3) {
81036
+ bc[2 * e4 + 1] = 8, e4++, i3[8]++;
81037
+ for (Nc(bc, 287, i3), e4 = 0; e4 < uc; e4++)
81038
+ yc[2 * e4 + 1] = 5, yc[2 * e4] = Rc(e4, 5);
81039
+ xc = new zc(bc, pc, 257, cc, hc), _c = new zc(yc, mc, 0, uc, hc), Sc = new zc(new Array(0), fc, 0, 19, 7);
81040
+ }(), qc = true), e3.l_desc = new Ac(e3.dyn_ltree, xc), e3.d_desc = new Ac(e3.dyn_dtree, _c), e3.bl_desc = new Ac(e3.bl_tree, Sc), e3.bi_buf = 0, e3.bi_valid = 0, jc(e3);
81041
+ }, ic._tr_stored_block = $c, ic._tr_flush_block = function(e3, t3, n3, r3) {
81043
81042
  var o3, i3, a3 = 0;
81044
81043
  e3.level > 0 ? (2 === e3.strm.data_type && (e3.strm.data_type = function(e4) {
81045
81044
  var t4, n4 = 4093624447;
@@ -81048,29 +81047,29 @@ var require_processPagePollCjs = __commonJS({
81048
81047
  return 0;
81049
81048
  if (0 !== e4.dyn_ltree[18] || 0 !== e4.dyn_ltree[20] || 0 !== e4.dyn_ltree[26])
81050
81049
  return 1;
81051
- for (t4 = 32; t4 < cc; t4++)
81050
+ for (t4 = 32; t4 < lc; t4++)
81052
81051
  if (0 !== e4.dyn_ltree[2 * t4])
81053
81052
  return 1;
81054
81053
  return 0;
81055
- }(e3)), Uc(e3, e3.l_desc), Uc(e3, e3.d_desc), a3 = function(e4) {
81054
+ }(e3)), Fc(e3, e3.l_desc), Fc(e3, e3.d_desc), a3 = function(e4) {
81056
81055
  var t4;
81057
- for (Mc(e4, e4.dyn_ltree, e4.l_desc.max_code), Mc(e4, e4.dyn_dtree, e4.d_desc.max_code), Uc(e4, e4.bl_desc), t4 = 18; t4 >= 3 && 0 === e4.bl_tree[2 * bc[t4] + 1]; t4--)
81056
+ for (Uc(e4, e4.dyn_ltree, e4.l_desc.max_code), Uc(e4, e4.dyn_dtree, e4.d_desc.max_code), Fc(e4, e4.bl_desc), t4 = 18; t4 >= 3 && 0 === e4.bl_tree[2 * gc[t4] + 1]; t4--)
81058
81057
  ;
81059
81058
  return e4.opt_len += 3 * (t4 + 1) + 5 + 5 + 4, t4;
81060
- }(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 ? Wc(e3, t3, n3, r3) : 4 === e3.strategy || i3 === o3 ? (Ec(e3, 2 + (r3 ? 1 : 0), 3), Fc(e3, yc, kc)) : (Ec(e3, 4 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81059
+ }(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 ? $c(e3, t3, n3, r3) : 4 === e3.strategy || i3 === o3 ? (Lc(e3, 2 + (r3 ? 1 : 0), 3), Bc(e3, bc, yc)) : (Lc(e3, 4 + (r3 ? 1 : 0), 3), function(e4, t4, n4, r4) {
81061
81060
  var o4;
81062
- for (Ec(e4, t4 - 257, 5), Ec(e4, n4 - 1, 5), Ec(e4, r4 - 4, 4), o4 = 0; o4 < r4; o4++)
81063
- Ec(e4, e4.bl_tree[2 * bc[o4] + 1], 3);
81064
- qc(e4, e4.dyn_ltree, t4 - 1), qc(e4, e4.dyn_dtree, n4 - 1);
81065
- }(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a3 + 1), Fc(e3, e3.dyn_ltree, e3.dyn_dtree)), Ic(e3), r3 && Dc(e3);
81066
- }, ac._tr_tally = function(e3, t3, n3) {
81067
- 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 * (vc[n3] + cc + 1)]++, e3.dyn_dtree[2 * Tc(t3)]++), e3.last_lit === e3.lit_bufsize - 1;
81068
- }, ac._tr_align = function(e3) {
81069
- Ec(e3, 2, 3), Rc(e3, 256, yc), function(e4) {
81070
- 16 === e4.bi_valid ? (Lc(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);
81061
+ for (Lc(e4, t4 - 257, 5), Lc(e4, n4 - 1, 5), Lc(e4, r4 - 4, 4), o4 = 0; o4 < r4; o4++)
81062
+ Lc(e4, e4.bl_tree[2 * gc[o4] + 1], 3);
81063
+ Mc(e4, e4.dyn_ltree, t4 - 1), Mc(e4, e4.dyn_dtree, n4 - 1);
81064
+ }(e3, e3.l_desc.max_code + 1, e3.d_desc.max_code + 1, a3 + 1), Bc(e3, e3.dyn_ltree, e3.dyn_dtree)), jc(e3), r3 && Ic(e3);
81065
+ }, ic._tr_tally = function(e3, t3, n3) {
81066
+ 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 * (wc[n3] + lc + 1)]++, e3.dyn_dtree[2 * Oc(t3)]++), e3.last_lit === e3.lit_bufsize - 1;
81067
+ }, ic._tr_align = function(e3) {
81068
+ Lc(e3, 2, 3), Ec(e3, 256, bc), function(e4) {
81069
+ 16 === e4.bi_valid ? (Tc(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);
81071
81070
  }(e3);
81072
81071
  };
81073
- var Zc, Vc = function(e3, t3, n3, r3) {
81072
+ var Wc, Zc = function(e3, t3, n3, r3) {
81074
81073
  for (var o3 = 65535 & e3 | 0, i3 = e3 >>> 16 & 65535 | 0, a3 = 0; 0 !== n3; ) {
81075
81074
  n3 -= a3 = n3 > 2e3 ? 2e3 : n3;
81076
81075
  do {
@@ -81079,7 +81078,7 @@ var require_processPagePollCjs = __commonJS({
81079
81078
  o3 %= 65521, i3 %= 65521;
81080
81079
  }
81081
81080
  return o3 | i3 << 16 | 0;
81082
- }, Hc = function() {
81081
+ }, Vc = function() {
81083
81082
  for (var e3, t3 = [], n3 = 0; n3 < 256; n3++) {
81084
81083
  e3 = n3;
81085
81084
  for (var r3 = 0; r3 < 8; r3++)
@@ -81087,45 +81086,45 @@ var require_processPagePollCjs = __commonJS({
81087
81086
  t3[n3] = e3;
81088
81087
  }
81089
81088
  return t3;
81090
- }(), Kc = function(e3, t3, n3, r3) {
81091
- var o3 = Hc, i3 = r3 + n3;
81089
+ }(), Hc = function(e3, t3, n3, r3) {
81090
+ var o3 = Vc, i3 = r3 + n3;
81092
81091
  e3 ^= -1;
81093
81092
  for (var a3 = r3; a3 < i3; a3++)
81094
81093
  e3 = e3 >>> 8 ^ o3[255 & (e3 ^ t3[a3])];
81095
81094
  return -1 ^ e3;
81096
- }, Gc = { 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" }, Yc = rc, Qc = ac, Xc = Vc, Jc = Kc, eu = Gc, tu = 0, nu = 0, ru = -2, ou = 2, iu = 8, au = 286, su = 30, lu = 19, cu = 2 * au + 1, uu = 15, hu = 3, du = 258, pu = du + hu + 1, mu = 42, fu = 103, gu = 113, bu = 666;
81097
- function yu(e3, t3) {
81098
- return e3.msg = eu[t3], t3;
81095
+ }, Kc = { 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" }, Gc = nc, Yc = ic, Qc = Zc, Xc = Hc, Jc = Kc, eu = 0, tu = 0, nu = -2, ru = 2, ou = 8, iu = 286, au = 30, su = 19, lu = 2 * iu + 1, cu = 15, uu = 3, hu = 258, du = hu + uu + 1, pu = 42, mu = 103, fu = 113, gu = 666;
81096
+ function bu(e3, t3) {
81097
+ return e3.msg = Jc[t3], t3;
81099
81098
  }
81100
- function ku(e3) {
81099
+ function yu(e3) {
81101
81100
  return (e3 << 1) - (e3 > 4 ? 9 : 0);
81102
81101
  }
81103
- function wu(e3) {
81102
+ function ku(e3) {
81104
81103
  for (var t3 = e3.length; --t3 >= 0; )
81105
81104
  e3[t3] = 0;
81106
81105
  }
81107
- function vu(e3) {
81106
+ function wu(e3) {
81108
81107
  var t3 = e3.state, n3 = t3.pending;
81109
- n3 > e3.avail_out && (n3 = e3.avail_out), 0 !== n3 && (Yc.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));
81108
+ n3 > e3.avail_out && (n3 = e3.avail_out), 0 !== n3 && (Gc.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));
81110
81109
  }
81111
- function xu(e3, t3) {
81112
- Qc._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, vu(e3.strm);
81110
+ function vu(e3, t3) {
81111
+ Yc._tr_flush_block(e3, e3.block_start >= 0 ? e3.block_start : -1, e3.strstart - e3.block_start, t3), e3.block_start = e3.strstart, wu(e3.strm);
81113
81112
  }
81114
- function _u(e3, t3) {
81113
+ function xu(e3, t3) {
81115
81114
  e3.pending_buf[e3.pending++] = t3;
81116
81115
  }
81117
- function Su(e3, t3) {
81116
+ function _u(e3, t3) {
81118
81117
  e3.pending_buf[e3.pending++] = t3 >>> 8 & 255, e3.pending_buf[e3.pending++] = 255 & t3;
81119
81118
  }
81120
- function Cu(e3, t3) {
81121
- 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 - pu ? e3.strstart - (e3.w_size - pu) : 0, c2 = e3.window, u2 = e3.w_mask, h2 = e3.prev, d2 = e3.strstart + du, p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
81119
+ function Su(e3, t3) {
81120
+ 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 - du ? e3.strstart - (e3.w_size - du) : 0, c2 = e3.window, u2 = e3.w_mask, h2 = e3.prev, d2 = e3.strstart + hu, p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
81122
81121
  e3.prev_length >= e3.good_match && (o3 >>= 2), s3 > e3.lookahead && (s3 = e3.lookahead);
81123
81122
  do {
81124
81123
  if (c2[(n3 = t3) + a3] === m2 && c2[n3 + a3 - 1] === p2 && c2[n3] === c2[i3] && c2[++n3] === c2[i3 + 1]) {
81125
81124
  i3 += 2, n3++;
81126
81125
  do {
81127
81126
  } 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);
81128
- if (r3 = du - (d2 - i3), i3 = d2 - du, r3 > a3) {
81127
+ if (r3 = hu - (d2 - i3), i3 = d2 - hu, r3 > a3) {
81129
81128
  if (e3.match_start = t3, a3 = r3, r3 >= s3)
81130
81129
  break;
81131
81130
  p2 = c2[i3 + a3 - 1], m2 = c2[i3 + a3];
@@ -81134,11 +81133,11 @@ var require_processPagePollCjs = __commonJS({
81134
81133
  } while ((t3 = h2[t3 & u2]) > l2 && 0 != --o3);
81135
81134
  return a3 <= e3.lookahead ? a3 : e3.lookahead;
81136
81135
  }
81137
- function zu(e3) {
81136
+ function Cu(e3) {
81138
81137
  var t3, n3, r3, o3, i3, a3, s3, l2, c2, u2, h2 = e3.w_size;
81139
81138
  do {
81140
- if (o3 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= h2 + (h2 - pu)) {
81141
- Yc.arraySet(e3.window, e3.window, h2, h2, 0), e3.match_start -= h2, e3.strstart -= h2, e3.block_start -= h2, t3 = n3 = e3.hash_size;
81139
+ if (o3 = e3.window_size - e3.lookahead - e3.strstart, e3.strstart >= h2 + (h2 - du)) {
81140
+ Gc.arraySet(e3.window, e3.window, h2, h2, 0), e3.match_start -= h2, e3.strstart -= h2, e3.block_start -= h2, t3 = n3 = e3.hash_size;
81142
81141
  do {
81143
81142
  r3 = e3.head[--t3], e3.head[t3] = r3 >= h2 ? r3 - h2 : 0;
81144
81143
  } while (--n3);
@@ -81150,309 +81149,309 @@ var require_processPagePollCjs = __commonJS({
81150
81149
  }
81151
81150
  if (0 === e3.strm.avail_in)
81152
81151
  break;
81153
- 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, Yc.arraySet(s3, a3.input, a3.next_in, u2, l2), 1 === a3.state.wrap ? a3.adler = Xc(a3.adler, s3, u2, l2) : 2 === a3.state.wrap && (a3.adler = Jc(a3.adler, s3, u2, l2)), a3.next_in += u2, a3.total_in += u2, u2), e3.lookahead += n3, e3.lookahead + e3.insert >= hu)
81154
- 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 + hu - 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 < hu)); )
81152
+ 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, Gc.arraySet(s3, a3.input, a3.next_in, u2, l2), 1 === a3.state.wrap ? a3.adler = Qc(a3.adler, s3, u2, l2) : 2 === a3.state.wrap && (a3.adler = Xc(a3.adler, s3, u2, l2)), a3.next_in += u2, a3.total_in += u2, u2), e3.lookahead += n3, e3.lookahead + e3.insert >= uu)
81153
+ 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 + uu - 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 < uu)); )
81155
81154
  ;
81156
- } while (e3.lookahead < pu && 0 !== e3.strm.avail_in);
81155
+ } while (e3.lookahead < du && 0 !== e3.strm.avail_in);
81157
81156
  }
81158
- function Au(e3, t3) {
81157
+ function zu(e3, t3) {
81159
81158
  for (var n3, r3; ; ) {
81160
- if (e3.lookahead < pu) {
81161
- if (zu(e3), e3.lookahead < pu && t3 === tu)
81159
+ if (e3.lookahead < du) {
81160
+ if (Cu(e3), e3.lookahead < du && t3 === eu)
81162
81161
  return 1;
81163
81162
  if (0 === e3.lookahead)
81164
81163
  break;
81165
81164
  }
81166
- if (n3 = 0, e3.lookahead >= hu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + hu - 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 - pu && (e3.match_length = Cu(e3, n3)), e3.match_length >= hu)
81167
- if (r3 = Qc._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - hu), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= hu) {
81165
+ if (n3 = 0, e3.lookahead >= uu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + uu - 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 - du && (e3.match_length = Su(e3, n3)), e3.match_length >= uu)
81166
+ if (r3 = Yc._tr_tally(e3, e3.strstart - e3.match_start, e3.match_length - uu), e3.lookahead -= e3.match_length, e3.match_length <= e3.max_lazy_match && e3.lookahead >= uu) {
81168
81167
  e3.match_length--;
81169
81168
  do {
81170
- e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + hu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart;
81169
+ e3.strstart++, e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + uu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart;
81171
81170
  } while (0 != --e3.match_length);
81172
81171
  e3.strstart++;
81173
81172
  } else
81174
81173
  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;
81175
81174
  else
81176
- r3 = Qc._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++;
81177
- if (r3 && (xu(e3, false), 0 === e3.strm.avail_out))
81175
+ r3 = Yc._tr_tally(e3, 0, e3.window[e3.strstart]), e3.lookahead--, e3.strstart++;
81176
+ if (r3 && (vu(e3, false), 0 === e3.strm.avail_out))
81178
81177
  return 1;
81179
81178
  }
81180
- return e3.insert = e3.strstart < hu - 1 ? e3.strstart : hu - 1, 4 === t3 ? (xu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (xu(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81179
+ return e3.insert = e3.strstart < uu - 1 ? e3.strstart : uu - 1, 4 === t3 ? (vu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (vu(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81181
81180
  }
81182
- function Ou(e3, t3) {
81181
+ function Au(e3, t3) {
81183
81182
  for (var n3, r3, o3; ; ) {
81184
- if (e3.lookahead < pu) {
81185
- if (zu(e3), e3.lookahead < pu && t3 === tu)
81183
+ if (e3.lookahead < du) {
81184
+ if (Cu(e3), e3.lookahead < du && t3 === eu)
81186
81185
  return 1;
81187
81186
  if (0 === e3.lookahead)
81188
81187
  break;
81189
81188
  }
81190
- if (n3 = 0, e3.lookahead >= hu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + hu - 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 = hu - 1, 0 !== n3 && e3.prev_length < e3.max_lazy_match && e3.strstart - n3 <= e3.w_size - pu && (e3.match_length = Cu(e3, n3), e3.match_length <= 5 && (1 === e3.strategy || e3.match_length === hu && e3.strstart - e3.match_start > 4096) && (e3.match_length = hu - 1)), e3.prev_length >= hu && e3.match_length <= e3.prev_length) {
81191
- o3 = e3.strstart + e3.lookahead - hu, r3 = Qc._tr_tally(e3, e3.strstart - 1 - e3.prev_match, e3.prev_length - hu), e3.lookahead -= e3.prev_length - 1, e3.prev_length -= 2;
81189
+ if (n3 = 0, e3.lookahead >= uu && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + uu - 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 = uu - 1, 0 !== n3 && e3.prev_length < e3.max_lazy_match && e3.strstart - n3 <= e3.w_size - du && (e3.match_length = Su(e3, n3), e3.match_length <= 5 && (1 === e3.strategy || e3.match_length === uu && e3.strstart - e3.match_start > 4096) && (e3.match_length = uu - 1)), e3.prev_length >= uu && e3.match_length <= e3.prev_length) {
81190
+ o3 = e3.strstart + e3.lookahead - uu, r3 = Yc._tr_tally(e3, e3.strstart - 1 - e3.prev_match, e3.prev_length - uu), e3.lookahead -= e3.prev_length - 1, e3.prev_length -= 2;
81192
81191
  do {
81193
- ++e3.strstart <= o3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + hu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart);
81192
+ ++e3.strstart <= o3 && (e3.ins_h = (e3.ins_h << e3.hash_shift ^ e3.window[e3.strstart + uu - 1]) & e3.hash_mask, n3 = e3.prev[e3.strstart & e3.w_mask] = e3.head[e3.ins_h], e3.head[e3.ins_h] = e3.strstart);
81194
81193
  } while (0 != --e3.prev_length);
81195
- if (e3.match_available = 0, e3.match_length = hu - 1, e3.strstart++, r3 && (xu(e3, false), 0 === e3.strm.avail_out))
81194
+ if (e3.match_available = 0, e3.match_length = uu - 1, e3.strstart++, r3 && (vu(e3, false), 0 === e3.strm.avail_out))
81196
81195
  return 1;
81197
81196
  } else if (e3.match_available) {
81198
- if ((r3 = Qc._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && xu(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out)
81197
+ if ((r3 = Yc._tr_tally(e3, 0, e3.window[e3.strstart - 1])) && vu(e3, false), e3.strstart++, e3.lookahead--, 0 === e3.strm.avail_out)
81199
81198
  return 1;
81200
81199
  } else
81201
81200
  e3.match_available = 1, e3.strstart++, e3.lookahead--;
81202
81201
  }
81203
- return e3.match_available && (r3 = Qc._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < hu - 1 ? e3.strstart : hu - 1, 4 === t3 ? (xu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (xu(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81202
+ return e3.match_available && (r3 = Yc._tr_tally(e3, 0, e3.window[e3.strstart - 1]), e3.match_available = 0), e3.insert = e3.strstart < uu - 1 ? e3.strstart : uu - 1, 4 === t3 ? (vu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : e3.last_lit && (vu(e3, false), 0 === e3.strm.avail_out) ? 1 : 2;
81204
81203
  }
81205
- function Tu(e3, t3, n3, r3, o3) {
81204
+ function Ou(e3, t3, n3, r3, o3) {
81206
81205
  this.good_length = e3, this.max_lazy = t3, this.nice_length = n3, this.max_chain = r3, this.func = o3;
81207
81206
  }
81208
- function Lu() {
81209
- 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 = iu, 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 Yc.Buf16(2 * cu), this.dyn_dtree = new Yc.Buf16(2 * (2 * su + 1)), this.bl_tree = new Yc.Buf16(2 * (2 * lu + 1)), wu(this.dyn_ltree), wu(this.dyn_dtree), wu(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Yc.Buf16(uu + 1), this.heap = new Yc.Buf16(2 * au + 1), wu(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Yc.Buf16(2 * au + 1), wu(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;
81207
+ function Tu() {
81208
+ 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 = ou, 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 Gc.Buf16(2 * lu), this.dyn_dtree = new Gc.Buf16(2 * (2 * au + 1)), this.bl_tree = new Gc.Buf16(2 * (2 * su + 1)), ku(this.dyn_ltree), ku(this.dyn_dtree), ku(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new Gc.Buf16(cu + 1), this.heap = new Gc.Buf16(2 * iu + 1), ku(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new Gc.Buf16(2 * iu + 1), ku(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;
81210
81209
  }
81211
- function Eu(e3) {
81210
+ function Lu(e3) {
81212
81211
  var t3;
81213
- return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type = ou, (t3 = e3.state).pending = 0, t3.pending_out = 0, t3.wrap < 0 && (t3.wrap = -t3.wrap), t3.status = t3.wrap ? mu : gu, e3.adler = 2 === t3.wrap ? 0 : 1, t3.last_flush = tu, Qc._tr_init(t3), nu) : yu(e3, ru);
81212
+ return e3 && e3.state ? (e3.total_in = e3.total_out = 0, e3.data_type = ru, (t3 = e3.state).pending = 0, t3.pending_out = 0, t3.wrap < 0 && (t3.wrap = -t3.wrap), t3.status = t3.wrap ? pu : fu, e3.adler = 2 === t3.wrap ? 0 : 1, t3.last_flush = eu, Yc._tr_init(t3), tu) : bu(e3, nu);
81214
81213
  }
81215
- function Ru(e3) {
81216
- var t3, n3 = Eu(e3);
81217
- return n3 === nu && ((t3 = e3.state).window_size = 2 * t3.w_size, wu(t3.head), t3.max_lazy_match = Zc[t3.level].max_lazy, t3.good_match = Zc[t3.level].good_length, t3.nice_match = Zc[t3.level].nice_length, t3.max_chain_length = Zc[t3.level].max_chain, t3.strstart = 0, t3.block_start = 0, t3.lookahead = 0, t3.insert = 0, t3.match_length = t3.prev_length = hu - 1, t3.match_available = 0, t3.ins_h = 0), n3;
81214
+ function Eu(e3) {
81215
+ var t3, n3 = Lu(e3);
81216
+ return n3 === tu && ((t3 = e3.state).window_size = 2 * t3.w_size, ku(t3.head), t3.max_lazy_match = Wc[t3.level].max_lazy, t3.good_match = Wc[t3.level].good_length, t3.nice_match = Wc[t3.level].nice_length, t3.max_chain_length = Wc[t3.level].max_chain, t3.strstart = 0, t3.block_start = 0, t3.lookahead = 0, t3.insert = 0, t3.match_length = t3.prev_length = uu - 1, t3.match_available = 0, t3.ins_h = 0), n3;
81218
81217
  }
81219
- function Nu(e3, t3, n3, r3, o3, i3) {
81218
+ function Ru(e3, t3, n3, r3, o3, i3) {
81220
81219
  if (!e3)
81221
- return ru;
81220
+ return nu;
81222
81221
  var a3 = 1;
81223
- if (-1 === t3 && (t3 = 6), r3 < 0 ? (a3 = 0, r3 = -r3) : r3 > 15 && (a3 = 2, r3 -= 16), o3 < 1 || o3 > 9 || n3 !== iu || r3 < 8 || r3 > 15 || t3 < 0 || t3 > 9 || i3 < 0 || i3 > 4)
81224
- return yu(e3, ru);
81222
+ if (-1 === t3 && (t3 = 6), r3 < 0 ? (a3 = 0, r3 = -r3) : r3 > 15 && (a3 = 2, r3 -= 16), o3 < 1 || o3 > 9 || n3 !== ou || r3 < 8 || r3 > 15 || t3 < 0 || t3 > 9 || i3 < 0 || i3 > 4)
81223
+ return bu(e3, nu);
81225
81224
  8 === r3 && (r3 = 9);
81226
- var s3 = new Lu();
81227
- 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 + hu - 1) / hu), s3.window = new Yc.Buf8(2 * s3.w_size), s3.head = new Yc.Buf16(s3.hash_size), s3.prev = new Yc.Buf16(s3.w_size), s3.lit_bufsize = 1 << o3 + 6, s3.pending_buf_size = 4 * s3.lit_bufsize, s3.pending_buf = new Yc.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, Ru(e3);
81225
+ var s3 = new Tu();
81226
+ 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 + uu - 1) / uu), s3.window = new Gc.Buf8(2 * s3.w_size), s3.head = new Gc.Buf16(s3.hash_size), s3.prev = new Gc.Buf16(s3.w_size), s3.lit_bufsize = 1 << o3 + 6, s3.pending_buf_size = 4 * s3.lit_bufsize, s3.pending_buf = new Gc.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, Eu(e3);
81228
81227
  }
81229
- Zc = [new Tu(0, 0, 0, 0, function(e3, t3) {
81228
+ Wc = [new Ou(0, 0, 0, 0, function(e3, t3) {
81230
81229
  var n3 = 65535;
81231
81230
  for (n3 > e3.pending_buf_size - 5 && (n3 = e3.pending_buf_size - 5); ; ) {
81232
81231
  if (e3.lookahead <= 1) {
81233
- if (zu(e3), 0 === e3.lookahead && t3 === tu)
81232
+ if (Cu(e3), 0 === e3.lookahead && t3 === eu)
81234
81233
  return 1;
81235
81234
  if (0 === e3.lookahead)
81236
81235
  break;
81237
81236
  }
81238
81237
  e3.strstart += e3.lookahead, e3.lookahead = 0;
81239
81238
  var r3 = e3.block_start + n3;
81240
- if ((0 === e3.strstart || e3.strstart >= r3) && (e3.lookahead = e3.strstart - r3, e3.strstart = r3, xu(e3, false), 0 === e3.strm.avail_out))
81239
+ if ((0 === e3.strstart || e3.strstart >= r3) && (e3.lookahead = e3.strstart - r3, e3.strstart = r3, vu(e3, false), 0 === e3.strm.avail_out))
81241
81240
  return 1;
81242
- if (e3.strstart - e3.block_start >= e3.w_size - pu && (xu(e3, false), 0 === e3.strm.avail_out))
81241
+ if (e3.strstart - e3.block_start >= e3.w_size - du && (vu(e3, false), 0 === e3.strm.avail_out))
81243
81242
  return 1;
81244
81243
  }
81245
- return e3.insert = 0, 4 === t3 ? (xu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : (e3.strstart > e3.block_start && (xu(e3, false), e3.strm.avail_out), 1);
81246
- }), new Tu(4, 4, 8, 4, Au), new Tu(4, 5, 16, 8, Au), new Tu(4, 6, 32, 32, Au), new Tu(4, 4, 16, 16, Ou), new Tu(8, 16, 32, 32, Ou), new Tu(8, 16, 128, 128, Ou), new Tu(8, 32, 128, 256, Ou), new Tu(32, 128, 258, 1024, Ou), new Tu(32, 258, 258, 4096, Ou)], ic.deflateInit = function(e3, t3) {
81247
- return Nu(e3, t3, iu, 15, 8, 0);
81248
- }, ic.deflateInit2 = Nu, ic.deflateReset = Ru, ic.deflateResetKeep = Eu, ic.deflateSetHeader = function(e3, t3) {
81249
- return e3 && e3.state ? 2 !== e3.state.wrap ? ru : (e3.state.gzhead = t3, nu) : ru;
81250
- }, ic.deflate = function(e3, t3) {
81244
+ return e3.insert = 0, 4 === t3 ? (vu(e3, true), 0 === e3.strm.avail_out ? 3 : 4) : (e3.strstart > e3.block_start && (vu(e3, false), e3.strm.avail_out), 1);
81245
+ }), new Ou(4, 4, 8, 4, zu), new Ou(4, 5, 16, 8, zu), new Ou(4, 6, 32, 32, zu), new Ou(4, 4, 16, 16, Au), new Ou(8, 16, 32, 32, Au), new Ou(8, 16, 128, 128, Au), new Ou(8, 32, 128, 256, Au), new Ou(32, 128, 258, 1024, Au), new Ou(32, 258, 258, 4096, Au)], oc.deflateInit = function(e3, t3) {
81246
+ return Ru(e3, t3, ou, 15, 8, 0);
81247
+ }, oc.deflateInit2 = Ru, oc.deflateReset = Eu, oc.deflateResetKeep = Lu, oc.deflateSetHeader = function(e3, t3) {
81248
+ return e3 && e3.state ? 2 !== e3.state.wrap ? nu : (e3.state.gzhead = t3, tu) : nu;
81249
+ }, oc.deflate = function(e3, t3) {
81251
81250
  var n3, r3, o3, i3;
81252
81251
  if (!e3 || !e3.state || t3 > 5 || t3 < 0)
81253
- return e3 ? yu(e3, ru) : ru;
81254
- if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status === bu && 4 !== t3)
81255
- return yu(e3, 0 === e3.avail_out ? -5 : ru);
81256
- if (r3.strm = e3, n3 = r3.last_flush, r3.last_flush = t3, r3.status === mu)
81252
+ return e3 ? bu(e3, nu) : nu;
81253
+ if (r3 = e3.state, !e3.output || !e3.input && 0 !== e3.avail_in || r3.status === gu && 4 !== t3)
81254
+ return bu(e3, 0 === e3.avail_out ? -5 : nu);
81255
+ if (r3.strm = e3, n3 = r3.last_flush, r3.last_flush = t3, r3.status === pu)
81257
81256
  if (2 === r3.wrap)
81258
- e3.adler = 0, _u(r3, 31), _u(r3, 139), _u(r3, 8), r3.gzhead ? (_u(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)), _u(r3, 255 & r3.gzhead.time), _u(r3, r3.gzhead.time >> 8 & 255), _u(r3, r3.gzhead.time >> 16 & 255), _u(r3, r3.gzhead.time >> 24 & 255), _u(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), _u(r3, 255 & r3.gzhead.os), r3.gzhead.extra && r3.gzhead.extra.length && (_u(r3, 255 & r3.gzhead.extra.length), _u(r3, r3.gzhead.extra.length >> 8 & 255)), r3.gzhead.hcrc && (e3.adler = Jc(e3.adler, r3.pending_buf, r3.pending, 0)), r3.gzindex = 0, r3.status = 69) : (_u(r3, 0), _u(r3, 0), _u(r3, 0), _u(r3, 0), _u(r3, 0), _u(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), _u(r3, 3), r3.status = gu);
81257
+ e3.adler = 0, xu(r3, 31), xu(r3, 139), xu(r3, 8), r3.gzhead ? (xu(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)), xu(r3, 255 & r3.gzhead.time), xu(r3, r3.gzhead.time >> 8 & 255), xu(r3, r3.gzhead.time >> 16 & 255), xu(r3, r3.gzhead.time >> 24 & 255), xu(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), xu(r3, 255 & r3.gzhead.os), r3.gzhead.extra && r3.gzhead.extra.length && (xu(r3, 255 & r3.gzhead.extra.length), xu(r3, r3.gzhead.extra.length >> 8 & 255)), r3.gzhead.hcrc && (e3.adler = Xc(e3.adler, r3.pending_buf, r3.pending, 0)), r3.gzindex = 0, r3.status = 69) : (xu(r3, 0), xu(r3, 0), xu(r3, 0), xu(r3, 0), xu(r3, 0), xu(r3, 9 === r3.level ? 2 : r3.strategy >= 2 || r3.level < 2 ? 4 : 0), xu(r3, 3), r3.status = fu);
81259
81258
  else {
81260
- var a3 = iu + (r3.w_bits - 8 << 4) << 8;
81261
- 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 = gu, Su(r3, a3), 0 !== r3.strstart && (Su(r3, e3.adler >>> 16), Su(r3, 65535 & e3.adler)), e3.adler = 1;
81259
+ var a3 = ou + (r3.w_bits - 8 << 4) << 8;
81260
+ 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 = fu, _u(r3, a3), 0 !== r3.strstart && (_u(r3, e3.adler >>> 16), _u(r3, 65535 & e3.adler)), e3.adler = 1;
81262
81261
  }
81263
81262
  if (69 === r3.status)
81264
81263
  if (r3.gzhead.extra) {
81265
- 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 = Jc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), vu(e3), o3 = r3.pending, r3.pending !== r3.pending_buf_size)); )
81266
- _u(r3, 255 & r3.gzhead.extra[r3.gzindex]), r3.gzindex++;
81267
- r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Jc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), r3.gzindex === r3.gzhead.extra.length && (r3.gzindex = 0, r3.status = 73);
81264
+ 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 = Xc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), wu(e3), o3 = r3.pending, r3.pending !== r3.pending_buf_size)); )
81265
+ xu(r3, 255 & r3.gzhead.extra[r3.gzindex]), r3.gzindex++;
81266
+ r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Xc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), r3.gzindex === r3.gzhead.extra.length && (r3.gzindex = 0, r3.status = 73);
81268
81267
  } else
81269
81268
  r3.status = 73;
81270
81269
  if (73 === r3.status)
81271
81270
  if (r3.gzhead.name) {
81272
81271
  o3 = r3.pending;
81273
81272
  do {
81274
- if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Jc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), vu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81273
+ if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Xc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), wu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81275
81274
  i3 = 1;
81276
81275
  break;
81277
81276
  }
81278
- i3 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0, _u(r3, i3);
81277
+ i3 = r3.gzindex < r3.gzhead.name.length ? 255 & r3.gzhead.name.charCodeAt(r3.gzindex++) : 0, xu(r3, i3);
81279
81278
  } while (0 !== i3);
81280
- r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Jc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.gzindex = 0, r3.status = 91);
81279
+ r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Xc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.gzindex = 0, r3.status = 91);
81281
81280
  } else
81282
81281
  r3.status = 91;
81283
81282
  if (91 === r3.status)
81284
81283
  if (r3.gzhead.comment) {
81285
81284
  o3 = r3.pending;
81286
81285
  do {
81287
- if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Jc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), vu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81286
+ if (r3.pending === r3.pending_buf_size && (r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Xc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), wu(e3), o3 = r3.pending, r3.pending === r3.pending_buf_size)) {
81288
81287
  i3 = 1;
81289
81288
  break;
81290
81289
  }
81291
- i3 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0, _u(r3, i3);
81290
+ i3 = r3.gzindex < r3.gzhead.comment.length ? 255 & r3.gzhead.comment.charCodeAt(r3.gzindex++) : 0, xu(r3, i3);
81292
81291
  } while (0 !== i3);
81293
- r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Jc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.status = fu);
81292
+ r3.gzhead.hcrc && r3.pending > o3 && (e3.adler = Xc(e3.adler, r3.pending_buf, r3.pending - o3, o3)), 0 === i3 && (r3.status = mu);
81294
81293
  } else
81295
- r3.status = fu;
81296
- if (r3.status === fu && (r3.gzhead.hcrc ? (r3.pending + 2 > r3.pending_buf_size && vu(e3), r3.pending + 2 <= r3.pending_buf_size && (_u(r3, 255 & e3.adler), _u(r3, e3.adler >> 8 & 255), e3.adler = 0, r3.status = gu)) : r3.status = gu), 0 !== r3.pending) {
81297
- if (vu(e3), 0 === e3.avail_out)
81298
- return r3.last_flush = -1, nu;
81299
- } else if (0 === e3.avail_in && ku(t3) <= ku(n3) && 4 !== t3)
81300
- return yu(e3, -5);
81301
- if (r3.status === bu && 0 !== e3.avail_in)
81302
- return yu(e3, -5);
81303
- if (0 !== e3.avail_in || 0 !== r3.lookahead || t3 !== tu && r3.status !== bu) {
81294
+ r3.status = mu;
81295
+ if (r3.status === mu && (r3.gzhead.hcrc ? (r3.pending + 2 > r3.pending_buf_size && wu(e3), r3.pending + 2 <= r3.pending_buf_size && (xu(r3, 255 & e3.adler), xu(r3, e3.adler >> 8 & 255), e3.adler = 0, r3.status = fu)) : r3.status = fu), 0 !== r3.pending) {
81296
+ if (wu(e3), 0 === e3.avail_out)
81297
+ return r3.last_flush = -1, tu;
81298
+ } else if (0 === e3.avail_in && yu(t3) <= yu(n3) && 4 !== t3)
81299
+ return bu(e3, -5);
81300
+ if (r3.status === gu && 0 !== e3.avail_in)
81301
+ return bu(e3, -5);
81302
+ if (0 !== e3.avail_in || 0 !== r3.lookahead || t3 !== eu && r3.status !== gu) {
81304
81303
  var s3 = 2 === r3.strategy ? function(e4, t4) {
81305
81304
  for (var n4; ; ) {
81306
- if (0 === e4.lookahead && (zu(e4), 0 === e4.lookahead)) {
81307
- if (t4 === tu)
81305
+ if (0 === e4.lookahead && (Cu(e4), 0 === e4.lookahead)) {
81306
+ if (t4 === eu)
81308
81307
  return 1;
81309
81308
  break;
81310
81309
  }
81311
- if (e4.match_length = 0, n4 = Qc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++, n4 && (xu(e4, false), 0 === e4.strm.avail_out))
81310
+ if (e4.match_length = 0, n4 = Yc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++, n4 && (vu(e4, false), 0 === e4.strm.avail_out))
81312
81311
  return 1;
81313
81312
  }
81314
- return e4.insert = 0, 4 === t4 ? (xu(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (xu(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81313
+ return e4.insert = 0, 4 === t4 ? (vu(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (vu(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81315
81314
  }(r3, t3) : 3 === r3.strategy ? function(e4, t4) {
81316
81315
  for (var n4, r4, o4, i4, a4 = e4.window; ; ) {
81317
- if (e4.lookahead <= du) {
81318
- if (zu(e4), e4.lookahead <= du && t4 === tu)
81316
+ if (e4.lookahead <= hu) {
81317
+ if (Cu(e4), e4.lookahead <= hu && t4 === eu)
81319
81318
  return 1;
81320
81319
  if (0 === e4.lookahead)
81321
81320
  break;
81322
81321
  }
81323
- if (e4.match_length = 0, e4.lookahead >= hu && e4.strstart > 0 && (r4 = a4[o4 = e4.strstart - 1]) === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4]) {
81324
- i4 = e4.strstart + du;
81322
+ if (e4.match_length = 0, e4.lookahead >= uu && e4.strstart > 0 && (r4 = a4[o4 = e4.strstart - 1]) === a4[++o4] && r4 === a4[++o4] && r4 === a4[++o4]) {
81323
+ i4 = e4.strstart + hu;
81325
81324
  do {
81326
81325
  } 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);
81327
- e4.match_length = du - (i4 - o4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead);
81326
+ e4.match_length = hu - (i4 - o4), e4.match_length > e4.lookahead && (e4.match_length = e4.lookahead);
81328
81327
  }
81329
- if (e4.match_length >= hu ? (n4 = Qc._tr_tally(e4, 1, e4.match_length - hu), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (n4 = Qc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), n4 && (xu(e4, false), 0 === e4.strm.avail_out))
81328
+ if (e4.match_length >= uu ? (n4 = Yc._tr_tally(e4, 1, e4.match_length - uu), e4.lookahead -= e4.match_length, e4.strstart += e4.match_length, e4.match_length = 0) : (n4 = Yc._tr_tally(e4, 0, e4.window[e4.strstart]), e4.lookahead--, e4.strstart++), n4 && (vu(e4, false), 0 === e4.strm.avail_out))
81330
81329
  return 1;
81331
81330
  }
81332
- return e4.insert = 0, 4 === t4 ? (xu(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (xu(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81333
- }(r3, t3) : Zc[r3.level].func(r3, t3);
81334
- if (3 !== s3 && 4 !== s3 || (r3.status = bu), 1 === s3 || 3 === s3)
81335
- return 0 === e3.avail_out && (r3.last_flush = -1), nu;
81336
- if (2 === s3 && (1 === t3 ? Qc._tr_align(r3) : 5 !== t3 && (Qc._tr_stored_block(r3, 0, 0, false), 3 === t3 && (wu(r3.head), 0 === r3.lookahead && (r3.strstart = 0, r3.block_start = 0, r3.insert = 0))), vu(e3), 0 === e3.avail_out))
81337
- return r3.last_flush = -1, nu;
81338
- }
81339
- return 4 !== t3 ? nu : r3.wrap <= 0 ? 1 : (2 === r3.wrap ? (_u(r3, 255 & e3.adler), _u(r3, e3.adler >> 8 & 255), _u(r3, e3.adler >> 16 & 255), _u(r3, e3.adler >> 24 & 255), _u(r3, 255 & e3.total_in), _u(r3, e3.total_in >> 8 & 255), _u(r3, e3.total_in >> 16 & 255), _u(r3, e3.total_in >> 24 & 255)) : (Su(r3, e3.adler >>> 16), Su(r3, 65535 & e3.adler)), vu(e3), r3.wrap > 0 && (r3.wrap = -r3.wrap), 0 !== r3.pending ? nu : 1);
81340
- }, ic.deflateEnd = function(e3) {
81331
+ return e4.insert = 0, 4 === t4 ? (vu(e4, true), 0 === e4.strm.avail_out ? 3 : 4) : e4.last_lit && (vu(e4, false), 0 === e4.strm.avail_out) ? 1 : 2;
81332
+ }(r3, t3) : Wc[r3.level].func(r3, t3);
81333
+ if (3 !== s3 && 4 !== s3 || (r3.status = gu), 1 === s3 || 3 === s3)
81334
+ return 0 === e3.avail_out && (r3.last_flush = -1), tu;
81335
+ if (2 === s3 && (1 === t3 ? Yc._tr_align(r3) : 5 !== t3 && (Yc._tr_stored_block(r3, 0, 0, false), 3 === t3 && (ku(r3.head), 0 === r3.lookahead && (r3.strstart = 0, r3.block_start = 0, r3.insert = 0))), wu(e3), 0 === e3.avail_out))
81336
+ return r3.last_flush = -1, tu;
81337
+ }
81338
+ return 4 !== t3 ? tu : r3.wrap <= 0 ? 1 : (2 === r3.wrap ? (xu(r3, 255 & e3.adler), xu(r3, e3.adler >> 8 & 255), xu(r3, e3.adler >> 16 & 255), xu(r3, e3.adler >> 24 & 255), xu(r3, 255 & e3.total_in), xu(r3, e3.total_in >> 8 & 255), xu(r3, e3.total_in >> 16 & 255), xu(r3, e3.total_in >> 24 & 255)) : (_u(r3, e3.adler >>> 16), _u(r3, 65535 & e3.adler)), wu(e3), r3.wrap > 0 && (r3.wrap = -r3.wrap), 0 !== r3.pending ? tu : 1);
81339
+ }, oc.deflateEnd = function(e3) {
81341
81340
  var t3;
81342
- return e3 && e3.state ? (t3 = e3.state.status) !== mu && 69 !== t3 && 73 !== t3 && 91 !== t3 && t3 !== fu && t3 !== gu && t3 !== bu ? yu(e3, ru) : (e3.state = null, t3 === gu ? yu(e3, -3) : nu) : ru;
81343
- }, ic.deflateSetDictionary = function(e3, t3) {
81341
+ return e3 && e3.state ? (t3 = e3.state.status) !== pu && 69 !== t3 && 73 !== t3 && 91 !== t3 && t3 !== mu && t3 !== fu && t3 !== gu ? bu(e3, nu) : (e3.state = null, t3 === fu ? bu(e3, -3) : tu) : nu;
81342
+ }, oc.deflateSetDictionary = function(e3, t3) {
81344
81343
  var n3, r3, o3, i3, a3, s3, l2, c2, u2 = t3.length;
81345
81344
  if (!e3 || !e3.state)
81346
- return ru;
81347
- if (2 === (i3 = (n3 = e3.state).wrap) || 1 === i3 && n3.status !== mu || n3.lookahead)
81348
- return ru;
81349
- for (1 === i3 && (e3.adler = Xc(e3.adler, t3, u2, 0)), n3.wrap = 0, u2 >= n3.w_size && (0 === i3 && (wu(n3.head), n3.strstart = 0, n3.block_start = 0, n3.insert = 0), c2 = new Yc.Buf8(n3.w_size), Yc.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, zu(n3); n3.lookahead >= hu; ) {
81350
- r3 = n3.strstart, o3 = n3.lookahead - (hu - 1);
81345
+ return nu;
81346
+ if (2 === (i3 = (n3 = e3.state).wrap) || 1 === i3 && n3.status !== pu || n3.lookahead)
81347
+ return nu;
81348
+ for (1 === i3 && (e3.adler = Qc(e3.adler, t3, u2, 0)), n3.wrap = 0, u2 >= n3.w_size && (0 === i3 && (ku(n3.head), n3.strstart = 0, n3.block_start = 0, n3.insert = 0), c2 = new Gc.Buf8(n3.w_size), Gc.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, Cu(n3); n3.lookahead >= uu; ) {
81349
+ r3 = n3.strstart, o3 = n3.lookahead - (uu - 1);
81351
81350
  do {
81352
- n3.ins_h = (n3.ins_h << n3.hash_shift ^ n3.window[r3 + hu - 1]) & n3.hash_mask, n3.prev[r3 & n3.w_mask] = n3.head[n3.ins_h], n3.head[n3.ins_h] = r3, r3++;
81351
+ n3.ins_h = (n3.ins_h << n3.hash_shift ^ n3.window[r3 + uu - 1]) & n3.hash_mask, n3.prev[r3 & n3.w_mask] = n3.head[n3.ins_h], n3.head[n3.ins_h] = r3, r3++;
81353
81352
  } while (--o3);
81354
- n3.strstart = r3, n3.lookahead = hu - 1, zu(n3);
81353
+ n3.strstart = r3, n3.lookahead = uu - 1, Cu(n3);
81355
81354
  }
81356
- return n3.strstart += n3.lookahead, n3.block_start = n3.strstart, n3.insert = n3.lookahead, n3.lookahead = 0, n3.match_length = n3.prev_length = hu - 1, n3.match_available = 0, e3.next_in = s3, e3.input = l2, e3.avail_in = a3, n3.wrap = i3, nu;
81357
- }, ic.deflateInfo = "pako deflate (from Nodeca project)";
81358
- var ju = {}, Iu = rc, Du = true, Pu = true;
81355
+ return n3.strstart += n3.lookahead, n3.block_start = n3.strstart, n3.insert = n3.lookahead, n3.lookahead = 0, n3.match_length = n3.prev_length = uu - 1, n3.match_available = 0, e3.next_in = s3, e3.input = l2, e3.avail_in = a3, n3.wrap = i3, tu;
81356
+ }, oc.deflateInfo = "pako deflate (from Nodeca project)";
81357
+ var Nu = {}, ju = nc, Iu = true, Du = true;
81359
81358
  try {
81360
81359
  String.fromCharCode.apply(null, [0]);
81361
81360
  } catch (t3) {
81362
- Du = false;
81361
+ Iu = false;
81363
81362
  }
81364
81363
  try {
81365
81364
  String.fromCharCode.apply(null, new Uint8Array(1));
81366
81365
  } catch (t3) {
81367
- Pu = false;
81366
+ Du = false;
81368
81367
  }
81369
- for (var Bu = new Iu.Buf8(256), Fu = 0; Fu < 256; Fu++)
81370
- Bu[Fu] = Fu >= 252 ? 6 : Fu >= 248 ? 5 : Fu >= 240 ? 4 : Fu >= 224 ? 3 : Fu >= 192 ? 2 : 1;
81371
- function Uu(e3, t3) {
81372
- if (t3 < 65534 && (e3.subarray && Pu || !e3.subarray && Du))
81373
- return String.fromCharCode.apply(null, Iu.shrinkBuf(e3, t3));
81368
+ for (var Pu = new ju.Buf8(256), Bu = 0; Bu < 256; Bu++)
81369
+ Pu[Bu] = Bu >= 252 ? 6 : Bu >= 248 ? 5 : Bu >= 240 ? 4 : Bu >= 224 ? 3 : Bu >= 192 ? 2 : 1;
81370
+ function Fu(e3, t3) {
81371
+ if (t3 < 65534 && (e3.subarray && Du || !e3.subarray && Iu))
81372
+ return String.fromCharCode.apply(null, ju.shrinkBuf(e3, t3));
81374
81373
  for (var n3 = "", r3 = 0; r3 < t3; r3++)
81375
81374
  n3 += String.fromCharCode(e3[r3]);
81376
81375
  return n3;
81377
81376
  }
81378
- Bu[254] = Bu[254] = 1, ju.string2buf = function(e3) {
81377
+ Pu[254] = Pu[254] = 1, Nu.string2buf = function(e3) {
81379
81378
  var t3, n3, r3, o3, i3, a3 = e3.length, s3 = 0;
81380
81379
  for (o3 = 0; o3 < a3; o3++)
81381
81380
  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;
81382
- for (t3 = new Iu.Buf8(s3), i3 = 0, o3 = 0; i3 < s3; o3++)
81381
+ for (t3 = new ju.Buf8(s3), i3 = 0, o3 = 0; i3 < s3; o3++)
81383
81382
  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);
81384
81383
  return t3;
81385
- }, ju.buf2binstring = function(e3) {
81386
- return Uu(e3, e3.length);
81387
- }, ju.binstring2buf = function(e3) {
81388
- for (var t3 = new Iu.Buf8(e3.length), n3 = 0, r3 = t3.length; n3 < r3; n3++)
81384
+ }, Nu.buf2binstring = function(e3) {
81385
+ return Fu(e3, e3.length);
81386
+ }, Nu.binstring2buf = function(e3) {
81387
+ for (var t3 = new ju.Buf8(e3.length), n3 = 0, r3 = t3.length; n3 < r3; n3++)
81389
81388
  t3[n3] = e3.charCodeAt(n3);
81390
81389
  return t3;
81391
- }, ju.buf2string = function(e3, t3) {
81390
+ }, Nu.buf2string = function(e3, t3) {
81392
81391
  var n3, r3, o3, i3, a3 = t3 || e3.length, s3 = new Array(2 * a3);
81393
81392
  for (r3 = 0, n3 = 0; n3 < a3; )
81394
81393
  if ((o3 = e3[n3++]) < 128)
81395
81394
  s3[r3++] = o3;
81396
- else if ((i3 = Bu[o3]) > 4)
81395
+ else if ((i3 = Pu[o3]) > 4)
81397
81396
  s3[r3++] = 65533, n3 += i3 - 1;
81398
81397
  else {
81399
81398
  for (o3 &= 2 === i3 ? 31 : 3 === i3 ? 15 : 7; i3 > 1 && n3 < a3; )
81400
81399
  o3 = o3 << 6 | 63 & e3[n3++], i3--;
81401
81400
  i3 > 1 ? s3[r3++] = 65533 : o3 < 65536 ? s3[r3++] = o3 : (o3 -= 65536, s3[r3++] = 55296 | o3 >> 10 & 1023, s3[r3++] = 56320 | 1023 & o3);
81402
81401
  }
81403
- return Uu(s3, r3);
81404
- }, ju.utf8border = function(e3, t3) {
81402
+ return Fu(s3, r3);
81403
+ }, Nu.utf8border = function(e3, t3) {
81405
81404
  var n3;
81406
81405
  for ((t3 = t3 || e3.length) > e3.length && (t3 = e3.length), n3 = t3 - 1; n3 >= 0 && 128 == (192 & e3[n3]); )
81407
81406
  n3--;
81408
- return n3 < 0 || 0 === n3 ? t3 : n3 + Bu[e3[n3]] > t3 ? n3 : t3;
81407
+ return n3 < 0 || 0 === n3 ? t3 : n3 + Pu[e3[n3]] > t3 ? n3 : t3;
81409
81408
  };
81410
- var Mu = function() {
81409
+ var Uu = function() {
81411
81410
  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;
81412
- }, qu = ic, $u = rc, Wu = ju, Zu = Gc, Vu = Mu, Hu = Object.prototype.toString, Ku = 0, Gu = -1, Yu = 0, Qu = 8;
81413
- function Xu(e3) {
81414
- if (!(this instanceof Xu))
81415
- return new Xu(e3);
81416
- this.options = $u.assign({ level: Gu, method: Qu, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: Yu, to: "" }, e3 || {});
81411
+ }, Mu = oc, qu = nc, $u = Nu, Wu = Kc, Zu = Uu, Vu = Object.prototype.toString, Hu = 0, Ku = -1, Gu = 0, Yu = 8;
81412
+ function Qu(e3) {
81413
+ if (!(this instanceof Qu))
81414
+ return new Qu(e3);
81415
+ this.options = qu.assign({ level: Ku, method: Yu, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: Gu, to: "" }, e3 || {});
81417
81416
  var t3 = this.options;
81418
- 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 Vu(), this.strm.avail_out = 0;
81419
- var n3 = qu.deflateInit2(this.strm, t3.level, t3.method, t3.windowBits, t3.memLevel, t3.strategy);
81420
- if (n3 !== Ku)
81421
- throw new Error(Zu[n3]);
81422
- if (t3.header && qu.deflateSetHeader(this.strm, t3.header), t3.dictionary) {
81417
+ 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 Zu(), this.strm.avail_out = 0;
81418
+ var n3 = Mu.deflateInit2(this.strm, t3.level, t3.method, t3.windowBits, t3.memLevel, t3.strategy);
81419
+ if (n3 !== Hu)
81420
+ throw new Error(Wu[n3]);
81421
+ if (t3.header && Mu.deflateSetHeader(this.strm, t3.header), t3.dictionary) {
81423
81422
  var r3;
81424
- if (r3 = "string" == typeof t3.dictionary ? Wu.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Hu.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, (n3 = qu.deflateSetDictionary(this.strm, r3)) !== Ku)
81425
- throw new Error(Zu[n3]);
81423
+ if (r3 = "string" == typeof t3.dictionary ? $u.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Vu.call(t3.dictionary) ? new Uint8Array(t3.dictionary) : t3.dictionary, (n3 = Mu.deflateSetDictionary(this.strm, r3)) !== Hu)
81424
+ throw new Error(Wu[n3]);
81426
81425
  this._dict_set = true;
81427
81426
  }
81428
81427
  }
81429
- function Ju(e3, t3) {
81430
- var n3 = new Xu(t3);
81428
+ function Xu(e3, t3) {
81429
+ var n3 = new Qu(t3);
81431
81430
  if (n3.push(e3, true), n3.err)
81432
- throw n3.msg || Zu[n3.err];
81431
+ throw n3.msg || Wu[n3.err];
81433
81432
  return n3.result;
81434
81433
  }
81435
- Xu.prototype.push = function(e3, t3) {
81434
+ Qu.prototype.push = function(e3, t3) {
81436
81435
  var n3, r3, o3 = this.strm, i3 = this.options.chunkSize;
81437
81436
  if (this.ended)
81438
81437
  return false;
81439
- r3 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? o3.input = Wu.string2buf(e3) : "[object ArrayBuffer]" === Hu.call(e3) ? o3.input = new Uint8Array(e3) : o3.input = e3, o3.next_in = 0, o3.avail_in = o3.input.length;
81438
+ r3 = t3 === ~~t3 ? t3 : true === t3 ? 4 : 0, "string" == typeof e3 ? o3.input = $u.string2buf(e3) : "[object ArrayBuffer]" === Vu.call(e3) ? o3.input = new Uint8Array(e3) : o3.input = e3, o3.next_in = 0, o3.avail_in = o3.input.length;
81440
81439
  do {
81441
- if (0 === o3.avail_out && (o3.output = new $u.Buf8(i3), o3.next_out = 0, o3.avail_out = i3), 1 !== (n3 = qu.deflate(o3, r3)) && n3 !== Ku)
81440
+ if (0 === o3.avail_out && (o3.output = new qu.Buf8(i3), o3.next_out = 0, o3.avail_out = i3), 1 !== (n3 = Mu.deflate(o3, r3)) && n3 !== Hu)
81442
81441
  return this.onEnd(n3), this.ended = true, false;
81443
- 0 !== o3.avail_out && (0 !== o3.avail_in || 4 !== r3 && 2 !== r3) || ("string" === this.options.to ? this.onData(Wu.buf2binstring($u.shrinkBuf(o3.output, o3.next_out))) : this.onData($u.shrinkBuf(o3.output, o3.next_out)));
81442
+ 0 !== o3.avail_out && (0 !== o3.avail_in || 4 !== r3 && 2 !== r3) || ("string" === this.options.to ? this.onData($u.buf2binstring(qu.shrinkBuf(o3.output, o3.next_out))) : this.onData(qu.shrinkBuf(o3.output, o3.next_out)));
81444
81443
  } while ((o3.avail_in > 0 || 0 === o3.avail_out) && 1 !== n3);
81445
- return 4 === r3 ? (n3 = qu.deflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Ku) : 2 !== r3 || (this.onEnd(Ku), o3.avail_out = 0, true);
81446
- }, Xu.prototype.onData = function(e3) {
81444
+ return 4 === r3 ? (n3 = Mu.deflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Hu) : 2 !== r3 || (this.onEnd(Hu), o3.avail_out = 0, true);
81445
+ }, Qu.prototype.onData = function(e3) {
81447
81446
  this.chunks.push(e3);
81448
- }, Xu.prototype.onEnd = function(e3) {
81449
- e3 === Ku && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = $u.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
81450
- }, oc.Deflate = Xu, oc.deflate = Ju, oc.deflateRaw = function(e3, t3) {
81451
- return (t3 = t3 || {}).raw = true, Ju(e3, t3);
81452
- }, oc.gzip = function(e3, t3) {
81453
- return (t3 = t3 || {}).gzip = true, Ju(e3, t3);
81447
+ }, Qu.prototype.onEnd = function(e3) {
81448
+ e3 === Hu && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = qu.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
81449
+ }, rc.Deflate = Qu, rc.deflate = Xu, rc.deflateRaw = function(e3, t3) {
81450
+ return (t3 = t3 || {}).raw = true, Xu(e3, t3);
81451
+ }, rc.gzip = function(e3, t3) {
81452
+ return (t3 = t3 || {}).gzip = true, Xu(e3, t3);
81454
81453
  };
81455
- var eh = {}, th = {}, nh = rc, rh = [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], oh = [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], ih = [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], ah = [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], sh = rc, lh = Vc, ch = Kc, uh = function(e3, t3) {
81454
+ var Ju = {}, eh = {}, th = nc, nh = [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], rh = [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], oh = [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], ih = [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], ah = nc, sh = Zc, lh = Hc, ch = function(e3, t3) {
81456
81455
  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;
81457
81456
  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;
81458
81457
  e:
@@ -81541,8 +81540,8 @@ var require_processPagePollCjs = __commonJS({
81541
81540
  }
81542
81541
  } while (r3 < o3 && i3 < s3);
81543
81542
  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;
81544
- }, hh = function(e3, t3, n3, r3, o3, i3, a3, s3) {
81545
- 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, O2 = null, T2 = 0, L2 = new nh.Buf16(16), E2 = new nh.Buf16(16), R2 = null, N2 = 0;
81543
+ }, uh = function(e3, t3, n3, r3, o3, i3, a3, s3) {
81544
+ 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, O2 = null, T2 = 0, L2 = new th.Buf16(16), E2 = new th.Buf16(16), R2 = null, N2 = 0;
81546
81545
  for (y2 = 0; y2 <= 15; y2++)
81547
81546
  L2[y2] = 0;
81548
81547
  for (k2 = 0; k2 < r3; k2++)
@@ -81562,7 +81561,7 @@ var require_processPagePollCjs = __commonJS({
81562
81561
  E2[y2 + 1] = E2[y2] + L2[y2];
81563
81562
  for (k2 = 0; k2 < r3; k2++)
81564
81563
  0 !== t3[n3 + k2] && (a3[E2[t3[n3 + k2]]++] = k2);
81565
- if (0 === e3 ? (O2 = R2 = a3, p2 = 19) : 1 === e3 ? (O2 = rh, T2 -= 257, R2 = oh, N2 -= 257, p2 = 256) : (O2 = ih, R2 = ah, 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)
81564
+ if (0 === e3 ? (O2 = R2 = a3, p2 = 19) : 1 === e3 ? (O2 = nh, T2 -= 257, R2 = rh, N2 -= 257, p2 = 256) : (O2 = oh, R2 = ih, 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)
81566
81565
  return 1;
81567
81566
  for (; ; ) {
81568
81567
  m2 = y2 - S2, a3[k2] < p2 ? (f2 = 0, g2 = a3[k2]) : a3[k2] > p2 ? (f2 = R2[N2 + a3[k2]], g2 = O2[T2 + a3[k2]]) : (f2 = 96, g2 = 0), l2 = 1 << y2 - S2, w2 = c2 = 1 << _2;
@@ -81585,34 +81584,34 @@ var require_processPagePollCjs = __commonJS({
81585
81584
  }
81586
81585
  }
81587
81586
  return 0 !== A2 && (o3[d2 + A2] = y2 - S2 << 24 | 64 << 16 | 0), s3.bits = x2, 0;
81588
- }, dh = 0, ph = -2, mh = 1, fh = 12, gh = 30, bh = 852, yh = 592;
81589
- function kh(e3) {
81587
+ }, hh = 0, dh = -2, ph = 1, mh = 12, fh = 30, gh = 852, bh = 592;
81588
+ function yh(e3) {
81590
81589
  return (e3 >>> 24 & 255) + (e3 >>> 8 & 65280) + ((65280 & e3) << 8) + ((255 & e3) << 24);
81591
81590
  }
81592
- function wh() {
81593
- 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 sh.Buf16(320), this.work = new sh.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
81591
+ function kh() {
81592
+ 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 ah.Buf16(320), this.work = new ah.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
81594
81593
  }
81595
- function vh(e3) {
81594
+ function wh(e3) {
81596
81595
  var t3;
81597
- 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 = mh, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new sh.Buf32(bh), t3.distcode = t3.distdyn = new sh.Buf32(yh), t3.sane = 1, t3.back = -1, dh) : ph;
81596
+ 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 = ph, t3.last = 0, t3.havedict = 0, t3.dmax = 32768, t3.head = null, t3.hold = 0, t3.bits = 0, t3.lencode = t3.lendyn = new ah.Buf32(gh), t3.distcode = t3.distdyn = new ah.Buf32(bh), t3.sane = 1, t3.back = -1, hh) : dh;
81598
81597
  }
81599
- function xh(e3) {
81598
+ function vh(e3) {
81600
81599
  var t3;
81601
- return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, vh(e3)) : ph;
81600
+ return e3 && e3.state ? ((t3 = e3.state).wsize = 0, t3.whave = 0, t3.wnext = 0, wh(e3)) : dh;
81602
81601
  }
81603
- function _h(e3, t3) {
81602
+ function xh(e3, t3) {
81604
81603
  var n3, r3;
81605
- 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) ? ph : (null !== r3.window && r3.wbits !== t3 && (r3.window = null), r3.wrap = n3, r3.wbits = t3, xh(e3))) : ph;
81604
+ 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) ? dh : (null !== r3.window && r3.wbits !== t3 && (r3.window = null), r3.wrap = n3, r3.wbits = t3, vh(e3))) : dh;
81606
81605
  }
81607
- function Sh(e3, t3) {
81606
+ function _h(e3, t3) {
81608
81607
  var n3, r3;
81609
- return e3 ? (r3 = new wh(), e3.state = r3, r3.window = null, (n3 = _h(e3, t3)) !== dh && (e3.state = null), n3) : ph;
81608
+ return e3 ? (r3 = new kh(), e3.state = r3, r3.window = null, (n3 = xh(e3, t3)) !== hh && (e3.state = null), n3) : dh;
81610
81609
  }
81611
- var Ch, zh, Ah = true;
81612
- function Oh(e3) {
81613
- if (Ah) {
81610
+ var Sh, Ch, zh = true;
81611
+ function Ah(e3) {
81612
+ if (zh) {
81614
81613
  var t3;
81615
- for (Ch = new sh.Buf32(512), zh = new sh.Buf32(32), t3 = 0; t3 < 144; )
81614
+ for (Sh = new ah.Buf32(512), Ch = new ah.Buf32(32), t3 = 0; t3 < 144; )
81616
81615
  e3.lens[t3++] = 8;
81617
81616
  for (; t3 < 256; )
81618
81617
  e3.lens[t3++] = 9;
@@ -81620,27 +81619,27 @@ var require_processPagePollCjs = __commonJS({
81620
81619
  e3.lens[t3++] = 7;
81621
81620
  for (; t3 < 288; )
81622
81621
  e3.lens[t3++] = 8;
81623
- for (hh(1, e3.lens, 0, 288, Ch, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; )
81622
+ for (uh(1, e3.lens, 0, 288, Sh, 0, e3.work, { bits: 9 }), t3 = 0; t3 < 32; )
81624
81623
  e3.lens[t3++] = 5;
81625
- hh(2, e3.lens, 0, 32, zh, 0, e3.work, { bits: 5 }), Ah = false;
81624
+ uh(2, e3.lens, 0, 32, Ch, 0, e3.work, { bits: 5 }), zh = false;
81626
81625
  }
81627
- e3.lencode = Ch, e3.lenbits = 9, e3.distcode = zh, e3.distbits = 5;
81626
+ e3.lencode = Sh, e3.lenbits = 9, e3.distcode = Ch, e3.distbits = 5;
81628
81627
  }
81629
- function Th(e3, t3, n3, r3) {
81628
+ function Oh(e3, t3, n3, r3) {
81630
81629
  var o3, i3 = e3.state;
81631
- return null === i3.window && (i3.wsize = 1 << i3.wbits, i3.wnext = 0, i3.whave = 0, i3.window = new sh.Buf8(i3.wsize)), r3 >= i3.wsize ? (sh.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), sh.arraySet(i3.window, t3, n3 - r3, o3, i3.wnext), (r3 -= o3) ? (sh.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;
81630
+ return null === i3.window && (i3.wsize = 1 << i3.wbits, i3.wnext = 0, i3.whave = 0, i3.window = new ah.Buf8(i3.wsize)), r3 >= i3.wsize ? (ah.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), ah.arraySet(i3.window, t3, n3 - r3, o3, i3.wnext), (r3 -= o3) ? (ah.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;
81632
81631
  }
81633
- th.inflateReset = xh, th.inflateReset2 = _h, th.inflateResetKeep = vh, th.inflateInit = function(e3) {
81634
- return Sh(e3, 15);
81635
- }, th.inflateInit2 = Sh, th.inflate = function(e3, t3) {
81636
- 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 sh.Buf8(4), O2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
81632
+ eh.inflateReset = vh, eh.inflateReset2 = xh, eh.inflateResetKeep = wh, eh.inflateInit = function(e3) {
81633
+ return _h(e3, 15);
81634
+ }, eh.inflateInit2 = _h, eh.inflate = function(e3, t3) {
81635
+ 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 ah.Buf8(4), O2 = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
81637
81636
  if (!e3 || !e3.state || !e3.output || !e3.input && 0 !== e3.avail_in)
81638
- return ph;
81639
- (n3 = e3.state).mode === fh && (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 = dh;
81637
+ return dh;
81638
+ (n3 = e3.state).mode === mh && (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 = hh;
81640
81639
  e:
81641
81640
  for (; ; )
81642
81641
  switch (n3.mode) {
81643
- case mh:
81642
+ case ph:
81644
81643
  if (0 === n3.wrap) {
81645
81644
  n3.mode = 13;
81646
81645
  break;
@@ -81651,24 +81650,24 @@ var require_processPagePollCjs = __commonJS({
81651
81650
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81652
81651
  }
81653
81652
  if (2 & n3.wrap && 35615 === c2) {
81654
- n3.check = 0, A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ch(n3.check, A2, 2, 0), c2 = 0, u2 = 0, n3.mode = 2;
81653
+ n3.check = 0, A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = lh(n3.check, A2, 2, 0), c2 = 0, u2 = 0, n3.mode = 2;
81655
81654
  break;
81656
81655
  }
81657
81656
  if (n3.flags = 0, n3.head && (n3.head.done = false), !(1 & n3.wrap) || (((255 & c2) << 8) + (c2 >> 8)) % 31) {
81658
- e3.msg = "incorrect header check", n3.mode = gh;
81657
+ e3.msg = "incorrect header check", n3.mode = fh;
81659
81658
  break;
81660
81659
  }
81661
81660
  if (8 != (15 & c2)) {
81662
- e3.msg = "unknown compression method", n3.mode = gh;
81661
+ e3.msg = "unknown compression method", n3.mode = fh;
81663
81662
  break;
81664
81663
  }
81665
81664
  if (u2 -= 4, x2 = 8 + (15 & (c2 >>>= 4)), 0 === n3.wbits)
81666
81665
  n3.wbits = x2;
81667
81666
  else if (x2 > n3.wbits) {
81668
- e3.msg = "invalid window size", n3.mode = gh;
81667
+ e3.msg = "invalid window size", n3.mode = fh;
81669
81668
  break;
81670
81669
  }
81671
- n3.dmax = 1 << x2, e3.adler = n3.check = 1, n3.mode = 512 & c2 ? 10 : fh, c2 = 0, u2 = 0;
81670
+ n3.dmax = 1 << x2, e3.adler = n3.check = 1, n3.mode = 512 & c2 ? 10 : mh, c2 = 0, u2 = 0;
81672
81671
  break;
81673
81672
  case 2:
81674
81673
  for (; u2 < 16; ) {
@@ -81677,28 +81676,28 @@ var require_processPagePollCjs = __commonJS({
81677
81676
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81678
81677
  }
81679
81678
  if (n3.flags = c2, 8 != (255 & n3.flags)) {
81680
- e3.msg = "unknown compression method", n3.mode = gh;
81679
+ e3.msg = "unknown compression method", n3.mode = fh;
81681
81680
  break;
81682
81681
  }
81683
81682
  if (57344 & n3.flags) {
81684
- e3.msg = "unknown header flags set", n3.mode = gh;
81683
+ e3.msg = "unknown header flags set", n3.mode = fh;
81685
81684
  break;
81686
81685
  }
81687
- n3.head && (n3.head.text = c2 >> 8 & 1), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ch(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 3;
81686
+ n3.head && (n3.head.text = c2 >> 8 & 1), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = lh(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 3;
81688
81687
  case 3:
81689
81688
  for (; u2 < 32; ) {
81690
81689
  if (0 === s3)
81691
81690
  break e;
81692
81691
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81693
81692
  }
81694
- 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 = ch(n3.check, A2, 4, 0)), c2 = 0, u2 = 0, n3.mode = 4;
81693
+ 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 = lh(n3.check, A2, 4, 0)), c2 = 0, u2 = 0, n3.mode = 4;
81695
81694
  case 4:
81696
81695
  for (; u2 < 16; ) {
81697
81696
  if (0 === s3)
81698
81697
  break e;
81699
81698
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81700
81699
  }
81701
- 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 = ch(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 5;
81700
+ 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 = lh(n3.check, A2, 2, 0)), c2 = 0, u2 = 0, n3.mode = 5;
81702
81701
  case 5:
81703
81702
  if (1024 & n3.flags) {
81704
81703
  for (; u2 < 16; ) {
@@ -81706,12 +81705,12 @@ var require_processPagePollCjs = __commonJS({
81706
81705
  break e;
81707
81706
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81708
81707
  }
81709
- n3.length = c2, n3.head && (n3.head.extra_len = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = ch(n3.check, A2, 2, 0)), c2 = 0, u2 = 0;
81708
+ n3.length = c2, n3.head && (n3.head.extra_len = c2), 512 & n3.flags && (A2[0] = 255 & c2, A2[1] = c2 >>> 8 & 255, n3.check = lh(n3.check, A2, 2, 0)), c2 = 0, u2 = 0;
81710
81709
  } else
81711
81710
  n3.head && (n3.head.extra = null);
81712
81711
  n3.mode = 6;
81713
81712
  case 6:
81714
- 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)), sh.arraySet(n3.head.extra, r3, i3, p2, x2)), 512 & n3.flags && (n3.check = ch(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, n3.length -= p2), n3.length))
81713
+ 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)), ah.arraySet(n3.head.extra, r3, i3, p2, x2)), 512 & n3.flags && (n3.check = lh(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, n3.length -= p2), n3.length))
81715
81714
  break e;
81716
81715
  n3.length = 0, n3.mode = 7;
81717
81716
  case 7:
@@ -81722,7 +81721,7 @@ var require_processPagePollCjs = __commonJS({
81722
81721
  do {
81723
81722
  x2 = r3[i3 + p2++], n3.head && x2 && n3.length < 65536 && (n3.head.name += String.fromCharCode(x2));
81724
81723
  } while (x2 && p2 < s3);
81725
- if (512 & n3.flags && (n3.check = ch(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81724
+ if (512 & n3.flags && (n3.check = lh(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81726
81725
  break e;
81727
81726
  } else
81728
81727
  n3.head && (n3.head.name = null);
@@ -81735,7 +81734,7 @@ var require_processPagePollCjs = __commonJS({
81735
81734
  do {
81736
81735
  x2 = r3[i3 + p2++], n3.head && x2 && n3.length < 65536 && (n3.head.comment += String.fromCharCode(x2));
81737
81736
  } while (x2 && p2 < s3);
81738
- if (512 & n3.flags && (n3.check = ch(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81737
+ if (512 & n3.flags && (n3.check = lh(n3.check, r3, p2, i3)), s3 -= p2, i3 += p2, x2)
81739
81738
  break e;
81740
81739
  } else
81741
81740
  n3.head && (n3.head.comment = null);
@@ -81748,12 +81747,12 @@ var require_processPagePollCjs = __commonJS({
81748
81747
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81749
81748
  }
81750
81749
  if (c2 !== (65535 & n3.check)) {
81751
- e3.msg = "header crc mismatch", n3.mode = gh;
81750
+ e3.msg = "header crc mismatch", n3.mode = fh;
81752
81751
  break;
81753
81752
  }
81754
81753
  c2 = 0, u2 = 0;
81755
81754
  }
81756
- n3.head && (n3.head.hcrc = n3.flags >> 9 & 1, n3.head.done = true), e3.adler = n3.check = 0, n3.mode = fh;
81755
+ n3.head && (n3.head.hcrc = n3.flags >> 9 & 1, n3.head.done = true), e3.adler = n3.check = 0, n3.mode = mh;
81757
81756
  break;
81758
81757
  case 10:
81759
81758
  for (; u2 < 32; ) {
@@ -81761,12 +81760,12 @@ var require_processPagePollCjs = __commonJS({
81761
81760
  break e;
81762
81761
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81763
81762
  }
81764
- e3.adler = n3.check = kh(c2), c2 = 0, u2 = 0, n3.mode = 11;
81763
+ e3.adler = n3.check = yh(c2), c2 = 0, u2 = 0, n3.mode = 11;
81765
81764
  case 11:
81766
81765
  if (0 === n3.havedict)
81767
81766
  return e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, 2;
81768
- e3.adler = n3.check = 1, n3.mode = fh;
81769
- case fh:
81767
+ e3.adler = n3.check = 1, n3.mode = mh;
81768
+ case mh:
81770
81769
  if (5 === t3 || 6 === t3)
81771
81770
  break e;
81772
81771
  case 13:
@@ -81784,7 +81783,7 @@ var require_processPagePollCjs = __commonJS({
81784
81783
  n3.mode = 14;
81785
81784
  break;
81786
81785
  case 1:
81787
- if (Oh(n3), n3.mode = 20, 6 === t3) {
81786
+ if (Ah(n3), n3.mode = 20, 6 === t3) {
81788
81787
  c2 >>>= 2, u2 -= 2;
81789
81788
  break e;
81790
81789
  }
@@ -81793,7 +81792,7 @@ var require_processPagePollCjs = __commonJS({
81793
81792
  n3.mode = 17;
81794
81793
  break;
81795
81794
  case 3:
81796
- e3.msg = "invalid block type", n3.mode = gh;
81795
+ e3.msg = "invalid block type", n3.mode = fh;
81797
81796
  }
81798
81797
  c2 >>>= 2, u2 -= 2;
81799
81798
  break;
@@ -81804,7 +81803,7 @@ var require_processPagePollCjs = __commonJS({
81804
81803
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81805
81804
  }
81806
81805
  if ((65535 & c2) != (c2 >>> 16 ^ 65535)) {
81807
- e3.msg = "invalid stored block lengths", n3.mode = gh;
81806
+ e3.msg = "invalid stored block lengths", n3.mode = fh;
81808
81807
  break;
81809
81808
  }
81810
81809
  if (n3.length = 65535 & c2, c2 = 0, u2 = 0, n3.mode = 15, 6 === t3)
@@ -81815,10 +81814,10 @@ var require_processPagePollCjs = __commonJS({
81815
81814
  if (p2 = n3.length) {
81816
81815
  if (p2 > s3 && (p2 = s3), p2 > l2 && (p2 = l2), 0 === p2)
81817
81816
  break e;
81818
- sh.arraySet(o3, r3, i3, p2, a3), s3 -= p2, i3 += p2, l2 -= p2, a3 += p2, n3.length -= p2;
81817
+ ah.arraySet(o3, r3, i3, p2, a3), s3 -= p2, i3 += p2, l2 -= p2, a3 += p2, n3.length -= p2;
81819
81818
  break;
81820
81819
  }
81821
- n3.mode = fh;
81820
+ n3.mode = mh;
81822
81821
  break;
81823
81822
  case 17:
81824
81823
  for (; u2 < 14; ) {
@@ -81827,7 +81826,7 @@ var require_processPagePollCjs = __commonJS({
81827
81826
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81828
81827
  }
81829
81828
  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) {
81830
- e3.msg = "too many length or distance symbols", n3.mode = gh;
81829
+ e3.msg = "too many length or distance symbols", n3.mode = fh;
81831
81830
  break;
81832
81831
  }
81833
81832
  n3.have = 0, n3.mode = 18;
@@ -81842,8 +81841,8 @@ var require_processPagePollCjs = __commonJS({
81842
81841
  }
81843
81842
  for (; n3.have < 19; )
81844
81843
  n3.lens[O2[n3.have++]] = 0;
81845
- if (n3.lencode = n3.lendyn, n3.lenbits = 7, S2 = { bits: n3.lenbits }, _2 = hh(0, n3.lens, 0, 19, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81846
- e3.msg = "invalid code lengths set", n3.mode = gh;
81844
+ if (n3.lencode = n3.lendyn, n3.lenbits = 7, S2 = { bits: n3.lenbits }, _2 = uh(0, n3.lens, 0, 19, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81845
+ e3.msg = "invalid code lengths set", n3.mode = fh;
81847
81846
  break;
81848
81847
  }
81849
81848
  n3.have = 0, n3.mode = 19;
@@ -81864,7 +81863,7 @@ var require_processPagePollCjs = __commonJS({
81864
81863
  s3--, c2 += r3[i3++] << u2, u2 += 8;
81865
81864
  }
81866
81865
  if (c2 >>>= g2, u2 -= g2, 0 === n3.have) {
81867
- e3.msg = "invalid bit length repeat", n3.mode = gh;
81866
+ e3.msg = "invalid bit length repeat", n3.mode = fh;
81868
81867
  break;
81869
81868
  }
81870
81869
  x2 = n3.lens[n3.have - 1], p2 = 3 + (3 & c2), c2 >>>= 2, u2 -= 2;
@@ -81884,25 +81883,25 @@ var require_processPagePollCjs = __commonJS({
81884
81883
  u2 -= g2, x2 = 0, p2 = 11 + (127 & (c2 >>>= g2)), c2 >>>= 7, u2 -= 7;
81885
81884
  }
81886
81885
  if (n3.have + p2 > n3.nlen + n3.ndist) {
81887
- e3.msg = "invalid bit length repeat", n3.mode = gh;
81886
+ e3.msg = "invalid bit length repeat", n3.mode = fh;
81888
81887
  break;
81889
81888
  }
81890
81889
  for (; p2--; )
81891
81890
  n3.lens[n3.have++] = x2;
81892
81891
  }
81893
81892
  }
81894
- if (n3.mode === gh)
81893
+ if (n3.mode === fh)
81895
81894
  break;
81896
81895
  if (0 === n3.lens[256]) {
81897
- e3.msg = "invalid code -- missing end-of-block", n3.mode = gh;
81896
+ e3.msg = "invalid code -- missing end-of-block", n3.mode = fh;
81898
81897
  break;
81899
81898
  }
81900
- if (n3.lenbits = 9, S2 = { bits: n3.lenbits }, _2 = hh(1, n3.lens, 0, n3.nlen, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81901
- e3.msg = "invalid literal/lengths set", n3.mode = gh;
81899
+ if (n3.lenbits = 9, S2 = { bits: n3.lenbits }, _2 = uh(1, n3.lens, 0, n3.nlen, n3.lencode, 0, n3.work, S2), n3.lenbits = S2.bits, _2) {
81900
+ e3.msg = "invalid literal/lengths set", n3.mode = fh;
81902
81901
  break;
81903
81902
  }
81904
- if (n3.distbits = 6, n3.distcode = n3.distdyn, S2 = { bits: n3.distbits }, _2 = hh(2, n3.lens, n3.nlen, n3.ndist, n3.distcode, 0, n3.work, S2), n3.distbits = S2.bits, _2) {
81905
- e3.msg = "invalid distances set", n3.mode = gh;
81903
+ if (n3.distbits = 6, n3.distcode = n3.distdyn, S2 = { bits: n3.distbits }, _2 = uh(2, n3.lens, n3.nlen, n3.ndist, n3.distcode, 0, n3.work, S2), n3.distbits = S2.bits, _2) {
81904
+ e3.msg = "invalid distances set", n3.mode = fh;
81906
81905
  break;
81907
81906
  }
81908
81907
  if (n3.mode = 20, 6 === t3)
@@ -81911,7 +81910,7 @@ var require_processPagePollCjs = __commonJS({
81911
81910
  n3.mode = 21;
81912
81911
  case 21:
81913
81912
  if (s3 >= 6 && l2 >= 258) {
81914
- e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, uh(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 === fh && (n3.back = -1);
81913
+ e3.next_out = a3, e3.avail_out = l2, e3.next_in = i3, e3.avail_in = s3, n3.hold = c2, n3.bits = u2, ch(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 === mh && (n3.back = -1);
81915
81914
  break;
81916
81915
  }
81917
81916
  for (n3.back = 0; b2 = (z2 = n3.lencode[c2 & (1 << n3.lenbits) - 1]) >>> 16 & 255, y2 = 65535 & z2, !((g2 = z2 >>> 24) <= u2); ) {
@@ -81932,11 +81931,11 @@ var require_processPagePollCjs = __commonJS({
81932
81931
  break;
81933
81932
  }
81934
81933
  if (32 & b2) {
81935
- n3.back = -1, n3.mode = fh;
81934
+ n3.back = -1, n3.mode = mh;
81936
81935
  break;
81937
81936
  }
81938
81937
  if (64 & b2) {
81939
- e3.msg = "invalid literal/length code", n3.mode = gh;
81938
+ e3.msg = "invalid literal/length code", n3.mode = fh;
81940
81939
  break;
81941
81940
  }
81942
81941
  n3.extra = 15 & b2, n3.mode = 22;
@@ -81965,7 +81964,7 @@ var require_processPagePollCjs = __commonJS({
81965
81964
  c2 >>>= k2, u2 -= k2, n3.back += k2;
81966
81965
  }
81967
81966
  if (c2 >>>= g2, u2 -= g2, n3.back += g2, 64 & b2) {
81968
- e3.msg = "invalid distance code", n3.mode = gh;
81967
+ e3.msg = "invalid distance code", n3.mode = fh;
81969
81968
  break;
81970
81969
  }
81971
81970
  n3.offset = y2, n3.extra = 15 & b2, n3.mode = 24;
@@ -81979,7 +81978,7 @@ var require_processPagePollCjs = __commonJS({
81979
81978
  n3.offset += c2 & (1 << n3.extra) - 1, c2 >>>= n3.extra, u2 -= n3.extra, n3.back += n3.extra;
81980
81979
  }
81981
81980
  if (n3.offset > n3.dmax) {
81982
- e3.msg = "invalid distance too far back", n3.mode = gh;
81981
+ e3.msg = "invalid distance too far back", n3.mode = fh;
81983
81982
  break;
81984
81983
  }
81985
81984
  n3.mode = 25;
@@ -81988,7 +81987,7 @@ var require_processPagePollCjs = __commonJS({
81988
81987
  break e;
81989
81988
  if (p2 = d2 - l2, n3.offset > p2) {
81990
81989
  if ((p2 = n3.offset - p2) > n3.whave && n3.sane) {
81991
- e3.msg = "invalid distance too far back", n3.mode = gh;
81990
+ e3.msg = "invalid distance too far back", n3.mode = fh;
81992
81991
  break;
81993
81992
  }
81994
81993
  p2 > n3.wnext ? (p2 -= n3.wnext, m2 = n3.wsize - p2) : m2 = n3.wnext - p2, p2 > n3.length && (p2 = n3.length), f2 = n3.window;
@@ -82012,8 +82011,8 @@ var require_processPagePollCjs = __commonJS({
82012
82011
  break e;
82013
82012
  s3--, c2 |= r3[i3++] << u2, u2 += 8;
82014
82013
  }
82015
- if (d2 -= l2, e3.total_out += d2, n3.total += d2, d2 && (e3.adler = n3.check = n3.flags ? ch(n3.check, o3, d2, a3 - d2) : lh(n3.check, o3, d2, a3 - d2)), d2 = l2, (n3.flags ? c2 : kh(c2)) !== n3.check) {
82016
- e3.msg = "incorrect data check", n3.mode = gh;
82014
+ if (d2 -= l2, e3.total_out += d2, n3.total += d2, d2 && (e3.adler = n3.check = n3.flags ? lh(n3.check, o3, d2, a3 - d2) : sh(n3.check, o3, d2, a3 - d2)), d2 = l2, (n3.flags ? c2 : yh(c2)) !== n3.check) {
82015
+ e3.msg = "incorrect data check", n3.mode = fh;
82017
82016
  break;
82018
82017
  }
82019
82018
  c2 = 0, u2 = 0;
@@ -82027,7 +82026,7 @@ var require_processPagePollCjs = __commonJS({
82027
82026
  s3--, c2 += r3[i3++] << u2, u2 += 8;
82028
82027
  }
82029
82028
  if (c2 !== (4294967295 & n3.total)) {
82030
- e3.msg = "incorrect length check", n3.mode = gh;
82029
+ e3.msg = "incorrect length check", n3.mode = fh;
82031
82030
  break;
82032
82031
  }
82033
82032
  c2 = 0, u2 = 0;
@@ -82036,72 +82035,72 @@ var require_processPagePollCjs = __commonJS({
82036
82035
  case 29:
82037
82036
  _2 = 1;
82038
82037
  break e;
82039
- case gh:
82038
+ case fh:
82040
82039
  _2 = -3;
82041
82040
  break e;
82042
82041
  case 31:
82043
82042
  return -4;
82044
82043
  default:
82045
- return ph;
82044
+ return dh;
82046
82045
  }
82047
- 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 < gh && (n3.mode < 27 || 4 !== t3)) && Th(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 ? ch(n3.check, o3, d2, e3.next_out - d2) : lh(n3.check, o3, d2, e3.next_out - d2)), e3.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === fh ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t3) && _2 === dh && (_2 = -5), _2;
82048
- }, th.inflateEnd = function(e3) {
82046
+ 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 < fh && (n3.mode < 27 || 4 !== t3)) && Oh(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 ? lh(n3.check, o3, d2, e3.next_out - d2) : sh(n3.check, o3, d2, e3.next_out - d2)), e3.data_type = n3.bits + (n3.last ? 64 : 0) + (n3.mode === mh ? 128 : 0) + (20 === n3.mode || 15 === n3.mode ? 256 : 0), (0 === h2 && 0 === d2 || 4 === t3) && _2 === hh && (_2 = -5), _2;
82047
+ }, eh.inflateEnd = function(e3) {
82049
82048
  if (!e3 || !e3.state)
82050
- return ph;
82049
+ return dh;
82051
82050
  var t3 = e3.state;
82052
- return t3.window && (t3.window = null), e3.state = null, dh;
82053
- }, th.inflateGetHeader = function(e3, t3) {
82051
+ return t3.window && (t3.window = null), e3.state = null, hh;
82052
+ }, eh.inflateGetHeader = function(e3, t3) {
82054
82053
  var n3;
82055
- return e3 && e3.state ? 0 == (2 & (n3 = e3.state).wrap) ? ph : (n3.head = t3, t3.done = false, dh) : ph;
82056
- }, th.inflateSetDictionary = function(e3, t3) {
82054
+ return e3 && e3.state ? 0 == (2 & (n3 = e3.state).wrap) ? dh : (n3.head = t3, t3.done = false, hh) : dh;
82055
+ }, eh.inflateSetDictionary = function(e3, t3) {
82057
82056
  var n3, r3 = t3.length;
82058
- return e3 && e3.state ? 0 !== (n3 = e3.state).wrap && 11 !== n3.mode ? ph : 11 === n3.mode && lh(1, t3, r3, 0) !== n3.check ? -3 : Th(e3, t3, r3, r3) ? (n3.mode = 31, -4) : (n3.havedict = 1, dh) : ph;
82059
- }, th.inflateInfo = "pako inflate (from Nodeca project)";
82060
- var Lh = { 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 }, Eh = th, Rh = rc, Nh = ju, jh = Lh, Ih = Gc, Dh = Mu, Ph = function() {
82057
+ return e3 && e3.state ? 0 !== (n3 = e3.state).wrap && 11 !== n3.mode ? dh : 11 === n3.mode && sh(1, t3, r3, 0) !== n3.check ? -3 : Oh(e3, t3, r3, r3) ? (n3.mode = 31, -4) : (n3.havedict = 1, hh) : dh;
82058
+ }, eh.inflateInfo = "pako inflate (from Nodeca project)";
82059
+ var Th = { 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 }, Lh = eh, Eh = nc, Rh = Nu, Nh = Th, jh = Kc, Ih = Uu, Dh = function() {
82061
82060
  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;
82062
- }, Bh = Object.prototype.toString;
82063
- function Fh(e3) {
82064
- if (!(this instanceof Fh))
82065
- return new Fh(e3);
82066
- this.options = Rh.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e3 || {});
82061
+ }, Ph = Object.prototype.toString;
82062
+ function Bh(e3) {
82063
+ if (!(this instanceof Bh))
82064
+ return new Bh(e3);
82065
+ this.options = Eh.assign({ chunkSize: 16384, windowBits: 0, to: "" }, e3 || {});
82067
82066
  var t3 = this.options;
82068
- 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 Dh(), this.strm.avail_out = 0;
82069
- var n3 = Eh.inflateInit2(this.strm, t3.windowBits);
82070
- if (n3 !== jh.Z_OK)
82071
- throw new Error(Ih[n3]);
82072
- if (this.header = new Ph(), Eh.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = Nh.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Bh.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (n3 = Eh.inflateSetDictionary(this.strm, t3.dictionary)) !== jh.Z_OK))
82073
- throw new Error(Ih[n3]);
82074
- }
82075
- function Uh(e3, t3) {
82076
- var n3 = new Fh(t3);
82067
+ 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 Ih(), this.strm.avail_out = 0;
82068
+ var n3 = Lh.inflateInit2(this.strm, t3.windowBits);
82069
+ if (n3 !== Nh.Z_OK)
82070
+ throw new Error(jh[n3]);
82071
+ if (this.header = new Dh(), Lh.inflateGetHeader(this.strm, this.header), t3.dictionary && ("string" == typeof t3.dictionary ? t3.dictionary = Rh.string2buf(t3.dictionary) : "[object ArrayBuffer]" === Ph.call(t3.dictionary) && (t3.dictionary = new Uint8Array(t3.dictionary)), t3.raw && (n3 = Lh.inflateSetDictionary(this.strm, t3.dictionary)) !== Nh.Z_OK))
82072
+ throw new Error(jh[n3]);
82073
+ }
82074
+ function Fh(e3, t3) {
82075
+ var n3 = new Bh(t3);
82077
82076
  if (n3.push(e3, true), n3.err)
82078
- throw n3.msg || Ih[n3.err];
82077
+ throw n3.msg || jh[n3.err];
82079
82078
  return n3.result;
82080
82079
  }
82081
- Fh.prototype.push = function(e3, t3) {
82080
+ Bh.prototype.push = function(e3, t3) {
82082
82081
  var n3, r3, o3, i3, a3, s3 = this.strm, l2 = this.options.chunkSize, c2 = this.options.dictionary, u2 = false;
82083
82082
  if (this.ended)
82084
82083
  return false;
82085
- r3 = t3 === ~~t3 ? t3 : true === t3 ? jh.Z_FINISH : jh.Z_NO_FLUSH, "string" == typeof e3 ? s3.input = Nh.binstring2buf(e3) : "[object ArrayBuffer]" === Bh.call(e3) ? s3.input = new Uint8Array(e3) : s3.input = e3, s3.next_in = 0, s3.avail_in = s3.input.length;
82084
+ r3 = t3 === ~~t3 ? t3 : true === t3 ? Nh.Z_FINISH : Nh.Z_NO_FLUSH, "string" == typeof e3 ? s3.input = Rh.binstring2buf(e3) : "[object ArrayBuffer]" === Ph.call(e3) ? s3.input = new Uint8Array(e3) : s3.input = e3, s3.next_in = 0, s3.avail_in = s3.input.length;
82086
82085
  do {
82087
- if (0 === s3.avail_out && (s3.output = new Rh.Buf8(l2), s3.next_out = 0, s3.avail_out = l2), (n3 = Eh.inflate(s3, jh.Z_NO_FLUSH)) === jh.Z_NEED_DICT && c2 && (n3 = Eh.inflateSetDictionary(this.strm, c2)), n3 === jh.Z_BUF_ERROR && true === u2 && (n3 = jh.Z_OK, u2 = false), n3 !== jh.Z_STREAM_END && n3 !== jh.Z_OK)
82086
+ if (0 === s3.avail_out && (s3.output = new Eh.Buf8(l2), s3.next_out = 0, s3.avail_out = l2), (n3 = Lh.inflate(s3, Nh.Z_NO_FLUSH)) === Nh.Z_NEED_DICT && c2 && (n3 = Lh.inflateSetDictionary(this.strm, c2)), n3 === Nh.Z_BUF_ERROR && true === u2 && (n3 = Nh.Z_OK, u2 = false), n3 !== Nh.Z_STREAM_END && n3 !== Nh.Z_OK)
82088
82087
  return this.onEnd(n3), this.ended = true, false;
82089
- s3.next_out && (0 !== s3.avail_out && n3 !== jh.Z_STREAM_END && (0 !== s3.avail_in || r3 !== jh.Z_FINISH && r3 !== jh.Z_SYNC_FLUSH) || ("string" === this.options.to ? (o3 = Nh.utf8border(s3.output, s3.next_out), i3 = s3.next_out - o3, a3 = Nh.buf2string(s3.output, o3), s3.next_out = i3, s3.avail_out = l2 - i3, i3 && Rh.arraySet(s3.output, s3.output, o3, i3, 0), this.onData(a3)) : this.onData(Rh.shrinkBuf(s3.output, s3.next_out)))), 0 === s3.avail_in && 0 === s3.avail_out && (u2 = true);
82090
- } while ((s3.avail_in > 0 || 0 === s3.avail_out) && n3 !== jh.Z_STREAM_END);
82091
- return n3 === jh.Z_STREAM_END && (r3 = jh.Z_FINISH), r3 === jh.Z_FINISH ? (n3 = Eh.inflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === jh.Z_OK) : r3 !== jh.Z_SYNC_FLUSH || (this.onEnd(jh.Z_OK), s3.avail_out = 0, true);
82092
- }, Fh.prototype.onData = function(e3) {
82088
+ s3.next_out && (0 !== s3.avail_out && n3 !== Nh.Z_STREAM_END && (0 !== s3.avail_in || r3 !== Nh.Z_FINISH && r3 !== Nh.Z_SYNC_FLUSH) || ("string" === this.options.to ? (o3 = Rh.utf8border(s3.output, s3.next_out), i3 = s3.next_out - o3, a3 = Rh.buf2string(s3.output, o3), s3.next_out = i3, s3.avail_out = l2 - i3, i3 && Eh.arraySet(s3.output, s3.output, o3, i3, 0), this.onData(a3)) : this.onData(Eh.shrinkBuf(s3.output, s3.next_out)))), 0 === s3.avail_in && 0 === s3.avail_out && (u2 = true);
82089
+ } while ((s3.avail_in > 0 || 0 === s3.avail_out) && n3 !== Nh.Z_STREAM_END);
82090
+ return n3 === Nh.Z_STREAM_END && (r3 = Nh.Z_FINISH), r3 === Nh.Z_FINISH ? (n3 = Lh.inflateEnd(this.strm), this.onEnd(n3), this.ended = true, n3 === Nh.Z_OK) : r3 !== Nh.Z_SYNC_FLUSH || (this.onEnd(Nh.Z_OK), s3.avail_out = 0, true);
82091
+ }, Bh.prototype.onData = function(e3) {
82093
82092
  this.chunks.push(e3);
82094
- }, Fh.prototype.onEnd = function(e3) {
82095
- e3 === jh.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Rh.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
82096
- }, eh.Inflate = Fh, eh.inflate = Uh, eh.inflateRaw = function(e3, t3) {
82097
- return (t3 = t3 || {}).raw = true, Uh(e3, t3);
82098
- }, eh.ungzip = Uh;
82099
- var Mh = {};
82100
- (0, rc.assign)(Mh, oc, eh, Lh);
82101
- var qh = Mh;
82102
- function $h({ type: e3, value: t3, compress: n3, serialize: r3 }) {
82093
+ }, Bh.prototype.onEnd = function(e3) {
82094
+ e3 === Nh.Z_OK && ("string" === this.options.to ? this.result = this.chunks.join("") : this.result = Eh.flattenChunks(this.chunks)), this.chunks = [], this.err = e3, this.msg = this.strm.msg;
82095
+ }, Ju.Inflate = Bh, Ju.inflate = Fh, Ju.inflateRaw = function(e3, t3) {
82096
+ return (t3 = t3 || {}).raw = true, Fh(e3, t3);
82097
+ }, Ju.ungzip = Fh;
82098
+ var Uh = {};
82099
+ (0, nc.assign)(Uh, rc, Ju, Th);
82100
+ var Mh = Uh;
82101
+ function qh({ type: e3, value: t3, compress: n3, serialize: r3 }) {
82103
82102
  const o3 = { type: e3, value: t3 };
82104
- return n3 && (o3.value = qh.deflate(new Uint8Array(o3.value)), o3.compressed = true), r3 && (o3.value = function(e4) {
82103
+ return n3 && (o3.value = Mh.deflate(new Uint8Array(o3.value)), o3.compressed = true), r3 && (o3.value = function(e4) {
82105
82104
  const t4 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""), n4 = new Uint8Array(e4), r4 = n4.length, o4 = r4 % 3, i3 = [], a3 = 16383;
82106
82105
  let s3;
82107
82106
  for (let e5 = 0, t5 = r4 - o4; e5 < t5; e5 += a3)
@@ -82117,36 +82116,36 @@ var require_processPagePollCjs = __commonJS({
82117
82116
  }
82118
82117
  }(o3.value)), o3;
82119
82118
  }
82120
- function Wh(e3) {
82119
+ function $h(e3) {
82121
82120
  return /^(blob|https?):/.test(e3);
82122
82121
  }
82123
- function Zh(e3) {
82122
+ function Wh(e3) {
82124
82123
  const t3 = e3 && e3.match(/(^[^#]*)/), n3 = t3 && t3[1] || e3;
82125
82124
  return n3 && n3.replace(/\?\s*$/, "?") || e3;
82126
82125
  }
82127
- function Vh(e3) {
82126
+ function Zh(e3) {
82128
82127
  return e3.reduce((e4, t3) => e4.concat(t3), []);
82129
82128
  }
82130
- function Hh(t3) {
82129
+ function Vh(t3) {
82131
82130
  const n3 = new TextDecoder("utf-8").decode(t3), r3 = e2.head || e2.querySelectorAll("head")[0], o3 = e2.createElement("style");
82132
82131
  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;
82133
82132
  }
82134
- function Kh(e3, t3, n3 = Al) {
82133
+ function Hh(e3, t3, n3 = yl) {
82135
82134
  let r3;
82136
82135
  if (t3)
82137
82136
  try {
82138
82137
  t3.cssRules, r3 = t3;
82139
82138
  } catch (o3) {
82140
82139
  n3(`[dom-snapshot] could not access cssRules for ${t3.href} ${o3}
82141
- creating temp style for access.`), r3 = Hh(e3);
82140
+ creating temp style for access.`), r3 = Vh(e3);
82142
82141
  }
82143
82142
  else
82144
- r3 = Hh(e3);
82143
+ r3 = Vh(e3);
82145
82144
  return { corsFreeStyleSheet: r3, cleanStyleSheet: function() {
82146
82145
  r3 !== t3 && r3.ownerNode.parentNode.removeChild(r3.ownerNode);
82147
82146
  } };
82148
82147
  }
82149
- function Gh(e3, { log: t3, compress: n3, serialize: r3 }) {
82148
+ function Kh(e3, { log: t3, compress: n3, serialize: r3 }) {
82150
82149
  return e3.reduce(async (e4, { url: o3, element: i3, cdtNode: a3 }) => {
82151
82150
  const s3 = new Promise(async (e5) => {
82152
82151
  try {
@@ -82165,19 +82164,19 @@ creating temp style for access.`), r3 = Hh(e3);
82165
82164
  });
82166
82165
  return e4.then((e5) => s3.then((t4) => {
82167
82166
  if (t4) {
82168
- const i4 = $h({ type: "image/png", value: t4, compress: n3, serialize: r3 }), a4 = { ...i4, value: i4.value, url: o3 };
82167
+ const i4 = qh({ type: "image/png", value: t4, compress: n3, serialize: r3 }), a4 = { ...i4, value: i4.value, url: o3 };
82169
82168
  e5.push(a4);
82170
82169
  }
82171
82170
  return e5;
82172
82171
  }));
82173
82172
  }, Promise.resolve([]));
82174
82173
  }
82175
- const Yh = "__process_resource";
82176
- function Qh(e3) {
82177
- return e3 && Wh(e3);
82174
+ const Gh = "__process_resource";
82175
+ function Yh(e3) {
82176
+ return e3 && $h(e3);
82178
82177
  }
82179
82178
  window[x] = window[x] || {};
82180
- const Xh = f(function({ doc: t3 = e2, showLogs: n3, useSessionCache: r3, dontFetchResources: o3, fetchTimeout: i3, skipResources: a3, compressResources: s3, serializeResources: l2, removeReverseProxyURLPrefixes: c2, elements: u2 } = {}) {
82179
+ const Qh = f(function({ doc: t3 = e2, showLogs: n3, useSessionCache: r3, dontFetchResources: o3, fetchTimeout: i3, skipResources: a3, compressResources: s3, serializeResources: l2, removeReverseProxyURLPrefixes: c2, elements: u2 } = {}) {
82181
82180
  if (arguments[0] instanceof Document) {
82182
82181
  t3 = arguments[0];
82183
82182
  const e3 = arguments[1];
@@ -82186,7 +82185,7 @@ creating temp style for access.`), r3 = Hh(e3);
82186
82185
  const h2 = n3 ? (d2 = Date.now(), function(...e3) {
82187
82186
  const t4 = ["[dom-snapshot]", `[+${Date.now() - d2}ms]`, ...e3];
82188
82187
  console.log(...t4);
82189
- }) : Al;
82188
+ }) : yl;
82190
82189
  var d2;
82191
82190
  h2("processPage start"), h2(`skipResources length: ${a3 && a3.length}`);
82192
82191
  const p2 = r3 && function({ log: e3, sessionStorage: t4 }) {
@@ -82194,7 +82193,7 @@ creating temp style for access.`), r3 = Hh(e3);
82194
82193
  try {
82195
82194
  const e4 = t4 || ("undefined" != typeof window ? window.sessionStorage : void 0);
82196
82195
  if (e4) {
82197
- const t5 = e4.getItem(Yh);
82196
+ const t5 = e4.getItem(Gh);
82198
82197
  n4 = t5 ? JSON.parse(t5) : {};
82199
82198
  }
82200
82199
  } catch (t5) {
@@ -82210,12 +82209,12 @@ creating temp style for access.`), r3 = Hh(e3);
82210
82209
  }, persist: function() {
82211
82210
  if (n4) {
82212
82211
  const e4 = t4 || ("undefined" != typeof window ? window.sessionStorage : void 0);
82213
- e4 && e4.setItem(Yh, JSON.stringify(n4));
82212
+ e4 && e4.setItem(Gh, JSON.stringify(n4));
82214
82213
  }
82215
82214
  } };
82216
82215
  }({ log: h2 }), m2 = {}, f2 = function({ styleSheetCache: e3, CSSRule: t4 = window.CSSRule, removeReverseProxyURLPrefixes: n4 }) {
82217
82216
  return function r4(o4) {
82218
- return tc(Array.from(o4.cssRules || []).reduce((o5, i4) => {
82217
+ return ec(Array.from(o4.cssRules || []).reduce((o5, i4) => {
82219
82218
  const a4 = { [t4.IMPORT_RULE]: () => {
82220
82219
  const t5 = i4;
82221
82220
  return t5.styleSheet && (e3[t5.styleSheet.href] = t5.styleSheet, t5.styleSheet.href) ? t5.styleSheet.href : t5.href;
@@ -82225,7 +82224,7 @@ creating temp style for access.`), r3 = Hh(e3);
82225
82224
  };
82226
82225
  }({ styleSheetCache: m2, removeReverseProxyURLPrefixes: Boolean(null == c2 ? void 0 : c2.length) }), g2 = function({ styleSheetCache: e3 }) {
82227
82226
  return function(t4, n4) {
82228
- const r4 = Vh(n4.map((e4) => {
82227
+ const r4 = Zh(n4.map((e4) => {
82229
82228
  try {
82230
82229
  return Array.from(e4.styleSheets);
82231
82230
  } catch (e5) {
@@ -82233,7 +82232,7 @@ creating temp style for access.`), r3 = Hh(e3);
82233
82232
  }
82234
82233
  }));
82235
82234
  return e3[t4] || r4.find((e4) => {
82236
- const n5 = e4.href && Zh(e4.href);
82235
+ const n5 = e4.href && Wh(e4.href);
82237
82236
  return n5 && function(e5) {
82238
82237
  const t5 = new URL(e5);
82239
82238
  return t5.username && (t5.username = ""), t5.password && (t5.password = ""), t5.href;
@@ -82242,14 +82241,14 @@ creating temp style for access.`), r3 = Hh(e3);
82242
82241
  };
82243
82242
  }({ styleSheetCache: m2 }), b2 = function(e3) {
82244
82243
  return function(t4, n4 = true) {
82245
- return tc(Array.from(t4.querySelectorAll("style")).reduce((r4, o4) => {
82244
+ return ec(Array.from(t4.querySelectorAll("style")).reduce((r4, o4) => {
82246
82245
  const i4 = n4 ? Array.from(t4.styleSheets).find((e4) => e4.ownerNode === o4) : o4.sheet;
82247
82246
  return i4 ? r4.concat(e3(i4)) : r4;
82248
82247
  }, []));
82249
82248
  };
82250
82249
  }(f2), k2 = function(e3) {
82251
82250
  return function(t4) {
82252
- return t4.adoptedStyleSheets ? tc(t4.adoptedStyleSheets.reduce((t5, n4) => t5.concat(e3(n4)), [])) : [];
82251
+ return t4.adoptedStyleSheets ? ec(t4.adoptedStyleSheets.reduce((t5, n4) => t5.concat(e3(n4)), [])) : [];
82253
82252
  };
82254
82253
  }(f2), w2 = function({ parser: e3, decoder: t4, extractResourceUrlsFromStyleTags: n4 }) {
82255
82254
  return function(r4) {
@@ -82257,7 +82256,7 @@ creating temp style for access.`), r3 = Hh(e3);
82257
82256
  const t5 = e4.getAttribute("srcset");
82258
82257
  return t5 ? t5.split(", ").map((e5) => e5.trim().split(/\s+/)[0]) : [];
82259
82258
  }).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) {
82260
- return Vh(Array.from(e4.querySelectorAll("*[style]")).map((e5) => e5.style.cssText).map((e5) => Ul(e5)).filter(Boolean));
82259
+ return Zh(Array.from(e4.querySelectorAll("*[style]")).map((e5) => e5.style.cssText).map((e5) => Ul(e5)).filter(Boolean));
82261
82260
  }(i4);
82262
82261
  return a4.concat(s4).concat(l3).concat(c3).concat(u3).concat(h3).filter((e4) => "#" !== e4[0]);
82263
82262
  };
@@ -82277,13 +82276,13 @@ creating temp style for access.`), r3 = Hh(e3);
82277
82276
  }).then(i4).catch((e4) => a4(e4));
82278
82277
  });
82279
82278
  };
82280
- }({ timeout: i3 }), x2 = function({ fetchUrl: e3, findStyleSheetByUrl: t4, getCorsFreeStyleSheet: n4, extractResourcesFromStyleSheet: r4, extractResourcesFromSvg: o4, sessionCache: i4, cache: a4 = {}, compress: s4, serialize: l3, log: c3 = Al }) {
82279
+ }({ timeout: i3 }), x2 = function({ fetchUrl: e3, findStyleSheetByUrl: t4, getCorsFreeStyleSheet: n4, extractResourcesFromStyleSheet: r4, extractResourcesFromSvg: o4, sessionCache: i4, cache: a4 = {}, compress: s4, serialize: l3, log: c3 = yl }) {
82281
82280
  return function({ url: u3, documents: h3, getResourceUrlsAndBlobs: d3, forceCreateStyle: p3 = false, skipResources: m3 }) {
82282
82281
  if (!a4[u3])
82283
82282
  if (i4 && i4.getItem(u3)) {
82284
82283
  const e4 = function e5(t5) {
82285
82284
  const n5 = i4.getItem(t5);
82286
- return [t5].concat(n5 ? tc(Vh(n5.map(e5))) : []);
82285
+ return [t5].concat(n5 ? ec(Zh(n5.map(e5))) : []);
82287
82286
  }(u3);
82288
82287
  c3("doProcessResource from sessionStorage", u3, "deps:", e4.slice(1)), a4[u3] = Promise.resolve({ resourceUrls: e4 });
82289
82288
  } else if (m3 && m3.indexOf(u3) > -1 || /https:\/\/fonts\.googleapis\.com/.test(u3))
@@ -82318,9 +82317,9 @@ creating temp style for access.`), r3 = Hh(e3);
82318
82317
  } catch (e5) {
82319
82318
  c3("could not parse svg content", e5);
82320
82319
  }
82321
- const v3 = { [e4]: $h({ type: a6, value: f4, compress: s4, serialize: l3 }) };
82320
+ const v3 = { [e4]: qh({ type: a6, value: f4, compress: s4, serialize: l3 }) };
82322
82321
  if (w3) {
82323
- const t5 = w3.map((t6) => y(t6, e4.replace(/^blob:/, ""))).map(Zh).filter(Wh);
82322
+ const t5 = w3.map((t6) => y(t6, e4.replace(/^blob:/, ""))).map(Wh).filter($h);
82324
82323
  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) }));
82325
82324
  }
82326
82325
  return i4 && i4.setItem(e4, []), { blobsObj: v3 };
@@ -82335,11 +82334,11 @@ creating temp style for access.`), r3 = Hh(e3);
82335
82334
  }), c3("cleared from sessionStorage:", u3);
82336
82335
  }
82337
82336
  };
82338
- }({ fetchUrl: v2, findStyleSheetByUrl: g2, getCorsFreeStyleSheet: Kh, extractResourcesFromStyleSheet: f2, extractResourcesFromSvg: w2, log: h2, sessionCache: p2, compress: s3, serialize: l2 }), S2 = function({ processResource: e3, aggregateResourceUrlsAndBlobs: t4 }) {
82337
+ }({ fetchUrl: v2, findStyleSheetByUrl: g2, getCorsFreeStyleSheet: Hh, extractResourcesFromStyleSheet: f2, extractResourcesFromSvg: w2, log: h2, sessionCache: p2, compress: s3, serialize: l2 }), S2 = function({ processResource: e3, aggregateResourceUrlsAndBlobs: t4 }) {
82339
82338
  return function n4({ documents: r4, urls: o4, forceCreateStyle: i4 = false, skipResources: a4 }) {
82340
82339
  return Promise.all(o4.map((t5) => e3({ url: t5, documents: r4, getResourceUrlsAndBlobs: n4, forceCreateStyle: i4, skipResources: a4 }))).then((e4) => t4(e4));
82341
82340
  };
82342
- }({ processResource: x2, aggregateResourceUrlsAndBlobs: nc });
82341
+ }({ processResource: x2, aggregateResourceUrlsAndBlobs: tc });
82343
82342
  return function t4(n4, r4 = n4.location.href) {
82344
82343
  const i4 = function(e3) {
82345
82344
  const t5 = e3.querySelectorAll("base")[0] && e3.querySelectorAll("base")[0].href;
@@ -82427,12 +82426,12 @@ creating temp style for access.`), r3 = Hh(e3);
82427
82426
  return o4 += e3.length, t6;
82428
82427
  });
82429
82428
  return i5;
82430
- }(u2), { cdt: d3, docRoots: m3, canvasElements: f3, frames: g3, inlineFrames: w3, crossFrames: v3, linkUrls: x3, imageBlobs: C2, videoBlobs: z2 } = Ql(n4, i4, h2), A2 = Vh(m3.map((e3) => b2(e3))), O2 = Vh(m3.map((e3) => k2(e3))), T2 = (P2 = i4, function(e3) {
82429
+ }(u2), { cdt: d3, docRoots: m3, canvasElements: f3, frames: g3, inlineFrames: w3, crossFrames: v3, linkUrls: x3, imageBlobs: C2, videoBlobs: z2 } = Yl(n4, i4, h2), A2 = Zh(m3.map((e3) => b2(e3))), O2 = Zh(m3.map((e3) => k2(e3))), T2 = (P2 = i4, function(e3) {
82431
82430
  try {
82432
82431
  return _(y(e3, P2));
82433
82432
  } catch (e4) {
82434
82433
  }
82435
- }), L2 = tc(Array.from(x3).concat(Array.from(A2)).concat(Array.from(O2))).map((e3) => e3.trim()).reduce((e3, t5) => {
82434
+ }), L2 = ec(Array.from(x3).concat(Array.from(A2)).concat(Array.from(O2))).map((e3) => e3.trim()).reduce((e3, t5) => {
82436
82435
  e3.push(t5);
82437
82436
  const n5 = function(e4) {
82438
82437
  return e4 && e4.replace(/(\\[0-9a-fA-F]{1,6}\s?)/g, (e5) => {
@@ -82441,13 +82440,13 @@ creating temp style for access.`), r3 = Hh(e3);
82441
82440
  }) || e4;
82442
82441
  }(t5);
82443
82442
  return n5 !== t5 && e3.push(n5), e3;
82444
- }, []).map(T2).map(Zh).filter(Qh), E2 = o3 ? Promise.resolve({ resourceUrls: L2, blobsObj: {} }) : S2({ documents: m3, urls: L2, skipResources: a3 }).then((e3) => (p2 && p2.persist(), e3)), R2 = Gh(f3, { log: h2, compress: s3, serialize: l2 }), N2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, log: r5, compress: o4, serialize: i5, sessionCache: a4 }) {
82443
+ }, []).map(T2).map(Wh).filter(Yh), E2 = o3 ? Promise.resolve({ resourceUrls: L2, blobsObj: {} }) : S2({ documents: m3, urls: L2, skipResources: a3 }).then((e3) => (p2 && p2.persist(), e3)), R2 = Kh(f3, { log: h2, compress: s3, serialize: l2 }), N2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, log: r5, compress: o4, serialize: i5, sessionCache: a4 }) {
82445
82444
  if (!t5.body || 0 === e4.length)
82446
82445
  return Promise.resolve([]);
82447
82446
  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");
82448
82447
  c4.style.display = "none";
82449
- const u3 = Kl(t5.body);
82450
- return u3.appendChild(c4), Promise.all(l3.map(({ element: e5, url: t6, cdtNode: n6 }) => (c4.width = e5.naturalWidth, c4.height = e5.naturalHeight, c4.getContext("2d").drawImage(Kl.unwrap(e5), 0, 0), Gh([{ url: t6, element: c4, cdtNode: n6 }], { log: r5, compress: o4, serialize: i5 })))).then((e5) => (u3.removeChild(c4), Vh(e5))).catch(() => {
82448
+ const u3 = Hl(t5.body);
82449
+ return u3.appendChild(c4), Promise.all(l3.map(({ element: e5, url: t6, cdtNode: n6 }) => (c4.width = e5.naturalWidth, c4.height = e5.naturalHeight, c4.getContext("2d").drawImage(Hl.unwrap(e5), 0, 0), Kh([{ url: t6, element: c4, cdtNode: n6 }], { log: r5, compress: o4, serialize: i5 })))).then((e5) => (u3.removeChild(c4), Zh(e5))).catch(() => {
82451
82450
  u3.removeChild(c4);
82452
82451
  });
82453
82452
  }(C2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2, compress: s3, serialize: l2, sessionCache: p2 })), j2 = E2.then((e3) => function(e4, { doc: t5, fetchedBlobs: n5, compress: r5, serialize: o4, sessionCache: i5 }) {
@@ -82460,12 +82459,12 @@ creating temp style for access.`), r3 = Hh(e3);
82460
82459
  const a5 = new MediaRecorder(n6, { mimeType: "video/webm" });
82461
82460
  a5.addEventListener("dataavailable", (n7) => {
82462
82461
  a5.stop(), e5.pause(), n7.data.arrayBuffer().then((e6) => {
82463
- const a6 = $h({ type: n7.data.type, value: e6, compress: r5, serialize: o4 });
82462
+ const a6 = qh({ type: n7.data.type, value: e6, compress: r5, serialize: o4 });
82464
82463
  a6.url = t6, i6(a6);
82465
82464
  });
82466
82465
  }, { once: true }), e5.play(), a5.start(), setTimeout(() => a5.requestData(), 1e3);
82467
82466
  });
82468
- })).then((e5) => Vh(e5));
82467
+ })).then((e5) => Zh(e5));
82469
82468
  }(z2, { fetchedBlobs: e3.blobsObj, doc: n4, log: h2, compress: s3, serialize: l2, sessionCache: p2 })), I2 = g3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5)), D2 = w3.map(({ element: e3, url: n5 }) => t4(e3.contentDocument, n5));
82470
82469
  var P2;
82471
82470
  return Promise.all([E2, R2, N2, j2, ...I2, ...D2]).then(function(t5) {
@@ -82496,11 +82495,11 @@ creating temp style for access.`), r3 = Hh(e3);
82496
82495
  function B2(e3) {
82497
82496
  return n4.defaultView && n4.defaultView.frameElement && n4.defaultView.frameElement.getAttribute(e3);
82498
82497
  }
82499
- }(t3).then((e3) => (h2("processPage end"), e3.scriptVersion = "4.13.10", e3));
82498
+ }(t3).then((e3) => (h2("processPage end"), e3.scriptVersion = "4.13.11", e3));
82500
82499
  }, window[x], "domSnapshotResult");
82501
82500
  return function(e3) {
82502
82501
  try {
82503
- return JSON.stringify(Xh(e3)(e3));
82502
+ return JSON.stringify(Qh(e3)(e3));
82504
82503
  } catch (e4) {
82505
82504
  return JSON.stringify({ status: "ERROR", error: e4.message });
82506
82505
  }
@@ -107133,7 +107132,7 @@ var require_package3 = __commonJS({
107133
107132
  "../core/package.json"(exports, module) {
107134
107133
  module.exports = {
107135
107134
  name: "@applitools/core",
107136
- version: "4.50.2",
107135
+ version: "4.50.3",
107137
107136
  homepage: "https://applitools.com",
107138
107137
  bugs: {
107139
107138
  url: "https://github.com/applitools/eyes.sdk.javascript1/issues"
@@ -114043,7 +114042,7 @@ var require_package4 = __commonJS({
114043
114042
  "../eyes/package.json"(exports, module) {
114044
114043
  module.exports = {
114045
114044
  name: "@applitools/eyes",
114046
- version: "1.36.11",
114045
+ version: "1.36.12",
114047
114046
  keywords: [
114048
114047
  "applitools",
114049
114048
  "eyes",