@lhci/viewer 0.8.2 → 0.10.0

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 (57) hide show
  1. package/dist/1.css +12 -0
  2. package/dist/1.css.map +7 -0
  3. package/dist/1.js +12 -0
  4. package/dist/1.js.map +7 -0
  5. package/dist/assets/apple-touch-icon-322d6266.png +0 -0
  6. package/dist/assets/apple-touch-icon-ipad-bb198203.png +0 -0
  7. package/dist/{confetti.881a10f8.svg → assets/confetti-NE5ZCURM.svg} +0 -0
  8. package/dist/assets/favicon-16x16-7a9d07ba.png +0 -0
  9. package/dist/assets/favicon-196x196-7e07c528.png +0 -0
  10. package/dist/assets/favicon-32x32-e9e95133.png +0 -0
  11. package/dist/assets/favicon-48x48-7fe43b6a.png +0 -0
  12. package/dist/{favicon.5ff0c208.svg → assets/favicon-PWXHY3O5.svg} +0 -0
  13. package/dist/{loading-spinner.6bfd50e7.svg → assets/loading-spinner-N6LEBK7Y.svg} +0 -0
  14. package/dist/{logo.da01b9a5.svg → assets/logo-7LKJDYBP.svg} +0 -0
  15. package/dist/{material-icons-base-400-normal.8e242f2a.woff → assets/material-icons-base-400-normal-2QSJNDXO.woff} +0 -0
  16. package/dist/{material-icons-base-400-normal.469c4862.woff2 → assets/material-icons-base-400-normal-4U5KPGSB.woff2} +0 -0
  17. package/dist/{roboto-all-400-normal.09f456c2.woff → assets/roboto-all-400-normal-ELEMG2VN.woff} +0 -0
  18. package/dist/{roboto-all-500-normal.f6e26158.woff → assets/roboto-all-500-normal-LAMVO6O2.woff} +0 -0
  19. package/dist/{roboto-cyrillic-400-normal.140de79f.woff2 → assets/roboto-cyrillic-400-normal-XIMUJLHS.woff2} +0 -0
  20. package/dist/{roboto-cyrillic-500-normal.e40103e3.woff2 → assets/roboto-cyrillic-500-normal-EM72C6IQ.woff2} +0 -0
  21. package/dist/{roboto-cyrillic-ext-400-normal.771b33f3.woff2 → assets/roboto-cyrillic-ext-400-normal-P2R3MDOK.woff2} +0 -0
  22. package/dist/{roboto-cyrillic-ext-500-normal.257ac682.woff2 → assets/roboto-cyrillic-ext-500-normal-HFWIZSUY.woff2} +0 -0
  23. package/dist/{roboto-greek-400-normal.05cb84b5.woff2 → assets/roboto-greek-400-normal-OATLPXF3.woff2} +0 -0
  24. package/dist/{roboto-greek-500-normal.ec7aca4b.woff2 → assets/roboto-greek-500-normal-YO7LQ4WC.woff2} +0 -0
  25. package/dist/{roboto-greek-ext-400-normal.8e86ba29.woff2 → assets/roboto-greek-ext-400-normal-JZQ2T4LU.woff2} +0 -0
  26. package/dist/{roboto-greek-ext-500-normal.d7cc947a.woff2 → assets/roboto-greek-ext-500-normal-HQ7O5GKO.woff2} +0 -0
  27. package/dist/{roboto-latin-400-normal.04b4334c.woff2 → assets/roboto-latin-400-normal-POGXOGF2.woff2} +0 -0
  28. package/dist/{roboto-latin-500-normal.687684e9.woff2 → assets/roboto-latin-500-normal-67TPDXAU.woff2} +0 -0
  29. package/dist/{roboto-latin-ext-400-normal.e9fe9a45.woff2 → assets/roboto-latin-ext-400-normal-Z46XPCK7.woff2} +0 -0
  30. package/dist/{roboto-latin-ext-500-normal.b3c5da30.woff2 → assets/roboto-latin-ext-500-normal-4YD25CN3.woff2} +0 -0
  31. package/dist/{roboto-mono-all-400-normal.d061ed32.woff → assets/roboto-mono-all-400-normal-SFQJU3H7.woff} +0 -0
  32. package/dist/{roboto-mono-all-500-normal.4c12ef6a.woff → assets/roboto-mono-all-500-normal-ODBQNREV.woff} +0 -0
  33. package/dist/{roboto-mono-cyrillic-400-normal.b1b8104f.woff2 → assets/roboto-mono-cyrillic-400-normal-H7BWSHTC.woff2} +0 -0
  34. package/dist/{roboto-mono-cyrillic-500-normal.7c7a3a42.woff2 → assets/roboto-mono-cyrillic-500-normal-YYHCDE6E.woff2} +0 -0
  35. package/dist/{roboto-mono-cyrillic-ext-400-normal.b9e5b976.woff2 → assets/roboto-mono-cyrillic-ext-400-normal-EMP7XACI.woff2} +0 -0
  36. package/dist/{roboto-mono-cyrillic-ext-500-normal.80e12376.woff2 → assets/roboto-mono-cyrillic-ext-500-normal-QOVJWVAZ.woff2} +0 -0
  37. package/dist/{roboto-mono-greek-400-normal.cf891a92.woff2 → assets/roboto-mono-greek-400-normal-W74KCAVC.woff2} +0 -0
  38. package/dist/{roboto-mono-greek-500-normal.326386b4.woff2 → assets/roboto-mono-greek-500-normal-3UZKQ3RY.woff2} +0 -0
  39. package/dist/{roboto-mono-latin-400-normal.b1632429.woff2 → assets/roboto-mono-latin-400-normal-OKRWGZOX.woff2} +0 -0
  40. package/dist/{roboto-mono-latin-500-normal.d3507325.woff2 → assets/roboto-mono-latin-500-normal-67YXJMLO.woff2} +0 -0
  41. package/dist/{roboto-mono-latin-ext-400-normal.ef7b17ff.woff2 → assets/roboto-mono-latin-ext-400-normal-DRTPXRJS.woff2} +0 -0
  42. package/dist/{roboto-mono-latin-ext-500-normal.0f41977f.woff2 → assets/roboto-mono-latin-ext-500-normal-JIU4SEFZ.woff2} +0 -0
  43. package/dist/{roboto-mono-vietnamese-400-normal.b4968226.woff2 → assets/roboto-mono-vietnamese-400-normal-HQ4XDU64.woff2} +0 -0
  44. package/dist/{roboto-mono-vietnamese-500-normal.44deb8b7.woff2 → assets/roboto-mono-vietnamese-500-normal-OCWIUWUJ.woff2} +0 -0
  45. package/dist/{roboto-vietnamese-400-normal.ccfaee34.woff2 → assets/roboto-vietnamese-400-normal-B6N6IV4E.woff2} +0 -0
  46. package/dist/{roboto-vietnamese-500-normal.6a2080f4.woff2 → assets/roboto-vietnamese-500-normal-FZL4V5AH.woff2} +0 -0
  47. package/dist/index.html +29 -1
  48. package/package.json +5 -5
  49. package/src/ui/.eslintrc.js +10 -0
  50. package/src/ui/app.jsx +2 -2
  51. package/src/ui/components/lhci-components.jsx +4 -2
  52. package/src/ui/index.html +1 -1
  53. package/dist/entry.222411d6.css +0 -2
  54. package/dist/entry.222411d6.css.map +0 -1
  55. package/dist/entry.a91fec38.js +0 -100
  56. package/dist/entry.a91fec38.js.map +0 -1
  57. package/dist/favicon.87130de5.png +0 -0
package/dist/1.css ADDED
@@ -0,0 +1,12 @@
1
+ i.lh-score-fail{display:block;width:var(--base-icon-size);height:var(--base-icon-size)}i.lh-score-fail polygon{stroke:var(--fail-color);stroke-width:15px;fill:none}i.lh-score-average{display:block;width:var(--base-icon-size);height:var(--base-icon-size);border:2px solid var(--average-color)}i.lh-score-pass{display:block;width:var(--base-icon-size);height:var(--base-icon-size);border-radius:100%;border:2px solid var(--pass-color)}[data-tooltip]{--tooltip-arrow-size: 6px;--tooltip-max-content-size: 120px;position:relative}[data-tooltip]:before,[data-tooltip]:after{position:absolute;pointer-events:none;visibility:hidden;opacity:0;transform:translate(0);transition:opacity .2s ease,visibility .2s ease,transform .2s ease;transition-delay:.3s}[data-tooltip]:before{z-index:10001;bottom:calc(100% - 2 * var(--tooltip-arrow-size));left:calc(50% - var(--tooltip-arrow-size));border:var(--tooltip-arrow-size) solid transparent;border-top-color:var(--inverted-background-color);background:transparent;content:""}[data-tooltip]:after{z-index:10000;bottom:100%;left:50%;transform:translate(-50%);overflow:hidden;text-overflow:ellipsis;width:max-content;max-width:var(--tooltip-max-content-size);padding:calc(var(--base-spacing) / 2);background-color:var(--inverted-background-color);color:var(--inverted-text-color);content:attr(data-tooltip);font-size:var(--subtext-font-size);font-family:var(--base-font-family);white-space:normal;text-align:center}[data-tooltip]:hover:before,[data-tooltip]:focus:before{visibility:visible;opacity:1;transform:translateY(calc(-2 * var(--tooltip-arrow-size)))}[data-tooltip]:hover:after,[data-tooltip]:focus:after{visibility:visible;opacity:1;transform:translate(-50%,calc(-2 * var(--tooltip-arrow-size)))}:root{--color-gray-0: #ffffff;--color-gray-50: #fafafa;--color-gray-100: #f5f5f5;--color-gray-200: #e0e0e0;--color-gray-400: #bdbdbd;--color-gray-500: #9e9e9e;--color-gray-600: #757575;--color-gray-800: #424242;--color-gray-900: #212121;--color-red-500: #ff4e42;--color-red-700: #eb0f00;--color-green-500: #0cce6b;--color-green-700: #018642;--color-blue-100: #eaefff;--color-blue-200: #d4e0ff;--color-blue-500: #3e72ff;--color-cyan-500: #00bcd4;--color-cyan-700: #078190;--color-magenta-500: #ff4081;--color-magenta-700: #e31f62;--color-orange-500: #ffa400;--color-orange-700: #d04900;--base-text-color: var(--color-gray-900);--secondary-text-color: var(--color-gray-500);--inverted-text-color: var(--color-gray-50);--inverted-secondary-text-color: var(--color-gray-500);--base-background-color: var(--color-gray-50);--secondary-background-color: var(--color-gray-100);--highlighted-background-color: var(--color-gray-0);--inverted-background-color: var(--color-gray-900);--base-border-color: var(--color-gray-200);--strong-border-color: var(--color-gray-900);--inverted-border-color: var(--color-gray-800);--pass-color: var(--color-green-500);--average-color: var(--color-orange-500);--fail-color: var(--color-red-500);--improvement-color: var(--color-cyan-500);--improvement-text-color: var(--color-cyan-700);--neutral-color: var(--color-gray-800);--neutral-highlight-color: var(--color-gray-200);--neutral-secondary-highlight-color: var(--color-gray-100);--regression-color: var(--color-magenta-500);--regression-text-color: var(--color-magenta-700);--compare-color: var(--color-blue-500);--compare-highlight-color: var(--color-blue-200);--compare-secondary-highlight-color: var(--color-blue-100);--dev-branch-color: var(--color-gray-600);--master-branch-color: var(--color-gray-800);--base-font-family: "Roboto", Arial, Helvetica, sans-serif;--base-font-weight: 400;--medium-font-weight: 500;--monospace-font-family: "Roboto Mono", "Menlo", "dejavu sans mono", "Consolas", "Lucida Console", monospace;--gauge-number-font-size: 24px;--gauge-title-font-size: 18px;--title-font-size: 24px;--header-font-size: 20px;--base-font-size: 16px;--monospace-font-size: 15px;--smaller-font-size: 14px;--subtext-font-size: 12px;--base-icon-size: 14px;--arrow-icon-size: 20px;--large-icon-size: 24px;--base-spacing: 12px;--paper-padding: 16px;--page-header-height: 56px;--page-header-vertical-padding: var(--base-spacing);--page-header-horizontal-padding: calc(var(--base-spacing) * 2);--page-header-content-height: calc( var(--page-header-height) - 2 * var(--page-header-vertical-padding) );--page-sidebar-width: 260px;--page-sidebar-nav-item-height: 24px;--gauge-size: 82px;--gauge-stroke-width: 7px;--build-score-delta-badge-height: 24px;--pill-height: 26px;--pill-content-height: calc(var(--pill-height) - 6px);--pill-spacing: calc(var(--base-spacing) / 2);--avatar-image-size: 25px;--lhr-viewer-button-size: 20px;--audit-group-audit-height: 36px;--paper-min-width: 200px;--dashboard-graph-min-height: 300px;--dashboard-donut-graph-size: 60px;--warning-message-icon-height: 40px}html,body{font-size:var(--base-font-size);font-family:var(--base-font-family);font-weight:var(--base-font-weight);color:var(--base-text-color);background:var(--base-background-color)}*{box-sizing:border-box;margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lhci{position:relative}.page-body{padding:var(--base-spacing);padding-top:calc(var(--base-spacing) + var(--page-header-height))}.container{width:100%;max-width:762px;min-width:300px;margin:0 auto}h1,h2,h3,h4,h5,h6{font-size:var(--header-font-size);font-weight:var(--base-font-weight)}.v-spacer{display:block;height:var(--base-spacing)}.h-spacer{display:inline-block;width:var(--base-spacing)}.flex-row{display:flex;flex-direction:row;align-items:center}.text--center{text-align:center}.text--secondary{color:var(--secondary-text-color)}.text--improvement{color:var(--improvement-color)}.text--regression{color:var(--regression-color)}.text--pass{color:var(--pass-color)}.text--average{color:var(--average-color)}.text--fail{color:var(--fail-color)}.text--smaller{font-size:var(--smaller-font-size)}a{text-decoration:none}a .material-icons{color:var(--base-text-color)}.position-relative{position:relative}body{width:100vw;min-height:100vh;position:relative}.loading-container{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.8);z-index:1000}.toast-container{position:absolute;z-index:10;left:var(--base-spacing);bottom:var(--base-spacing)}.landing{position:relative;width:100vw;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.landing__background{position:absolute;inset:0}.landing__background img{width:100%;height:100%;object-fit:cover}.paper.landing__paper{position:relative;z-index:10;width:80vw;max-width:1000px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.landing__logo{height:70px;width:70px;margin-top:calc(var(--base-spacing) * 2);margin-bottom:var(--base-spacing)}.landing__info-icon{position:absolute;top:var(--base-spacing);right:var(--base-spacing)}.landing h1{font-size:28px}.landing__error{color:var(--fail-color);margin-top:var(--base-spacing)}.landing__upload{width:100%;display:flex;flex-direction:row;margin-top:calc(var(--base-spacing) * 2);border-top:1px solid var(--base-border-color)}.loading-spinner--container{width:100%;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center}.loading-spinner img{width:80px;height:80px}.paper{background:var(--highlighted-background-color);border:1px solid var(--base-border-color);padding:var(--paper-padding);margin:var(--base-spacing);overflow:visible}.lhr-viewer-link--loading{opacity:.5;cursor:not-allowed}.lhr-viewer-button{background:var(--highlighted-background-color);border-radius:3px;padding:calc(var(--base-spacing) / 2);margin-right:var(--base-spacing);display:flex;flex-direction:row;align-items:center;justify-content:center;cursor:pointer;color:var(--base-text-color);font-weight:var(--medium-font-weight);overflow:hidden;white-space:nowrap}.lhr-viewer-button img{height:var(--lhr-viewer-button-size);width:var(--lhr-viewer-button-size)}.lhr-viewer-button span{margin-left:calc(var(--base-spacing) / 2);padding-right:calc(var(--base-spacing) / 2)}@media (max-width: 1000px){.lhr-viewer-button{border-radius:100%}.lhr-viewer-button span{display:none}}.report-upload-box{width:50%;height:var(--page-header-height);padding:var(--base-spacing);position:relative;display:flex;flex-direction:row;align-items:center;font-size:var(--smaller-font-size);font-weight:var(--medium-font-weight)}.report-upload-box:first-child{border-right:1px solid var(--base-border-color)}.report-upload-box--drop .report-upload-box__drop-outline{display:flex}.report-upload-box__drop-outline{position:absolute;inset:0;display:none;align-items:center;justify-content:center;z-index:10;background:rgba(255,255,255,.8);border:3px dashed var(--base-border-color)}.report-upload-box--compare .report-upload-box__label{color:var(--compare-color)}.report-upload-box__file{flex-shrink:1;font-family:var(--monospace-font-family);max-width:calc(100% - 140px);margin:0 var(--base-spacing);padding:0 calc(var(--base-spacing) / 2);border-radius:10000px;background:var(--neutral-highlight-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.report-upload-box--compare .report-upload-box__file{background:var(--compare-highlight-color)}.report-upload-box__lhr-link{display:none}.report-upload-box:hover .report-upload-box__lhr-link{display:block}.report-upload-box .lhr-viewer-button:hover{background:var(--compare-highlight-color)}.report-upload-box__spacer{flex-grow:1}.report-upload-box__upload{width:max-content;text-transform:uppercase;white-space:nowrap;cursor:pointer;border-radius:3px;padding:calc(var(--base-spacing) / 2);background:var(--highlighted-background-color)}.report-upload-box__upload:hover{background:var(--compare-highlight-color)}.comparison{position:relative;width:100vw;min-height:100vh;overflow:hidden}.comparison-header{position:relative;height:var(--page-header-height);display:flex;flex-direction:row;background:var(--highlighted-background-color);border-bottom:1px solid var(--base-border-color)}.comparison-header__logo{width:var(--page-header-height);display:flex;align-items:center;justify-content:center;cursor:pointer;border-right:1px solid var(--base-border-color)}.comparison-header__upload{max-width:calc(100vw - var(--page-header-height) * 2);flex-grow:1;display:flex;flex-direction:row}.comparison-header__switcher{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:5;border-radius:100%;background:var(--highlighted-background-color);cursor:pointer}.comparison-header__info{width:var(--page-header-height);display:flex;align-items:center;justify-content:center;border-left:1px solid var(--base-border-color)}.comparison-body{padding-top:var(--base-spacing)}.dropdown{border-bottom:1px solid var(--strong-border-color);padding:calc(var(--base-spacing) / 2) 0;font-family:var(--base-font-family);font-size:var(--base-font-size);font-weight:var(--medium-font-weight)}.dropdown__label{color:var(--secondary-text-color);margin-right:calc(var(--base-spacing) / 2)}.dropdown select{position:relative;background:none;border:none;border-radius:0;-webkit-appearance:none;padding-right:25px;cursor:pointer;z-index:2;font-family:var(--base-font-family);font-size:var(--base-font-size);font-weight:var(--medium-font-weight)}.dropdown__chevron{position:absolute;top:5px;right:calc(var(--base-spacing) / 4);z-index:1}.audit-detail-pane{position:fixed;top:var(--page-header-height);right:0;left:40%;bottom:0;z-index:5;padding-bottom:70vh;overflow-x:hidden;overflow-y:auto;background:var(--highlighted-background-color);border-left:1px solid var(--base-border-color)}#storybook-test-root .audit-detail-pane{position:absolute;top:0;left:0;bottom:initial;height:max-content;overflow-y:visible}.audit-detail-pane__close{position:fixed;z-index:10;top:calc(var(--page-header-height) + 10px);right:20px;height:30px;width:30px;border-radius:30px;display:flex;align-items:center;justify-content:center;background:var(--secondary-background-color);cursor:pointer}#storybook-test-root .audit-detail-pane__close{top:10px}.audit-detail-pane__close i.material-icons{font-size:22px}.audit-detail-pane__audit{position:relative;padding:calc(2 * var(--base-spacing));padding-left:calc(3 * var(--base-spacing));border-bottom:1px solid var(--base-border-color)}.audit-detail-pane__score{position:absolute;left:var(--base-spacing);top:calc(2 * var(--base-spacing) + var(--header-font-size) / 4)}.audit-detail-pane__audit-title{font-size:var(--header-font-size)}.audit-detail-pane__audit-description{color:var(--secondary-text-color);margin-top:calc(var(--base-spacing) / 2)}.audit-detail-pane__audit-details{margin-top:var(--base-spacing)}.audit-detail-pane__audit-details-summary{display:flex;flex-direction:row;align-items:center;padding:var(--base-spacing) 0}.audit-detail-pane__audit-details-summary .audit-numeric-diff{width:100%}.audit-detail-pane__audit-details-summary .audit-numeric-diff__bar{flex-grow:1}.audit-detail-pane__audit-details--binary{display:flex;flex-direction:row;align-items:center;font-family:var(--monospace-font-family);font-size:var(--monospace-font-size)}.table-details table{border-collapse:collapse;width:calc(100% - var(--base-spacing))}.table-details thead th{font-weight:400;color:var(--color-gray-600);word-break:normal}.table-details tbody tr:nth-child(odd){background-color:var(--color-gray-100)}.table-details th,.table-details td{padding:8px 6px}.table-details th:first-child{padding-left:0}.table-details th:last-child{padding-right:0}.table-column--text,.table-column--url,.table-column--code,.table-column--node{text-align:left;max-width:30vw;overflow:hidden;text-overflow:ellipsis}.table-column--bytes,.table-column--timespanMs,.table-column--ms,.table-column--numeric{text-align:right;word-break:normal}.table-details .table-column--thumbnail{width:var(--image-preview-size);padding:0}.table-column--url{min-width:250px}.table-column--url+th.table-column--bytes,.table-column--url+.table-column--bytes+th.table-column--bytes,.table-column--url+.table-column--ms,.table-column--url+.table-column--ms+th.table-column--bytes,.table-column--url+.table-column--bytes+th.table-column--timespanMs{width:12%}.table-column--row-label{color:var(--secondary-text-color)}.simple-details--improvement{color:var(--improvement-text-color)}.simple-details--regression{color:var(--regression-text-color)}.simple-details__url-hostname{color:var(--secondary-text-color);margin-left:calc(var(--base-spacing) / 2);font-size:var(--subtext-font-size)}.audit-numeric-diff{--numeric-diff-bar-height: calc(var(--base-font-size) + 8px);display:flex;flex-direction:row;font-family:var(--monospace-font-family);font-size:var(--monospace-font-size)}.audit-numeric-diff__bar{position:relative;min-width:300px;background:var(--secondary-background-color);margin:0 var(--base-spacing)}@media (max-width: 600px){.audit-numeric-diff__bar{min-width:200px}}.audit-numeric-diff__box{position:absolute;top:0;bottom:0;background:var(--highlighted-background-color);transition:left 1s,right 1s}.audit-numeric-diff__box--improvement{color:var(--improvement-text-color);background:repeating-linear-gradient(60deg,var(--improvement-color),var(--improvement-color) 1px,var(--secondary-background-color) 1px,var(--secondary-background-color) 3px)}.audit-numeric-diff__box--regression{color:var(--regression-text-color);background:repeating-linear-gradient(60deg,var(--regression-color),var(--regression-color) 1px,var(--secondary-background-color) 1px,var(--secondary-background-color) 3px)}.audit-numeric-diff__now{position:absolute;top:0;bottom:0;width:2px}.audit-numeric-diff__delta-label{position:absolute;top:0;bottom:0;padding:0 calc(var(--base-spacing) / 2);line-height:var(--numeric-diff-bar-height);white-space:nowrap;font-weight:var(--medium-font-weight);text-shadow:1px 1px 0px var(--secondary-background-color),-1px -1px 0px var(--secondary-background-color),-1px 1px 0px var(--secondary-background-color),1px -1px 0px var(--secondary-background-color);display:flex;flex-direction:row;align-items:center;transition:left 1s,right 1s}.audit-numeric-diff__delta-label--narrow-left{left:2px;right:initial!important}.audit-numeric-diff__delta-label--narrow-right{left:initial!important;right:2px}.audit-numeric-diff__left-label,.audit-numeric-diff__right-label{width:40px;color:var(--secondary-text-color);font-size:var(--subtext-font-size);line-height:var(--numeric-diff-bar-height)}.audit-numeric-diff__left-label{text-align:right}.audit-numeric-diff__box--improvement .audit-numeric-diff__now{background:var(--improvement-color)}.audit-numeric-diff__box--regression .audit-numeric-diff__now{background:var(--regression-color)}.lhr-comparison-scores{display:flex;width:100%;margin-top:var(--base-spacing)}.lhr-comparison-scores-item{flex-basis:0;flex-grow:1;display:flex;flex-direction:column;align-items:center}.lhr-comparison-scores-item__label{margin-top:var(--base-spacing);font-size:var(--gauge-title-font-size);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lhr-comparison-scores-item__delta{display:flex;flex-direction:row;align-items:center;margin-top:var(--base-spacing);padding:0 var(--base-spacing);height:var(--build-score-delta-badge-height);border-radius:calc(var(--build-score-delta-badge-height) / 2);line-height:var(--build-score-delta-badge-height);background:var(--neutral-color);color:var(--inverted-text-color);font-family:var(--monospace-font-family);font-size:var(--monospace-font-size);text-align:center}.lhr-comparison-scores-item__delta>.pwa-icon{margin-right:calc(var(--base-spacing) / 2)}.lhr-comparison-scores-item__delta>.pwa-icon:last-child{margin-right:0}.lhr-comparison-scores-item--pwa .lhr-comparison-scores-item__delta{background-color:var(--secondary-background-color);color:var(--base-text-color)}.gauge{position:relative;width:var(--gauge-size);height:var(--gauge-size);border-radius:calc(var(--gauge-size) / 2);line-height:var(--gauge-size);background:var(--secondary-background-color);color:var(--neutral-color);font-family:var(--monospace-font-family);font-size:var(--gauge-number-font-size);font-weight:var(--medium-font-weight);text-align:center}.gauge-arc{position:absolute;width:var(--gauge-size);height:var(--gauge-size)}.gauge-arc__arc{fill:none;stroke:var(--neutral-color);stroke-linecap:round;stroke-width:var(--gauge-stroke-width);transition:stroke-dasharray .5s}.gauge-arc__indicator{--indicator-width: 3px;--indicator-height: 12px;position:absolute;left:calc(50% - var(--indicator-width) / 2);top:calc(var(--indicator-height) / -4);width:var(--indicator-width);height:var(--indicator-height);border-radius:25%;background:var(--neutral-color)}.gauge-arc__indicator-wrapper,.gauge-arc__delta-wrapper{position:absolute;inset:0;transform-origin:center;transition:transform .5s}.gauge--improvement .gauge-arc__indicator{background:var(--improvement-color)}.gauge--regression .gauge-arc__indicator{background:var(--regression-color)}.gauge--improvement .gauge-arc__delta-wrapper .gauge-arc__arc{stroke:var(--improvement-color)}.gauge--regression .gauge-arc__delta-wrapper .gauge-arc__arc{stroke:var(--regression-color)}.pwa-icon{width:18px;height:18px}.pwa-icon__background{fill:var(--neutral-color)}.pwa-icon--improvement .pwa-icon__background{fill:var(--improvement-color)}.pwa-icon--regression .pwa-icon__background{fill:var(--regression-color)}.pwa-gauge{width:var(--gauge-size);height:var(--gauge-size)}.pwa-gauge .pwa-gauge__component{display:none}.pwa-gauge:not(.pwa-gauge--all) .pwa-gauge__logo>path{fill:#b0b0b0}.pwa-gauge__disc{fill:var(--secondary-background-color)}.pwa-gauge__logo--primary-color{fill:#304ffe}.pwa-gauge__logo--secondary-color{fill:#3d3d3d}.pwa-gauge:not([class*="pwa-gauge--"]) .pwa-gauge__na-line{display:inline}.pwa-gauge.pwa-gauge--pwa-optimized:not(.pwa-gauge--pwa-installable):not(.pwa-gauge--pwa-fast-reliable) .pwa-gauge__na-line{display:inline}.pwa-gauge.pwa-gauge--pwa-fast-reliable:not(.pwa-gauge--pwa-installable) .pwa-gauge__fast-reliable-badge{display:inline}.pwa-gauge.pwa-gauge--pwa-installable:not(.pwa-gauge--pwa-fast-reliable) .pwa-gauge__installable-badge{display:inline}.pwa-gauge.pwa-gauge--pwa-fast-reliable.pwa-gauge--pwa-installable .pwa-gauge__fast-reliable-installable-badges,.pwa-gauge.pwa-gauge--all .pwa-gauge__check-circle{display:inline}.score-delta-badge{height:var(--build-score-delta-badge-height);padding:0 var(--base-spacing);border-radius:calc(var(--build-score-delta-badge-height) / 2);line-height:var(--build-score-delta-badge-height);background:var(--neutral-color);color:var(--inverted-text-color);font-family:var(--monospace-font-family);font-size:var(--monospace-font-size);text-align:center}.score-delta-badge.score-delta-badge--improvement{background-color:var(--improvement-color)}.score-delta-badge.score-delta-badge--regression{background-color:var(--regression-color)}.audit-group{margin:calc(2 * var(--base-spacing))}.audit-group__header{display:flex;flex-direction:row}.audit-group__title{font-size:var(--header-font-size);margin-bottom:calc(var(--base-spacing) / 2);flex-grow:1}.audit-group__big-picture-tabs{width:380px;display:flex;flex-direction:row;margin-right:calc(var(--base-spacing) / 2)}.big-picture-tabs__tab{flex-grow:1;cursor:pointer;font-size:var(--smaller-font-size);text-align:center;text-transform:uppercase;color:var(--secondary-text-color);font-weight:var(--medium-font-weight);border-bottom:1px solid var(--base-border-color);margin-bottom:calc(var(--base-spacing) / 2)}.big-picture-tabs__tab--selected{color:var(--base-text-color);border-bottom:1px solid var(--strong-border-color)}.audit-group__audit{display:flex;flex-direction:row;align-items:center;height:var(--audit-group-audit-height);margin:0 calc(var(--base-spacing) * -1);padding:0 var(--base-spacing)}.audit-group__audit:hover{cursor:pointer;background:var(--secondary-background-color)}.audit-group__expand-toggle{display:none;cursor:pointer}.audit-group__expand-toggle i{transform:rotate(90deg)}.audit-group__audit-title{margin-left:var(--base-spacing);font-weight:var(--medium-font-weight);min-width:25px;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-group__audit-diff{flex-grow:1;display:flex;flex-direction:row;justify-content:flex-end;align-items:center;font-family:var(--monospace-font-family);font-size:var(--monospace-font-size)}.audit-group__error-message{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-group__error-message i{margin-right:calc(var(--base-spacing) / 2)}.audit-group__diff-arrow{color:var(--secondary-text-color);font-size:var(--arrow-icon-size);line-height:var(--large-icon-size);margin:0 var(--base-spacing)}.audit-group__diff-arrow--regression{color:var(--regression-color)}.audit-group__diff-arrow--improvement{color:var(--improvement-color)}.audit-group__diff-badge-group{--badge-height: 16px;position:relative;height:var(--large-icon-size)}.audit-group__diff-badge-group:last-child{margin-right:20px}.audit-group__diff-badges{position:absolute;top:calc(-1 * var(--badge-height) / 5);left:calc(100% - var(--badge-height) * 4 / 5);height:var(--badge-height);display:flex;flex-direction:row}.audit-group__diff-badge{display:inline-block;height:var(--badge-height);min-width:var(--badge-height);border-radius:calc(var(--badge-height) * 2);padding:0 calc(var(--badge-height) / 4);margin-right:calc(-1 * var(--badge-height) / 4);line-height:var(--badge-height);font-size:var(--subtext-font-size);text-align:center;background:var(--neutral-highlight-color);color:var(--secondary-text-color)}.audit-group__diff-badge-group--multiple .audit-group__diff-badge:first-child{border-top-right-radius:0;border-bottom-right-radius:0;margin-right:0}.audit-group__diff-badge-group--multiple .audit-group__diff-badge:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.audit-group__diff-badge--regression{background:var(--regression-color);color:var(--inverted-text-color);z-index:1}.audit-group__diff-badge--improvement{background:var(--improvement-color);color:var(--inverted-text-color)}.audit-group--unchanged .audit-group__header{cursor:pointer}.audit-group--unchanged .audit-group__audit-diff{display:none}.audit-group--unchanged .audit-group__audit:hover .audit-group__audit-diff{display:flex}.audit-group--unchanged .audit-group__expand-toggle{display:block}.audit-group--expanded .audit-group__expand-toggle i{transform:rotate(-90deg)}.lhr-comparison-legend{display:flex;flex-direction:row;align-items:center;margin-right:var(--base-spacing);width:fit-content;padding:var(--base-spacing) calc(var(--base-spacing) * 1.5);background:var(--highlighted-background-color);border:1px solid var(--base-border-color);border-radius:9999px}.lhr-comparison-legend__label{font-family:var(--monospace-font-family);font-size:var(--monospace-font-size);margin-left:calc(var(--base-spacing) / 2);margin-right:calc(var(--base-spacing) * 1.5)}.lhr-comparison-legend__label:last-child{margin-right:0}.lhr-comparison-legend__chip{display:"block";width:var(--base-icon-size);height:var(--base-icon-size);border-radius:2px}.lhr-comparison-legend__chip--regression{background:var(--regression-color)}.lhr-comparison-legend__chip--improvement{background:var(--improvement-color)}.lhr-comparison--with-audit-selection{width:40%}.lhr-comparison__scores-and-dropdowns{height:260px;width:calc(100% + 2 * var(--base-spacing));padding:var(--base-spacing);margin:calc(-1 * var(--base-spacing));margin-bottom:var(--base-spacing);background:var(--highlighted-background-color);border-bottom:1px solid var(--base-border-color)}.lhr-comparison--with-audit-selection .lhr-comparison__scores-and-dropdowns{background:none;border-bottom:none;height:auto;margin-bottom:0;padding-bottom:0}.lhr-comparison--with-audit-selection .lhr-comparison__dropdowns{margin-bottom:0}.lhr-comparison__scores-and-dropdowns .container{display:flex;flex-direction:column;align-items:center}.lhr-comparison__dropdowns{display:flex;flex-direction:row;justify-content:center;margin-top:calc(var(--base-spacing) / 2);margin-bottom:var(--base-spacing)}.lhr-comparison__dropdowns .dropdown{margin-right:var(--base-spacing)}.lhr-comparison__legend-container{display:flex;flex-direction:row;justify-content:center}.lhr-comparison__warning{display:flex;flex-direction:row;align-items:center;min-height:calc(var(--warning-message-icon-height) * 2);margin-bottom:calc(var(--base-spacing) * 2)}.lhr-comparison__warning i{font-size:var(--warning-message-icon-height);margin:0 var(--base-spacing)}.lhr-comparison__warning div{line-height:1.5}.lhr-comparison__warning__lhr-link{cursor:pointer;color:var(--improvement-color)}.modal-backdrop{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;background:rgb(0,0,0,.7)}.modal{position:relative;width:60vw;min-width:400px;max-width:800px;background:var(--highlighted-background-color);padding:var(--base-spacing);padding-right:calc(var(--base-spacing) * 2)}.modal__close{position:absolute;top:calc(var(--base-spacing) / 2);right:calc(var(--base-spacing) / 2);cursor:pointer}.lhr-comparison-runtime-diff{position:relative}.lhr-comparison-runtime-diff .lhr-comparison__warning{margin-bottom:0}.lhr-comparison-runtime-diff__diffs{--table-margin: calc(var(--warning-message-icon-height) + 2 * var(--base-spacing));width:calc(100% - var(--table-margin));text-align:left;margin-left:var(--table-margin)}.lhr-comparison-runtime-diff__close{position:absolute;top:calc(var(--base-spacing) / 2);right:calc(var(--base-spacing) / 2);cursor:pointer}.lhr-comparison-runtime-diff table{width:100%;border-collapse:collapse}.lhr-comparison-runtime-diff table th{font-weight:var(--medium-font-weight)}.lhr-comparison-runtime-diff table tbody td{padding:calc(var(--base-spacing) / 2)}.lhr-comparison-runtime-diff table tbody tr:nth-child(even){background:var(--secondary-background-color)}.toast{padding:calc(var(--base-spacing));background:var(--neutral-color);color:var(--inverted-text-color)}.toast--error{color:var(--fail-color)}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-cyrillic-ext-400-normal-P2R3MDOK.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-cyrillic-400-normal-XIMUJLHS.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-greek-ext-400-normal-JZQ2T4LU.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-greek-400-normal-OATLPXF3.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-vietnamese-400-normal-B6N6IV4E.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-latin-ext-400-normal-Z46XPCK7.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-latin-400-normal-POGXOGF2.woff2) format("woff2"),url(./assets/roboto-all-400-normal-ELEMG2VN.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-cyrillic-ext-500-normal-HFWIZSUY.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-cyrillic-500-normal-EM72C6IQ.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-greek-ext-500-normal-HQ7O5GKO.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-greek-500-normal-YO7LQ4WC.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-vietnamese-500-normal-FZL4V5AH.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-latin-ext-500-normal-4YD25CN3.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-latin-500-normal-67TPDXAU.woff2) format("woff2"),url(./assets/roboto-all-500-normal-LAMVO6O2.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-mono-cyrillic-ext-400-normal-EMP7XACI.woff2) format("woff2"),url(./assets/roboto-mono-all-400-normal-SFQJU3H7.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-mono-cyrillic-400-normal-H7BWSHTC.woff2) format("woff2"),url(./assets/roboto-mono-all-400-normal-SFQJU3H7.woff) format("woff");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-mono-greek-400-normal-W74KCAVC.woff2) format("woff2"),url(./assets/roboto-mono-all-400-normal-SFQJU3H7.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-mono-vietnamese-400-normal-HQ4XDU64.woff2) format("woff2"),url(./assets/roboto-mono-all-400-normal-SFQJU3H7.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-mono-latin-ext-400-normal-DRTPXRJS.woff2) format("woff2"),url(./assets/roboto-mono-all-400-normal-SFQJU3H7.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/roboto-mono-latin-400-normal-OKRWGZOX.woff2) format("woff2"),url(./assets/roboto-mono-all-400-normal-SFQJU3H7.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-mono-cyrillic-ext-500-normal-QOVJWVAZ.woff2) format("woff2"),url(./assets/roboto-mono-all-500-normal-ODBQNREV.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-mono-cyrillic-500-normal-YYHCDE6E.woff2) format("woff2"),url(./assets/roboto-mono-all-500-normal-ODBQNREV.woff) format("woff");unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-mono-greek-500-normal-3UZKQ3RY.woff2) format("woff2"),url(./assets/roboto-mono-all-500-normal-ODBQNREV.woff) format("woff");unicode-range:U+0370-03FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-mono-vietnamese-500-normal-OCWIUWUJ.woff2) format("woff2"),url(./assets/roboto-mono-all-500-normal-ODBQNREV.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-mono-latin-ext-500-normal-JIU4SEFZ.woff2) format("woff2"),url(./assets/roboto-mono-all-500-normal-ODBQNREV.woff) format("woff");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Roboto Mono;font-style:normal;font-display:swap;font-weight:500;src:url(./assets/roboto-mono-latin-500-normal-67YXJMLO.woff2) format("woff2"),url(./assets/roboto-mono-all-500-normal-ODBQNREV.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Material Icons;font-style:normal;font-display:swap;font-weight:400;src:url(./assets/material-icons-base-400-normal-4U5KPGSB.woff2) format("woff2"),url(./assets/material-icons-base-400-normal-2QSJNDXO.woff) format("woff")}.material-icons{font-family:Material Icons;font-weight:400;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}
2
+ /**
3
+ * @license Copyright 2019 Google Inc. All Rights Reserved.
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
6
+ */
7
+ /**
8
+ * @license Copyright 2020 Google Inc. All Rights Reserved.
9
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ /*# sourceMappingURL=1.css.map */
package/dist/1.css.map ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../server/src/ui/icons.css", "../../server/src/ui/tooltips.css", "../../server/src/ui/app.css", "../src/ui/app.css", "../src/ui/routes/landing/landing.css", "../../server/src/ui/components/loading-spinner.css", "../../server/src/ui/components/paper.css", "../../server/src/ui/components/lhr-viewer-link.css", "../../server/src/ui/components/lhr-viewer-button.css", "../src/ui/components/report-upload-box.css", "../src/ui/routes/comparison/comparison.css", "../../server/src/ui/components/dropdown.css", "../../server/src/ui/routes/build-view/audit-detail/audit-detail-pane.css", "../../server/src/ui/routes/build-view/audit-detail/table-details.css", "../../server/src/ui/routes/build-view/audit-detail/simple-details.css", "../../server/src/ui/routes/build-view/audit-list/numeric-diff.css", "../../server/src/ui/routes/build-view/lhr-comparison-scores.css", "../../server/src/ui/components/gauge.css", "../../server/src/ui/components/pwa-gauge.css", "../../server/src/ui/components/score-delta-badge.css", "../../server/src/ui/routes/build-view/audit-list/audit-group.css", "../../server/src/ui/routes/build-view/lhr-comparison-legend.css", "../../server/src/ui/routes/build-view/lhr-comparison.css", "../../server/src/ui/components/modal.css", "../../server/src/ui/routes/build-view/lhr-comparison-runtime-diff.css", "../src/ui/components/toast.css", "../../../node_modules/@fontsource/roboto/400.css", "../../../node_modules/@fontsource/roboto/500.css", "../../../node_modules/@fontsource/roboto-mono/400.css", "../../../node_modules/@fontsource/roboto-mono/500.css", "../../../node_modules/@fontsource/material-icons/index.css"],
4
+ "sourcesContent": ["/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\ni.lh-score-fail {\n display: block;\n width: var(--base-icon-size);\n height: var(--base-icon-size);\n}\n\ni.lh-score-fail polygon {\n /* the SVG is on a 120x120 viewBox, so scale up the strokeWidth */\n stroke: var(--fail-color);\n stroke-width: 15px;\n fill: none;\n}\n\ni.lh-score-average {\n display: block;\n width: var(--base-icon-size);\n height: var(--base-icon-size);\n border: 2px solid var(--average-color);\n}\n\ni.lh-score-pass {\n display: block;\n width: var(--base-icon-size);\n height: var(--base-icon-size);\n border-radius: 100%;\n border: 2px solid var(--pass-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n/* Element to receive the tooltip on hover */\n[data-tooltip] {\n --tooltip-arrow-size: 6px;\n --tooltip-max-content-size: 120px;\n position: relative;\n}\n\n[data-tooltip]:before,\n[data-tooltip]:after {\n position: absolute;\n pointer-events: none;\n\n visibility: hidden;\n opacity: 0;\n\n transform: translate(0, 0);\n transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;\n transition-delay: 300ms;\n}\n\n/* Tooltip arrow */\n[data-tooltip]:before {\n z-index: 10001;\n bottom: calc(100% - 2 * var(--tooltip-arrow-size));\n left: calc(50% - var(--tooltip-arrow-size));\n\n border: var(--tooltip-arrow-size) solid transparent;\n border-top-color: var(--inverted-background-color);\n\n background: transparent;\n content: '';\n}\n\n/* Tooltip content */\n[data-tooltip]:after {\n z-index: 10000;\n bottom: 100%;\n left: 50%; /* start out the content in the middle of the hover element */\n transform: translateX(-50%); /* then shift it by 50% of tooltip width to center it */\n overflow: hidden;\n text-overflow: ellipsis;\n\n width: max-content;\n max-width: var(--tooltip-max-content-size);\n padding: calc(var(--base-spacing) / 2);\n\n background-color: var(--inverted-background-color);\n color: var(--inverted-text-color);\n\n content: attr(data-tooltip);\n /* consistent text in tooltip since parent varies */\n font-size: var(--subtext-font-size);\n font-family: var(--base-font-family);\n white-space: normal;\n text-align: center;\n}\n\n/* Slide up and fade in arrow on hover */\n[data-tooltip]:hover:before,\n[data-tooltip]:focus:before {\n visibility: visible;\n opacity: 1;\n transform: translateY(calc(-2 * var(--tooltip-arrow-size)));\n}\n\n/* Slide up and fade in content on hover */\n[data-tooltip]:hover:after,\n[data-tooltip]:focus:after {\n visibility: visible;\n opacity: 1;\n transform: translate(-50%, calc(-2 * var(--tooltip-arrow-size)));\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n@import './icons.css';\n@import './tooltips.css';\n\n:root {\n /** Material colors https://www.materialui.co/colors */\n --color-gray-0: #ffffff;\n --color-gray-50: #fafafa;\n --color-gray-100: #f5f5f5;\n --color-gray-200: #e0e0e0;\n --color-gray-400: #bdbdbd;\n --color-gray-500: #9e9e9e;\n --color-gray-600: #757575;\n --color-gray-800: #424242;\n --color-gray-900: #212121;\n --color-red-500: #ff4e42;\n --color-red-700: #eb0f00;\n --color-green-500: #0cce6b;\n --color-green-700: #018642;\n --color-blue-100: #eaefff;\n --color-blue-200: #d4e0ff;\n --color-blue-500: #3e72ff;\n --color-cyan-500: #00bcd4;\n --color-cyan-700: #078190;\n --color-magenta-500: #ff4081;\n --color-magenta-700: #e31f62;\n --color-orange-500: #ffa400;\n --color-orange-700: #d04900;\n\n /** Themematic constants */\n --base-text-color: var(--color-gray-900);\n --secondary-text-color: var(--color-gray-500);\n --inverted-text-color: var(--color-gray-50);\n --inverted-secondary-text-color: var(--color-gray-500);\n\n --base-background-color: var(--color-gray-50);\n --secondary-background-color: var(--color-gray-100);\n --highlighted-background-color: var(--color-gray-0);\n --inverted-background-color: var(--color-gray-900);\n\n --base-border-color: var(--color-gray-200);\n --strong-border-color: var(--color-gray-900);\n --inverted-border-color: var(--color-gray-800);\n\n --pass-color: var(--color-green-500);\n --average-color: var(--color-orange-500);\n --fail-color: var(--color-red-500);\n\n --improvement-color: var(--color-cyan-500);\n --improvement-text-color: var(--color-cyan-700);\n --neutral-color: var(--color-gray-800);\n --neutral-highlight-color: var(--color-gray-200);\n --neutral-secondary-highlight-color: var(--color-gray-100);\n --regression-color: var(--color-magenta-500);\n --regression-text-color: var(--color-magenta-700);\n\n --compare-color: var(--color-blue-500);\n --compare-highlight-color: var(--color-blue-200);\n --compare-secondary-highlight-color: var(--color-blue-100);\n --dev-branch-color: var(--color-gray-600);\n --master-branch-color: var(--color-gray-800);\n\n --base-font-family: 'Roboto', Arial, Helvetica, sans-serif;\n --base-font-weight: 400;\n --medium-font-weight: 500;\n --monospace-font-family: 'Roboto Mono', 'Menlo', 'dejavu sans mono', 'Consolas', 'Lucida Console',\n monospace;\n\n --gauge-number-font-size: 24px;\n --gauge-title-font-size: 18px; /* this is 20px in the spec, but simply does not look like the design at 20px */\n --title-font-size: 24px;\n --header-font-size: 20px;\n --base-font-size: 16px;\n --monospace-font-size: 15px;\n --smaller-font-size: 14px;\n --subtext-font-size: 12px;\n\n --base-icon-size: 14px;\n --arrow-icon-size: 20px;\n --large-icon-size: 24px;\n\n --base-spacing: 12px;\n --paper-padding: 16px;\n\n /** Element-specific constants */\n --page-header-height: 56px;\n --page-header-vertical-padding: var(--base-spacing);\n --page-header-horizontal-padding: calc(var(--base-spacing) * 2);\n --page-header-content-height: calc(\n var(--page-header-height) - 2 * var(--page-header-vertical-padding)\n );\n\n --page-sidebar-width: 260px;\n --page-sidebar-nav-item-height: 24px;\n\n --gauge-size: 82px;\n --gauge-stroke-width: 7px;\n\n --build-score-delta-badge-height: 24px;\n\n --pill-height: 26px;\n --pill-content-height: calc(var(--pill-height) - 6px);\n --pill-spacing: calc(var(--base-spacing) / 2);\n\n --avatar-image-size: 25px;\n\n --lhr-viewer-button-size: 20px;\n\n --audit-group-audit-height: 36px;\n\n --paper-min-width: 200px;\n\n --dashboard-graph-min-height: 300px;\n --dashboard-donut-graph-size: 60px;\n\n --warning-message-icon-height: 40px;\n}\n\nhtml,\nbody {\n font-size: var(--base-font-size);\n font-family: var(--base-font-family);\n font-weight: var(--base-font-weight);\n color: var(--base-text-color);\n background: var(--base-background-color);\n}\n\n* {\n box-sizing: border-box;\n margin: 0;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.lhci {\n position: relative;\n}\n\n.page-body {\n padding: var(--base-spacing);\n padding-top: calc(var(--base-spacing) + var(--page-header-height));\n}\n\n.container {\n width: 100%;\n max-width: 762px;\n min-width: 300px;\n margin: 0 auto;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: var(--header-font-size);\n font-weight: var(--base-font-weight);\n}\n\n.v-spacer {\n display: block;\n height: var(--base-spacing);\n}\n\n.h-spacer {\n display: inline-block;\n width: var(--base-spacing);\n}\n\n.flex-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.text--center {\n text-align: center;\n}\n\n.text--secondary {\n color: var(--secondary-text-color);\n}\n\n.text--improvement {\n color: var(--improvement-color);\n}\n\n.text--regression {\n color: var(--regression-color);\n}\n\n.text--pass {\n color: var(--pass-color);\n}\n\n.text--average {\n color: var(--average-color);\n}\n\n.text--fail {\n color: var(--fail-color);\n}\n\n.text--smaller {\n font-size: var(--smaller-font-size);\n}\n\na {\n text-decoration: none;\n}\n\na .material-icons {\n color: var(--base-text-color);\n}\n\n.position-relative {\n position: relative;\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\nbody {\n width: 100vw;\n min-height: 100vh;\n position: relative;\n}\n\n.loading-container {\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n background: rgba(255, 255, 255, 0.8);\n z-index: 1000;\n}\n\n.toast-container {\n position: absolute;\n z-index: 10;\n left: var(--base-spacing);\n bottom: var(--base-spacing);\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.landing {\n position: relative;\n width: 100vw;\n height: 100vh;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.landing__background {\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n left: 0;\n}\n\n.landing__background img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n\n.paper.landing__paper {\n position: relative;\n z-index: 10;\n width: 80vw;\n max-width: 1000px;\n padding: 0;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.landing__logo {\n height: 70px;\n width: 70px;\n margin-top: calc(var(--base-spacing) * 2);\n margin-bottom: var(--base-spacing);\n}\n\n.landing__info-icon {\n position: absolute;\n top: var(--base-spacing);\n right: var(--base-spacing);\n}\n\n.landing h1 {\n font-size: 28px;\n}\n\n.landing__error {\n color: var(--fail-color);\n margin-top: var(--base-spacing);\n}\n\n.landing__upload {\n width: 100%;\n display: flex;\n flex-direction: row;\n\n margin-top: calc(var(--base-spacing) * 2);\n border-top: 1px solid var(--base-border-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.loading-spinner--container {\n width: 100%;\n min-height: 300px;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n}\n\n.loading-spinner img {\n width: 80px;\n height: 80px;\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.paper {\n background: var(--highlighted-background-color);\n border: 1px solid var(--base-border-color);\n padding: var(--paper-padding);\n margin: var(--base-spacing);\n overflow: visible;\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.lhr-viewer-link--loading {\n opacity: 0.5;\n cursor: not-allowed;\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.lhr-viewer-button {\n background: var(--highlighted-background-color);\n border-radius: 3px;\n padding: calc(var(--base-spacing) / 2);\n margin-right: var(--base-spacing);\n\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n\n cursor: pointer;\n color: var(--base-text-color);\n font-weight: var(--medium-font-weight);\n overflow: hidden;\n white-space: nowrap;\n}\n\n.lhr-viewer-button img {\n height: var(--lhr-viewer-button-size);\n width: var(--lhr-viewer-button-size);\n}\n\n.lhr-viewer-button span {\n margin-left: calc(var(--base-spacing) / 2);\n padding-right: calc(var(--base-spacing) / 2);\n}\n\n@media (max-width: 1000px) {\n .lhr-viewer-button {\n border-radius: 100%;\n }\n .lhr-viewer-button span {\n display: none;\n }\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.report-upload-box {\n width: 50%;\n height: var(--page-header-height);\n padding: var(--base-spacing);\n\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n\n font-size: var(--smaller-font-size);\n font-weight: var(--medium-font-weight);\n}\n\n.report-upload-box:first-child {\n border-right: 1px solid var(--base-border-color);\n}\n\n.report-upload-box--drop .report-upload-box__drop-outline {\n display: flex;\n}\n\n.report-upload-box__drop-outline {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n\n display: none;\n align-items: center;\n justify-content: center;\n\n z-index: 10;\n background: rgba(255, 255, 255, 0.8);\n border: 3px dashed var(--base-border-color);\n}\n\n.report-upload-box--compare .report-upload-box__label {\n color: var(--compare-color);\n}\n\n.report-upload-box__file {\n flex-shrink: 1;\n font-family: var(--monospace-font-family);\n max-width: calc(100% - 140px);\n\n margin: 0 var(--base-spacing);\n padding: 0 calc(var(--base-spacing) / 2);\n border-radius: 10000px;\n background: var(--neutral-highlight-color);\n\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.report-upload-box--compare .report-upload-box__file {\n background: var(--compare-highlight-color);\n}\n\n.report-upload-box__lhr-link {\n display: none;\n}\n\n.report-upload-box:hover .report-upload-box__lhr-link {\n display: block;\n}\n\n.report-upload-box .lhr-viewer-button:hover {\n background: var(--compare-highlight-color);\n}\n\n.report-upload-box__spacer {\n flex-grow: 1;\n}\n\n.report-upload-box__upload {\n width: max-content;\n text-transform: uppercase;\n white-space: nowrap;\n cursor: pointer;\n\n border-radius: 3px;\n padding: calc(var(--base-spacing) / 2);\n background: var(--highlighted-background-color);\n}\n\n.report-upload-box__upload:hover {\n background: var(--compare-highlight-color);\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.comparison {\n position: relative;\n width: 100vw;\n min-height: 100vh;\n\n overflow: hidden;\n}\n\n.comparison-header {\n position: relative;\n height: var(--page-header-height);\n\n display: flex;\n flex-direction: row;\n\n background: var(--highlighted-background-color);\n border-bottom: 1px solid var(--base-border-color);\n}\n\n.comparison-header__logo {\n width: var(--page-header-height);\n\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n\n border-right: 1px solid var(--base-border-color);\n}\n\n.comparison-header__upload {\n max-width: calc(100vw - var(--page-header-height) * 2);\n flex-grow: 1;\n display: flex;\n flex-direction: row;\n}\n\n.comparison-header__switcher {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n z-index: 5;\n border-radius: 100%;\n background: var(--highlighted-background-color);\n cursor: pointer;\n}\n\n.comparison-header__info {\n width: var(--page-header-height);\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n border-left: 1px solid var(--base-border-color);\n}\n\n.comparison-body {\n padding-top: var(--base-spacing);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.dropdown {\n border-bottom: 1px solid var(--strong-border-color);\n padding: calc(var(--base-spacing) / 2) 0;\n\n font-family: var(--base-font-family);\n font-size: var(--base-font-size);\n font-weight: var(--medium-font-weight);\n}\n\n.dropdown__label {\n color: var(--secondary-text-color);\n margin-right: calc(var(--base-spacing) / 2);\n}\n\n.dropdown select {\n position: relative;\n background: none;\n border: none;\n border-radius: 0;\n -webkit-appearance: none;\n\n padding-right: 25px;\n cursor: pointer;\n z-index: 2;\n\n font-family: var(--base-font-family);\n font-size: var(--base-font-size);\n font-weight: var(--medium-font-weight);\n}\n\n.dropdown__chevron {\n position: absolute;\n top: 5px;\n right: calc(var(--base-spacing) / 4);\n\n z-index: 1;\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.audit-detail-pane {\n position: fixed;\n top: var(--page-header-height);\n right: 0;\n left: 40%;\n bottom: 0;\n z-index: 5;\n padding-bottom: 70vh;\n\n overflow-x: hidden;\n overflow-y: auto;\n\n background: var(--highlighted-background-color);\n border-left: 1px solid var(--base-border-color);\n}\n\n#storybook-test-root .audit-detail-pane {\n position: absolute;\n top: 0;\n left: 0;\n bottom: initial;\n height: max-content;\n overflow-y: visible;\n}\n\n.audit-detail-pane__close {\n position: fixed;\n z-index: 10;\n top: calc(var(--page-header-height) + 10px);\n right: 20px;\n\n height: 30px;\n width: 30px;\n border-radius: 30px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n background: var(--secondary-background-color);\n cursor: pointer;\n}\n\n#storybook-test-root .audit-detail-pane__close {\n top: 10px;\n}\n\n.audit-detail-pane__close i.material-icons {\n font-size: 22px;\n}\n\n.audit-detail-pane__audit {\n position: relative;\n padding: calc(2 * var(--base-spacing));\n padding-left: calc(3 * var(--base-spacing));\n\n border-bottom: 1px solid var(--base-border-color);\n}\n\n.audit-detail-pane__score {\n position: absolute;\n left: var(--base-spacing);\n top: calc(2 * var(--base-spacing) + var(--header-font-size) / 4);\n}\n\n.audit-detail-pane__audit-title {\n font-size: var(--header-font-size);\n}\n\n.audit-detail-pane__audit-description {\n color: var(--secondary-text-color);\n margin-top: calc(var(--base-spacing) / 2);\n}\n\n.audit-detail-pane__audit-details {\n margin-top: var(--base-spacing);\n}\n\n.audit-detail-pane__audit-details-summary {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: var(--base-spacing) 0;\n}\n\n.audit-detail-pane__audit-details-summary .audit-numeric-diff {\n width: 100%;\n}\n\n.audit-detail-pane__audit-details-summary .audit-numeric-diff__bar {\n flex-grow: 1;\n}\n\n.audit-detail-pane__audit-details--binary {\n display: flex;\n flex-direction: row;\n align-items: center;\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.table-details table {\n border-collapse: collapse;\n width: calc(100% - var(--base-spacing));\n}\n\n.table-details thead th {\n font-weight: normal;\n color: var(--color-gray-600);\n word-break: normal;\n}\n\n.table-details tbody tr:nth-child(odd) {\n background-color: var(--color-gray-100);\n}\n\n.table-details th,\n.table-details td {\n padding: 8px 6px;\n}\n.table-details th:first-child {\n padding-left: 0;\n}\n.table-details th:last-child {\n padding-right: 0;\n}\n\n.table-column--text,\n.table-column--url,\n/* .table-column--thumbnail, */\n/* .table-column--empty,*/\n.table-column--code,\n.table-column--node {\n text-align: left;\n max-width: 30vw;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.table-column--bytes,\n.table-column--timespanMs,\n.table-column--ms,\n.table-column--numeric {\n text-align: right;\n word-break: normal;\n}\n\n.table-details .table-column--thumbnail {\n width: var(--image-preview-size);\n padding: 0;\n}\n\n.table-column--url {\n min-width: 250px;\n}\n\n/* Keep columns narrow if they follow the URL column */\n/* 12% was determined to be a decent narrow width, but wide enough for column headings */\n.table-column--url + th.table-column--bytes,\n.table-column--url + .table-column--bytes + th.table-column--bytes,\n.table-column--url + .table-column--ms,\n.table-column--url + .table-column--ms + th.table-column--bytes,\n.table-column--url + .table-column--bytes + th.table-column--timespanMs {\n width: 12%;\n}\n\n.table-column--row-label {\n color: var(--secondary-text-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.simple-details--improvement {\n color: var(--improvement-text-color);\n}\n\n.simple-details--regression {\n color: var(--regression-text-color);\n}\n\n.simple-details__url-hostname {\n color: var(--secondary-text-color);\n margin-left: calc(var(--base-spacing) / 2);\n font-size: var(--subtext-font-size);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.audit-numeric-diff {\n --numeric-diff-bar-height: calc(var(--base-font-size) + 8px);\n\n display: flex;\n flex-direction: row;\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n}\n\n.audit-numeric-diff__bar {\n position: relative;\n min-width: 300px;\n background: var(--secondary-background-color);\n margin: 0 var(--base-spacing);\n}\n\n@media (max-width: 600px) {\n .audit-numeric-diff__bar {\n min-width: 200px;\n }\n}\n\n.audit-numeric-diff__box {\n position: absolute;\n top: 0;\n bottom: 0;\n background: var(--highlighted-background-color);\n\n transition: left 1s, right 1s;\n}\n\n.audit-numeric-diff__box--improvement {\n color: var(--improvement-text-color);\n background: repeating-linear-gradient(\n 60deg,\n var(--improvement-color),\n var(--improvement-color) 1px,\n var(--secondary-background-color) 1px,\n var(--secondary-background-color) 3px\n );\n}\n.audit-numeric-diff__box--regression {\n color: var(--regression-text-color);\n background: repeating-linear-gradient(\n 60deg,\n var(--regression-color),\n var(--regression-color) 1px,\n var(--secondary-background-color) 1px,\n var(--secondary-background-color) 3px\n );\n}\n\n.audit-numeric-diff__now {\n position: absolute;\n top: 0;\n bottom: 0;\n width: 2px;\n}\n\n.audit-numeric-diff__delta-label {\n position: absolute;\n top: 0;\n bottom: 0;\n padding: 0 calc(var(--base-spacing) / 2);\n\n line-height: var(--numeric-diff-bar-height);\n white-space: nowrap;\n font-weight: var(--medium-font-weight);\n text-shadow: 1px 1px 0px var(--secondary-background-color),\n -1px -1px 0px var(--secondary-background-color), -1px 1px 0px var(--secondary-background-color),\n 1px -1px 0px var(--secondary-background-color);\n\n display: flex;\n flex-direction: row;\n align-items: center;\n\n transition: left 1s, right 1s;\n}\n\n.audit-numeric-diff__delta-label--narrow-left {\n left: 2px;\n right: initial !important;\n}\n\n.audit-numeric-diff__delta-label--narrow-right {\n left: initial !important;\n right: 2px;\n}\n\n.audit-numeric-diff__left-label,\n.audit-numeric-diff__right-label {\n width: 40px;\n color: var(--secondary-text-color);\n font-size: var(--subtext-font-size);\n line-height: var(--numeric-diff-bar-height);\n}\n\n.audit-numeric-diff__left-label {\n text-align: right;\n}\n\n.audit-numeric-diff__box--improvement .audit-numeric-diff__now {\n background: var(--improvement-color);\n}\n.audit-numeric-diff__box--regression .audit-numeric-diff__now {\n background: var(--regression-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.lhr-comparison-scores {\n display: flex;\n width: 100%;\n margin-top: var(--base-spacing);\n}\n\n.lhr-comparison-scores-item {\n /* properties that affect how it's rendered within its parent */\n flex-basis: 0;\n flex-grow: 1;\n\n /* properties that affect how its children are rendered */\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.lhr-comparison-scores-item__label {\n margin-top: var(--base-spacing);\n font-size: var(--gauge-title-font-size);\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.lhr-comparison-scores-item__delta {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n margin-top: var(--base-spacing);\n padding: 0 var(--base-spacing);\n height: var(--build-score-delta-badge-height);\n border-radius: calc(var(--build-score-delta-badge-height) / 2);\n line-height: var(--build-score-delta-badge-height);\n\n background: var(--neutral-color);\n color: var(--inverted-text-color);\n\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n text-align: center;\n}\n\n.lhr-comparison-scores-item__delta > .pwa-icon {\n margin-right: calc(var(--base-spacing) / 2);\n}\n\n.lhr-comparison-scores-item__delta > .pwa-icon:last-child {\n margin-right: 0;\n}\n\n.lhr-comparison-scores-item--pwa .lhr-comparison-scores-item__delta {\n background-color: var(--secondary-background-color);\n color: var(--base-text-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.gauge {\n position: relative;\n\n width: var(--gauge-size);\n height: var(--gauge-size);\n border-radius: calc(var(--gauge-size) / 2);\n line-height: var(--gauge-size);\n\n background: var(--secondary-background-color);\n color: var(--neutral-color);\n\n font-family: var(--monospace-font-family);\n font-size: var(--gauge-number-font-size);\n font-weight: var(--medium-font-weight);\n text-align: center;\n}\n\n.gauge-arc {\n position: absolute;\n width: var(--gauge-size);\n height: var(--gauge-size);\n}\n\n.gauge-arc__arc {\n fill: none;\n stroke: var(--neutral-color);\n stroke-linecap: round;\n stroke-width: var(--gauge-stroke-width);\n\n transition: stroke-dasharray 0.5s;\n}\n\n.gauge-arc__indicator {\n --indicator-width: 3px;\n --indicator-height: 12px;\n\n position: absolute;\n left: calc(50% - var(--indicator-width) / 2);\n top: calc(var(--indicator-height) / -4);\n\n width: var(--indicator-width);\n height: var(--indicator-height);\n border-radius: 25%;\n\n background: var(--neutral-color);\n}\n\n.gauge-arc__indicator-wrapper,\n.gauge-arc__delta-wrapper {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n transform-origin: center;\n\n transition: transform 0.5s;\n}\n\n.gauge--improvement .gauge-arc__indicator {\n background: var(--improvement-color);\n}\n\n.gauge--regression .gauge-arc__indicator {\n background: var(--regression-color);\n}\n\n.gauge--improvement .gauge-arc__delta-wrapper .gauge-arc__arc {\n stroke: var(--improvement-color);\n}\n\n.gauge--regression .gauge-arc__delta-wrapper .gauge-arc__arc {\n stroke: var(--regression-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.pwa-icon {\n width: 18px;\n height: 18px;\n}\n\n.pwa-icon__background {\n fill: var(--neutral-color);\n}\n\n.pwa-icon--improvement .pwa-icon__background {\n fill: var(--improvement-color);\n}\n\n.pwa-icon--regression .pwa-icon__background {\n fill: var(--regression-color);\n}\n\n.pwa-gauge {\n width: var(--gauge-size);\n height: var(--gauge-size);\n}\n\n/* Turn off all components by default and only enable what is active */\n.pwa-gauge .pwa-gauge__component {\n display: none;\n}\n\n.pwa-gauge:not(.pwa-gauge--all) .pwa-gauge__logo > path {\n /* Gray logo unless everything is passing. */\n fill: #b0b0b0;\n}\n\n.pwa-gauge__disc {\n fill: var(--secondary-background-color);\n}\n\n.pwa-gauge__logo--primary-color {\n fill: #304ffe;\n}\n\n.pwa-gauge__logo--secondary-color {\n fill: #3d3d3d;\n}\n\n/* No passing groups. */\n.pwa-gauge:not([class*='pwa-gauge--']) .pwa-gauge__na-line {\n display: inline;\n}\n\n/* Just optimized. Same n/a line as no passing groups. */\n.pwa-gauge.pwa-gauge--pwa-optimized:not(.pwa-gauge--pwa-installable):not(.pwa-gauge--pwa-fast-reliable)\n .pwa-gauge__na-line {\n display: inline;\n}\n\n/* Just fast and reliable. */\n.pwa-gauge.pwa-gauge--pwa-fast-reliable:not(.pwa-gauge--pwa-installable)\n .pwa-gauge__fast-reliable-badge {\n display: inline;\n}\n\n/* Just installable. */\n.pwa-gauge.pwa-gauge--pwa-installable:not(.pwa-gauge--pwa-fast-reliable)\n .pwa-gauge__installable-badge {\n display: inline;\n}\n\n/* Fast and reliable and installable. */\n.pwa-gauge.pwa-gauge--pwa-fast-reliable.pwa-gauge--pwa-installable\n .pwa-gauge__fast-reliable-installable-badges {\n display: inline;\n}\n\n/* All passing groups. */\n.pwa-gauge.pwa-gauge--all .pwa-gauge__check-circle {\n display: inline;\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.score-delta-badge {\n height: var(--build-score-delta-badge-height);\n padding: 0 var(--base-spacing);\n border-radius: calc(var(--build-score-delta-badge-height) / 2);\n line-height: var(--build-score-delta-badge-height);\n\n background: var(--neutral-color);\n color: var(--inverted-text-color);\n\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n text-align: center;\n}\n\n.score-delta-badge.score-delta-badge--improvement {\n background-color: var(--improvement-color);\n}\n\n.score-delta-badge.score-delta-badge--regression {\n background-color: var(--regression-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.audit-group {\n margin: calc(2 * var(--base-spacing));\n}\n\n.audit-group__header {\n display: flex;\n flex-direction: row;\n}\n\n.audit-group__title {\n font-size: var(--header-font-size);\n margin-bottom: calc(var(--base-spacing) / 2);\n flex-grow: 1;\n}\n\n.audit-group__big-picture-tabs {\n width: 380px;\n display: flex;\n flex-direction: row;\n margin-right: calc(var(--base-spacing) / 2);\n}\n\n.big-picture-tabs__tab {\n flex-grow: 1;\n\n cursor: pointer;\n\n font-size: var(--smaller-font-size);\n text-align: center;\n text-transform: uppercase;\n color: var(--secondary-text-color);\n font-weight: var(--medium-font-weight);\n\n border-bottom: 1px solid var(--base-border-color);\n margin-bottom: calc(var(--base-spacing) / 2);\n}\n\n.big-picture-tabs__tab--selected {\n color: var(--base-text-color);\n border-bottom: 1px solid var(--strong-border-color);\n}\n\n.audit-group__audit {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n height: var(--audit-group-audit-height);\n margin: 0 calc(var(--base-spacing) * -1);\n padding: 0 var(--base-spacing);\n}\n\n.audit-group__audit:hover {\n cursor: pointer;\n background: var(--secondary-background-color);\n}\n\n.audit-group__expand-toggle {\n display: none;\n cursor: pointer;\n}\n\n.audit-group__expand-toggle i {\n transform: rotate(90deg);\n}\n\n.audit-group__audit-title {\n margin-left: var(--base-spacing);\n font-weight: var(--medium-font-weight);\n min-width: 25px;\n max-width: 70%;\n\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.audit-group__audit-diff {\n flex-grow: 1;\n\n display: flex;\n flex-direction: row;\n justify-content: flex-end;\n align-items: center;\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n}\n\n.audit-group__error-message {\n display: flex;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.audit-group__error-message i {\n margin-right: calc(var(--base-spacing) / 2);\n}\n\n.audit-group__diff-arrow {\n color: var(--secondary-text-color);\n font-size: var(--arrow-icon-size);\n line-height: var(--large-icon-size);\n margin: 0 var(--base-spacing);\n}\n\n.audit-group__diff-arrow--regression {\n color: var(--regression-color);\n}\n\n.audit-group__diff-arrow--improvement {\n color: var(--improvement-color);\n}\n\n.audit-group__diff-badge-group {\n --badge-height: 16px;\n\n position: relative;\n height: var(--large-icon-size);\n}\n\n.audit-group__diff-badge-group:last-child {\n margin-right: 20px;\n}\n\n.audit-group__diff-badges {\n position: absolute;\n top: calc(-1 * var(--badge-height) / 5);\n left: calc(100% - var(--badge-height) * 4 / 5);\n\n height: var(--badge-height);\n\n display: flex;\n flex-direction: row;\n}\n\n.audit-group__diff-badge {\n display: inline-block;\n\n height: var(--badge-height);\n min-width: var(--badge-height);\n border-radius: calc(var(--badge-height) * 2);\n\n padding: 0 calc(var(--badge-height) / 4);\n margin-right: calc(-1 * var(--badge-height) / 4);\n\n line-height: var(--badge-height);\n font-size: var(--subtext-font-size);\n text-align: center;\n\n background: var(--neutral-highlight-color);\n color: var(--secondary-text-color);\n}\n\n.audit-group__diff-badge-group--multiple .audit-group__diff-badge:first-child {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n margin-right: 0;\n}\n\n.audit-group__diff-badge-group--multiple .audit-group__diff-badge:last-child {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.audit-group__diff-badge--regression {\n background: var(--regression-color);\n color: var(--inverted-text-color);\n\n z-index: 1;\n}\n\n.audit-group__diff-badge--improvement {\n background: var(--improvement-color);\n color: var(--inverted-text-color);\n}\n\n.audit-group--unchanged .audit-group__header {\n cursor: pointer;\n}\n\n.audit-group--unchanged .audit-group__audit-diff {\n display: none;\n}\n\n.audit-group--unchanged .audit-group__audit:hover .audit-group__audit-diff {\n display: flex;\n}\n\n.audit-group--unchanged .audit-group__expand-toggle {\n display: block;\n}\n\n.audit-group--expanded .audit-group__expand-toggle i {\n transform: rotate(-90deg);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.lhr-comparison-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n margin-right: var(--base-spacing);\n width: fit-content;\n padding: var(--base-spacing) calc(var(--base-spacing) * 1.5);\n\n background: var(--highlighted-background-color);\n border: 1px solid var(--base-border-color);\n border-radius: 9999px; /* force fully rounded corners */\n}\n\n.lhr-comparison-legend__label {\n font-family: var(--monospace-font-family);\n font-size: var(--monospace-font-size);\n margin-left: calc(var(--base-spacing) / 2);\n margin-right: calc(var(--base-spacing) * 1.5);\n}\n\n.lhr-comparison-legend__label:last-child {\n margin-right: 0;\n}\n\n.lhr-comparison-legend__chip {\n display: 'block';\n width: var(--base-icon-size);\n height: var(--base-icon-size);\n border-radius: 2px;\n}\n\n.lhr-comparison-legend__chip--regression {\n background: var(--regression-color);\n}\n\n.lhr-comparison-legend__chip--improvement {\n background: var(--improvement-color);\n}\n", "/**\n * @license Copyright 2019 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.lhr-comparison--with-audit-selection {\n width: 40%;\n}\n\n.lhr-comparison__scores-and-dropdowns {\n height: 260px;\n width: calc(100% + 2 * var(--base-spacing));\n padding: var(--base-spacing);\n margin: calc(-1 * var(--base-spacing));\n margin-bottom: var(--base-spacing);\n\n background: var(--highlighted-background-color);\n border-bottom: 1px solid var(--base-border-color);\n}\n\n.lhr-comparison--with-audit-selection .lhr-comparison__scores-and-dropdowns {\n background: none;\n border-bottom: none;\n height: auto;\n margin-bottom: 0;\n padding-bottom: 0;\n}\n\n.lhr-comparison--with-audit-selection .lhr-comparison__dropdowns {\n margin-bottom: 0;\n}\n\n.lhr-comparison__scores-and-dropdowns .container {\n display: flex;\n flex-direction: column;\n align-items: center;\n}\n\n.lhr-comparison__dropdowns {\n display: flex;\n flex-direction: row;\n justify-content: center;\n\n margin-top: calc(var(--base-spacing) / 2);\n margin-bottom: var(--base-spacing);\n}\n\n.lhr-comparison__dropdowns .dropdown {\n margin-right: var(--base-spacing);\n}\n\n.lhr-comparison__legend-container {\n display: flex;\n flex-direction: row;\n justify-content: center;\n}\n\n.lhr-comparison__warning {\n display: flex;\n flex-direction: row;\n align-items: center;\n\n min-height: calc(var(--warning-message-icon-height) * 2);\n margin-bottom: calc(var(--base-spacing) * 2);\n}\n\n.lhr-comparison__warning i {\n font-size: var(--warning-message-icon-height);\n margin: 0 var(--base-spacing);\n}\n\n.lhr-comparison__warning div {\n line-height: 1.5;\n}\n\n.lhr-comparison__warning__lhr-link {\n cursor: pointer;\n color: var(--improvement-color);\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.modal-backdrop {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 10000;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n background: rgb(0, 0, 0, 0.7);\n}\n\n.modal {\n position: relative;\n width: 60vw;\n min-width: 400px;\n max-width: 800px;\n background: var(--highlighted-background-color);\n padding: var(--base-spacing);\n padding-right: calc(var(--base-spacing) * 2);\n}\n\n.modal__close {\n position: absolute;\n top: calc(var(--base-spacing) / 2);\n right: calc(var(--base-spacing) / 2);\n cursor: pointer;\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.lhr-comparison-runtime-diff {\n position: relative;\n}\n\n.lhr-comparison-runtime-diff .lhr-comparison__warning {\n margin-bottom: 0;\n}\n\n.lhr-comparison-runtime-diff__diffs {\n --table-margin: calc(var(--warning-message-icon-height) + 2 * var(--base-spacing));\n\n width: calc(100% - var(--table-margin));\n text-align: left;\n\n margin-left: var(--table-margin);\n}\n\n.lhr-comparison-runtime-diff__close {\n position: absolute;\n top: calc(var(--base-spacing) / 2);\n right: calc(var(--base-spacing) / 2);\n cursor: pointer;\n}\n\n.lhr-comparison-runtime-diff table {\n width: 100%;\n border-collapse: collapse;\n}\n\n.lhr-comparison-runtime-diff table th {\n font-weight: var(--medium-font-weight);\n}\n\n.lhr-comparison-runtime-diff table tbody td {\n padding: calc(var(--base-spacing) / 2);\n}\n\n.lhr-comparison-runtime-diff table tbody tr:nth-child(even) {\n background: var(--secondary-background-color);\n}\n", "/**\n * @license Copyright 2020 Google Inc. All Rights Reserved.\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n */\n\n.toast {\n padding: calc(var(--base-spacing));\n background: var(--neutral-color);\n color: var(--inverted-text-color);\n}\n\n.toast--error {\n color: var(--fail-color);\n}\n", "/* roboto-cyrillic-ext-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-cyrillic-ext-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* roboto-cyrillic-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-cyrillic-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* roboto-greek-ext-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-greek-ext-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+1F00-1FFF;\n}\n/* roboto-greek-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-greek-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+0370-03FF;\n}\n/* roboto-vietnamese-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-vietnamese-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n/* roboto-latin-ext-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-latin-ext-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* roboto-latin-400-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-latin-400-normal.woff2') format('woff2'), url('./files/roboto-all-400-normal.woff') format('woff');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n", "/* roboto-cyrillic-ext-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-cyrillic-ext-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* roboto-cyrillic-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-cyrillic-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* roboto-greek-ext-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-greek-ext-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+1F00-1FFF;\n}\n/* roboto-greek-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-greek-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+0370-03FF;\n}\n/* roboto-vietnamese-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-vietnamese-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n/* roboto-latin-ext-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-latin-ext-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* roboto-latin-500-normal*/\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-latin-500-normal.woff2') format('woff2'), url('./files/roboto-all-500-normal.woff') format('woff');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n", "/* roboto-mono-cyrillic-ext-400-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-mono-cyrillic-ext-400-normal.woff2') format('woff2'), url('./files/roboto-mono-all-400-normal.woff') format('woff');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* roboto-mono-cyrillic-400-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-mono-cyrillic-400-normal.woff2') format('woff2'), url('./files/roboto-mono-all-400-normal.woff') format('woff');\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* roboto-mono-greek-400-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-mono-greek-400-normal.woff2') format('woff2'), url('./files/roboto-mono-all-400-normal.woff') format('woff');\n unicode-range: U+0370-03FF;\n}\n/* roboto-mono-vietnamese-400-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-mono-vietnamese-400-normal.woff2') format('woff2'), url('./files/roboto-mono-all-400-normal.woff') format('woff');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n/* roboto-mono-latin-ext-400-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-mono-latin-ext-400-normal.woff2') format('woff2'), url('./files/roboto-mono-all-400-normal.woff') format('woff');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* roboto-mono-latin-400-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/roboto-mono-latin-400-normal.woff2') format('woff2'), url('./files/roboto-mono-all-400-normal.woff') format('woff');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n", "/* roboto-mono-cyrillic-ext-500-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-mono-cyrillic-ext-500-normal.woff2') format('woff2'), url('./files/roboto-mono-all-500-normal.woff') format('woff');\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* roboto-mono-cyrillic-500-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-mono-cyrillic-500-normal.woff2') format('woff2'), url('./files/roboto-mono-all-500-normal.woff') format('woff');\n unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* roboto-mono-greek-500-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-mono-greek-500-normal.woff2') format('woff2'), url('./files/roboto-mono-all-500-normal.woff') format('woff');\n unicode-range: U+0370-03FF;\n}\n/* roboto-mono-vietnamese-500-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-mono-vietnamese-500-normal.woff2') format('woff2'), url('./files/roboto-mono-all-500-normal.woff') format('woff');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;\n}\n/* roboto-mono-latin-ext-500-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-mono-latin-ext-500-normal.woff2') format('woff2'), url('./files/roboto-mono-all-500-normal.woff') format('woff');\n unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* roboto-mono-latin-500-normal*/\n@font-face {\n font-family: 'Roboto Mono';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url('./files/roboto-mono-latin-500-normal.woff2') format('woff2'), url('./files/roboto-mono-all-500-normal.woff') format('woff');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n", "/* material-icons-base-400-normal*/\n@font-face {\n font-family: 'Material Icons';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url('./files/material-icons-base-400-normal.woff2') format('woff2'), url('./files/material-icons-base-400-normal.woff') format('woff');\n \n}\n.material-icons {\n font-family: 'Material Icons';\n font-weight: normal;\n font-style: normal;\n font-size: 24px; /* Preferred icon size */\n display: inline-block;\n line-height: 1;\n text-transform: none;\n letter-spacing: normal;\n word-wrap: normal;\n white-space: nowrap;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n}"],
5
+ "mappings": "AAMA,gBACE,cACA,4BACA,6BAGF,wBAEE,yBACA,kBACA,UAGF,mBACE,cACA,4BACA,6BACA,sCAGF,gBACE,cACA,4BACA,6BA7BF,mBA+BE,mCCxBF,eACE,0BACA,kCACA,kBAGF,2CAEE,kBACA,oBAEA,kBACA,UAEA,uBACA,mEACA,qBAIF,sBACE,cACA,kDACA,2CAEA,mDACA,kDAEA,uBACA,WAIF,qBACE,cACA,YACA,SACA,0BACA,gBACA,uBAEA,kBACA,0CACA,sCAEA,kDACA,iCAEA,2BAEA,mCACA,oCACA,mBACA,kBAIF,wDAEE,mBACA,UACA,2DAIF,sDAEE,mBACA,UACA,+DCnEF,MAEE,wBACA,yBACA,0BACA,0BACA,0BACA,0BACA,0BACA,0BACA,0BACA,yBACA,yBACA,2BACA,2BACA,0BACA,0BACA,0BACA,0BACA,0BACA,6BACA,6BACA,4BACA,4BAGA,yCACA,8CACA,4CACA,uDAEA,8CACA,oDACA,oDACA,mDAEA,2CACA,6CACA,+CAEA,qCACA,yCACA,mCAEA,2CACA,gDACA,uCACA,iDACA,2DACA,6CACA,kDAEA,uCACA,iDACA,2DACA,0CACA,6CAEA,2DACA,wBACA,0BACA,6GAGA,+BACA,8BACA,wBACA,yBACA,uBACA,4BACA,0BACA,0BAEA,uBACA,wBACA,wBAEA,qBACA,sBAGA,2BACA,oDACA,gEACA,0GAIA,4BACA,qCAEA,mBACA,0BAEA,uCAEA,oBACA,sDACA,8CAEA,0BAEA,+BAEA,iCAEA,yBAEA,oCACA,mCAEA,oCAGF,UAEE,gCACA,oCACA,oCACA,6BACA,wCAGF,EACE,sBArIF,SAuIE,mCACA,kCAGF,MACE,kBAGF,WACE,4BACA,kEAGF,WACE,WACA,gBACA,gBAvJF,cA2JA,kBAME,kCACA,oCAGF,UACE,cACA,2BAGF,UACE,qBACA,0BAGF,UACE,aACA,mBACA,mBAGF,cACE,kBAGF,iBACE,kCAGF,mBACE,+BAGF,kBACE,8BAGF,YACE,wBAGF,eACE,2BAGF,YACE,wBAGF,eACE,mCAGF,EACE,qBAGF,kBACE,6BAGF,mBACE,kBCxNF,KACE,YACA,iBACA,kBAGF,mBACE,eACA,MACA,OACA,YACA,aAEA,aACA,mBACA,uBAEA,gCACA,aAGF,iBACE,kBACA,WACA,yBACA,2BCzBF,SACE,kBACA,YACA,aAEA,aACA,sBACA,mBACA,uBAGF,qBACE,kBAlBF,QAyBA,yBACE,WACA,YACA,iBAGF,sBACE,kBACA,WACA,WACA,iBAnCF,UAsCE,aACA,sBACA,mBACA,uBAGF,eACE,YACA,WACA,yCACA,kCAGF,oBACE,kBACA,wBACA,0BAGF,YACE,eAGF,gBACE,wBACA,+BAGF,iBACE,WACA,aACA,mBAEA,yCACA,8CClEF,4BACE,WACA,iBAEA,aACA,sBACA,mBACA,uBAGF,qBACE,WACA,YCZF,OACE,+CACA,0CACA,6BACA,2BACA,iBCLF,0BACE,WACA,mBCFF,mBACE,+CAPF,kBASE,sCACA,iCAEA,aACA,mBACA,mBACA,uBAEA,eACA,6BACA,sCACA,gBACA,mBAGF,uBACE,qCACA,oCAGF,wBACE,0CACA,4CAGF,2BACE,mBAnCF,mBAsCE,wBACE,cCjCJ,mBACE,UACA,iCACA,4BAEA,kBACA,aACA,mBACA,mBAEA,mCACA,sCAGF,+BACE,gDAGF,0DACE,aAGF,iCACE,kBA7BF,QAmCE,aACA,mBACA,uBAEA,WACA,gCACA,2CAGF,sDACE,2BAGF,yBACE,cACA,yCACA,6BAEA,6BACA,wCAtDF,sBAwDE,0CAEA,mBACA,uBACA,gBAGF,qDACE,0CAGF,6BACE,aAGF,sDACE,cAGF,4CACE,0CAGF,2BACE,YAGF,2BACE,kBACA,yBACA,mBACA,eAvFF,kBA0FE,sCACA,+CAGF,iCACE,0CCzFF,YACE,kBACA,YACA,iBAEA,gBAGF,mBACE,kBACA,iCAEA,aACA,mBAEA,+CACA,iDAGF,yBACE,gCAEA,aACA,mBACA,uBACA,eAEA,gDAGF,2BACE,sDACA,YACA,aACA,mBAGF,6BACE,kBACA,QACA,SACA,+BAEA,UAjDF,mBAmDE,+CACA,eAGF,yBACE,gCAEA,aACA,mBACA,uBAEA,+CAGF,iBACE,gCC5DF,UACE,mDACA,wCAEA,oCACA,gCACA,sCAGF,iBACE,kCACA,2CAGF,iBACE,kBACA,gBACA,YAvBF,gBAyBE,wBAEA,mBACA,eACA,UAEA,oCACA,gCACA,sCAGF,mBACE,kBACA,QACA,oCAEA,UCnCF,mBACE,eACA,8BACA,QACA,SACA,SACA,UACA,oBAEA,kBACA,gBAEA,+CACA,+CAGF,wCACE,kBACA,MACA,OACA,eACA,mBACA,mBAGF,0BACE,eACA,WACA,2CACA,WAEA,YACA,WAtCF,mBAyCE,aACA,mBACA,uBAEA,6CACA,eAGF,+CACE,SAGF,2CACE,eAGF,0BACE,kBACA,sCACA,2CAEA,iDAGF,0BACE,kBACA,yBACA,gEAGF,gCACE,kCAGF,sCACE,kCACA,yCAGF,kCACE,+BAGF,0CACE,aACA,mBACA,mBACA,8BAGF,8DACE,WAGF,mEACE,YAGF,0CACE,aACA,mBACA,mBACA,yCACA,qCClGF,qBACE,yBACA,uCAGF,wBACE,gBACA,4BACA,kBAGF,uCACE,uCAGF,oCArBA,gBAyBA,8BACE,eAEF,6BACE,gBAGF,+EAME,gBACA,eACA,gBACA,uBAGF,wFAIE,iBACA,kBAGF,wCACE,gCArDF,UAyDA,mBACE,gBAKF,8QAKE,UAGF,yBACE,kCClEF,6BACE,oCAGF,4BACE,mCAGF,8BACE,kCACA,0CACA,mCCXF,oBACE,6DAEA,aACA,mBACA,yCACA,qCAGF,yBACE,kBACA,gBACA,6CACA,6BAGF,0BACE,yBACE,iBAIJ,yBACE,kBACA,MACA,SACA,+CAEA,4BAGF,sCACE,oCACA,8KAQF,qCACE,mCACA,4KASF,yBACE,kBACA,MACA,SACA,UAGF,iCACE,kBACA,MACA,SACA,wCAEA,2CACA,mBACA,sCACA,wMAIA,aACA,mBACA,mBAEA,4BAGF,8CACE,SACA,wBAGF,+CACE,uBACA,UAGF,iEAEE,WACA,kCACA,mCACA,2CAGF,gCACE,iBAGF,+DACE,oCAEF,8DACE,mCCzGF,uBACE,aACA,WACA,+BAGF,4BAEE,aACA,YAGA,aACA,sBACA,mBAGF,mCACE,+BACA,uCACA,mBACA,gBACA,uBAGF,mCACE,aACA,mBACA,mBAEA,+BACA,8BACA,6CACA,8DACA,kDAEA,gCACA,iCAEA,yCACA,qCACA,kBAGF,6CACE,2CAGF,wDACE,eAGF,oEACE,mDACA,6BCtDF,OACE,kBAEA,wBACA,yBACA,0CACA,8BAEA,6CACA,2BAEA,yCACA,wCACA,sCACA,kBAGF,WACE,kBACA,wBACA,yBAGF,gBACE,UACA,4BACA,qBACA,uCAEA,gCAGF,sBACE,uBACA,yBAEA,kBACA,4CACA,uCAEA,6BACA,+BA/CF,kBAkDE,gCAGF,wDAEE,kBAvDF,QA6DE,wBAEA,yBAGF,0CACE,oCAGF,yCACE,mCAGF,8DACE,gCAGF,6DACE,+BCzEF,UACE,WACA,YAGF,sBACE,0BAGF,6CACE,8BAGF,4CACE,6BAGF,WACE,wBACA,yBAIF,iCACE,aAGF,sDAEE,aAGF,iBACE,uCAGF,gCACE,aAGF,kCACE,aAIF,2DACE,eAIF,4HAEE,eAIF,yGAEE,eAIF,uGAEE,eAIF,mKAEE,eCtEF,mBACE,6CACA,8BACA,8DACA,kDAEA,gCACA,iCAEA,yCACA,qCACA,kBAGF,kDACE,0CAGF,iDACE,yCCnBF,aACE,qCAGF,qBACE,aACA,mBAGF,oBACE,kCACA,4CACA,YAGF,+BACE,YACA,aACA,mBACA,2CAGF,uBACE,YAEA,eAEA,mCACA,kBACA,yBACA,kCACA,sCAEA,iDACA,4CAGF,iCACE,6BACA,mDAGF,oBACE,aACA,mBACA,mBAEA,uCACA,wCACA,8BAGF,0BACE,eACA,6CAGF,4BACE,aACA,eAGF,8BACE,wBAGF,0BACE,gCACA,sCACA,eACA,cAEA,gBACA,uBACA,mBAGF,yBACE,YAEA,aACA,mBACA,yBACA,mBACA,yCACA,qCAGF,4BACE,aACA,gBACA,uBACA,mBAGF,8BACE,2CAGF,yBACE,kCACA,iCACA,mCACA,6BAGF,qCACE,8BAGF,sCACE,+BAGF,+BACE,qBAEA,kBACA,8BAGF,0CACE,kBAGF,0BACE,kBACA,uCACA,8CAEA,2BAEA,aACA,mBAGF,yBACE,qBAEA,2BACA,8BACA,4CAEA,wCACA,gDAEA,gCACA,mCACA,kBAEA,0CACA,kCAGF,8EACE,0BACA,6BACA,eAGF,6EACE,yBACA,4BAGF,qCACE,mCACA,iCAEA,UAGF,sCACE,oCACA,iCAGF,6CACE,eAGF,iDACE,aAGF,2EACE,aAGF,oDACE,cAGF,qDACE,yBClMF,uBACE,aACA,mBACA,mBAEA,iCACA,kBACA,4DAEA,+CACA,0CAhBF,qBAoBA,8BACE,yCACA,qCACA,0CACA,6CAGF,yCACE,eAGF,6BACE,gBACA,4BACA,6BAlCF,kBAsCA,yCACE,mCAGF,0CACE,oCCrCF,sCACE,UAGF,sCACE,aACA,2CACA,4BACA,sCACA,kCAEA,+CACA,iDAGF,4EACE,gBACA,mBACA,YACA,gBACA,iBAGF,iEACE,gBAGF,iDACE,aACA,sBACA,mBAGF,2BACE,aACA,mBACA,uBAEA,yCACA,kCAGF,qCACE,iCAGF,kCACE,aACA,mBACA,uBAGF,yBACE,aACA,mBACA,mBAEA,wDACA,4CAGF,2BACE,6CACA,6BAGF,6BACE,gBAGF,mCACE,eACA,+BCxEF,gBACE,eAPF,QAYE,cAEA,aACA,mBACA,uBAEA,yBAGF,OACE,kBACA,WACA,gBACA,gBACA,+CACA,4BACA,4CAGF,cACE,kBACA,kCACA,oCACA,eC7BF,6BACE,kBAGF,sDACE,gBAGF,oCACE,mFAEA,uCACA,gBAEA,gCAGF,oCACE,kBACA,kCACA,oCACA,eAGF,mCACE,WACA,yBAGF,sCACE,sCAGF,4CACE,sCAGF,4DACE,6CCtCF,OACE,kCACA,gCACA,iCAGF,cACE,wBCZF,WACE,mBACA,kBACA,kBACA,gBACA,iJACA,iFAGF,WACE,mBACA,kBACA,kBACA,gBACA,6IACA,yDAGF,WACE,mBACA,kBACA,kBACA,gBACA,8IACA,0BAGF,WACE,mBACA,kBACA,kBACA,gBACA,0IACA,0BAGF,WACE,mBACA,kBACA,kBACA,gBACA,+IACA,yGAGF,WACE,mBACA,kBACA,kBACA,gBACA,8IACA,2GAGF,WACE,mBACA,kBACA,kBACA,gBACA,0IACA,yJC5DF,WACE,mBACA,kBACA,kBACA,gBACA,iJACA,iFAGF,WACE,mBACA,kBACA,kBACA,gBACA,6IACA,yDAGF,WACE,mBACA,kBACA,kBACA,gBACA,8IACA,0BAGF,WACE,mBACA,kBACA,kBACA,gBACA,0IACA,0BAGF,WACE,mBACA,kBACA,kBACA,gBACA,+IACA,yGAGF,WACE,mBACA,kBACA,kBACA,gBACA,8IACA,2GAGF,WACE,mBACA,kBACA,kBACA,gBACA,0IACA,yJC5DF,WACE,wBACA,kBACA,kBACA,gBACA,2JACA,iFAGF,WACE,wBACA,kBACA,kBACA,gBACA,uJACA,yDAGF,WACE,wBACA,kBACA,kBACA,gBACA,oJACA,0BAGF,WACE,wBACA,kBACA,kBACA,gBACA,yJACA,yGAGF,WACE,wBACA,kBACA,kBACA,gBACA,wJACA,2GAGF,WACE,wBACA,kBACA,kBACA,gBACA,oJACA,yJCnDF,WACE,wBACA,kBACA,kBACA,gBACA,2JACA,iFAGF,WACE,wBACA,kBACA,kBACA,gBACA,uJACA,yDAGF,WACE,wBACA,kBACA,kBACA,gBACA,oJACA,0BAGF,WACE,wBACA,kBACA,kBACA,gBACA,yJACA,yGAGF,WACE,wBACA,kBACA,kBACA,gBACA,wJACA,2GAGF,WACE,wBACA,kBACA,kBACA,gBACA,oJACA,yJCnDF,WACE,2BACA,kBACA,kBACA,gBACA,0JAGF,gBACE,2BACA,gBACA,kBACA,eACA,qBACA,cACA,oBACA,sBACA,iBACA,mBACA,cACA,mCACA,kCACA",
6
+ "names": []
7
+ }
package/dist/1.js ADDED
@@ -0,0 +1,12 @@
1
+ (()=>{var Z1=Object.create;var be=Object.defineProperty,R1=Object.defineProperties,B1=Object.getOwnPropertyDescriptor,k1=Object.getOwnPropertyDescriptors,V1=Object.getOwnPropertyNames,ie=Object.getOwnPropertySymbols,G1=Object.getPrototypeOf,Pe=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable;var qe=(e,t,r)=>t in e?be(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,L=(e,t)=>{for(var r in t||(t={}))Pe.call(t,r)&&qe(e,r,t[r]);if(ie)for(var r of ie(t))Ke.call(t,r)&&qe(e,r,t[r]);return e},H=(e,t)=>R1(e,k1(t));var Ee=(e,t)=>{var r={};for(var a in e)Pe.call(e,a)&&t.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&ie)for(var a of ie(e))t.indexOf(a)<0&&Ke.call(e,a)&&(r[a]=e[a]);return r};var V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var W1=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of V1(t))!Pe.call(e,i)&&i!==r&&be(e,i,{get:()=>t[i],enumerable:!(a=B1(t,i))||a.enumerable});return e};var X=(e,t,r)=>(r=e!=null?Z1(G1(e)):{},W1(t||!e||!e.__esModule?be(r,"default",{value:e,enumerable:!0}):r,e));var G=(e,t,r)=>new Promise((a,i)=>{var s=c=>{try{f(r.next(c))}catch(u){i(u)}},o=c=>{try{f(r.throw(c))}catch(u){i(u)}},f=c=>c.done?a(c.value):Promise.resolve(c.value).then(s,o);f((r=r.apply(e,t)).next())});var mt=V((p4,er)=>{er.exports="./assets/loading-spinner-N6LEBK7Y.svg"});var vt=V((M4,nr)=>{nr.exports="./assets/favicon-PWXHY3O5.svg"});var Ct=V((k4,ir)=>{ir.exports="./assets/confetti-NE5ZCURM.svg"});var yt=V((V4,sr)=>{sr.exports="./assets/logo-7LKJDYBP.svg"});var q=V((l3,wt)=>{"use strict";function Ze(e,t){if(Array.isArray(e)){if(!Array.isArray(t))return t;for(let r=0;r<Math.max(e.length,t.length);r++)e[r]=r<t.length?Ze(e[r],t[r]):e[r];return e}else if(typeof e=="object"&&e!==null){if(typeof t!="object"||t===null)return t;let r=e,a=t,i=new Set(Object.keys(r)),s=new Set(Object.keys(a));for(let o of new Set([...i,...s]))r[o]=o in a?Ze(r[o],a[o]):r[o];return e}else return t}function xt(e,t){let r=e.replace(/([a-z])([A-Z])/g,"$1-$2");return t&&t.alphanumericOnly&&(r=r.replace(/[^a-z0-9]+/gi,"-").replace(/-+/g,"-").replace(/(^-|-$)/g,"")),r.toLowerCase()}function zt(e,t){let r=new Map;for(let a of e){let i=t(a),s=r.get(i)||[];s.push(a),r.set(i,s)}return r}function dr(e,t){let r,a=()=>{r&&clearTimeout(r),r=void 0},i=(...s)=>{r&&clearTimeout(r),r=setTimeout(()=>e(...s),t)};return i.cancel=a,i}wt.exports={merge:Ze,kebabCase:xt,debounce:dr,range(e,t,r=1){let a=[];for(let i=e;i<t;i+=r)a.push(i);return a},startCase(e){return xt(e).split("-").map(t=>`${t.slice(0,1).toUpperCase()}${t.slice(1)}`).join(" ")},padStart(e,t,r=" "){return e.length>=t?e:`${r.repeat(t)}${e}`.slice(-t)},padEnd(e,t,r=" "){return e.length>=t?e:`${e}${r.repeat(t)}`.slice(0,t)},isEqual(e,t,r=0){if(r>100||typeof e!=typeof t)return!1;if(Number.isNaN(e)&&Number.isNaN(t))return!0;if(typeof e!="object")return e===t;if(e===t)return!0;if(!e||!t)return!1;if(Array.isArray(e))return Array.isArray(t)?e.every((o,f)=>this.isEqual(o,t[f]))&&e.length===t.length:!1;let a=Object.keys(e).sort(),i=Object.keys(t).sort();return a.every(o=>this.isEqual(e[o],t[o],r+1))&&this.isEqual(a,i)},cloneDeep(e){return JSON.parse(JSON.stringify(e))},uniqBy(e,t){let r=new Set,a=[];for(let i of e){let s=t(i);r.has(s)||(r.add(s),a.push(i))}return a},groupBy(e,t){return[...zt(e,t).values()]},groupIntoMap:zt,maxBy(e,t){let r,a=-1/0;for(let i of e){let s=t(i);s>a&&(r=i,a=s)}return r},minBy(e,t){return this.maxBy(e,r=>-t(r))},sortBy(e,t){return e.slice().sort((r,a)=>t(r)-t(a))},pick(e,t){let r={};for(let[a,i]of Object.entries(e)){let s=a;!t.includes(s)||(r[s]=i)}return r},omit(e,t,r={}){let a={};for(let[i,s]of Object.entries(e)){let o=i;t.includes(o)||r.dropUndefined&&s===void 0||(a[o]=s)}return a},shortId(e){return e.replace(/-/g,"").slice(0,12)},pluralize(e,t,r){return r=r||`${e}s`,t===1?e:r},uniqueId:(()=>{let e=1;return()=>e++})()}});var Ht=V((f3,Dt)=>{"use strict";var $=q(),pr="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin urna nunc, molestie sed hendrerit et, vulputate vitae mauris. Sed tempor vitae risus vel hendrerit. Nulla vestibulum malesuada erat vitae laoreet. Phasellus sodales vehicula dolor, dictum ullamcorper metus aliquam id. Nullam porttitor posuere purus id rhoncus. Sed et mi ligula. Donec imperdiet nulla sit amet justo cursus, id tempus ex accumsan. Maecenas ultricies elit eget lectus posuere vestibulum. Cras vestibulum neque nec justo congue feugiat non id dui. Pellentesque dapibus ac orci sed malesuada. Sed rhoncus vitae lorem eget facilisis. Donec auctor tortor a tortor egestas, vel condimentum lacus auctor.";function Lt(e){return e.startsWith("a11y")?"accessibility":e.startsWith("seo")?"seo":e.startsWith("best-practices")?"best-practices":e.startsWith("pwa")?"pwa":"performance"}function pe(e){if(e==="cumulative-layout-shift"||e==="first-contentful-paint"||e==="first-meaningful-paint"||e==="speed-index"||e==="interactive"||e==="first-cpu-idle"||e==="max-potential-fid")return"metrics";if(e.startsWith("diagnostic-"))return"diagnostics";if(e.startsWith("uses-"))return"load-opportunities";if(e.startsWith("a11y-aria"))return"a11y-aria";if(e.startsWith("a11y"))return"a11y-best-practices";if(e.startsWith("seo"))return"seo-content";if(e.startsWith("best-practices"))return"best-practices";if(e.startsWith("pwa-fast-reliable"))return"pwa-fast-reliable";if(e.startsWith("pwa-installable"))return"pwa-installable";if(e.startsWith("pwa-optimized"))return"pwa-optimized"}function me(e,t){let a=e*.1;return(t.next()-.5)*2*a+e}function mr(e,t,r){let a={},i=pr.split(" ");for(let d of t){let{auditId:p,averageNumericValue:v,averageWastedMs:g,unit:x="items"}=d,z=pe(p);if(typeof v=="number"){let h=me(v,r),w=1-Math.min(1,Math.max((h-1e3)/9e3,0));a[p]={score:w,numericValue:h,scoreDisplayMode:"numeric",displayValue:z==="metrics"?`${(h/1e3).toLocaleString(void 0,{maximumFractionDigits:1})} s`:`${Math.round(h)} ${x}`}}else if(typeof g=="number"){let h=me(g,r),w=1-Math.min(1,Math.max((h-100)/900,0)),D=d.items&&d.items.some(k=>k.averageWastedBytes),T=h*257;a[p]={score:w,scoreDisplayMode:"numeric",displayValue:D?`${(T/1024).toLocaleString(void 0,{maximumFractionDigits:0})} KB`:`${(h/1e3).toLocaleString(void 0,{maximumFractionDigits:1})} s`,details:{type:"opportunity",overallSavingsMs:h,overallSavingsBytes:D?T:void 0,items:[]}}}else{let{passRate:h=1}=d;a[p]={score:r.next()<=h?1:0,scoreDisplayMode:"binary"}}let y={};if(d.items){let h=[];for(let l of d.items){let m=l,{url:D,inclusionRate:T=1}=m,k=Ee(m,["url","inclusionRate"]);if(r.next()>T)continue;let J={};D&&(D.includes("lorempixel")&&(y.thumbnail={key:"url",valueType:"thumbnail"}),y.url={key:"url",valueType:"url",label:"URL"},J.url=new URL(D,e).href);for(let j of Object.keys(k))if(j.startsWith("average")){let ae=j.replace("average","").replace(/^\w/,O1=>O1.toLowerCase()),A1=j.endsWith("Ms")?"timespanMs":"bytes";y[ae]={key:ae,valueType:A1,label:$.startCase(ae)};let M1=k[j];J[ae]=me(M1,r)}else y[j]={key:j,valueType:"text",label:$.startCase(j)},J[j]=k[j];h.push(J)}let w=a[p].details||{type:"table"};w.headings=Object.values(y).map(D=>pe(p)==="load-opportunities"?D:H(L({},D),{itemType:D.valueType,text:D.label,valueType:void 0})),w.items=h,a[p].details=w}a[p].title=$.startCase(p),a[p].description=`Help text for ${$.startCase(p)}. ${i.slice(0,Math.round(p.length*1.5)).join(" ")}.`}let s={},o=$.groupBy(Object.entries(a),d=>Lt(d[0]));for(let d of o){let p=Lt(d[0][0]),v=d.reduce((g,x)=>g+(x[1].score||0),0);s[p]={id:p,title:p.toUpperCase(),score:v/d.length,auditRefs:d.map(([g])=>({id:g,weight:1,group:pe(g)}))}}let f=new Date("2019-08-01T12:00:00").getTime(),c=Math.round(r.next()*1e3*60*60*24*7),u=new Date(f+c).toISOString();return{requestedUrl:e,finalUrl:e,categories:s,audits:a,fetchTime:u,lighthouseVersion:"5.2.0",configSettings:{channel:"cli"},categoryGroups:{metrics:{title:"Metrics"},"load-opportunities":{title:"Opportunities"},diagnostics:{title:"Diagnostics"},accessibility:{title:"Accessibility"},seo:{title:"SEO"},"best-practices":{title:"Best Practices"},"pwa-fast-reliable":{title:"PWA Fast & Reliable"},"pwa-installable":{title:"PWA Installable"},"pwa-optimized":{title:"PWA Optimized"}},runWarnings:[],userAgent:"Chrome!",environment:{hostUserAgent:"",networkUserAgent:"",benchmarkIndex:500},timing:{total:1,entries:[]},i18n:{rendererFormattedStrings:{},icuMessagePaths:{}}}}Dt.exports={createLHR:mr,generateNumericValue:me,getGroupForAuditId:pe}});var R=V((u3,Bt)=>{"use strict";var vr=q(),{getGroupForAuditId:Cr}=Ht();function Re(e,t="audit"){if(e===0)return"neutral";let r=e<0;return t==="score"&&(r=e>0),r?"improvement":"regression"}function yr(e){switch(e.type){case"error":return"regression";case"score":return Re(K(e).delta,"score");case"numericValue":case"itemCount":case"itemDelta":return Re(K(e).delta,"audit");case"itemAddition":return"regression";case"itemRemoval":return"improvement";default:return"neutral"}}function At(e){if(!e.length)return"no change";if(e.some(r=>r.type==="itemAddition"))return"added";if(e.some(r=>r.type==="itemRemoval"))return"removed";let t=e.filter(r=>r.type==="itemDelta");return t.every(r=>r.compareValue>r.baseValue)?"worse":t.every(r=>r.compareValue<r.baseValue)?"better":t.length?"ambiguous":"no change"}function We(e,t,r){return e.filter(a=>{let i="compareItemIndex"in a?a.compareItemIndex:void 0,s="baseItemIndex"in a?a.baseItemIndex:void 0;return typeof i=="number"?i===t:typeof s=="number"?s===r:!1})}function Be(e,t,r){return At(We(e,t,r))}function Nt(e,t,r){let i=We(e,t,r).filter(Mt);if(!!i.length)return Math.max(...i.map(s=>K(s).delta))}function br(e){return e.some(t=>t==="regression")?"regression":e.some(t=>t==="neutral")?"neutral":"improvement"}function Mt(e){return["score","numericValue","itemCount","itemDelta"].includes(e.type)}function Ft(e){return typeof e!="number"?"error":e>=.9?"pass":e>=.5?"average":"fail"}function Pr(e,t){return typeof e!="number"?"error":e<=t[0]?"pass":e<=t[1]?"average":"fail"}function gr(e){let t=Mt(e)?K(e).absoluteDelta:0;return e.type==="error"?1e12:e.type==="score"?1e10*t:e.type==="numericValue"?1e8*Math.max(t/1e3,1):e.type==="itemCount"?1e6*t:e.type==="itemAddition"||e.type==="itemRemoval"?1e5:e.type==="itemDelta"?Math.min(Math.max(t/100,1),1e5-1):0}function K(e){let{baseValue:t,compareValue:r}=e,a=r-t,i=Math.abs(a);if(a===0)return{delta:a,absoluteDelta:i,percentDelta:0,percentAbsoluteDelta:0};let s=t?a/t:1,o=Math.abs(s);return{delta:a,absoluteDelta:i,percentDelta:s,percentAbsoluteDelta:o}}function ee(e){let{auditId:t,type:r,baseValue:a,compareValue:i,baseItemIndex:s,compareItemIndex:o,itemKey:f}=e;if(r==="itemAddition"){if(typeof o!="number")throw new Error("compareItemIndex is not set");return{auditId:t,type:r,compareItemIndex:o}}if(r==="itemRemoval"){if(typeof s!="number")throw new Error("baseItemIndex is not set");return{auditId:t,type:r,baseItemIndex:s}}if(r==="displayValue")throw new Error("Do not use createAuditDiff for displayValue, just manually create");if(typeof i!="number"||typeof a!="number"||!Number.isFinite(a)||!Number.isFinite(i)||r==="error")return{auditId:t,type:"error",attemptedType:r,baseValue:a||NaN,compareValue:i||NaN};let c={auditId:t,type:"score",baseValue:a,compareValue:i};if(r==="itemDelta"){if(typeof f!="string")throw new Error("itemKey is not set");if(typeof s!="number"&&typeof o!="number")throw new Error("Either baseItemIndex or compareItemIndex must be set");return H(L({},c),{type:"itemDelta",baseItemIndex:s,compareItemIndex:o,itemKey:f})}return H(L({},c),{type:r})}function hr(e,t,r,a){let i=[];for(let s of Object.keys(t.item)){let o=t.item[s],f=r.item[s];typeof o!="number"||typeof f!="number"||!a.some(c=>c.key===s)||i.push(ee({auditId:e,type:"itemDelta",itemKey:s,baseItemIndex:t.index,compareItemIndex:r.index,baseValue:o,compareValue:f}))}return i}function Ot(e,t,r){let a=[];for(let i of e){if(i.type!=="itemAddition"&&i.type!=="itemRemoval")continue;let s=i.type==="itemAddition"?r[i.compareItemIndex]:t[i.baseItemIndex];for(let o of Object.keys(s)){let f=i.type==="itemAddition"?0:s[o],c=i.type==="itemAddition"?s[o]:0;if(typeof c!="number"||typeof f!="number")continue;let u=i.type==="itemAddition"?"compareItemIndex":"baseItemIndex",l=i.type==="itemAddition"?i.compareItemIndex:i.baseItemIndex;a.push(ee({auditId:i.auditId,type:"itemDelta",itemKey:o,[u]:l,baseValue:f,compareValue:c}))}}return a}function Zt(e){if(e.startsWith("http")&&e.includes("?"))try{let t=new URL(e);t.search="",e=t.href}catch(t){}return e.replace(/www-embed-player-[0-9a-z]+/i,"www-embed-player").replace(/player_ias-[0-9a-z]+/i,"player_ias").replace(/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,"UUID").replace(/:[0-9]{3,5}\//,":PORT/").replace(/(\.|-)[0-9a-f]{6,8}\.(js|css|woff|html|png|jpeg|jpg|svg)/i,"$1HASH.$2")}function ke(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>ke(t));{let t=e,a=Object.keys(e).filter(s=>!s.startsWith("_")),i={};for(let s of a)i[s]=ke(t[s]);return i}}function Ve(e){if(typeof e.url=="string"&&e.url)return e.url;let t=e.source;return typeof t=="string"?t:t&&t.url?`${t.url}:${t.line}:${t.column}`:typeof e.label=="string"?e.label:typeof e.groupLabel=="string"?e.groupLabel:typeof e.name=="string"?e.name:typeof e.statistic=="string"?e.statistic:e.entity&&typeof e.entity.text=="string"?e.entity.text:JSON.stringify(ke(e))}function Rt(e,t){let r=vr.groupIntoMap([...e.map((i,s)=>({item:i,kind:"base",index:s})),...t.map((i,s)=>({item:i,kind:"compare",index:s}))],i=>Zt(Ve(i.item))),a=[];for(let i of r.values()){let s=i.filter(f=>f.kind==="base"),o=i.filter(f=>f.kind==="compare");if(s.length>1||o.length>1){for(let f of i)a.push({[f.kind]:f});continue}a.push({base:s[0],compare:o[0]})}return a}function xr(e,t){let r=["added","worse","ambiguous","removed","better","no change"];return t.map(a=>H(L({},a),{diffs:We(e,a.compare&&a.compare.index,a.base&&a.base.index)})).sort((a,i)=>{let s=a.compare&&a.compare.index,o=a.base&&a.base.index,f=i.compare&&i.compare.index,c=i.base&&i.base.index,u=r.indexOf(Be(e,s,o)),l=r.indexOf(Be(e,f,c)),m=Ve(a.compare&&a.compare.item||a.base&&a.base.item||{}),d=Ve(i.compare&&i.compare.item||i.base&&i.base.item||{}),p=Nt(e,s,o),v=Nt(e,f,c);return u===l?typeof p=="number"&&typeof v=="number"?v-p:m.localeCompare(d):u-l})}function zr(e,t,r,a){let i=[];for(let{base:s,compare:o}of Rt(t,r))if(s&&o)i.push(...hr(e,s,o,a));else if(o)i.push({type:"itemAddition",auditId:e,compareItemIndex:o.index});else if(s)i.push({type:"itemRemoval",auditId:e,baseItemIndex:s.index});else throw new Error("Impossible");return i}function Xt(e){return e.scoreDisplayMode==="notApplicable"?1:e.scoreDisplayMode==="informative"?0:e.score}function Ge(e){return typeof e.numericValue!="number"&&e.details&&typeof e.details.overallSavingsMs=="number"?e.details.overallSavingsMs:e.numericValue}function Tt(e){return e.scoreDisplayMode==="notApplicable"?0:Ge(e)}function jt(e){return e.details?{items:e.details.items||[],headings:e.details.headings||[]}:{items:[],headings:[]}}function wr(e,t,r={}){let a=e.id||"",{percentAbsoluteDeltaThreshold:i=0}=r,s=[];(typeof e.score=="number"||typeof t.score=="number")&&s.push(ee({auditId:a,type:"score",baseValue:Xt(e),compareValue:Xt(t)})),(typeof Ge(e)=="number"||typeof Ge(t)=="number")&&s.push(ee({auditId:a,type:"numericValue",baseValue:Tt(e),compareValue:Tt(t)})),(typeof e.displayValue=="string"||typeof t.displayValue=="string")&&s.push({auditId:a,type:"displayValue",baseValue:e.displayValue||"",compareValue:t.displayValue||""});let o=!1,f=e.details||{},c=t.details||{};if(f.type!=="debugdata"&&f.items||c.type!=="debugdata"&&c.items){o=!0;let{items:d,headings:p}=jt(e),{items:v,headings:g}=jt(t),x=p.concat(g);s.push(ee({auditId:a,type:"itemCount",baseValue:d.length,compareValue:v.length})),s.push(...zr(a,d,v,x)),r.synthesizeItemKeyDiffs&&s.push(...Ot(s,d,v))}let u=s.filter(d=>d.type==="error"||d.type==="itemAddition"||d.type==="itemRemoval"?!0:d.type==="score"&&!r.forceAllScoreDiffs?Ft(d.baseValue)!==Ft(d.compareValue):d.type==="displayValue"?d.baseValue!==d.compareValue&&!r.skipDisplayValueDiffs:K(d).percentAbsoluteDelta>i);if(u.length===1&&u[0].type==="displayValue")return[];let l=t.score===1&&e.score===1;return Cr(a)!=="metrics"&&u.every(d=>d.type==="displayValue"||d.type==="numericValue")&&(l||o)?[]:u}Bt.exports={findAuditDiffs:wr,getDiffSeverity:gr,getDeltaLabel:Re,getDeltaStats:K,getDiffLabel:yr,getRowLabel:At,getRowLabelForIndex:Be,getMostSevereDiffLabel:br,getMetricScoreLevel:Pr,zipBaseAndCompareItems:Rt,synthesizeItemKeyDiffs:Ot,sortZippedBaseAndCompareItems:xr,replaceNondeterministicStrings:Zt}});var Wt=V((L3,Gt)=>{"use strict";function Lr(e){let t=[],r=e.split(/\[([^\]]+?)\]\((https?:\/\/.*?)\)/g);for(;r.length;){let[a,i,s]=r.splice(0,3);a&&t.push({isLink:!1,text:a}),i&&s&&t.push({isLink:!0,text:i,linkHref:s})}return t}Gt.exports={splitMarkdownLink:Lr}});var b,Y1,se,et,he,ze,J1,A={},we=[],I1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;function W(e,t){for(var r in t)e[r]=t[r];return e}function tt(e){var t=e.parentNode;t&&t.removeChild(e)}function n(e,t,r){var a,i,s,o,f=arguments;if(t=W({},t),arguments.length>3)for(r=[r],a=3;a<arguments.length;a++)r.push(f[a]);if(r!=null&&(t.children=r),e!=null&&e.defaultProps!=null)for(i in e.defaultProps)t[i]===void 0&&(t[i]=e.defaultProps[i]);return o=t.key,(s=t.ref)!=null&&delete t.ref,o!=null&&delete t.key,xe(e,t,o,s)}function xe(e,t,r,a){var i={type:e,props:t,key:r,ref:a,__k:null,__p:null,__b:0,__e:null,l:null,__c:null,constructor:void 0};return b.vnode&&b.vnode(i),i}function C(e){return e.children}function U1(e){if(e==null||typeof e=="boolean")return null;if(typeof e=="string"||typeof e=="number")return xe(null,e,null,null);if(e.__e!=null||e.__c!=null){var t=xe(e.type,e.props,e.key,null);return t.__e=e.__e,t}return e}function M(e,t){this.props=e,this.context=t}function oe(e,t){if(t==null)return e.__p?oe(e.__p,e.__p.__k.indexOf(e)+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?oe(e):null}function rt(e){var t,r;if((e=e.__p)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return rt(e)}}function ge(e){(!e.__d&&(e.__d=!0)&&se.push(e)===1||he!==b.debounceRendering)&&(he=b.debounceRendering,(b.debounceRendering||et)(S1))}function S1(){var e,t,r,a,i,s,o;for(se.sort(function(f,c){return c.__v.__b-f.__v.__b});e=se.pop();)e.__d&&(r=void 0,a=void 0,s=(i=(t=e).__v).__e,(o=t.__P)&&(r=[],a=Le(o,i,W({},i),t.__n,o.ownerSVGElement!==void 0,null,r,s==null?oe(i):s),at(r,i),a!=s&&rt(i)))}function nt(e,t,r,a,i,s,o,f,c){var u,l,m,d,p,v,g,x=r&&r.__k||we,z=x.length;if(f==A&&(f=s!=null?s[0]:z?oe(r,0):null),u=0,t.__k=le(t.__k,function(y){if(y!=null){if(y.__p=t,y.__b=t.__b+1,(m=x[u])===null||m&&y.key==m.key&&y.type===m.type)x[u]=void 0;else for(l=0;l<z;l++){if((m=x[l])&&y.key==m.key&&y.type===m.type){x[l]=void 0;break}m=null}if(d=Le(e,y,m=m||A,a,i,s,o,f,c),(l=y.ref)&&m.ref!=l&&(g||(g=[])).push(l,y.__c||d,y),d!=null){if(v==null&&(v=d),y.l!=null)d=y.l,y.l=null;else if(s==m||d!=f||d.parentNode==null){e:if(f==null||f.parentNode!==e)e.appendChild(d);else{for(p=f,l=0;(p=p.nextSibling)&&l<z;l+=2)if(p==d)break e;e.insertBefore(d,f)}t.type=="option"&&(e.value="")}f=d.nextSibling,typeof t.type=="function"&&(t.l=d)}}return u++,y}),t.__e=v,s!=null&&typeof t.type!="function")for(u=s.length;u--;)s[u]!=null&&tt(s[u]);for(u=z;u--;)x[u]!=null&&I(x[u],x[u]);if(g)for(u=0;u<g.length;u++)it(g[u],g[++u],g[++u])}function le(e,t,r){if(r==null&&(r=[]),e==null||typeof e=="boolean")t&&r.push(t(null));else if(Array.isArray(e))for(var a=0;a<e.length;a++)le(e[a],t,r);else r.push(t?t(U1(e)):e);return r}function q1(e,t,r,a,i){var s;for(s in r)s in t||_e(e,s,null,r[s],a);for(s in t)i&&typeof t[s]!="function"||s==="value"||s==="checked"||r[s]===t[s]||_e(e,s,t[s],r[s],a)}function Qe(e,t,r){t[0]==="-"?e.setProperty(t,r):e[t]=typeof r=="number"&&I1.test(t)===!1?r+"px":r==null?"":r}function _e(e,t,r,a,i){var s,o,f,c,u;if(!((t=i?t==="className"?"class":t:t==="class"?"className":t)==="key"||t==="children"))if(t==="style")if(s=e.style,typeof r=="string")s.cssText=r;else{if(typeof a=="string"&&(s.cssText="",a=null),a)for(o in a)r&&o in r||Qe(s,o,"");if(r)for(f in r)a&&r[f]===a[f]||Qe(s,f,r[f])}else t[0]==="o"&&t[1]==="n"?(c=t!==(t=t.replace(/Capture$/,"")),u=t.toLowerCase(),t=(u in e?u:t).slice(2),r?(a||e.addEventListener(t,$e,c),(e.u||(e.u={}))[t]=r):e.removeEventListener(t,$e,c)):t!=="list"&&t!=="tagName"&&t!=="form"&&!i&&t in e?e[t]=r==null?"":r:typeof r!="function"&&t!=="dangerouslySetInnerHTML"&&(t!==(t=t.replace(/^xlink:?/,""))?r==null||r===!1?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):r==null||r===!1?e.removeAttribute(t):e.setAttribute(t,r))}function $e(e){return this.u[e.type](b.event?b.event(e):e)}function Le(e,t,r,a,i,s,o,f,c){var u,l,m,d,p,v,g,x,z,y,h=t.type;if(t.constructor!==void 0)return null;(u=b.__b)&&u(t);try{e:if(typeof h=="function"){if(x=t.props,z=(u=h.contextType)&&a[u.__c],y=u?z?z.props.value:u.__p:a,r.__c?g=(l=t.__c=r.__c).__p=l.__E:("prototype"in h&&h.prototype.render?t.__c=l=new h(x,y):(t.__c=l=new M(x,y),l.constructor=h,l.render=E1),z&&z.sub(l),l.props=x,l.state||(l.state={}),l.context=y,l.__n=a,m=l.__d=!0,l.__h=[]),l.__s==null&&(l.__s=l.state),h.getDerivedStateFromProps!=null&&W(l.__s==l.state?l.__s=W({},l.__s):l.__s,h.getDerivedStateFromProps(x,l.__s)),m)h.getDerivedStateFromProps==null&&l.componentWillMount!=null&&l.componentWillMount(),l.componentDidMount!=null&&o.push(l);else{if(h.getDerivedStateFromProps==null&&l.t==null&&l.componentWillReceiveProps!=null&&l.componentWillReceiveProps(x,y),!l.t&&l.shouldComponentUpdate!=null&&l.shouldComponentUpdate(x,l.__s,y)===!1){for(l.props=x,l.state=l.__s,l.__d=!1,l.__v=t,t.__e=r.__e,t.__k=r.__k,u=0;u<t.__k.length;u++)t.__k[u]&&(t.__k[u].__p=t);break e}l.componentWillUpdate!=null&&l.componentWillUpdate(x,l.__s,y)}d=l.props,p=l.state,l.context=y,l.props=x,l.state=l.__s,(u=b.__r)&&u(t),l.__d=!1,l.__v=t,l.__P=e,u=l.render(l.props,l.state,l.context),t.__k=le(u!=null&&u.type==C&&u.key==null?u.props.children:u),l.getChildContext!=null&&(a=W(W({},a),l.getChildContext())),m||l.getSnapshotBeforeUpdate==null||(v=l.getSnapshotBeforeUpdate(d,p)),nt(e,t,r,a,i,s,o,f,c),l.base=t.__e,u=l.__h,l.__h=[],u.some(function(w){w.call(l)}),m||d==null||l.componentDidUpdate==null||l.componentDidUpdate(d,p,v),g&&(l.__E=l.__p=null),l.t=null}else t.__e=K1(r.__e,t,r,a,i,s,o,c);(u=b.diffed)&&u(t)}catch(w){b.__e(w,t,r)}return t.__e}function at(e,t){for(var r;r=e.pop();)try{r.componentDidMount()}catch(a){b.__e(a,r.__v)}b.__c&&b.__c(t)}function K1(e,t,r,a,i,s,o,f){var c,u,l,m,d,p=r.props,v=t.props;if(i=t.type==="svg"||i,e==null&&s!=null){for(c=0;c<s.length;c++)if((u=s[c])!=null&&(t.type===null?u.nodeType===3:u.localName===t.type)){e=u,s[c]=null;break}}if(e==null){if(t.type===null)return document.createTextNode(v);e=i?document.createElementNS("http://www.w3.org/2000/svg",t.type):document.createElement(t.type),s=null}if(t.type===null)s!=null&&(s[s.indexOf(e)]=null),p!==v&&(e.data=v);else if(t!==r){if(s!=null&&(s=we.slice.call(e.childNodes)),l=(p=r.props||A).dangerouslySetInnerHTML,m=v.dangerouslySetInnerHTML,!f){if(p===A)for(p={},d=0;d<e.attributes.length;d++)p[e.attributes[d].name]=e.attributes[d].value;(m||l)&&(m&&l&&m.__html==l.__html||(e.innerHTML=m&&m.__html||""))}q1(e,v,p,i,f),t.__k=t.props.children,m||nt(e,t,r,a,t.type!=="foreignObject"&&i,s,o,A,f),f||("value"in v&&v.value!==void 0&&v.value!==e.value&&(e.value=v.value==null?"":v.value),"checked"in v&&v.checked!==void 0&&v.checked!==e.checked&&(e.checked=v.checked))}return e}function it(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(a){b.__e(a,r)}}function I(e,t,r){var a,i,s;if(b.unmount&&b.unmount(e),(a=e.ref)&&it(a,null,t),r||typeof e.type=="function"||(r=(i=e.__e)!=null),e.__e=e.l=null,(a=e.__c)!=null){if(a.componentWillUnmount)try{a.componentWillUnmount()}catch(o){b.__e(o,t)}a.base=a.__P=null}if(a=e.__k)for(s=0;s<a.length;s++)a[s]&&I(a[s],t,r);i!=null&&tt(i)}function E1(e,t,r){return this.constructor(e,r)}function U(e,t,r){var a,i,s;b.__p&&b.__p(e,t),i=(a=r===ze)?null:r&&r.__k||t.__k,e=n(C,null,[e]),s=[],Le(t,a?t.__k=e:(r||t).__k=e,i||A,A,t.ownerSVGElement!==void 0,r&&!a?[r]:i?null:we.slice.call(t.childNodes),s,r||A,a),at(s,e)}function st(e,t){U(e,t,ze)}b={},Y1=function(e){return e!=null&&e.constructor===void 0},M.prototype.setState=function(e,t){var r=this.__s!==this.state&&this.__s||(this.__s=W({},this.state));(typeof e!="function"||(e=e(r,this.props)))&&W(r,e),e!=null&&this.__v&&(this.t=!1,t&&this.__h.push(t),ge(this))},M.prototype.forceUpdate=function(e){this.__v&&(this.t=!0,e&&this.__h.push(e),ge(this))},M.prototype.render=C,se=[],et=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,he=b.debounceRendering,b.__e=function(e,t,r){for(var a;t=t.__p;)if((a=t.__c)&&!a.__p)try{if(a.constructor&&a.constructor.getDerivedStateFromError!=null)a.setState(a.constructor.getDerivedStateFromError(e));else{if(a.componentDidCatch==null)continue;a.componentDidCatch(e)}return ge(a.__E=a)}catch(i){e=i}throw e},ze=A,J1=0;var fe,O,He=[],ot=b.__r;b.__r=function(e){ot&&ot(e),fe=0,(O=e.__c).__H&&(O.__H.t=Te(O.__H.t))};var lt=b.diffed;b.diffed=function(e){lt&&lt(e);var t=e.__c;if(t){var r=t.__H;r&&(r.u=(r.u.some(function(a){a.ref&&(a.ref.current=a.createHandle())}),[]),r.i=Te(r.i))}};var ft=b.unmount;function Ne(e){b.__h&&b.__h(O);var t=O.__H||(O.__H={o:[],t:[],i:[],u:[]});return e>=t.o.length&&t.o.push({}),t.o[e]}function N(e){return ct(pt,e)}function ct(e,t,r){var a=Ne(fe++);return a.__c||(a.__c=O,a.v=[r?r(t):pt(void 0,t),function(i){var s=e(a.v[0],i);a.v[0]!==s&&(a.v[0]=s,a.__c.setState({}))}]),a.v}function F(e,t){var r=Ne(fe++);dt(r.m,t)&&(r.v=e,r.m=t,O.__H.t.push(r),ut(O))}function Z(e){return Fe(function(){return{current:e}},[])}function Fe(e,t){var r=Ne(fe++);return dt(r.m,t)?(r.m=t,r.p=e,r.v=e()):r.v}function Xe(e,t){return Fe(function(){return e},t)}b.unmount=function(e){ft&&ft(e);var t=e.__c;if(t){var r=t.__H;r&&r.o.forEach(function(a){return a.l&&a.l()})}};var ut=function(){};function Q1(){He.some(function(e){e.s=!1,e.__P&&(e.__H.t=Te(e.__H.t))}),He=[]}typeof window!="undefined"&&(De=b.requestAnimationFrame,ut=function(e){(!e.s&&(e.s=!0)&&He.push(e)===1||De!==b.requestAnimationFrame)&&(De=b.requestAnimationFrame,(b.requestAnimationFrame||function(t){var r=function(){clearTimeout(a),cancelAnimationFrame(i),setTimeout(t)},a=setTimeout(r,100),i=requestAnimationFrame(r)})(Q1))});var De;function Te(e){return e.forEach(_1),e.forEach($1),[]}function _1(e){e.l&&e.l()}function $1(e){var t=e.v();typeof t=="function"&&(e.l=t)}function dt(e,t){return!e||t.some(function(r,a){return r!==e[a]})}function pt(e,t){return typeof t=="function"?t(e):t}function je(e){var t,r,a="";if(e)if(typeof e=="object")if(e.push)for(t=0;t<e.length;t++)e[t]&&(r=je(e[t]))&&(a&&(a+=" "),a+=r);else for(t in e)e[t]&&(r=je(t))&&(a&&(a+=" "),a+=r);else typeof e!="boolean"&&!e.call&&(a&&(a+=" "),a+=e);return a}function P(){for(var e=0,t,r="";e<arguments.length;)(t=je(arguments[e++]))&&(r&&(r+=" "),r+=t);return r}var tr=mt(),rr=()=>n("img",{src:tr,alt:"Loading spinner"}),Ae=e=>n("div",{className:P("loading-spinner",{"loading-spinner--container":!e.solo})},n(rr,null));var Y=e=>{let{children:t}=e;return n("div",{className:P("paper",e.className)},t)};function ce(e){let t="https://googlechrome.github.io";window.addEventListener("message",function s(o){o.origin===t&&i&&o.data.opened&&(i.postMessage({lhresults:e},t),window.removeEventListener("message",s))});let r=e.fetchTime,a=`${e.lighthouseVersion}-${e.requestedUrl}-${r}`,i=window.open(`${t}/lighthouse/viewer`,a)}var ue=e=>{let{children:t,lhr:r}=e,[a,i]=N(!1);return n("span",{className:P("lhr-viewer-link",e.className,{"lhr-viewer-link--loading":a}),onClick:s=>G(void 0,null,function*(){if(s.preventDefault(),s.stopImmediatePropagation(),a)return;if(typeof r=="object")return ce(r);i(!0);let o=yield r();i(!1),ce(o)})},t)};var ar=vt(),Me=e=>{let{lhr:t,label:r="Open Report"}=e;return n(ue,{lhr:t},n("div",{className:"lhr-viewer-button",role:"button"},n("img",{src:ar})," ",n("span",null,r)))};var bt=Ct(),de=yt();function Oe(e){if(e.includes("<script>window.__LIGHTHOUSE_JSON__ = ")){let t=e.match(/window\.__LIGHTHOUSE_JSON__ = (.*?});<\/script>/);t&&(e=t[1])}if(e.trim().charAt(0)==="{")try{let t=JSON.parse(e);return t.lighthouseVersion?t:new Error("JSON did not contain a lighthouseVersion")}catch(t){return new Error(`File was not valid JSON (${t.message})`)}return new Error("File was not a valid report")}function Pt(e,t){let r=new URL(e.finalUrl),a=new URL(t.finalUrl);return r.hostname!==a.hostname?"hostname":r.pathname!==a.pathname?"pathname":r.search!==a.search?"path":r.pathname.length<5?"timestamp-hostname":"timestamp-pathname"}var or=e=>{let{filename:t,lhr:r}=e.report,a=new URL(r.finalUrl),i=new Date(r.fetchTime).toLocaleString(),s={filename:t,hostname:a.hostname,pathname:a.pathname,path:`${a.pathname}${a.search}`,"timestamp-hostname":`${i} (${a.hostname})`,"timestamp-pathname":`${i} (${a.pathname})`},o=`${a.href} at ${i}`;return n("span",{title:o},s[e.displayType])};function gt(e,t){let r=t[0].name,a=new FileReader;a.readAsText(t[0],"utf-8"),a.addEventListener("load",()=>{if(typeof a.result!="string"){e.addToast({message:"File was not readable as text!",level:"error"});return}let i=Oe(a.result);if(i instanceof Error){e.addToast({message:`Invalid file: ${i.message}`,level:"error"});return}e.setReport({filename:r,data:a.result,lhr:i})}),a.addEventListener("error",()=>{e.addToast({message:"File was not readable!",level:"error"})})}function lr(e,t,r,a){a.target instanceof HTMLElement&&(a.stopPropagation(),a.preventDefault(),r(!0),t.current=a.target)}function fr(e,t,r,a){a.target===t.current&&(a.stopPropagation(),a.preventDefault(),r(!1),t.current=void 0)}function cr(e,t,r,a){!t.current||(a.stopPropagation(),a.preventDefault())}function ur(e,t,r,a){!t.current||a instanceof DragEvent&&(!a.dataTransfer||(a.stopPropagation(),a.preventDefault(),r(!1),t.current=void 0,gt(e,a.dataTransfer.files)))}var S=e=>{let[t,r]=N(!1),a=Z(void 0),i=c=>lr(e,a,r,c),s=c=>fr(e,a,r,c),o=c=>cr(e,a,r,c),f=c=>ur(e,a,r,c);return F(()=>{if(e.dragTarget==="document")return document.addEventListener("dragenter",i),document.addEventListener("dragleave",s),document.addEventListener("dragover",o),document.addEventListener("drop",f),()=>{document.removeEventListener("dragenter",i),document.removeEventListener("dragleave",s),document.removeEventListener("dragover",o),document.removeEventListener("drop",f)}},[e.dragTarget,e.addToast,e.setReport,a.current]),n("div",{className:P(`report-upload-box report-upload-box--${e.variant}`,{"report-upload-box--drop":t,"report-upload-box--document-target":e.dragTarget==="document"}),onDragEnter:i,onDragLeave:s,onDragOver:o,onDrop:f},n("div",{className:"report-upload-box__drop-outline"},"Drop your report to upload"),n("span",{className:"report-upload-box__label"},e.variant==="base"?"Base":"Compare"),n("div",{className:"report-upload-box__file"},e.report?n(or,{report:e.report,displayType:e.displayType}):n(C,null)),n("div",{className:"report-upload-box__lhr-link"},e.report&&e.showOpenLhrLink?n(Me,{lhr:e.report.lhr,label:"View Report"}):null),n("div",{className:"report-upload-box__spacer"}),n("label",{className:"report-upload-box__upload"},"Upload",n("input",{type:"file",style:{display:"none"},onChange:c=>{let u=c.target;if(!(u instanceof HTMLInputElement))return;let l=u.files;!l||l.length!==1||gt(e,l)}})))};var ht=e=>n("div",{className:"landing"},n("div",{className:"landing__background"},n("img",{src:bt,alt:"Lighthouse CI Background Image"})),n(Y,{className:"landing__paper"},n("a",{className:"landing__info-icon",href:"https://github.com/GoogleChrome/lighthouse-ci",target:"_blank",rel:"noopener noreferrer"},n("i",{className:"material-icons"},"info")),n("img",{className:"landing__logo",src:de,alt:"Lighthouse Logo"}),n("h1",null,"Lighthouse CI Diff"),n("span",null,"Drag or upload two Lighthouse reports to start comparing!"),n("div",{className:"landing__upload"},n(S,{variant:"base",report:e.baseReport,setReport:e.setBaseReport,addToast:e.addToast,displayType:"filename",dragTarget:e.baseReport?"self":"document"}),n(S,{variant:"compare",report:e.compareReport,setReport:e.setCompareReport,addToast:e.addToast,displayType:"filename",dragTarget:e.baseReport?"document":"self"}))));var z1=X(q()),ye=X(R());var kt=e=>{let{options:t,value:r,setValue:a,className:i,title:s,label:o}=e,f=t.some(c=>c.value===r)?t:[...t,{value:r,label:r}];return n("div",{className:P("dropdown",i),style:{position:"relative"},"data-tooltip":s},n("label",null,o?n("span",{className:"dropdown__label"},o):n(C,null),n("select",{onChange:c=>{c.target instanceof HTMLSelectElement&&a(c.target.value)}},f.map(c=>n("option",{key:c.value,value:c.value,selected:c.value===r},c.label)))),n("div",{className:"dropdown__chevron"},n("i",{className:"material-icons"},"arrow_drop_down")))};function Vt(e){let t=Z(void 0);return F(()=>{t.current=e},[e]),t.current}var B=e=>{let t=e.score;return t>=.9?n("i",{className:"lh-score-pass"}):t>=.5?n("i",{className:"lh-score-average"}):n("i",{className:"lh-score-fail"},n("svg",{viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},n("polygon",{points:"10,110 60,10 110,110"})))},E=e=>(e.audit.score||0)>=.9?n("span",{className:"lh-score-word"},"Pass"):n("span",{className:"lh-score-word"},"Fail");var Yt=X(Wt());var Jt=e=>{let t=(0,Yt.splitMarkdownLink)(e.text);return n(C,null,t.map((r,a)=>{if(!r.isLink)return n("span",{key:a},r.text);let i=new URL(r.linkHref);return["https://developers.google.com","https://web.dev"].includes(i.origin)&&(i.searchParams.set("utm_source","lighthouse"),i.searchParams.set("utm_medium","ci")),n("a",{key:a,href:i.href,target:"_blank",rel:"noopener noreferrer"},r.text)}))};var te=()=>n("span",{style:{display:"inline-block",width:4,height:1}});var re=X(R());var It=e=>{let t=e.type,{compareValue:r,baseValue:a,diff:i}=e,s=r===void 0?a:r;typeof s=="object"&&s.type&&(t=s.type);let o=i?(0,re.getDiffLabel)(i):"neutral",f=Number.isFinite(a)?a:0,c=Number.isFinite(r)?r:0,u=`Base Value: ${Math.round(f).toLocaleString()}`,l=`Compare Value: ${Math.round(c).toLocaleString()}`,m=`${u}, ${l}`,d=i&&(0,re.getDeltaStats)(i).percentAbsoluteDelta!==1?` (${((0,re.getDeltaStats)(i).percentAbsoluteDelta*100).toLocaleString(void 0,{maximumFractionDigits:0})}%)`:"";switch(t){case"bytes":{let p=Math.abs((c-f)/1024);return n("pre",{className:`simple-details--${o}`,"data-tooltip":m},c>=f?"+":"-",p.toLocaleString(void 0,{maximumFractionDigits:Math.abs(p)<1?1:0}),n(te,null),"KB",d)}case"ms":case"timespanMs":{let p=Math.abs(Math.round(c-f));return n("pre",{className:`simple-details--${o}`,"data-tooltip":m},c>=f?"+":"-",p.toLocaleString(),n(te,null),"ms",d)}case"thumbnail":return n("img",{style:{width:48,height:48,objectFit:"cover"},src:s,onError:p=>{let v=p.srcElement;v instanceof HTMLImageElement&&(v.onerror=null,v.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==")}});case"url":{let p=s,v="";try{let g=new URL(s);p=g.pathname,v=g.hostname}catch(g){}return n("span",{title:s},p,v?n("span",{className:"simple-details__url-hostname"},"(",v,")"):"")}case"link":return s.url?n("a",{target:"_blank",rel:"noopener noreferrer",href:s.url},s.text):n("span",null,s.text);case"code":return n("pre",null,s);case"numeric":return n("pre",{className:`simple-details--${o}`},c>=f?"+":"-",Math.abs(c-f).toLocaleString(),d);case"text":return n("span",null,s);case"node":return n("pre",null,s.snippet);case"source-location":{if(!s.url)return n("pre",null,JSON.stringify(s));let{url:p,line:v,column:g}=s;return n("pre",null,p,":",v,":",g)}case"debugdata":return n(C,null);default:{let p=JSON.stringify(e);return n("pre",{"data-tooltip":p},p.slice(0,20))}}};var Q=X(R());function Dr(e){switch(e){case"bytes":case"ms":case"timespanMs":case"numeric":return!0;default:return!1}}var Ut=e=>{let{audit:t,baseAudit:r,diffs:a}=e.pair;if(!t.details)return n(C,null);let{headings:i,items:s}=t.details;if(!i||!s)return n(C,null);let o=r&&r.details&&r.details.headings||[],f=r&&r.details&&r.details.items||[],c=(0,Q.zipBaseAndCompareItems)(f,s),u=(0,Q.sortZippedBaseAndCompareItems)(a,c),l=i.length?i:o,m=l.findIndex(d=>Dr(d.valueType||d.itemType||"unknown"))-1;return m<0&&(m=l.length-1),n("div",{className:"table-details"},n("table",null,n("thead",null,n("tr",null,l.map((d,p)=>{let v=d.valueType||d.itemType||"unknown";return n(C,{key:p},n("th",{className:`table-column--${v}`},d.label||d.text),m===p?n("th",null):null)}))),n("tbody",null,u.map(({base:d,compare:p,diffs:v})=>{if(!(p||d))return null;let x=`${d&&d.index}-${p&&p.index}`,z=(0,Q.getRowLabelForIndex)(a,p&&p.index,d&&d.index);return n("tr",{key:x},l.map((y,h)=>{let w=y.valueType||y.itemType||"unknown",D=v.find(J=>J.type==="itemDelta"&&J.itemKey===y.key),T=y.key&&p&&p.item[y.key],k=y.key&&d&&d.item[y.key];return n(C,{key:h},n("td",{className:`table-column--${w}`},T||k?n(It,{type:w,compareValue:T,baseValue:k,diff:D}):n(C,null)),m===h?n("td",{className:"table-column--row-label"},z==="added"||z==="removed"?z:""):null)}))}))))};var Et=X(R());var St={"first-contentful-paint":[0,1e4],"first-meaningful-paint":[0,1e4],"largest-contentful-paint":[0,15e3],"speed-index":[0,15e3],"first-cpu-idle":[0,15e3],interactive:[0,2e4],"estimated-input-latency":[0,1500],"max-potential-fid":[0,1500],"total-blocking-time":[0,1500],"cumulative-layout-shift":[0,1],__default__:[0,30*1e3]},qt=(e,t)=>{let r=e&&e.id||"";return(St[r]||St.__default__)[t==="lower"?0:1]},Kt=(e,t)=>{let r=t==="up"?Math.ceil:Math.floor;return e<10?r(e):e<100?r(e/10)*10:e<1e3?r(e/100)*100:e<1e4?r(e/1e3)*1e3:r(e/2500)*2500},Hr=(e,t)=>{if(e&&e.id==="cumulative-layout-shift")return"none";if(t==="metrics"||t==="load-opportunities")return"ms";if(!e)return"none";if(e.details&&e.details.overallSavingsMs)return"ms";let r=e.displayValue||"";return/[0-9,.]+\s(ms|s)$/.test(r)?"ms":/[0-9,.]+\s(KB|MB)$/.test(r)?"bytes":"none"},_=(e,t)=>{let{asDelta:r=!1,withSuffix:a=!1,unit:i="none"}=t,s=Math.round(e),o=0,f="";i==="ms"&&(f="ms",Math.abs(s)>=1e3&&!t.preventSecondsConversion&&(s/=1e3,o=1,f="s")),i==="bytes"&&(f="KB",s/=1024,Math.abs(s)>=500&&(s/=1024,o=1,f="MB")),i==="none"&&(Math.abs(e)<1?(s=e,o=3):Math.abs(s)<10?(s=e,o=1):Math.abs(s)>=50&&(s/=1e3,o=1,f="K"));let c=s.toLocaleString(void 0,{minimumFractionDigits:o,maximumFractionDigits:o}),u=r&&s>=0?"+":"",l=u+c+(a?f:"");return{element:n("span",null,u,c,a?n(C,null,n(te,null),f):""),string:l,length:l.length}},ve=e=>{let{diff:t,audit:r,groupId:a}=e,i=Hr(r,a),s=t.compareValue,o=t.baseValue;if(typeof o!="number"||typeof s!="number")return n("span",null,"No diff available");let f=s-o,c=Math.min(s,o),u=Math.max(s,o),l=e.showAsBigPicture?qt(r,"lower"):Kt(c*.8,"down"),m=e.showAsBigPicture?qt(r,"upper"):Kt(u*1.2,"up"),d=m-l,p=Math.min(Math.max(c,l),m),v=Math.min(Math.max(u,l),m),g=100*(p-l)/d,x=100-100*(v-l)/d,z=(0,Et.getDeltaLabel)(f,"audit"),y=c===s,h=`${_(o,{unit:i,withSuffix:!0}).string} to ${_(s,{withSuffix:!0,unit:i}).string}`;if(e.showAsNarrow)return n("div",{className:P("audit-numeric-diff",`text--${z}`),"data-tooltip":h},_(f,{asDelta:!0,withSuffix:!0,preventSecondsConversion:!0,unit:i}).element);let{element:w,length:D}=_(f,{asDelta:!0,withSuffix:!0,preventSecondsConversion:!0,unit:i}),T=D*10*100/300;return n(C,null,n("div",{className:"audit-numeric-diff"},n("div",{className:"audit-numeric-diff__left-label"},_(l,{unit:i}).element),n("div",{className:"audit-numeric-diff__bar"},n("div",{className:P("audit-numeric-diff__box",{"audit-numeric-diff__box--improvement":z==="improvement","audit-numeric-diff__box--regression":z==="regression"}),style:{left:`${g}%`,right:`${x}%`},"data-tooltip":h},n("div",{className:"audit-numeric-diff__now",style:{left:y?"0%":"100%"}}),n("div",{className:P("audit-numeric-diff__delta-label",{"audit-numeric-diff__delta-label--narrow-left":z==="improvement"&&g<T,"audit-numeric-diff__delta-label--narrow-right":z==="regression"&&x<T}),style:{[y?"right":"left"]:"100%"}},w))),n("div",{className:"audit-numeric-diff__right-label"},_(m,{unit:i}).element)))};var _t=X(q());var ne=X(R());var Nr={"font-display":"font_download","uses-rel-preconnect":"language","user-timings":"timer","bootup-time":"speed","mainthread-work-breakdown":"speed","third-party-summary":"language",deprecations:"error","errors-in-console":"error","font-sizes":"format_size"},Qt=e=>{let t=e.audit.id||"",r=e.groupId||"",a="";return r.includes("opportunities")&&(a="web_asset"),r.includes("a11y")&&(a="code"),t.includes("image")&&(a="photo"),a=Nr[t]||a||"list_alt",n("i",{className:"material-icons"},a)},Fr=e=>n(C,null,n(E,{audit:e.baseAudit}),n("i",{className:`material-icons audit-group__diff-arrow audit-group__diff-arrow--${(0,ne.getDiffLabel)(e.diff)}`},"arrow_forward"),n(E,{audit:e.audit})),Xr=e=>n(C,null,n("span",null,e.diff.baseValue),n("i",{className:`material-icons audit-group__diff-arrow audit-group__diff-arrow--${(0,ne.getDiffLabel)(e.diff)}`},"arrow_forward"),n("span",null,e.diff.compareValue));function Tr(e){switch(e){case"added":case"worse":case"ambiguous":return"regression";case"removed":case"better":return"improvement";case"no change":return"neutral"}}function jr(e){return _t.uniqBy(e.map(t=>({base:"baseItemIndex"in t?t.baseItemIndex:void 0,compare:"compareItemIndex"in t?t.compareItemIndex:void 0})).filter(t=>typeof t.base=="number"||typeof t.compare=="number"),t=>`${t.base}-${t.compare}`)}var Ye=e=>{let{diffs:t,baseAudit:r,groupId:a}=e,i=r.details&&r.details.items||[],o=jr(t).map(l=>(0,ne.getRowLabelForIndex)(t,l.compare,l.base)).map(Tr),f=o.filter(l=>l==="regression").length,c=o.filter(l=>l==="improvement").length,u=n(C,null,n("div",{className:"audit-group__diff-badge-group"},n(Qt,{audit:e.audit,groupId:a}),n("div",{className:"audit-group__diff-badges"},n("span",{className:"audit-group__diff-badge"},i.length))),n("i",{className:`material-icons audit-group__diff-arrow audit-group__diff-arrow--${c>f?"improvement":"regression"}`},"arrow_forward"));return n(C,null,e.showAsNarrow?n(C,null):u,n("div",{className:P("audit-group__diff-badge-group")},n(Qt,{audit:e.audit,groupId:a}),n("div",{className:P("audit-group__diff-badges",{"audit-group__diff-badge-group--multiple":Boolean(f&&c)})},f?n("span",{className:"audit-group__diff-badge audit-group__diff-badge--regression"},f):null,c?n("span",{className:"audit-group__diff-badge audit-group__diff-badge--improvement"},c):null)))},Ar=()=>n("div",{className:"audit-group__error-message","data-tooltip":"Audit did not run in the base report"},n("i",{className:"material-icons"},"error_outline")," Audit Missing"),Mr=e=>{let t="An unknown error occurred while trying to compare the audit results.";return e.audit.scoreDisplayMode==="error"?t=`Audit in compare report errored: ${e.audit.errorMessage}`:e.baseAudit.scoreDisplayMode==="error"&&(t=`Audit in base report errored: ${e.baseAudit.errorMessage}`),n("div",{className:"audit-group__error-message","data-tooltip":t},n("i",{className:"material-icons"},"error_outline")," Audit Error")},$t=e=>{let{audit:t,baseAudit:r,diffs:a,group:i}=e.pair,s=n("span",null,"No diff available");if(!r)return n(Ar,null);if(a.find(m=>m.type==="error"))return n(Mr,{audit:t,baseAudit:r});let f=a.find(m=>m.type==="numericValue");if(f&&f.type==="numericValue")return n(ve,{diff:f,audit:t,groupId:i.id,showAsBigPicture:e.showAsBigPicture,showAsNarrow:e.showAsNarrow});if(a.some(m=>m.type==="itemAddition"||m.type==="itemRemoval"||m.type==="itemDelta"))return n(Ye,{diffs:a,audit:t,baseAudit:r,groupId:i.id,showAsNarrow:e.showAsNarrow});let u=a.find(m=>m.type==="score");if(u)return n(Fr,{diff:u,audit:t,baseAudit:r});let l=a.find(m=>m.type==="displayValue");return!l||l.type!=="displayValue"?s:n(Xr,{diff:l,audit:t,baseAudit:r})};var e1=X(R());var Or=e=>{let{audit:t,baseAudit:r}=e.pair;return r?n("div",{className:"audit-detail-pane__audit-details--binary"},n(E,{audit:r}),n("i",{className:`material-icons audit-group__diff-arrow audit-group__diff-arrow--${(0,e1.getDiffLabel)(e.diff)}`},"arrow_forward"),n(E,{audit:t})):null},Zr=e=>{let t=e.pair.audit.scoreDisplayMode==="error"?e.pair.audit:e.pair.baseAudit;return t?n(C,null,n("div",{className:"audit-detail-pane__audit-details-summary"},"Error occurred in the"," ",t===e.pair.baseAudit?"base report:":"compare report:"),n("pre",null,t.errorMessage||"Unknown error")):null},Rr=e=>{let{pair:t}=e,r=t.audit.details||{type:"unknown"},a=t.baseAudit&&t.baseAudit.details||{type:"unknown"},i=Boolean((r.items||[]).length||(a.items||[]).length),s,o,f;if(t.audit.errorMessage||t.baseAudit&&t.baseAudit.errorMessage)return n(Zr,{pair:t});(r.type==="table"||r.type==="opportunity")&&i&&(o=n(Ut,{pair:t}),t.baseAudit&&(s=n(Ye,H(L({},t),{baseAudit:t.baseAudit,groupId:t.group.id}))));let c=t.diffs.find(l=>l.type==="numericValue");if(c&&c.type==="numericValue"&&(f=n(ve,{diff:c,audit:t.audit})),o||c)return n(C,null,n("div",{className:"audit-detail-pane__audit-details-summary"},f||s),o);let u=t.diffs.find(l=>l.type==="score");return u&&u.type==="score"?n(Or,{diff:u,pair:e.pair}):n("pre",null,JSON.stringify(e.pair,null,2))},t1=e=>{let{audit:t}=e.pair;return n("div",{id:`audit-detail-pane-audit--${t.id}`,className:P("audit-detail-pane__audit")},n("div",{className:"audit-detail-pane__score"},n(B,{score:t.score||0})),n("div",{className:"audit-detail-pane__audit-title"},t.title),n("div",{className:"audit-detail-pane__audit-description"},n(Jt,{text:t.description||""})),n("div",{className:"audit-detail-pane__audit-details"},n(Rr,{pair:e.pair})))};var r1=e=>{let t=Z(void 0),r=Vt(e.selectedAuditId);return F(()=>{let a=e.selectedAuditId,i=t.current;if(!i||!a||a===r)return;let s=i.querySelector(`#audit-detail-pane-audit--${a}`);!s||!(s instanceof HTMLElement)||i.scrollTo(0,s.offsetTop)},[e.selectedAuditId,r]),n("div",{className:"audit-detail-pane",ref:a=>t.current=a},n("div",{className:"audit-detail-pane__close",onClick:()=>e.setSelectedAuditId(null)},n("i",{className:"material-icons"},"close")),e.pairs.map(a=>{let{audit:i}=a;if(!!i.id)return n(t1,{key:i.id,pair:a})}))};var n1=X(R());var a1=e=>{let t=Math.round(e.score*100),r=e.diff?e.diff.baseValue:e.score,a=Math.round(r*100),i=e.diff?(0,n1.getDiffLabel)(e.diff):"neutral",o=`${Math.max(0,e.score*352-2)} 352`,f=Math.abs(a-t),c=Math.max(0,f/100*352-2),u=`${c} 352`,l=`rotate(${Math.min(t,a)/100*360}deg)`,m=`rotate(${e.score*360}deg)`;return n("div",{className:P("gauge",`gauge--${i}`)},n("div",{className:"gauge-arc"},n("svg",{viewBox:"0 0 120 120"},n("circle",{className:"gauge-arc__arc",transform:"rotate(-90 60 60)",r:"56",cx:"60",cy:"60",style:{strokeDasharray:o}})),n("div",{className:"gauge-arc__delta-wrapper",style:{transform:l,display:c<1?"none":"block"}},n("svg",{viewBox:"0 0 120 120"},n("circle",{className:"gauge-arc__arc",transform:"rotate(-90 60 60)",r:"56",cx:"60",cy:"60",style:{strokeDasharray:u}}))),n("div",{className:"gauge-arc__indicator-wrapper",style:{transform:m}},n("div",{className:"gauge-arc__indicator"}))),n("span",null,t))};var i1=X(q());var s1=e=>n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",class:`pwa-icon pwa-icon--${e.deltaType}`},n("g",{"fill-rule":"nonzero",fill:"none"},n("circle",{class:"pwa-icon__background",cx:"12",cy:"12",r:"12"}),n("path",{d:"M12 4.3l6.3 2.8v4.2c0 3.88-2.69 7.52-6.3 8.4-3.61-.88-6.3-4.51-6.3-8.4V7.1L12 4.3zm-.56 12.88l3.3-5.79.04-.08c.05-.1.01-.29-.26-.29h-1.96l.56-3.92h-.56L9.3 12.82c0 .03.07-.12-.03.07-.11.2-.12.37.2.37h1.97l-.56 3.92h.56z",fill:"#FFF"}))),o1=e=>n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",class:`pwa-icon pwa-icon--${e.deltaType}`},n("g",{"fill-rule":"nonzero",fill:"none"},n("circle",{class:"pwa-icon__background",cx:"12",cy:"12",r:"12"}),n("path",{d:"M12 5a7 7 0 1 0 0 14 7 7 0 0 0 0-14zm3.5 7.7h-2.8v2.8h-1.4v-2.8H8.5v-1.4h2.8V8.5h1.4v2.8h2.8v1.4z",fill:"#FFF"}))),l1=e=>n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",class:`pwa-icon pwa-icon--${e.deltaType}`},n("g",{fill:"none","fill-rule":"evenodd"},n("rect",{class:"pwa-icon__background",width:"24",height:"24",rx:"12"}),n("path",{d:"M5 5h14v14H5z"}),n("path",{fill:"#FFF",d:"M12 15.07l3.6 2.18-.95-4.1 3.18-2.76-4.2-.36L12 6.17l-1.64 3.86-4.2.36 3.2 2.76-.96 4.1z"})));function Ce(e,t,r){return e[r]===t[r]?"neutral":t[r]?"improvement":"regression"}function Je(e){let t=e.categories.pwa,r=i1.groupIntoMap(t.auditRefs,i=>i.group),a=(i=[])=>i.map(s=>e.audits[s.id]).every(s=>s&&s.score===1);return{optimized:a(r.get("pwa-optimized")||[]),installable:a(r.get("pwa-installable")||[]),fastAndReliable:a(r.get("pwa-fast-reliable")||[])}}var f1=e=>{let{status:t}=e,r=t.optimized&&t.installable&&t.fastAndReliable;return n("div",{className:P("pwa-gauge",{"pwa-gauge--all":r,"pwa-gauge--pwa-optimized":!r&&t.optimized,"pwa-gauge--pwa-installable":!r&&t.installable,"pwa-gauge--pwa-fast-reliable":!r&&t.fastAndReliable})},n("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 60 60"},n("defs",null,n("linearGradient",{id:"pwa-gauge__check-circle__gradient",x1:"50%",y1:"0%",x2:"50%",y2:"100%"},n("stop",{"stop-color":"#00C852",offset:"0%"}),n("stop",{"stop-color":"#009688",offset:"100%"})),n("linearGradient",{id:"pwa-gauge__installable__shadow-gradient",x1:"76.056%",x2:"24.111%",y1:"82.995%",y2:"24.735%"},n("stop",{"stop-color":"#A5D6A7",offset:"0%"}),n("stop",{"stop-color":"#80CBC4",offset:"100%"})),n("linearGradient",{id:"pwa-gauge__fast-reliable__shadow-gradient",x1:"76.056%",y1:"82.995%",x2:"25.678%",y2:"26.493%"},n("stop",{"stop-color":"#64B5F6",offset:"0%"}),n("stop",{"stop-color":"#2979FF",offset:"100%"})),n("g",{id:"pwa-gauge__fast-reliable-badge"},n("circle",{fill:"#FFFFFF",cx:"10",cy:"10",r:"10"}),n("path",{fill:"#304FFE",d:"M10 3.58l5.25 2.34v3.5c0 3.23-2.24 6.26-5.25 7-3.01-.74-5.25-3.77-5.25-7v-3.5L10 3.58zm-.47 10.74l2.76-4.83.03-.07c.04-.08 0-.24-.22-.24h-1.64l.47-3.26h-.47l-2.7 4.77c-.02.01.05-.1-.04.05-.09.16-.1.31.18.31h1.63l-.47 3.27h.47z"})),n("g",{id:"pwa-gauge__installable-badge"},n("circle",{fill:"#FFFFFF",cx:"10",cy:"10",r:"10"}),n("path",{fill:"#009688",d:"M10 4.167A5.835 5.835 0 0 0 4.167 10 5.835 5.835 0 0 0 10 15.833 5.835 5.835 0 0 0 15.833 10 5.835 5.835 0 0 0 10 4.167zm2.917 6.416h-2.334v2.334H9.417v-2.334H7.083V9.417h2.334V7.083h1.166v2.334h2.334v1.166z"}))),n("g",{stroke:"none","fill-rule":"nonzero"},n("circle",{class:"pwa-gauge__disc",cx:"30",cy:"30",r:"30"}),n("g",{class:"pwa-gauge__logo"},n("path",{class:"pwa-gauge__logo--secondary-color",d:"M35.66 19.39l.7-1.75h2L37.4 15 38.6 12l3.4 9h-2.51l-.58-1.61z"}),n("path",{class:"pwa-gauge__logo--primary-color",d:"M33.52 21l3.65-9h-2.42l-2.5 5.82L30.5 12h-1.86l-1.9 5.82-1.35-2.65-1.21 3.72L25.4 21h2.38l1.72-5.2 1.64 5.2z"}),n("path",{class:"pwa-gauge__logo--secondary-color","fill-rule":"nonzero",d:"M20.3 17.91h1.48c.45 0 .85-.05 1.2-.15l.39-1.18 1.07-3.3a2.64 2.64 0 0 0-.28-.37c-.55-.6-1.36-.91-2.42-.91H18v9h2.3V17.9zm1.96-3.84c.22.22.33.5.33.87 0 .36-.1.65-.29.87-.2.23-.59.35-1.15.35h-.86v-2.41h.87c.52 0 .89.1 1.1.32z"})),n("rect",{class:"pwa-gauge__component pwa-gauge__na-line",fill:"#FFFFFF",x:"20",y:"32",width:"20",height:"4",rx:"2"}),n("g",{class:"pwa-gauge__component pwa-gauge__fast-reliable-badge",transform:"translate(20, 29)"},n("path",{fill:"url(#pwa-gauge__fast-reliable__shadow-gradient)",d:"M33.63 19.49A30 30 0 0 1 16.2 30.36L3 17.14 17.14 3l16.49 16.49z"}),n("use",{href:"#pwa-gauge__fast-reliable-badge"})),n("g",{class:"pwa-gauge__component pwa-gauge__installable-badge",transform:"translate(20, 29)"},n("path",{fill:"url(#pwa-gauge__installable__shadow-gradient)",d:"M33.629 19.487c-4.272 5.453-10.391 9.39-17.415 10.869L3 17.142 17.142 3 33.63 19.487z"}),n("use",{href:"#pwa-gauge__installable-badge"})),n("g",{class:"pwa-gauge__component pwa-gauge__fast-reliable-installable-badges"},n("g",{transform:"translate(8, 29)"},n("path",{fill:"url(#pwa-gauge__fast-reliable__shadow-gradient)",d:"M16.321 30.463L3 17.143 17.142 3l22.365 22.365A29.864 29.864 0 0 1 22 31c-1.942 0-3.84-.184-5.679-.537z"}),n("use",{href:"#pwa-gauge__fast-reliable-badge"})),n("g",{transform:"translate(32, 29)"},n("path",{fill:"url(#pwa-gauge__installable__shadow-gradient)",d:"M25.982 11.84a30.107 30.107 0 0 1-13.08 15.203L3 17.143 17.142 3l8.84 8.84z"}),n("use",{href:"#pwa-gauge__installable-badge"}))),n("g",{class:"pwa-gauge__component pwa-gauge__check-circle",transform:"translate(18, 28)"},n("circle",{fill:"#FFFFFF",cx:"12",cy:"12",r:"12"}),n("path",{fill:"url(#pwa-gauge__check-circle__gradient)",d:"M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})))))};var c1=X(R());var u1=e=>{let t=Math.round((e.diff.compareValue-e.diff.baseValue)*100);return n("div",{className:P("score-delta-badge",`score-delta-badge--${(0,c1.getDiffLabel)(e.diff)}`,e.className)},t<0?t:`+${t}`)};var Br=e=>{let{lhr:t,baseLhr:r,categoryId:a}=e,i=t.categories[a],s=r&&r.categories[a],o=s&&{auditId:"",type:"score",baseValue:s.score,compareValue:i.score};return n("div",{key:a,className:P("lhr-comparison-scores-item")},n(a1,{score:i.score,diff:o}),n("div",{className:"lhr-comparison-scores-item__label"},i.title),o?n(u1,{diff:o,className:"lhr-comparison-scores-item__delta"}):null)},kr=e=>{let{lhr:t,baseLhr:r,categoryId:a}=e,i=Je(t),s,o="neutral";if(r){let f=Je(r),c={fastAndReliable:Ce(f,i,"fastAndReliable"),installable:Ce(f,i,"installable"),optimized:Ce(f,i,"optimized")},u=Object.values(c).every(m=>m==="neutral"),l=n(C,null,c.fastAndReliable==="neutral"?n(C,null):n(s1,{deltaType:c.fastAndReliable}),c.installable==="neutral"?n(C,null):n(o1,{deltaType:c.installable}),c.optimized==="neutral"?n(C,null):n(l1,{deltaType:c.optimized}));s=n("div",{className:P("lhr-comparison-scores-item__delta")},u?"-":l)}return n("div",{key:a,className:P("lhr-comparison-scores-item","lhr-comparison-scores-item--pwa",`lhr-comparison-scores-item--${o}`)},n(f1,{status:i}),n("div",{className:"lhr-comparison-scores-item__label"},"PWA"),s)},d1=e=>{let{lhr:t,baseLhr:r}=e;if(!t)return null;let a=Object.keys(t.categories),i=r?Object.keys(r.categories):a,s=a.filter(o=>i.includes(o));return n("div",{className:"lhr-comparison-scores"},s.sort((o,f)=>{let c=o==="pwa"?1/0:s.indexOf(o),u=f==="pwa"?1/0:s.indexOf(f);return c-u}).map(o=>o==="pwa"?n(kr,{lhr:t,baseLhr:r,categoryId:o}):n(Br,{lhr:t,baseLhr:r,categoryId:o})))};var Vr=e=>n("div",{className:"audit-group__big-picture-tabs"},n("span",{className:P("big-picture-tabs__tab",{"big-picture-tabs__tab--selected":e.showAsBigPicture}),onClick:()=>e.setShowAsBigPicture(!0)},"Overview"),n("span",{className:P("big-picture-tabs__tab",{"big-picture-tabs__tab--selected":!e.showAsBigPicture}),onClick:()=>e.setShowAsBigPicture(!1)},"Magnified")),Gr=e=>n(C,null,e.pairs.map(t=>{let{audit:r}=t;return e.group.id!=="metrics"&&(t=H(L({},t),{diffs:t.diffs.filter(a=>a.type!=="numericValue")})),n("div",{key:r.id,className:P("audit-group__audit"),onClick:()=>e.setSelectedAuditId(r.id||null)},n("div",{className:"audit-group__audit-score"},n(B,{score:r.score||0})),n("div",{className:"audit-group__audit-title"},r.title),n("div",{className:"audit-group__audit-diff"},n($t,{pair:t,showAsBigPicture:e.showAsBigPicture,showAsNarrow:e.showAsNarrow})))})),Wr=e=>{let t=e.baseLhr;return!t||!e.expanded?n(C,null):n(C,null,e.pairs.map(r=>{let{audit:a}=r;return n("div",{key:a.id,className:P("audit-group__audit","audit-group__audit--unchanged"),onClick:i=>{i.preventDefault(),i.stopPropagation(),ce(t)}},n("div",{className:"audit-group__audit-score"},n(B,{score:a.score||0})),n("div",{className:"audit-group__audit-title"},a.title),n("div",{className:"audit-group__audit-diff"},"Open Report"))}))},p1=e=>{let{group:t}=e,[r,a]=N(t.id==="metrics"),[i,s]=N(!1);return n(Y,{className:P("audit-group",{"audit-group--expanded":i,"audit-group--unchanged":e.showAsUnchanged})},n("div",{className:"audit-group__header",onClick:()=>s(!i)},n("div",{className:"audit-group__title"},t.title," ",e.showAsUnchanged?`(${e.pairs.length})`:""),n("div",{className:"audit-group__expand-toggle"},n("i",{className:"material-icons"},"chevron_right")),t.id==="metrics"&&!e.showAsNarrow?n(Vr,H(L({},e),{showAsBigPicture:r,setShowAsBigPicture:a})):n(C,null)),n("div",{className:"audit-group__audits"},e.showAsUnchanged?n(Wr,H(L({},e),{expanded:i})):n(Gr,H(L({},e),{showAsBigPicture:r}))))};var m1=()=>n("div",{className:"lhr-comparison-legend"},n(B,{score:0}),n("span",{className:"lhr-comparison-legend__label"},"0-49"),n(B,{score:.5}),n("span",{className:"lhr-comparison-legend__label"},"50-89"),n(B,{score:1}),n("span",{className:"lhr-comparison-legend__label"},"90-100"),n("i",{className:"lhr-comparison-legend__chip lhr-comparison-legend__chip--regression"}),n("span",{className:"lhr-comparison-legend__label"},"Regression"),n("i",{className:"lhr-comparison-legend__chip lhr-comparison-legend__chip--improvement"}),n("span",{className:"lhr-comparison-legend__label"},"Improvement"));function Ir(e){var t=e.parentNode;t&&t.removeChild(e)}var Ur=b.__e;function v1(){this.t=[]}b.__e=function(e,t,r){if(e.then&&r){for(var a,i=t;i=i.__p;)if((a=i.__c)&&a.u)return r&&(t.__e=r.__e,t.__k=r.__k),void a.u(e)}Ur(e,t,r)},(v1.prototype=new M).u=function(e){var t=this;t.t.push(e);var r=function(){t.t[t.t.indexOf(e)]=t.t[t.t.length-1],t.t.pop(),t.t.length==0&&(I(t.props.fallback),t.__v.__e=null,t.__v.__k=t.state.i,t.setState({i:null}))};t.state.i==null&&(t.setState({i:t.__v.__k}),function a(i){for(var s=0;s<i.length;s++){var o=i[s];o!=null&&(typeof o.type!="function"&&o.__e?Ir(o.__e):o.__k&&a(o.__k))}}(t.__v.__k),t.__v.__k=[]),e.then(r,r)},v1.prototype.render=function(e,t){return t.i?e.fallback:e.children};var Sr=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103;var C1=b.event;b.event=function(e){return C1&&(e=C1(e)),e.persist=function(){},e.nativeEvent=e};var Ue=function(){};function qr(e){var t=this,r=e.container,a=n(Ue,{context:t.context},e.vnode);return t.l&&t.l!==r&&(t.s.parentNode&&t.l.removeChild(t.s),I(t.v),t.p=!1),e.vnode?t.p?(r.__k=t.__k,U(a,r),t.__k=r.__k):(t.s=document.createTextNode(""),st("",r),r.appendChild(t.s),t.p=!0,t.l=r,U(a,r,t.s),t.__k=this.s.__k):t.p&&(t.s.parentNode&&t.l.removeChild(t.s),I(t.v)),t.v=a,t.componentWillUnmount=function(){t.s.parentNode&&t.l.removeChild(t.s),I(t.v)},null}function P1(e,t){return n(qr,{vnode:e,container:t})}Ue.prototype.getChildContext=function(){return this.props.context},Ue.prototype.render=function(e){return e.children};function y1(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var a in t)if(a!=="__source"&&e[a]!==t[a])return!0;return!1}var v8=function(e){function t(r){e.call(this,r),this.isPureReactComponent=!0}return e&&(t.__proto__=e),(t.prototype=Object.create(e&&e.prototype)).constructor=t,t.prototype.shouldComponentUpdate=function(r,a){return y1(this.props,r)||y1(this.state,a)},t}(M);function Ie(e,t){e["UNSAFE_"+t]&&!e[t]&&Object.defineProperty(e,t,{configurable:!1,get:function(){return this["UNSAFE_"+t]},set:function(r){this["UNSAFE_"+t]=r}})}M.prototype.isReactComponent={};var b1=b.vnode;b.vnode=function(e){e.$$typeof=Sr,function(r){var a=e.type,i=e.props;if(i&&typeof a=="string"){var s={};for(var o in i)/^on(Ani|Tra)/.test(o)&&(i[o.toLowerCase()]=i[o],delete i[o]),s[o.toLowerCase()]=o;if(s.ondoubleclick&&(i.ondblclick=i[s.ondoubleclick],delete i[s.ondoubleclick]),s.onbeforeinput&&(i.onbeforeinput=i[s.onbeforeinput],delete i[s.onbeforeinput]),s.onchange&&(a==="textarea"||a.toLowerCase()==="input"&&!/^fil|che|ra/i.test(i.type))){var f=s.oninput||"oninput";i[f]||(i[f]=i[s.onchange],delete i[s.onchange])}}}();var t=e.type;t&&t.o&&e.ref&&(e.props.ref=e.ref,e.ref=null),typeof t=="function"&&!t.m&&t.prototype&&(Ie(t.prototype,"componentWillMount"),Ie(t.prototype,"componentWillReceiveProps"),Ie(t.prototype,"componentWillUpdate"),t.m=!0),b1&&b1(e)};var g1=e=>{let t=Z(document.getElementById("preact-modal-root")||document.createElement("div"));return F(()=>(t.current.id="preact-modal-root",document.body.appendChild(t.current),()=>document.body.removeChild(t.current)),[]),P1(n("div",{className:"modal-backdrop"},n("div",{className:P("modal",e.className),style:{position:"relative"}},e.children,n("div",{className:"modal__close",onClick:e.onClose},n("i",{className:"material-icons"},"close")))),t.current)};function h1(e){return typeof e=="string"?e:typeof e=="number"?e.toString():typeof e=="undefined"?"Unset":typeof e=="boolean"?e?"Enabled":"Disabled":Array.isArray(e)?e.join(", "):"Unknown"}function x1(e,t){if(!t)return[];let r=[],{benchmarkIndex:a}=e.environment,{benchmarkIndex:i}=t.environment,s=Math.abs(a-i)/Math.min(a,i);s>1.5&&r.push({label:"CPU/Memory Power",base:t.environment.benchmarkIndex.toString(),compare:e.environment.benchmarkIndex.toString(),severity:s>2?"error":"warn"});let o=e.configSettings,f=t.configSettings,c=o.throttling||{},u=o.throttling||{},l=[["Lighthouse Version",t.lighthouseVersion,e.lighthouseVersion],["Storage Reset",f.disableStorageReset,o.disableStorageReset],["Emulated Form Factor",f.emulatedFormFactor,o.emulatedFormFactor],["Throttling Method",f.throttlingMethod,o.throttlingMethod],["CPU Throttling",u.cpuSlowdownMultiplier,c.cpuSlowdownMultiplier],["Network RTT",u.rttMs,c.rttMs],["Network Throughput",u.throughputKbps,c.throughputKbps],["Network RTT",u.requestLatencyMs,c.requestLatencyMs],["Network Throughput (Up)",u.uploadThroughputKbps,c.uploadThroughputKbps],["Network Throughput (Down)",u.downloadThroughputKbps,c.downloadThroughputKbps]];for(let[m,d,p]of l){let v=h1(d),g=h1(p);v!==g&&r.push({label:m,base:v,compare:g,severity:"error"})}return r}var Se=e=>{let{diffs:t}=e;return n("div",{className:P("lhr-comparison-runtime-diff",`lhr-comparison-runtime-diff--${e.variant}`)},n("div",{className:"lhr-comparison__warning"},n("i",{className:"material-icons"},"info"),n("div",null,"Changes of runtime settings or the environment can substantially affect your Lighthouse scores and might be the reason for the differences here.")),n("div",{className:"lhr-comparison-runtime-diff__diffs"},"The following runtime differences were detected:",n("table",null,n("thead",null,n("tr",null,n("th",null),n("th",null,"Base"),n("th",null,"Compare"))),n("tbody",null,t.map(r=>n("tr",{key:r.label},n("td",null,r.label),n("td",null,r.base),n("td",null,r.compare)))))))};function Kr(e){let t=a=>new Promise(i=>setTimeout(i,a)),r=a=>G(this,null,function*(){let i=0;for(;!document.querySelector(a)&&i<10;)yield t(500),i++});F(()=>{window.location.hash.length<=1||Promise.resolve().then(()=>G(this,null,function*(){yield r(".lhr-comparison__audit-groups"),e(window.location.hash.slice(1))}))},[])}function Er(e,t,r){let a=[];for(let[i,s]of Object.entries(e.categories)){let o={title:s.title,description:s.description},f=z1.default.groupBy(s.auditRefs,l=>l.group),c=`unchanged:${i}`,u={id:c,group:{id:c,title:`Unchanged Audits - ${s.title}`},pairs:[],showAsUnchanged:!0};for(let l of f){let m=l[0].group||"",d=e.categoryGroups&&e.categoryGroups[m];if(!d){if(f.length!==1)continue;m=`category:${i}`,d=o}let p=H(L({},d),{id:m}),v=l.map(z=>{let y=H(L({},e.audits[z.id]),{id:z.id}),h=t&&t.audits[y.id||""],w=h?(0,ye.findAuditDiffs)(h,y,H(L({},r),{synthesizeItemKeyDiffs:!0})):[],D=Math.max(...w.map(ye.getDiffSeverity),0);return{audit:y,baseAudit:h,diffs:w,maxSeverity:D,group:p}}).sort((z,y)=>(z.audit.score||0)-(y.audit.score||0)),g=v.filter(z=>!z.baseAudit||z.diffs.length),x=v.filter(z=>z.baseAudit&&!z.diffs.length);g.length&&a.push({id:m,group:p,pairs:g,showAsUnchanged:!1}),x.length&&u.pairs.push(...x)}u.pairs.length&&a.push(u)}return a}var Qr=e=>n("div",{className:"lhr-comparison__scores-and-dropdowns"},n("div",{className:"container"},n("div",{className:"lhr-comparison__dropdowns"},e.hookElements.dropdowns,n(kt,{label:"Threshold",value:e.percentAbsoluteDeltaThreshold.toString(),setValue:t=>{e.setPercentAbsoluteDeltaThreshold(Number(t))},options:[{value:"0",label:"0%"},{value:"0.05",label:"5%"},{value:"0.1",label:"10%"},{value:"0.15",label:"15%"},{value:"0.25",label:"25%"}]})),e.selectedAuditId?n(C,null):n(d1,L({},e)))),_r=e=>n("div",{className:"lhr-comparison__audit-groups"},e.auditGroups.map(t=>{if(!!t)return n(p1,{key:t.id,showAsNarrow:e.showAsNarrow,showAsUnchanged:t.showAsUnchanged,pairs:t.pairs,group:t.group,baseLhr:e.baseLhr,selectedAuditId:e.selectedAuditId,setSelectedAuditId:e.setSelectedAuditId})})),w1=e=>{let{lhr:t,baseLhr:r}=e,a="none",[i,s]=N(.05),[o,f]=N(null),[c,u]=N(a);Kr(f),F(()=>{window.__LHR__=t,window.__BASE_LHR__=r},[t,r]);let l=x1(t,r),m=l.some(p=>p.severity==="error"),d=Er(t,r,{percentAbsoluteDeltaThreshold:i});return n(C,null,c==="none"&&m?n(g1,{onClose:()=>u("acknowledged")},n(Se,{diffs:l,variant:"full"})):null,o?n(r1,{selectedAuditId:o,setSelectedAuditId:f,pairs:d.filter(p=>!p.showAsUnchanged).map(p=>p.pairs).reduce((p,v)=>p.concat(v)),baseLhr:r}):n(C,null),n("div",{className:P("lhr-comparison",e.className,{"lhr-comparison--with-audit-selection":!!o})},n(Qr,{lhr:t,baseLhr:r,selectedAuditId:o,hookElements:e.hookElements,percentAbsoluteDeltaThreshold:i,setPercentAbsoluteDeltaThreshold:s}),n("div",{className:"container"},e.hookElements.warnings,c!=="closed"&&l.length?n(Y,{className:"position-relative"},n(Se,{diffs:l,variant:"mini"}),n("div",{className:"lhr-comparison-runtime-diff__close",onClick:()=>u("closed")},n("i",{className:"material-icons"},"close"))):null,d.length&&r?n(C,null,o?null:n("div",{className:"lhr-comparison__legend-container"},n(m1,null)),n(_r,{showAsNarrow:!!o,auditGroups:d,baseLhr:r,selectedAuditId:o,setSelectedAuditId:f})):e.hookElements.warnings?null:n(Y,{className:"lhr-comparison__warning"},n("i",{className:"material-icons"},"sentiment_satisfied_alt"),n("div",null,"Woah, no differences found! Switch base builds to explore other differences, or"," ",n(ue,{className:"lhr-comparison__warning__lhr-link",lhr:e.lhr},"jump straight to the Lighthouse report."))))))};var L1=e=>{let t=Pt(e.baseReport.lhr,e.compareReport.lhr);return n("div",{className:"comparison"},n("div",{className:"comparison-header"},n("div",{className:"comparison-header__switcher",onClick:()=>{e.setBaseReport(e.compareReport),e.setCompareReport(e.baseReport)}},n("i",{className:"material-icons"},"swap_horiz")),n("div",{className:"comparison-header__logo"},n("img",{src:de,alt:"Lighthouse Logo",onClick:()=>{e.setBaseReport(void 0),e.setCompareReport(void 0)}})),n("div",{className:"comparison-header__upload"},n(S,{variant:"base",dragTarget:"self",report:e.baseReport,setReport:e.setBaseReport,addToast:e.addToast,displayType:t,showOpenLhrLink:!0}),n(S,{variant:"compare",dragTarget:"self",report:e.compareReport,setReport:e.setCompareReport,addToast:e.addToast,displayType:t,showOpenLhrLink:!0})),n("a",{className:"comparison-header__info",href:"https://github.com/GoogleChrome/lighthouse-ci"},n("i",{className:"material-icons"},"info"))),n("div",{className:"comparison-body"},n(w1,{lhr:e.compareReport.lhr,baseLhr:e.baseReport.lhr,hookElements:{}})))};var D1=e=>{let t=e.setToasts,{message:r,level:a="info"}=e.toast;return F(()=>{let i=setTimeout(()=>t(s=>s.filter(o=>o!==e.toast)),5e3);return()=>clearInterval(i)},[]),n("div",{className:`toast toast--${a}`},r)};var X1=new URLSearchParams(location.search),H1=X1.get("baseReport"),N1=X1.get("compareReport");function F1(e,t){return G(this,null,function*(){let r=new URL(e).pathname.split("/").slice(-1)[0]||"Unknown",i=yield(yield fetch(e)).text(),s=Oe(i);if(s instanceof Error)throw s;t({filename:r,data:i,lhr:s})})}function $r(e,t,r,a){return G(this,null,function*(){if(window.location.hostname==="localhost"){let s=localStorage.getItem("lastBaseReport"),o=localStorage.getItem("lastCompareReport");s&&e(JSON.parse(s)),o&&t(JSON.parse(o))}let i=[H1&&F1(H1,e),N1&&F1(N1,t)].filter(s=>!!s);!i.length||(r(!0),yield Promise.all(i.map(s=>s.catch(o=>{console.error(o),a({message:`Failed loading report from URL: ${o.message}`,level:"error"})}))),r(!1))})}var T1=()=>{let[t,r]=N(!1),[a,i]=N(void 0),[s,o]=N(void 0),[f,c]=N([]),l=Xe(m=>c(d=>[...d,m]),[c]);return F(()=>{$r(i,o,r,l)},[]),F(()=>{a&&localStorage.setItem("lastBaseReport",JSON.stringify(a)),s&&localStorage.setItem("lastCompareReport",JSON.stringify(s))},[a,s]),n("div",{className:"lhci-viewer"},t?n("div",{className:"loading-container"},n(Ae,null)):n(C,null),n("div",{className:"toast-container"},f.map(m=>n(D1,{key:m.message,toast:m,setToasts:c}))),a&&s?n(L1,{baseReport:a,setBaseReport:i,compareReport:s,setCompareReport:o,addToast:l}):n(ht,{baseReport:a,setBaseReport:i,compareReport:s,setCompareReport:o,addToast:l}))};var j1=document.getElementById("preact-root");if(!j1)throw new Error("Missing #preact-root");U(n(T1,null),j1);})();
2
+ /**
3
+ * @license Copyright 2019 Google Inc. All Rights Reserved.
4
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
5
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
6
+ */
7
+ /**
8
+ * @license Copyright 2020 Google Inc. All Rights Reserved.
9
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
10
+ * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
11
+ */
12
+ //# sourceMappingURL=1.js.map