@qilin-agent/experimental-inspector 0.0.0-stage → 3.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +49 -0
- package/README.md +179 -2
- package/README.zh.md +180 -0
- package/icon.svg +23 -0
- package/lib/client.js +3572 -0
- package/lib/client.page.js +314 -0
- package/lib/devtools/Images/3d-center.svg +3 -0
- package/lib/devtools/Images/3d-pan.svg +3 -0
- package/lib/devtools/Images/3d-rotate.svg +3 -0
- package/lib/devtools/Images/accelerometer-back.svg +69 -0
- package/lib/devtools/Images/accelerometer-bottom.png +0 -0
- package/lib/devtools/Images/accelerometer-front.svg +28 -0
- package/lib/devtools/Images/accelerometer-left.png +0 -0
- package/lib/devtools/Images/accelerometer-right.png +0 -0
- package/lib/devtools/Images/accelerometer-top.png +0 -0
- package/lib/devtools/Images/account-tree.svg +10 -0
- package/lib/devtools/Images/add-photo.svg +3 -0
- package/lib/devtools/Images/ai-explorer-badge.svg +114 -0
- package/lib/devtools/Images/align-content-center.svg +5 -0
- package/lib/devtools/Images/align-content-end.svg +5 -0
- package/lib/devtools/Images/align-content-space-around.svg +6 -0
- package/lib/devtools/Images/align-content-space-between.svg +4 -0
- package/lib/devtools/Images/align-content-space-evenly.svg +6 -0
- package/lib/devtools/Images/align-content-start.svg +5 -0
- package/lib/devtools/Images/align-content-stretch.svg +4 -0
- package/lib/devtools/Images/align-items-baseline.svg +4 -0
- package/lib/devtools/Images/align-items-center.svg +5 -0
- package/lib/devtools/Images/align-items-end.svg +5 -0
- package/lib/devtools/Images/align-items-start.svg +5 -0
- package/lib/devtools/Images/align-items-stretch.svg +6 -0
- package/lib/devtools/Images/align-self-center.svg +3 -0
- package/lib/devtools/Images/align-self-end.svg +4 -0
- package/lib/devtools/Images/align-self-start.svg +4 -0
- package/lib/devtools/Images/align-self-stretch.svg +5 -0
- package/lib/devtools/Images/animation.svg +3 -0
- package/lib/devtools/Images/arrow-back.svg +4 -0
- package/lib/devtools/Images/arrow-collapse.svg +3 -0
- package/lib/devtools/Images/arrow-down.svg +10 -0
- package/lib/devtools/Images/arrow-drop-down-dark.svg +3 -0
- package/lib/devtools/Images/arrow-drop-down-light.svg +3 -0
- package/lib/devtools/Images/arrow-drop-down.svg +3 -0
- package/lib/devtools/Images/arrow-forward.svg +4 -0
- package/lib/devtools/Images/arrow-right-circle.svg +3 -0
- package/lib/devtools/Images/arrow-up-down-circle.svg +3 -0
- package/lib/devtools/Images/arrow-up-down.svg +3 -0
- package/lib/devtools/Images/arrow-up.svg +10 -0
- package/lib/devtools/Images/attach-file.svg +3 -0
- package/lib/devtools/Images/baseline-high-availability.svg +17 -0
- package/lib/devtools/Images/baseline-limited-availability.svg +19 -0
- package/lib/devtools/Images/baseline-low-availability.svg +31 -0
- package/lib/devtools/Images/bell.svg +3 -0
- package/lib/devtools/Images/bezier-curve-filled.svg +3 -0
- package/lib/devtools/Images/bin.svg +1 -0
- package/lib/devtools/Images/bottom-panel-close.svg +1 -0
- package/lib/devtools/Images/bottom-panel-open.svg +1 -0
- package/lib/devtools/Images/brackets.svg +1 -0
- package/lib/devtools/Images/breakpoint-circle.svg +4 -0
- package/lib/devtools/Images/breakpoint-crossed-filled.svg +1 -0
- package/lib/devtools/Images/breakpoint-crossed.svg +1 -0
- package/lib/devtools/Images/brush-2.svg +3 -0
- package/lib/devtools/Images/brush-filled.svg +1 -0
- package/lib/devtools/Images/brush.svg +1 -0
- package/lib/devtools/Images/bucket.svg +4 -0
- package/lib/devtools/Images/bug.svg +3 -0
- package/lib/devtools/Images/button-magic.svg +3 -0
- package/lib/devtools/Images/calendar-today.svg +3 -0
- package/lib/devtools/Images/center-focus-weak.svg +3 -0
- package/lib/devtools/Images/check-circle.svg +3 -0
- package/lib/devtools/Images/check-double.svg +3 -0
- package/lib/devtools/Images/checker.svg +12 -0
- package/lib/devtools/Images/checkmark.svg +1 -0
- package/lib/devtools/Images/chevron-double-right.svg +3 -0
- package/lib/devtools/Images/chevron-down.svg +3 -0
- package/lib/devtools/Images/chevron-left-dot.svg +4 -0
- package/lib/devtools/Images/chevron-left.svg +3 -0
- package/lib/devtools/Images/chevron-right.svg +3 -0
- package/lib/devtools/Images/chevron-up.svg +3 -0
- package/lib/devtools/Images/chromeLeft.avif +0 -0
- package/lib/devtools/Images/chromeMiddle.avif +0 -0
- package/lib/devtools/Images/chromeRight.avif +0 -0
- package/lib/devtools/Images/class.svg +6 -0
- package/lib/devtools/Images/clear-list.svg +3 -0
- package/lib/devtools/Images/clear.svg +3 -0
- package/lib/devtools/Images/cloud.svg +3 -0
- package/lib/devtools/Images/code-circle.svg +5 -0
- package/lib/devtools/Images/code-whisperer-badge.svg +166 -0
- package/lib/devtools/Images/code.svg +3 -0
- package/lib/devtools/Images/colon.svg +4 -0
- package/lib/devtools/Images/color-picker-filled.svg +3 -0
- package/lib/devtools/Images/color-picker.svg +3 -0
- package/lib/devtools/Images/compress.svg +8 -0
- package/lib/devtools/Images/console-conditional-breakpoint.svg +1 -0
- package/lib/devtools/Images/console-logpoint.svg +1 -0
- package/lib/devtools/Images/container.svg +4 -0
- package/lib/devtools/Images/cookie.svg +3 -0
- package/lib/devtools/Images/cookie_off.svg +3 -0
- package/lib/devtools/Images/copy.svg +3 -0
- package/lib/devtools/Images/corporate-fare.svg +3 -0
- package/lib/devtools/Images/credit-card.svg +3 -0
- package/lib/devtools/Images/cross-circle-filled.svg +3 -0
- package/lib/devtools/Images/cross-circle.svg +3 -0
- package/lib/devtools/Images/cross.svg +3 -0
- package/lib/devtools/Images/cssoverview_icons_2x.avif +0 -0
- package/lib/devtools/Images/database-off.svg +1 -0
- package/lib/devtools/Images/database.svg +3 -0
- package/lib/devtools/Images/deployed.svg +3 -0
- package/lib/devtools/Images/device-fold.svg +1 -0
- package/lib/devtools/Images/devices.svg +3 -0
- package/lib/devtools/Images/devtools-thumbnail.svg +57 -0
- package/lib/devtools/Images/devtools-tips.svg +61 -0
- package/lib/devtools/Images/devtools-user-badge.svg +129 -0
- package/lib/devtools/Images/devtools.svg +13 -0
- package/lib/devtools/Images/difference.svg +3 -0
- package/lib/devtools/Images/dock-bottom.svg +3 -0
- package/lib/devtools/Images/dock-left.svg +3 -0
- package/lib/devtools/Images/dock-right.svg +3 -0
- package/lib/devtools/Images/dock-window.svg +3 -0
- package/lib/devtools/Images/document.svg +3 -0
- package/lib/devtools/Images/dog-paw.svg +10 -0
- package/lib/devtools/Images/dom-detective-badge.svg +136 -0
- package/lib/devtools/Images/domain.svg +3 -0
- package/lib/devtools/Images/dots-horizontal.svg +1 -0
- package/lib/devtools/Images/dots-vertical.svg +3 -0
- package/lib/devtools/Images/download.svg +3 -0
- package/lib/devtools/Images/edit.svg +1 -0
- package/lib/devtools/Images/empty.svg +2 -0
- package/lib/devtools/Images/errorWave.svg +74 -0
- package/lib/devtools/Images/exclamation.svg +3 -0
- package/lib/devtools/Images/expand.svg +1 -0
- package/lib/devtools/Images/experiment-check.svg +1 -0
- package/lib/devtools/Images/experiment.svg +3 -0
- package/lib/devtools/Images/extension.svg +1 -0
- package/lib/devtools/Images/eye-crossed.svg +3 -0
- package/lib/devtools/Images/eye.svg +3 -0
- package/lib/devtools/Images/file-document.svg +3 -0
- package/lib/devtools/Images/file-fetch-xhr.svg +3 -0
- package/lib/devtools/Images/file-font.svg +4 -0
- package/lib/devtools/Images/file-generic.svg +3 -0
- package/lib/devtools/Images/file-image.svg +3 -0
- package/lib/devtools/Images/file-json.svg +4 -0
- package/lib/devtools/Images/file-manifest.svg +3 -0
- package/lib/devtools/Images/file-media.svg +3 -0
- package/lib/devtools/Images/file-script.svg +3 -0
- package/lib/devtools/Images/file-snippet.svg +4 -0
- package/lib/devtools/Images/file-stylesheet.svg +4 -0
- package/lib/devtools/Images/file-wasm.svg +5 -0
- package/lib/devtools/Images/file-websocket.svg +3 -0
- package/lib/devtools/Images/filter-clear.svg +3 -0
- package/lib/devtools/Images/filter-filled.svg +3 -0
- package/lib/devtools/Images/filter.svg +3 -0
- package/lib/devtools/Images/flex-direction.svg +5 -0
- package/lib/devtools/Images/flex-no-wrap.svg +5 -0
- package/lib/devtools/Images/flex-wrap.svg +8 -0
- package/lib/devtools/Images/flow.svg +3 -0
- package/lib/devtools/Images/flowsheet.svg +1 -0
- package/lib/devtools/Images/fold-more.svg +3 -0
- package/lib/devtools/Images/folder-asterisk.svg +10 -0
- package/lib/devtools/Images/folder-off.svg +3 -0
- package/lib/devtools/Images/folder.svg +3 -0
- package/lib/devtools/Images/frame-crossed.svg +3 -0
- package/lib/devtools/Images/frame-icon.svg +54 -0
- package/lib/devtools/Images/frame.svg +3 -0
- package/lib/devtools/Images/gdp-logo-dark.png +0 -0
- package/lib/devtools/Images/gdp-logo-light.png +0 -0
- package/lib/devtools/Images/gear-filled.svg +3 -0
- package/lib/devtools/Images/gear.svg +4 -0
- package/lib/devtools/Images/gears.svg +3 -0
- package/lib/devtools/Images/geminiInDevTools.png +0 -0
- package/lib/devtools/Images/geminiInDevTools_2x.png +0 -0
- package/lib/devtools/Images/global.svg +5 -0
- package/lib/devtools/Images/google.svg +3 -0
- package/lib/devtools/Images/goto-filled.svg +1 -0
- package/lib/devtools/Images/grid-direction.svg +6 -0
- package/lib/devtools/Images/grid-on.svg +10 -0
- package/lib/devtools/Images/group.svg +3 -0
- package/lib/devtools/Images/heap-snapshot.svg +6 -0
- package/lib/devtools/Images/heap-snapshots.svg +7 -0
- package/lib/devtools/Images/help.svg +3 -0
- package/lib/devtools/Images/history.svg +3 -0
- package/lib/devtools/Images/home.svg +3 -0
- package/lib/devtools/Images/hover.svg +6 -0
- package/lib/devtools/Images/iframe-crossed.svg +3 -0
- package/lib/devtools/Images/iframe.svg +3 -0
- package/lib/devtools/Images/import.svg +3 -0
- package/lib/devtools/Images/indeterminate-question-box.svg +3 -0
- package/lib/devtools/Images/info-filled.svg +3 -0
- package/lib/devtools/Images/info.svg +3 -0
- package/lib/devtools/Images/issue-cross-filled.svg +3 -0
- package/lib/devtools/Images/issue-exclamation-filled.svg +3 -0
- package/lib/devtools/Images/issue-questionmark-filled.svg +3 -0
- package/lib/devtools/Images/issue-text-filled.svg +3 -0
- package/lib/devtools/Images/justify-content-center.svg +5 -0
- package/lib/devtools/Images/justify-content-end.svg +5 -0
- package/lib/devtools/Images/justify-content-space-around.svg +6 -0
- package/lib/devtools/Images/justify-content-space-between.svg +4 -0
- package/lib/devtools/Images/justify-content-space-evenly.svg +6 -0
- package/lib/devtools/Images/justify-content-start.svg +5 -0
- package/lib/devtools/Images/justify-content-stretch.svg +4 -0
- package/lib/devtools/Images/justify-items-center.svg +4 -0
- package/lib/devtools/Images/justify-items-end.svg +4 -0
- package/lib/devtools/Images/justify-items-start.svg +4 -0
- package/lib/devtools/Images/justify-items-stretch.svg +4 -0
- package/lib/devtools/Images/keyboard-arrow-right.svg +1 -0
- package/lib/devtools/Images/keyboard-full.svg +10 -0
- package/lib/devtools/Images/keyboard-pen.svg +1 -0
- package/lib/devtools/Images/keyboard.svg +3 -0
- package/lib/devtools/Images/label-auto.svg +3 -0
- package/lib/devtools/Images/label.svg +10 -0
- package/lib/devtools/Images/large-arrow-right-filled.svg +1 -0
- package/lib/devtools/Images/layers-filled.svg +1 -0
- package/lib/devtools/Images/layers.svg +1 -0
- package/lib/devtools/Images/left-panel-close.svg +1 -0
- package/lib/devtools/Images/left-panel-open.svg +1 -0
- package/lib/devtools/Images/lightbulb-spark.svg +13 -0
- package/lib/devtools/Images/lightbulb.svg +3 -0
- package/lib/devtools/Images/lighthouse_logo.svg +158 -0
- package/lib/devtools/Images/list.svg +3 -0
- package/lib/devtools/Images/location-on.svg +3 -0
- package/lib/devtools/Images/lock-person.svg +1 -0
- package/lib/devtools/Images/lock.svg +3 -0
- package/lib/devtools/Images/mark-email-unread.svg +3 -0
- package/lib/devtools/Images/match-case.svg +3 -0
- package/lib/devtools/Images/match-whole-word.svg +1 -0
- package/lib/devtools/Images/memory.svg +6 -0
- package/lib/devtools/Images/minus.svg +3 -0
- package/lib/devtools/Images/mop.svg +1 -0
- package/lib/devtools/Images/mouse.svg +4 -0
- package/lib/devtools/Images/navigationControls.png +0 -0
- package/lib/devtools/Images/navigationControls_2x.png +0 -0
- package/lib/devtools/Images/network-settings.svg +3 -0
- package/lib/devtools/Images/node-stack-icon.svg +1 -0
- package/lib/devtools/Images/nodeIcon.avif +0 -0
- package/lib/devtools/Images/open-externally.svg +3 -0
- package/lib/devtools/Images/override.svg +11 -0
- package/lib/devtools/Images/palette.svg +10 -0
- package/lib/devtools/Images/pause-circle.svg +1 -0
- package/lib/devtools/Images/pause.svg +1 -0
- package/lib/devtools/Images/pen-spark.svg +3 -0
- package/lib/devtools/Images/performance-panel-delete-annotation.svg +32 -0
- package/lib/devtools/Images/performance-panel-diagram.svg +34 -0
- package/lib/devtools/Images/performance-panel-entry-label.svg +75 -0
- package/lib/devtools/Images/performance-panel-time-range.svg +15 -0
- package/lib/devtools/Images/performance.svg +3 -0
- package/lib/devtools/Images/person.svg +3 -0
- package/lib/devtools/Images/photo-camera.svg +10 -0
- package/lib/devtools/Images/play.svg +3 -0
- package/lib/devtools/Images/plus.svg +3 -0
- package/lib/devtools/Images/policy.svg +3 -0
- package/lib/devtools/Images/popoverArrows.png +0 -0
- package/lib/devtools/Images/popup.svg +3 -0
- package/lib/devtools/Images/preview_feature_video_thumbnail.svg +92 -0
- package/lib/devtools/Images/profile.svg +3 -0
- package/lib/devtools/Images/psychiatry.svg +3 -0
- package/lib/devtools/Images/puzzle.svg +3 -0
- package/lib/devtools/Images/record-start.svg +4 -0
- package/lib/devtools/Images/record-stop.svg +4 -0
- package/lib/devtools/Images/redo.svg +3 -0
- package/lib/devtools/Images/refresh.svg +10 -0
- package/lib/devtools/Images/regular-expression.svg +3 -0
- package/lib/devtools/Images/replace.svg +1 -0
- package/lib/devtools/Images/replay.svg +3 -0
- package/lib/devtools/Images/report.svg +1 -0
- package/lib/devtools/Images/resizeDiagonal.svg +1 -0
- package/lib/devtools/Images/resizeHorizontal.svg +1 -0
- package/lib/devtools/Images/resizeVertical.svg +1 -0
- package/lib/devtools/Images/resume.svg +1 -0
- package/lib/devtools/Images/revert.svg +3 -0
- package/lib/devtools/Images/review.svg +5 -0
- package/lib/devtools/Images/right-panel-close.svg +1 -0
- package/lib/devtools/Images/right-panel-open.svg +1 -0
- package/lib/devtools/Images/scissors.svg +3 -0
- package/lib/devtools/Images/screen-rotation.svg +1 -0
- package/lib/devtools/Images/search.svg +3 -0
- package/lib/devtools/Images/select-element.svg +3 -0
- package/lib/devtools/Images/send.svg +3 -0
- package/lib/devtools/Images/shadow.svg +3 -0
- package/lib/devtools/Images/shield.svg +3 -0
- package/lib/devtools/Images/small-status-dot.svg +3 -0
- package/lib/devtools/Images/smart-assistant.svg +3 -0
- package/lib/devtools/Images/snippet.svg +4 -0
- package/lib/devtools/Images/spark-info.svg +3 -0
- package/lib/devtools/Images/spark.svg +3 -0
- package/lib/devtools/Images/speculative-loads.svg +1 -0
- package/lib/devtools/Images/speedster-badge.svg +166 -0
- package/lib/devtools/Images/star.svg +3 -0
- package/lib/devtools/Images/step-into.svg +1 -0
- package/lib/devtools/Images/step-out.svg +1 -0
- package/lib/devtools/Images/step-over.svg +1 -0
- package/lib/devtools/Images/step.svg +1 -0
- package/lib/devtools/Images/stop.svg +3 -0
- package/lib/devtools/Images/symbol.svg +3 -0
- package/lib/devtools/Images/sync.svg +3 -0
- package/lib/devtools/Images/tab-move.svg +1 -0
- package/lib/devtools/Images/table.svg +3 -0
- package/lib/devtools/Images/terminal.svg +10 -0
- package/lib/devtools/Images/text-analysis.svg +3 -0
- package/lib/devtools/Images/thumb-down-filled.svg +3 -0
- package/lib/devtools/Images/thumb-down.svg +3 -0
- package/lib/devtools/Images/thumb-up-filled.svg +3 -0
- package/lib/devtools/Images/thumb-up.svg +3 -0
- package/lib/devtools/Images/tonality.svg +10 -0
- package/lib/devtools/Images/toolbarResizerVertical.png +0 -0
- package/lib/devtools/Images/top-panel-close.svg +1 -0
- package/lib/devtools/Images/top-panel-open.svg +1 -0
- package/lib/devtools/Images/touch-app.svg +4 -0
- package/lib/devtools/Images/touchCursor.png +0 -0
- package/lib/devtools/Images/touchCursor_2x.png +0 -0
- package/lib/devtools/Images/triangle-bottom-right.svg +3 -0
- package/lib/devtools/Images/triangle-down.svg +1 -0
- package/lib/devtools/Images/triangle-left.svg +1 -0
- package/lib/devtools/Images/triangle-right.svg +1 -0
- package/lib/devtools/Images/triangle-up.svg +3 -0
- package/lib/devtools/Images/trophy.svg +3 -0
- package/lib/devtools/Images/tune.svg +3 -0
- package/lib/devtools/Images/undo.svg +1 -0
- package/lib/devtools/Images/warning-filled.svg +3 -0
- package/lib/devtools/Images/warning.svg +3 -0
- package/lib/devtools/Images/watch.svg +3 -0
- package/lib/devtools/Images/whatsnew.svg +61 -0
- package/lib/devtools/Images/width.svg +3 -0
- package/lib/devtools/Images/zoom-in.svg +3 -0
- package/lib/devtools/LICENSE +27 -0
- package/lib/devtools/application_tokens.css +413 -0
- package/lib/devtools/chunks/FormatterActions-FcPgI0uV.js +19 -0
- package/lib/devtools/chunks/UIFilter-CIzBruM3.js +18 -0
- package/lib/devtools/chunks/UIRequestLocation-CtGcVN3I.js +48 -0
- package/lib/devtools/chunks/_dsh-devtools_empty-BvRk9kiK.js +0 -0
- package/lib/devtools/chunks/accessibility-OQcgkXIB.js +2718 -0
- package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
- package/lib/devtools/chunks/adorners-Be2VY5BN.js +45 -0
- package/lib/devtools/chunks/ai_assistance-DRe9GF9j.js +4255 -0
- package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
- package/lib/devtools/chunks/animation-TQzd9HO4.js +922 -0
- package/lib/devtools/chunks/application-B8ko2TRt.js +12740 -0
- package/lib/devtools/chunks/autofill-D_Bi6xxt.js +198 -0
- package/lib/devtools/chunks/autofill_manager-Cw0wOndc.js +58 -0
- package/lib/devtools/chunks/bindings-B7uzkbnH.js +4105 -0
- package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
- package/lib/devtools/chunks/browser_debugger-6syzh5He.js +629 -0
- package/lib/devtools/chunks/changes-8Dpo591z.js +393 -0
- package/lib/devtools/chunks/changes-Hp2cPKPp.js +2 -0
- package/lib/devtools/chunks/checkbox.css-Cwxn2mfx.js +4 -0
- package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
- package/lib/devtools/chunks/code_highlighter-oWKo9plW.js +210 -0
- package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
- package/lib/devtools/chunks/color_picker-CHmwJ7or.js +1566 -0
- package/lib/devtools/chunks/common-BGyPsfVb.js +2 -0
- package/lib/devtools/chunks/common-C6gzvSKg.js +15145 -0
- package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
- package/lib/devtools/chunks/components-B5xBXfXj.js +704 -0
- package/lib/devtools/chunks/components-BkETO50Z.js +1090 -0
- package/lib/devtools/chunks/components-DlE11Hk_.js +1338 -0
- package/lib/devtools/chunks/console-DEk3riFh.js +3855 -0
- package/lib/devtools/chunks/console-OWEKC7bo.js +2 -0
- package/lib/devtools/chunks/console_counters-ClDYfPF6.js +103 -0
- package/lib/devtools/chunks/coverage-Dg9NvtX9.js +1176 -0
- package/lib/devtools/chunks/coverage-uK2NUeVj.js +2 -0
- package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
- package/lib/devtools/chunks/css_overview-6FosuoNY.js +1288 -0
- package/lib/devtools/chunks/data_grid-6RZWyPx-.js +1671 -0
- package/lib/devtools/chunks/developer_resources-C6_2oeLF.js +240 -0
- package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
- package/lib/devtools/chunks/dom_extension-B0UaTHZj.js +172 -0
- package/lib/devtools/chunks/elements-CcvMWzGx.js +2 -0
- package/lib/devtools/chunks/elements-Xw7oHKeq.js +11407 -0
- package/lib/devtools/chunks/emulation-B7sLFSxp.js +1306 -0
- package/lib/devtools/chunks/emulation-CvVuS_p0.js +157 -0
- package/lib/devtools/chunks/emulation-DMC3TuHv.js +2 -0
- package/lib/devtools/chunks/emulation-_lA-Xb1h.js +2732 -0
- package/lib/devtools/chunks/event_listeners-CdGgpDsg.js +414 -0
- package/lib/devtools/chunks/explain-fG84ckui.js +747 -0
- package/lib/devtools/chunks/greendev-DvYwqqmc.js +152 -0
- package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
- package/lib/devtools/chunks/helper-DoR8dYRk.js +33 -0
- package/lib/devtools/chunks/helpers-BypUnKdS.js +29 -0
- package/lib/devtools/chunks/i18n-DUXZnMbP.js +17 -0
- package/lib/devtools/chunks/icon_button-mu37qw0h.js +83 -0
- package/lib/devtools/chunks/inline_editor-Dgctmf2_.js +1309 -0
- package/lib/devtools/chunks/inspector_main-yb83VyUs.js +279 -0
- package/lib/devtools/chunks/issue_counter-COHuTTL3.js +193 -0
- package/lib/devtools/chunks/issues-C94onoob.js +1649 -0
- package/lib/devtools/chunks/issues_manager-7hP__vf-.js +3009 -0
- package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
- package/lib/devtools/chunks/layer_viewer-BF3qEG7C.js +1423 -0
- package/lib/devtools/chunks/layers-KW9wwW__.js +370 -0
- package/lib/devtools/chunks/legacy-C0IOfyhX.js +41804 -0
- package/lib/devtools/chunks/legacy-DOCLCisy.js +1434 -0
- package/lib/devtools/chunks/less-DXiRNbd4.js +195 -0
- package/lib/devtools/chunks/lighthouse-BUitD7KK.js +2 -0
- package/lib/devtools/chunks/lighthouse-f3QbU2gw.js +3920 -0
- package/lib/devtools/chunks/linear_memory_inspector-Dhv8CzB6.js +305 -0
- package/lib/devtools/chunks/live-metrics-DTntFi2I.js +284 -0
- package/lib/devtools/chunks/main---7244L8.js +2 -0
- package/lib/devtools/chunks/main-CQ4zKr5A.js +755 -0
- package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
- package/lib/devtools/chunks/markdown_view-DN02v7_2.js +461 -0
- package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
- package/lib/devtools/chunks/media-BNfBOtUh.js +1337 -0
- package/lib/devtools/chunks/media-eTuT8cbS.js +2 -0
- package/lib/devtools/chunks/menus-DoacKucS.js +969 -0
- package/lib/devtools/chunks/mobile_throttling-BKeQegny.js +1052 -0
- package/lib/devtools/chunks/mobile_throttling-DXj04TKw.js +2 -0
- package/lib/devtools/chunks/network-BIhtpwBx.js +2 -0
- package/lib/devtools/chunks/network-C1U3mkwJ.js +9181 -0
- package/lib/devtools/chunks/objectValue.css-B7vmCz4R.js +4 -0
- package/lib/devtools/chunks/object_ui-B8MxYDLE.js +2 -0
- package/lib/devtools/chunks/object_ui-C8fCheVq.js +1461 -0
- package/lib/devtools/chunks/perf_ui-4xM6fYl7.js +2 -0
- package/lib/devtools/chunks/perf_ui-Cp2qToEB.js +3143 -0
- package/lib/devtools/chunks/performance_monitor-BUcbKqz4.js +385 -0
- package/lib/devtools/chunks/php-tl5gKrxu.js +423 -0
- package/lib/devtools/chunks/platform-BzB373NB.js +600 -0
- package/lib/devtools/chunks/profiler-Dq2TBqy8.js +4608 -0
- package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
- package/lib/devtools/chunks/protocol_monitor-BG2dkmPK.js +1224 -0
- package/lib/devtools/chunks/protocol_monitor-DC2CZGW5.js +2 -0
- package/lib/devtools/chunks/puppeteer-ZLIws8kb.js +13299 -0
- package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
- package/lib/devtools/chunks/quick_open-B0xhg6ZL.js +2 -0
- package/lib/devtools/chunks/quick_open-Dfzyy8ve.js +722 -0
- package/lib/devtools/chunks/recorder-BwV8H_Us.js +5465 -0
- package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
- package/lib/devtools/chunks/request_link_icon-BjtC6uxv.js +87 -0
- package/lib/devtools/chunks/root-DbVQo07X.js +255 -0
- package/lib/devtools/chunks/sass-BPQlMmw2.js +370 -0
- package/lib/devtools/chunks/security-BjoaTtpU.js +898 -0
- package/lib/devtools/chunks/sensors-m9L9nmDB.js +752 -0
- package/lib/devtools/chunks/settings-DvrCWlb3.js +1433 -0
- package/lib/devtools/chunks/settings_ui-Df8-TVsv.js +175 -0
- package/lib/devtools/chunks/snackbars-DTKjs7om.js +12010 -0
- package/lib/devtools/chunks/snippets-DkuCZu-J.js +173 -0
- package/lib/devtools/chunks/source_frame-CzY7luV4.js +1352 -0
- package/lib/devtools/chunks/sources-CdvYPTNy.js +2 -0
- package/lib/devtools/chunks/sources-CoHLP03P.js +8216 -0
- package/lib/devtools/chunks/suggestion_input-CpR9sfDn.js +196 -0
- package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
- package/lib/devtools/chunks/textInput.css-D9hN8XWo.js +4 -0
- package/lib/devtools/chunks/text_editor-BH_W0fXD.js +15706 -0
- package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
- package/lib/devtools/chunks/theme_support-DJK4CjXB.js +92 -0
- package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
- package/lib/devtools/chunks/timeline-D6VQ2WWf.js +16347 -0
- package/lib/devtools/chunks/timeline-DfcTNEAb.js +2 -0
- package/lib/devtools/chunks/utils-DqoFGxV_.js +298 -0
- package/lib/devtools/chunks/vue-CjH9yovn.js +73 -0
- package/lib/devtools/chunks/wast-CbGHiqaW.js +109 -0
- package/lib/devtools/chunks/web_audio-CTM_kqxU.js +277 -0
- package/lib/devtools/chunks/webauthn-Bt1tTNVo.js +522 -0
- package/lib/devtools/chunks/whats_new-Dv7HPSaK.js +177 -0
- package/lib/devtools/chunks/xml-DI9dcP5w.js +327 -0
- package/lib/devtools/connect.js +9 -0
- package/lib/devtools/design_system_tokens.css +1061 -0
- package/lib/devtools/device_mode_emulation_frame.html +25 -0
- package/lib/devtools/devtools_app.html +25 -0
- package/lib/devtools/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPad-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPad-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
- package/lib/devtools/emulated_devices/optimized/optimized_images.gni +53 -0
- package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +4 -0
- package/lib/devtools/entrypoints/devtools_app/devtools_app.js +6240 -0
- package/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +2810 -0
- package/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +2142 -0
- package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +290095 -0
- package/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +3403 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOrigin.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +18 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameSite.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/CompatibilityModeQuirks.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/CookieAttributeValueExceedsMaxSize.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/LowTextContrast.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeRead.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeSet.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/arInsecureContext.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/arOsSourceIgnored.md +18 -0
- package/lib/devtools/models/issues_manager/descriptions/arOsTriggerIgnored.md +19 -0
- package/lib/devtools/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/arSourceIgnored.md +13 -0
- package/lib/devtools/models/issues_manager/descriptions/arTriggerIgnored.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/arWebAndOsHeaders.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/bounceTrackingMitigations.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutRead.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutSet.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsAllowCredentialsRequired.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsDisabledScheme.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsDisallowedByMode.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsInvalidHeaderValues.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/corsLocalNetworkAccessPermissionDenied.md +19 -0
- package/lib/devtools/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsOriginMismatch.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/corsPreflightResponseInvalid.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsRedirectContainsCredentials.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cspEvalViolation.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/cspInlineViolation.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesPolicyViolation.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesSinkViolation.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/cspURLViolation.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/deprecation.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestApprovalDeclined.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestCanceled.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestNoResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestTooManyRequests.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/fetchingPartitionedBlobURL.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/genericBackUINavigationWouldSkipAd.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormAriaLabelledByToNonExistingIdError.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormAutocompleteAttributeEmptyError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormDuplicateIdForInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormInputWithNoLabelError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForMatchesNonExistingIdError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForNameError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolDescription.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingTitleAndDescription.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextRequiredParameterMissingName.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/genericNavigationEntryMarkedSkippable.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/genericResponseWasBlockedByORB.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/heavyAd.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/mixedContent.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/navigatingPartitionedBlobURL.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/propertyRuleInvalidNameIssue.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/propertyRuleIssue.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedSelectChild.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedArrayBuffer.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorExpiredResponse.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInsufficientResources.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNavigationRequest.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNoMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonSecureContext.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringIdField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorRequestAborted.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorShuttingDown.md +1 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorTooLongIdField.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorUnsupportedType.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureHeader.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureInputHeader.md +15 -0
- package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureHeader.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureInputHeader.md +7 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsIncorrectLength.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsNotByteSequence.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsParameterized.md +15 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentName.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentType.md +13 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidParameter.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderKeyIdLength.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingLabel.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +8 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueMissingComponents.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +10 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedInvalidLength.md +5 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureExpired.md +6 -0
- package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureMismatch.md +11 -0
- package/lib/devtools/models/issues_manager/descriptions/stylesheetLateImport.md +4 -0
- package/lib/devtools/models/issues_manager/descriptions/stylesheetRequestFailed.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
- package/lib/devtools/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
- package/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
- package/lib/devtools/panels/recorder/injected/injected.generated.js +1 -0
- package/lib/devtools/panels/whats_new/resources/WNDT.md +14 -0
- package/lib/devtools/resource-manifest.json +3818 -0
- package/lib/devtools/third_party/acorn/package/LICENSE +21 -0
- package/lib/devtools/third_party/axe-core/LICENSE +362 -0
- package/lib/devtools/third_party/chromium/LICENSE +27 -0
- package/lib/devtools/third_party/codemirror/package/LICENSE +21 -0
- package/lib/devtools/third_party/codemirror.next/LICENSE +21 -0
- package/lib/devtools/third_party/csp_evaluator/package/LICENSE +202 -0
- package/lib/devtools/third_party/diff/LICENSE +202 -0
- package/lib/devtools/third_party/i18n/LICENSE +202 -0
- package/lib/devtools/third_party/intl-messageformat/LICENSE +33 -0
- package/lib/devtools/third_party/intl-messageformat/package/LICENSE.md +33 -0
- package/lib/devtools/third_party/json5/LICENSE +23 -0
- package/lib/devtools/third_party/legacy-javascript/LICENSE +202 -0
- package/lib/devtools/third_party/lighthouse/LICENSE +202 -0
- package/lib/devtools/third_party/lit/LICENSE +28 -0
- package/lib/devtools/third_party/marked/LICENSE +39 -0
- package/lib/devtools/third_party/marked/package/LICENSE.md +44 -0
- package/lib/devtools/third_party/puppeteer/LICENSE +202 -0
- package/lib/devtools/third_party/puppeteer/third_party/mitt/LICENSE +21 -0
- package/lib/devtools/third_party/puppeteer/third_party/parsel/LICENSE +21 -0
- package/lib/devtools/third_party/puppeteer/third_party/rxjs/LICENSE +201 -0
- package/lib/devtools/third_party/puppeteer-replay/package/LICENSE +202 -0
- package/lib/devtools/third_party/source-map-scopes-codec/LICENSE +26 -0
- package/lib/devtools/third_party/source-map-scopes-codec/package/LICENSE +26 -0
- package/lib/devtools/third_party/third-party-web/LICENSE +20 -0
- package/lib/devtools/third_party/third-party-web/package/LICENSE +20 -0
- package/lib/devtools/third_party/vscode.web-custom-data/package/LICENSE.md +21 -0
- package/lib/devtools/third_party/wasmparser/package/LICENSE +177 -0
- package/lib/devtools/third_party/web-vitals/package/LICENSE +202 -0
- package/lib/index.js +2599 -0
- package/lib/types/client/bottom/keyboard.d.ts +10 -0
- package/lib/types/client/bottom/locales.d.ts +17 -0
- package/lib/types/client/bottom/page.d.ts +10 -0
- package/lib/types/client/bottom/resize.d.ts +12 -0
- package/lib/types/client/bridge/controller.d.ts +10 -0
- package/lib/types/client/bridge/dispatcher.d.ts +26 -0
- package/lib/types/client/bridge/lifecycle.d.ts +22 -0
- package/lib/types/client/bridge/locales.d.ts +3 -0
- package/lib/types/client/bridge/publisher.d.ts +42 -0
- package/lib/types/client/bridge/rpc.d.ts +13 -0
- package/lib/types/client/bridge/transport.d.ts +41 -0
- package/lib/types/client/cdp/console.d.ts +45 -0
- package/lib/types/client/cdp/debugger.d.ts +8 -0
- package/lib/types/client/cdp/errors.d.ts +8 -0
- package/lib/types/client/cdp/heap-profiler.d.ts +8 -0
- package/lib/types/client/cdp/index.d.ts +10 -0
- package/lib/types/client/cdp/objects.d.ts +69 -0
- package/lib/types/client/cdp/profiler.d.ts +8 -0
- package/lib/types/client/cdp/properties.d.ts +16 -0
- package/lib/types/client/cdp/runtime.d.ts +79 -0
- package/lib/types/client/cdp/sources.d.ts +53 -0
- package/lib/types/client/cdp/stack.d.ts +27 -0
- package/lib/types/client/index.d.ts +3 -0
- package/lib/types/client/inspection/cordis.d.ts +3 -0
- package/lib/types/client/inspection/network.d.ts +4 -0
- package/lib/types/client/inspection/realm.d.ts +27 -0
- package/lib/types/client/plugin.d.ts +29 -0
- package/lib/types/host/bridge/controller.d.ts +108 -0
- package/lib/types/host/bridge/dispatcher.d.ts +16 -0
- package/lib/types/host/bridge/lifecycle.d.ts +42 -0
- package/lib/types/host/bridge/publisher.d.ts +31 -0
- package/lib/types/host/bridge/rpc.d.ts +15 -0
- package/lib/types/host/bridge/transport.d.ts +28 -0
- package/lib/types/host/cdp/console.d.ts +14 -0
- package/lib/types/host/cdp/debugger.d.ts +8 -0
- package/lib/types/host/cdp/errors.d.ts +6 -0
- package/lib/types/host/cdp/heap-profiler.d.ts +8 -0
- package/lib/types/host/cdp/index.d.ts +10 -0
- package/lib/types/host/cdp/objects.d.ts +8 -0
- package/lib/types/host/cdp/profiler.d.ts +8 -0
- package/lib/types/host/cdp/properties.d.ts +7 -0
- package/lib/types/host/cdp/runtime.d.ts +16 -0
- package/lib/types/host/cdp/sources.d.ts +14 -0
- package/lib/types/host/cdp/stack.d.ts +4 -0
- package/lib/types/host/index.d.ts +3 -0
- package/lib/types/host/inspection/cordis.d.ts +3 -0
- package/lib/types/host/inspection/network.d.ts +23 -0
- package/lib/types/host/inspection/realm.d.ts +9 -0
- package/lib/types/host/plugin.d.ts +24 -0
- package/lib/types/index.d.ts +50 -0
- package/lib/types/shared/bridge/buffer.d.ts +62 -0
- package/lib/types/shared/bridge/codec.d.ts +4 -0
- package/lib/types/shared/bridge/control-codec.d.ts +27 -0
- package/lib/types/shared/bridge/ids.d.ts +19 -0
- package/lib/types/shared/bridge/messages/control.d.ts +64 -0
- package/lib/types/shared/bridge/messages/cordis.d.ts +4 -0
- package/lib/types/shared/bridge/messages/network.d.ts +4 -0
- package/lib/types/shared/bridge/messages/observation.d.ts +110 -0
- package/lib/types/shared/bridge/messages/query/codec.d.ts +40 -0
- package/lib/types/shared/bridge/messages/query/commands.d.ts +35 -0
- package/lib/types/shared/bridge/messages/query/frames.d.ts +31 -0
- package/lib/types/shared/bridge/messages/query/index.d.ts +5 -0
- package/lib/types/shared/bridge/messages/runtime/command-codec.d.ts +9 -0
- package/lib/types/shared/bridge/messages/runtime/commands.d.ts +76 -0
- package/lib/types/shared/bridge/messages/runtime/console-frames.d.ts +52 -0
- package/lib/types/shared/bridge/messages/runtime/frames.d.ts +98 -0
- package/lib/types/shared/bridge/messages/runtime/index.d.ts +5 -0
- package/lib/types/shared/bridge/messages/runtime/value-codec.d.ts +28 -0
- package/lib/types/shared/bridge/messages/sources/codec.d.ts +15 -0
- package/lib/types/shared/bridge/messages/sources/commands.d.ts +42 -0
- package/lib/types/shared/bridge/messages/sources/frames.d.ts +67 -0
- package/lib/types/shared/bridge/messages/sources/index.d.ts +5 -0
- package/lib/types/shared/bridge/publisher.d.ts +33 -0
- package/lib/types/shared/bridge/query-reader.d.ts +10 -0
- package/lib/types/shared/bridge/rpc.d.ts +62 -0
- package/lib/types/shared/bridge/validation.d.ts +3 -0
- package/lib/types/shared/bridge/version.d.ts +3 -0
- package/lib/types/shared/cdp/capabilities.d.ts +17 -0
- package/lib/types/shared/cdp/console.d.ts +28 -0
- package/lib/types/shared/cdp/debugger.d.ts +69 -0
- package/lib/types/shared/cdp/errors.d.ts +27 -0
- package/lib/types/shared/cdp/ids.d.ts +9 -0
- package/lib/types/shared/cdp/index.d.ts +11 -0
- package/lib/types/shared/cdp/operations.d.ts +86 -0
- package/lib/types/shared/cdp/property.d.ts +28 -0
- package/lib/types/shared/cdp/realm.d.ts +137 -0
- package/lib/types/shared/cdp/remote-object.d.ts +44 -0
- package/lib/types/shared/cdp/sources.d.ts +18 -0
- package/lib/types/shared/cordis/collector.d.ts +26 -0
- package/lib/types/shared/cordis/ids.d.ts +7 -0
- package/lib/types/shared/cordis/model.d.ts +61 -0
- package/lib/types/shared/cordis/object-reference.d.ts +14 -0
- package/lib/types/shared/cordis/object-registry.d.ts +80 -0
- package/lib/types/shared/cordis/observer.d.ts +15 -0
- package/lib/types/shared/cordis/projector.d.ts +34 -0
- package/lib/types/shared/cordis/publisher.d.ts +13 -0
- package/lib/types/shared/cordis/reader.d.ts +18 -0
- package/lib/types/shared/cordis/snapshot.d.ts +39 -0
- package/lib/types/shared/dispose.d.ts +11 -0
- package/lib/types/shared/identity.d.ts +12 -0
- package/lib/types/shared/index.d.ts +18 -0
- package/lib/types/shared/json.d.ts +35 -0
- package/lib/types/shared/network/event-source.d.ts +20 -0
- package/lib/types/shared/network/observation.d.ts +52 -0
- package/lib/types/shared/service.d.ts +23 -0
- package/lib/types/shared/validation.d.ts +52 -0
- package/lib/types/shared/web.d.ts +16 -0
- package/lib/types/worker/bridge/endpoint.d.ts +49 -0
- package/lib/types/worker/bridge/hub.d.ts +108 -0
- package/lib/types/worker/bridge/runtime-rpc.d.ts +90 -0
- package/lib/types/worker/bridge/session.d.ts +15 -0
- package/lib/types/worker/bridge/source-rpc.d.ts +42 -0
- package/lib/types/worker/cdp/domains/debugger/cdp-params.d.ts +15 -0
- package/lib/types/worker/cdp/domains/debugger/index.d.ts +6 -0
- package/lib/types/worker/cdp/domains/debugger/projector.d.ts +22 -0
- package/lib/types/worker/cdp/domains/debugger/script-registry.d.ts +70 -0
- package/lib/types/worker/cdp/domains/debugger/session.d.ts +47 -0
- package/lib/types/worker/cdp/domains/dom/index.d.ts +4 -0
- package/lib/types/worker/cdp/domains/dom/model.d.ts +121 -0
- package/lib/types/worker/cdp/domains/dom/session.d.ts +78 -0
- package/lib/types/worker/cdp/domains/native.d.ts +25 -0
- package/lib/types/worker/cdp/domains/network/session.d.ts +46 -0
- package/lib/types/worker/cdp/domains/runtime/cdp-params.d.ts +82 -0
- package/lib/types/worker/cdp/domains/runtime/index.d.ts +3 -0
- package/lib/types/worker/cdp/domains/runtime/object-table.d.ts +117 -0
- package/lib/types/worker/cdp/domains/runtime/session.d.ts +97 -0
- package/lib/types/worker/cdp/ids.d.ts +37 -0
- package/lib/types/worker/cdp/protocol.d.ts +46 -0
- package/lib/types/worker/cdp/realm-sessions.d.ts +67 -0
- package/lib/types/worker/cdp/session.d.ts +39 -0
- package/lib/types/worker/cdp/target.d.ts +17 -0
- package/lib/types/worker/entry.d.ts +3 -0
- package/lib/types/worker/inspection/cordis-query.d.ts +11 -0
- package/lib/types/worker/inspection/cordis-store.d.ts +94 -0
- package/lib/types/worker/inspection/network-store.d.ts +110 -0
- package/lib/types/worker/inspection/query-router.d.ts +78 -0
- package/lib/types/worker/inspection/realm-store.d.ts +58 -0
- package/lib/types/worker/inspection/realm.d.ts +43 -0
- package/lib/types/worker/realms/client/bridge.d.ts +18 -0
- package/lib/types/worker/realms/client/console.d.ts +21 -0
- package/lib/types/worker/realms/client/debugger.d.ts +8 -0
- package/lib/types/worker/realms/client/index.d.ts +18 -0
- package/lib/types/worker/realms/client/runtime.d.ts +28 -0
- package/lib/types/worker/realms/client/scripts.d.ts +15 -0
- package/lib/types/worker/realms/client/sources.d.ts +30 -0
- package/lib/types/worker/realms/client/values.d.ts +55 -0
- package/lib/types/worker/realms/host/bridge.d.ts +49 -0
- package/lib/types/worker/realms/host/console.d.ts +25 -0
- package/lib/types/worker/realms/host/debugger.d.ts +25 -0
- package/lib/types/worker/realms/host/index.d.ts +13 -0
- package/lib/types/worker/realms/host/runtime.d.ts +54 -0
- package/lib/types/worker/realms/host/scripts.d.ts +9 -0
- package/lib/types/worker/realms/host/sources.d.ts +26 -0
- package/lib/types/worker/realms/host/values.d.ts +22 -0
- package/lib/types/worker/server.d.ts +16 -0
- package/lib/worker.js +7293 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +86 -3
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
import { bt as e, d as t, p as n, u as r, wt as i } from "./common-qd_KLeYO.js";
|
|
2
|
+
import { p as a, r as o } from "./root-DbVQo07X.js";
|
|
3
|
+
import { $i as s, Gf as c, Hf as l, Io as u, Na as d, No as f, Qi as p, Sa as ee, Wf as m, Xf as h, Zi as g, Zo as _, ep as v, ha as y, ii as te, jr as b, mf as x, ni as S, no as C, np as w, op as T, pf as E, qa as D } from "./legacy-C0IOfyhX.js";
|
|
4
|
+
import "./common-C6gzvSKg.js";
|
|
5
|
+
import { d as O, f as ne, l as k } from "./console-DEk3riFh.js";
|
|
6
|
+
import { t as A } from "./marked-zGgfoDxO.js";
|
|
7
|
+
import { t as j } from "./checkbox.css-Cwxn2mfx.js";
|
|
8
|
+
import { t as M } from "./markdown_view-DN02v7_2.js";
|
|
9
|
+
//#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/explain/components/consoleInsight.css.mjs
|
|
10
|
+
var re = "/*\n * Copyright 2023 The Chromium Authors\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n@scope to (devtools-widget > *) {\n * {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n }\n\n :scope {\n font-family: var(--default-font-family);\n font-size: inherit;\n display: block;\n }\n\n .wrapper {\n background-color: var(--sys-color-cdt-base-container);\n border-radius: 16px;\n container-type: inline-size;\n display: grid;\n animation: expand var(--sys-motion-duration-medium2) var(--sys-motion-easing-emphasized) forwards;\n }\n\n .wrapper.closing {\n animation: collapse var(--sys-motion-duration-medium2) var(--sys-motion-easing-emphasized) forwards;\n }\n\n @keyframes expand {\n from {\n grid-template-rows: 0fr;\n }\n\n to {\n grid-template-rows: 1fr;\n }\n }\n\n @keyframes collapse {\n from {\n grid-template-rows: 1fr;\n }\n\n to {\n grid-template-rows: 0fr;\n padding-top: 0;\n padding-bottom: 0;\n }\n }\n\n .animation-wrapper {\n overflow: hidden;\n padding: var(--sys-size-6) var(--sys-size-8);\n }\n\n .wrapper.top {\n border-radius: 16px 16px 4px 4px;\n }\n\n .wrapper.bottom {\n margin-top: 5px;\n border-radius: 4px 4px 16px 16px;\n }\n\n header {\n display: flex;\n flex-direction: row;\n gap: 6px;\n color: var(--sys-color-on-surface);\n font-size: 13px;\n font-style: normal;\n font-weight: 500;\n margin-bottom: var(--sys-size-6);\n align-items: center;\n }\n\n header:focus-visible {\n outline: none;\n }\n\n header > .filler {\n display: flex;\n flex-direction: row;\n gap: var(--sys-size-5);\n align-items: center;\n flex: 1;\n }\n\n .reminder-container {\n border-radius: var(--sys-size-5);\n background-color: var(--sys-color-surface4);\n padding: var(--sys-size-8);\n font-weight: var(--ref-typeface-weight-medium);\n\n h3 {\n font: inherit;\n }\n }\n\n .reminder-items {\n display: grid;\n grid-template-columns: var(--sys-size-8) auto;\n gap: var(--sys-size-5) var(--sys-size-6);\n margin-top: var(--sys-size-6);\n line-height: var(--sys-size-8);\n font-weight: var(--ref-typeface-weight-regular);\n }\n\n main {\n --override-markdown-view-message-color: var(--sys-color-on-surface);\n\n color: var(--sys-color-on-surface);\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n\n p {\n margin-block: 1em;\n }\n\n ul {\n list-style-type: none;\n list-style-position: inside;\n padding-inline-start: 0.2em;\n\n li {\n display: list-item;\n list-style-type: disc;\n list-style-position: outside;\n margin-inline-start: 1em;\n }\n\n li::marker {\n font-size: 11px;\n line-height: 1;\n }\n }\n\n label {\n display: inline-flex;\n flex-direction: row;\n gap: 0.5em;\n\n input,\n span {\n vertical-align: middle;\n }\n\n input[type=\"checkbox\"] {\n margin-top: 0.3em;\n }\n }\n }\n\n .opt-in-teaser {\n display: flex;\n gap: var(--sys-size-5);\n }\n\n devtools-markdown-view {\n margin-bottom: 12px;\n }\n\n footer {\n display: flex;\n flex-direction: row;\n align-items: center;\n color: var(--sys-color-on-surface);\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin-top: 14px;\n gap: 32px;\n }\n\n @container (max-width: 600px) {\n footer {\n gap: 8px;\n }\n }\n\n footer > .filler {\n flex: 1;\n }\n\n footer .rating {\n display: flex;\n flex-direction: row;\n gap: 8px;\n }\n\n textarea {\n height: 84px;\n padding: 10px;\n border-radius: 8px;\n border: 1px solid var(--sys-color-neutral-outline);\n width: 100%;\n font-family: var(--default-font-family);\n font-size: inherit;\n }\n\n .buttons {\n display: flex;\n gap: 5px;\n }\n\n @media (width <= 500px) {\n .buttons {\n flex-wrap: wrap;\n }\n }\n\n main .buttons {\n margin-top: 12px;\n }\n\n .disclaimer {\n display: flex;\n gap: 2px;\n color: var(--sys-color-on-surface-subtle);\n font-size: 11px;\n align-items: flex-start;\n flex-direction: column;\n }\n\n .link {\n color: var(--sys-color-primary);\n text-decoration-line: underline;\n\n devtools-icon {\n color: var(--sys-color-primary);\n width: 14px;\n height: 14px;\n }\n }\n\n button.link {\n border: none;\n background: none;\n cursor: pointer;\n font: inherit;\n }\n\n .loader {\n background:\n linear-gradient(\n 130deg,\n transparent 0%,\n var(--sys-color-gradient-tertiary) 20%,\n var(--sys-color-gradient-primary) 40%,\n transparent 60%,\n var(--sys-color-gradient-tertiary) 80%,\n var(--sys-color-gradient-primary) 100%\n );\n background-position: 0% 0%;\n background-size: 250% 250%;\n animation: gradient 5s infinite linear;\n }\n\n @keyframes gradient {\n 0% { background-position: 0 0; }\n 100% { background-position: 100% 100%; }\n }\n\n summary {\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 20px;\n }\n\n details {\n overflow: hidden;\n margin-top: 10px;\n }\n\n ::details-content {\n height: 0;\n transition:\n height var(--sys-motion-duration-short4) var(--sys-motion-easing-emphasized),\n content-visibility var(--sys-motion-duration-short4) var(--sys-motion-easing-emphasized) allow-discrete;\n }\n\n [open]::details-content {\n height: auto;\n }\n\n details.references {\n /* This transition is only added because there is no `transitionend` event in\n JS for the `::details-content` transition. */\n transition: margin-bottom var(--sys-motion-duration-short4) var(--sys-motion-easing-emphasized);\n }\n\n details.references[open] {\n /* This transition does not affect the actual UI because of collapsing margins. */\n margin-bottom: var(--sys-size-1);\n }\n\n h2 {\n display: block;\n font-size: var(--sys-size-7);\n margin: 0;\n font-weight: var(--ref-typeface-weight-medium);\n line-height: var(--sys-size-9);\n }\n\n h2:focus-visible {\n outline: none;\n }\n\n .info {\n width: 20px;\n height: 20px;\n }\n\n .badge {\n background: linear-gradient(135deg, var(--sys-color-gradient-primary), var(--sys-color-gradient-tertiary));\n border-radius: var(--sys-size-3);\n height: var(--sys-size-9);\n\n devtools-icon {\n margin: var(--sys-size-2);\n }\n }\n\n .header-icon-container {\n background: linear-gradient(135deg, var(--sys-color-gradient-primary), var(--sys-color-gradient-tertiary));\n border-radius: var(--sys-size-4);\n height: 36px;\n width: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .close-button {\n align-self: flex-start;\n }\n\n .sources-list {\n padding-left: var(--sys-size-6);\n margin-bottom: var(--sys-size-6);\n list-style: none;\n counter-reset: sources;\n display: grid;\n grid-template-columns: var(--sys-size-9) auto;\n list-style-position: inside;\n }\n\n .sources-list li {\n display: contents;\n }\n\n .sources-list li::before {\n counter-increment: sources;\n content: \"[\" counter(sources) \"]\";\n display: table-cell;\n }\n\n .sources-list devtools-link.highlighted {\n animation: highlight-fadeout 2s;\n }\n\n @keyframes highlight-fadeout {\n from {\n background-color: var(--sys-color-yellow-container);\n }\n\n to {\n background-color: transparent;\n }\n }\n\n .references-list {\n padding-left: var(--sys-size-8);\n }\n\n .references-list li {\n padding-left: var(--sys-size-3);\n }\n\n details h3 {\n font-size: 10px;\n font-weight: var(--ref-typeface-weight-medium);\n text-transform: uppercase;\n color: var(--sys-color-on-surface-subtle);\n padding-left: var(--sys-size-6);\n }\n\n .error-message {\n font: var(--sys-typescale-body4-bold);\n }\n\n @scope (.insight-sources) {\n :root {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n display: block;\n }\n\n ul {\n color: var(--sys-color-primary);\n font-size: 12px;\n font-style: normal;\n font-weight: 400;\n line-height: 18px;\n margin-top: 8px;\n padding-left: var(--sys-size-6);\n }\n\n li {\n list-style-type: none;\n }\n\n ul .link {\n color: var(--sys-color-primary);\n display: inline-flex !important; /* stylelint-disable-line declaration-no-important */\n align-items: center;\n gap: 4px;\n text-decoration-line: underline;\n }\n\n devtools-icon {\n height: 16px;\n width: 16px;\n margin-right: var(--sys-size-1);\n }\n\n devtools-icon[name=\"open-externally\"] {\n color: var(--icon-link);\n }\n\n .source-disclaimer {\n color: var(--sys-color-on-surface-subtle);\n }\n }\n}\n", N = {
|
|
11
|
+
consoleMessage: "Console message",
|
|
12
|
+
stackTrace: "Stacktrace",
|
|
13
|
+
networkRequest: "Network request",
|
|
14
|
+
relatedCode: "Related code",
|
|
15
|
+
generating: "Generating explanation…",
|
|
16
|
+
insight: "Explanation",
|
|
17
|
+
closeInsight: "Close explanation",
|
|
18
|
+
inputData: "Data used to understand this message",
|
|
19
|
+
goodResponse: "Good response",
|
|
20
|
+
badResponse: "Bad response",
|
|
21
|
+
report: "Report legal issue",
|
|
22
|
+
error: "DevTools has encountered an error",
|
|
23
|
+
errorBody: "Something went wrong. Try again.",
|
|
24
|
+
opensInNewTab: "(opens in a new tab)",
|
|
25
|
+
learnMore: "Learn more",
|
|
26
|
+
notLoggedIn: "This feature is only available when you sign into Chrome with your Google account.",
|
|
27
|
+
signIn: "Sign in",
|
|
28
|
+
offlineHeader: "DevTools can’t reach the internet",
|
|
29
|
+
offline: "Check your internet connection and try again.",
|
|
30
|
+
signInToUse: "Sign in to use this feature",
|
|
31
|
+
search: "Use search instead",
|
|
32
|
+
reloadRecommendation: "Reload the page to capture related network request data for this message in order to create a better insight.",
|
|
33
|
+
turnOnInSettings: "Turn on {PH1} to receive AI assistance for understanding and addressing console warnings and errors.",
|
|
34
|
+
settingsLink: "`Console insights` in Settings",
|
|
35
|
+
references: "Sources and related content",
|
|
36
|
+
relatedContent: "Related content",
|
|
37
|
+
timedOut: "Generating a response took too long. Please try again.",
|
|
38
|
+
notAvailableInIncognitoMode: "AI assistance is not available in Incognito mode or Guest mode"
|
|
39
|
+
}, P = i("panels/explain/components/ConsoleInsight.ts", N), F = e.bind(void 0, P), ie = u.bind(void 0, P), { render: ae, html: I, Directives: L } = f, { widget: R } = te, z = class e extends Event {
|
|
40
|
+
static eventName = "closeinsight";
|
|
41
|
+
constructor() {
|
|
42
|
+
super(e.eventName, {
|
|
43
|
+
composed: !0,
|
|
44
|
+
bubbles: !0
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
function B(e) {
|
|
49
|
+
switch (e) {
|
|
50
|
+
case O.MESSAGE: return F(N.consoleMessage);
|
|
51
|
+
case O.STACKTRACE: return F(N.stackTrace);
|
|
52
|
+
case O.NETWORK_REQUEST: return F(N.networkRequest);
|
|
53
|
+
case O.RELATED_CODE: return F(N.relatedCode);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
var V = "https://policies.google.com/terms", H = "https://policies.google.com/privacy", U = "https://support.google.com/legal/answer/13505487", W = "https://goo.gle/devtools-console-messages-ai", G = "https://support.google.com/legal/troubleshooter/1114905?hl=en#ts=1115658%2C13380504", K = "https://accounts.google.com", q = {
|
|
57
|
+
name: "citation",
|
|
58
|
+
level: "inline",
|
|
59
|
+
start(e) {
|
|
60
|
+
return e.match(/\[\^/)?.index;
|
|
61
|
+
},
|
|
62
|
+
tokenizer(e) {
|
|
63
|
+
let t = e.match(/^\[\^(\d+)\]/);
|
|
64
|
+
return t ? {
|
|
65
|
+
type: "citation",
|
|
66
|
+
raw: t[0],
|
|
67
|
+
linkText: Number(t[1])
|
|
68
|
+
} : !1;
|
|
69
|
+
},
|
|
70
|
+
renderer: () => ""
|
|
71
|
+
};
|
|
72
|
+
function J(e) {
|
|
73
|
+
return !!e.factualityMetadata?.facts.length;
|
|
74
|
+
}
|
|
75
|
+
var Y = (e) => e.stopPropagation();
|
|
76
|
+
function oe(e) {
|
|
77
|
+
return I`<devtools-button
|
|
78
|
+
@click=${e}
|
|
79
|
+
class="search-button"
|
|
80
|
+
.variant=${s.OUTLINED}
|
|
81
|
+
.jslogContext=${"search"}
|
|
82
|
+
>
|
|
83
|
+
${F(N.search)}
|
|
84
|
+
</devtools-button>`;
|
|
85
|
+
}
|
|
86
|
+
function se() {
|
|
87
|
+
return I`<devtools-link href=${W} class="link" jslogcontext="learn-more">
|
|
88
|
+
${F(N.learnMore)}
|
|
89
|
+
</devtools-link>`;
|
|
90
|
+
}
|
|
91
|
+
function ce(e, t, n, r) {
|
|
92
|
+
return e.length ? I`
|
|
93
|
+
<ol class="sources-list">
|
|
94
|
+
${e.map((e, i) => I`
|
|
95
|
+
<li>
|
|
96
|
+
<devtools-link
|
|
97
|
+
href=${e}
|
|
98
|
+
class=${L.classMap({
|
|
99
|
+
link: !0,
|
|
100
|
+
highlighted: i === t
|
|
101
|
+
})}
|
|
102
|
+
jslogcontext="references.console-insights"
|
|
103
|
+
${L.ref((e) => {
|
|
104
|
+
r.citationLinks[i] = e;
|
|
105
|
+
})}
|
|
106
|
+
@animationend=${n}
|
|
107
|
+
>
|
|
108
|
+
${e}
|
|
109
|
+
</devtools-link>
|
|
110
|
+
</li>
|
|
111
|
+
`)}
|
|
112
|
+
</ol>
|
|
113
|
+
` : _;
|
|
114
|
+
}
|
|
115
|
+
function le(e, t) {
|
|
116
|
+
return e.length === 0 ? _ : I`
|
|
117
|
+
${t.length ? I`<h3>${F(N.relatedContent)}</h3>` : _}
|
|
118
|
+
<ul class="references-list">
|
|
119
|
+
${e.map((e) => I`
|
|
120
|
+
<li>
|
|
121
|
+
<devtools-link
|
|
122
|
+
href=${e}
|
|
123
|
+
class="link"
|
|
124
|
+
jslogcontext="references.console-insights"
|
|
125
|
+
>
|
|
126
|
+
${e}
|
|
127
|
+
</devtools-link>
|
|
128
|
+
</li>
|
|
129
|
+
`)}
|
|
130
|
+
</ul>
|
|
131
|
+
`;
|
|
132
|
+
}
|
|
133
|
+
function ue() {
|
|
134
|
+
return I`
|
|
135
|
+
<div role="presentation" aria-label="Loading" class="loader" style="clip-path: url('#clipPath');">
|
|
136
|
+
<svg width="100%" height="64">
|
|
137
|
+
<clipPath id="clipPath">
|
|
138
|
+
<rect x="0" y="0" width="100%" height="16" rx="8"></rect>
|
|
139
|
+
<rect x="0" y="24" width="100%" height="16" rx="8"></rect>
|
|
140
|
+
<rect x="0" y="48" width="100%" height="16" rx="8"></rect>
|
|
141
|
+
</clipPath>
|
|
142
|
+
</svg>
|
|
143
|
+
</div>`;
|
|
144
|
+
}
|
|
145
|
+
function de(e, t) {
|
|
146
|
+
return I`
|
|
147
|
+
<div class="insight-sources">
|
|
148
|
+
<ul>
|
|
149
|
+
${L.repeat(e, (e) => e.value, (e) => I`<li><devtools-link class="link" title="${B(e.type)} ${F(N.opensInNewTab)}" href="data:text/plain;charset=utf-8,${encodeURIComponent(e.value)}" .jslogContext=${"source-" + e.type}>
|
|
150
|
+
<devtools-icon name="open-externally"></devtools-icon>
|
|
151
|
+
${B(e.type)}
|
|
152
|
+
</devtools-link></li>`)}
|
|
153
|
+
${t ? I`<li class="source-disclaimer">
|
|
154
|
+
<devtools-icon name="warning"></devtools-icon>
|
|
155
|
+
${F(N.reloadRecommendation)}</li>` : _}
|
|
156
|
+
</ul>
|
|
157
|
+
</div>`;
|
|
158
|
+
}
|
|
159
|
+
function fe(e, { renderer: t, disableAnimations: n, areReferenceDetailsOpen: r, highlightedCitationIndex: i, callbacks: a }, o) {
|
|
160
|
+
return I`
|
|
161
|
+
${e.validMarkdown ? I`<devtools-markdown-view
|
|
162
|
+
.data=${{
|
|
163
|
+
tokens: e.tokens,
|
|
164
|
+
renderer: t,
|
|
165
|
+
animationEnabled: !n
|
|
166
|
+
}}>
|
|
167
|
+
</devtools-markdown-view>` : e.explanation}
|
|
168
|
+
${e.timedOut ? I`<p class="error-message">${F(N.timedOut)}</p>` : _}
|
|
169
|
+
${J(e.metadata) ? I`
|
|
170
|
+
<details
|
|
171
|
+
class="references"
|
|
172
|
+
?open=${r}
|
|
173
|
+
jslog=${d("references").track({ click: !0 })}
|
|
174
|
+
@toggle=${a.onToggleReferenceDetails}
|
|
175
|
+
@transitionend=${a.onReferencesOpen}
|
|
176
|
+
>
|
|
177
|
+
<summary>${F(N.references)}</summary>
|
|
178
|
+
${ce(e.directCitationUrls, i, a.onCitationAnimationEnd, o)}
|
|
179
|
+
${le(e.relatedUrls, e.directCitationUrls)}
|
|
180
|
+
</details>
|
|
181
|
+
` : _}
|
|
182
|
+
<details jslog=${d("sources").track({ click: !0 })}>
|
|
183
|
+
<summary>${F(N.inputData)}</summary>
|
|
184
|
+
${de(e.sources, e.isPageReloadRecommended)}
|
|
185
|
+
</details>
|
|
186
|
+
<div class="buttons">
|
|
187
|
+
${oe(a.onSearch)}
|
|
188
|
+
</div>`;
|
|
189
|
+
}
|
|
190
|
+
function X(e) {
|
|
191
|
+
return I`<div class="error">${e}</div>`;
|
|
192
|
+
}
|
|
193
|
+
function pe(e) {
|
|
194
|
+
return I`
|
|
195
|
+
<h3>Things to consider</h3>
|
|
196
|
+
<div class="reminder-items">
|
|
197
|
+
<div>
|
|
198
|
+
<devtools-icon name="google" class="medium">
|
|
199
|
+
</devtools-icon>
|
|
200
|
+
</div>
|
|
201
|
+
<div>The console message, associated stack trace, related source code, and the associated network headers are sent to Google to generate explanations. ${e ? "The content you submit and that is generated by this feature will not be used to improve Google’s AI models." : "This data may be seen by human reviewers to improve this feature. Avoid sharing sensitive or personal information."}
|
|
202
|
+
</div>
|
|
203
|
+
<div>
|
|
204
|
+
<devtools-icon name="policy" class="medium">
|
|
205
|
+
</devtools-icon>
|
|
206
|
+
</div>
|
|
207
|
+
<div>Use of this feature is subject to the <devtools-link
|
|
208
|
+
href=${V}
|
|
209
|
+
class="link"
|
|
210
|
+
jslogcontext="terms-of-service.console-insights">
|
|
211
|
+
Google Terms of Service
|
|
212
|
+
</devtools-link> and <devtools-link
|
|
213
|
+
href=${H}
|
|
214
|
+
class="link"
|
|
215
|
+
jslogcontext="privacy-policy.console-insights">
|
|
216
|
+
Google Privacy Policy
|
|
217
|
+
</devtools-link>
|
|
218
|
+
</div>
|
|
219
|
+
<div>
|
|
220
|
+
<devtools-icon name="warning" class="medium">
|
|
221
|
+
</devtools-icon>
|
|
222
|
+
</div>
|
|
223
|
+
<div>
|
|
224
|
+
<devtools-link
|
|
225
|
+
href=${U}
|
|
226
|
+
class="link"
|
|
227
|
+
jslogcontext="code-snippets-explainer.console-insights"
|
|
228
|
+
>Use generated code snippets with caution</devtools-link>
|
|
229
|
+
</div>
|
|
230
|
+
</div>`;
|
|
231
|
+
}
|
|
232
|
+
function me(e) {
|
|
233
|
+
let t = I`
|
|
234
|
+
<button
|
|
235
|
+
class="link" role="link"
|
|
236
|
+
jslog=${y("open-ai-settings").track({ click: !0 })}
|
|
237
|
+
@click=${e}
|
|
238
|
+
>${F(N.settingsLink)}</button>`;
|
|
239
|
+
return I`
|
|
240
|
+
<div class="badge">
|
|
241
|
+
<devtools-icon name="lightbulb-spark" class="medium">
|
|
242
|
+
</devtools-icon>
|
|
243
|
+
</div>
|
|
244
|
+
<div>
|
|
245
|
+
${ie(N.turnOnInSettings, { PH1: t })} ${se()}
|
|
246
|
+
</div>`;
|
|
247
|
+
}
|
|
248
|
+
function he() {
|
|
249
|
+
return X(a.isOffTheRecord ? F(N.notAvailableInIncognitoMode) : F(N.notLoggedIn));
|
|
250
|
+
}
|
|
251
|
+
function Z(e, t) {
|
|
252
|
+
return I`<span>
|
|
253
|
+
AI tools may generate inaccurate info that doesn't represent Google's views. ${e ? "The content you submit and that is generated by this feature will not be used to improve Google’s AI models." : "Data sent to Google may be seen by human reviewers to improve this feature."} <button class="link" role="link" @click=${t}
|
|
254
|
+
jslog=${y("open-ai-settings").track({ click: !0 })}>
|
|
255
|
+
Open settings
|
|
256
|
+
</button> or <devtools-link href=${W}
|
|
257
|
+
class="link" jslogcontext="learn-more">
|
|
258
|
+
learn more
|
|
259
|
+
</devtools-link>
|
|
260
|
+
</span>`;
|
|
261
|
+
}
|
|
262
|
+
function Q(e, t) {
|
|
263
|
+
return I`
|
|
264
|
+
<div class="disclaimer">
|
|
265
|
+
${Z(e, t)}
|
|
266
|
+
</div>`;
|
|
267
|
+
}
|
|
268
|
+
function ge(e) {
|
|
269
|
+
return a.isOffTheRecord ? _ : I`
|
|
270
|
+
<div class="filler"></div>
|
|
271
|
+
<div>
|
|
272
|
+
<devtools-button
|
|
273
|
+
@click=${e}
|
|
274
|
+
.variant=${s.PRIMARY}
|
|
275
|
+
.jslogContext=${"update-settings"}
|
|
276
|
+
>
|
|
277
|
+
${F(N.signIn)}
|
|
278
|
+
</devtools-button>
|
|
279
|
+
</div>`;
|
|
280
|
+
}
|
|
281
|
+
function _e(e, t) {
|
|
282
|
+
return I`
|
|
283
|
+
<div class="filler"></div>
|
|
284
|
+
<div class="buttons">
|
|
285
|
+
<devtools-button
|
|
286
|
+
@click=${e}
|
|
287
|
+
.variant=${s.TONAL}
|
|
288
|
+
.jslogContext=${"settings"}
|
|
289
|
+
.title=${"Settings"}
|
|
290
|
+
>
|
|
291
|
+
Settings
|
|
292
|
+
</devtools-button>
|
|
293
|
+
<devtools-button
|
|
294
|
+
class='continue-button'
|
|
295
|
+
@click=${t}
|
|
296
|
+
.variant=${s.PRIMARY}
|
|
297
|
+
.jslogContext=${"continue"}
|
|
298
|
+
.title=${"continue"}
|
|
299
|
+
>
|
|
300
|
+
Continue
|
|
301
|
+
</devtools-button>
|
|
302
|
+
</div>`;
|
|
303
|
+
}
|
|
304
|
+
function ve(e, t, n) {
|
|
305
|
+
return I`
|
|
306
|
+
<div class="disclaimer">
|
|
307
|
+
${Z(e, n.onDisclaimerSettingsLink)}
|
|
308
|
+
</div>
|
|
309
|
+
<div class="filler"></div>
|
|
310
|
+
<div class="rating">
|
|
311
|
+
<devtools-button
|
|
312
|
+
data-rating="true"
|
|
313
|
+
.iconName=${"thumb-up"}
|
|
314
|
+
.toggledIconName=${"thumb-up"}
|
|
315
|
+
.variant=${s.ICON_TOGGLE}
|
|
316
|
+
.size=${g.SMALL}
|
|
317
|
+
.toggleOnClick=${!1}
|
|
318
|
+
.toggleType=${p.PRIMARY}
|
|
319
|
+
.disabled=${t !== void 0}
|
|
320
|
+
.toggled=${t === !0}
|
|
321
|
+
.title=${F(N.goodResponse)}
|
|
322
|
+
.jslogContext=${"thumbs-up"}
|
|
323
|
+
@click=${() => n.onRating(!0)}
|
|
324
|
+
></devtools-button>
|
|
325
|
+
<devtools-button
|
|
326
|
+
data-rating="false"
|
|
327
|
+
.iconName=${"thumb-down"}
|
|
328
|
+
.toggledIconName=${"thumb-down"}
|
|
329
|
+
.variant=${s.ICON_TOGGLE}
|
|
330
|
+
.size=${g.SMALL}
|
|
331
|
+
.toggleOnClick=${!1}
|
|
332
|
+
.toggleType=${p.PRIMARY}
|
|
333
|
+
.disabled=${t !== void 0}
|
|
334
|
+
.toggled=${t === !1}
|
|
335
|
+
.title=${F(N.badResponse)}
|
|
336
|
+
.jslogContext=${"thumbs-down"}
|
|
337
|
+
@click=${() => n.onRating(!1)}
|
|
338
|
+
></devtools-button>
|
|
339
|
+
<devtools-button
|
|
340
|
+
.iconName=${"report"}
|
|
341
|
+
.variant=${s.ICON}
|
|
342
|
+
.size=${g.SMALL}
|
|
343
|
+
.title=${F(N.report)}
|
|
344
|
+
.jslogContext=${"report"}
|
|
345
|
+
@click=${n.onReport}
|
|
346
|
+
></devtools-button>
|
|
347
|
+
</div>`;
|
|
348
|
+
}
|
|
349
|
+
function ye() {
|
|
350
|
+
return I`
|
|
351
|
+
<div class="header-icon-container">
|
|
352
|
+
<devtools-icon name="lightbulb-spark" class="large">
|
|
353
|
+
</devtools-icon>
|
|
354
|
+
</div>`;
|
|
355
|
+
}
|
|
356
|
+
function $({ headerText: e, showIcon: t = !1, showSpinner: n = !1, onClose: r }, i) {
|
|
357
|
+
return I`
|
|
358
|
+
<header>
|
|
359
|
+
${t ? ye() : _}
|
|
360
|
+
<div class="filler">
|
|
361
|
+
<h2 tabindex="-1" ${L.ref(i)}>
|
|
362
|
+
${e}
|
|
363
|
+
</h2>
|
|
364
|
+
${n ? I`<devtools-spinner></devtools-spinner>` : _}
|
|
365
|
+
</div>
|
|
366
|
+
<div class="close-button">
|
|
367
|
+
<devtools-button
|
|
368
|
+
.iconName=${"cross"}
|
|
369
|
+
.variant=${s.ICON}
|
|
370
|
+
.size=${g.SMALL}
|
|
371
|
+
.title=${F(N.closeInsight)}
|
|
372
|
+
jslog=${ee().track({ click: !0 })}
|
|
373
|
+
@click=${r}
|
|
374
|
+
></devtools-button>
|
|
375
|
+
</div>
|
|
376
|
+
</header>
|
|
377
|
+
`;
|
|
378
|
+
}
|
|
379
|
+
var be = (e, t, n) => {
|
|
380
|
+
let { state: r, noLogging: i, callbacks: a } = e, { onClose: o, onDisclaimerSettingsLink: s } = a, c = `${C(r.type).track({ resize: !0 })}`, l = _, u = _, d = {}, f;
|
|
381
|
+
switch (r.type) {
|
|
382
|
+
case "loading":
|
|
383
|
+
l = $({
|
|
384
|
+
headerText: F(N.generating),
|
|
385
|
+
onClose: o
|
|
386
|
+
}, t.headerRef), u = ue();
|
|
387
|
+
break;
|
|
388
|
+
case "insight":
|
|
389
|
+
l = $({
|
|
390
|
+
headerText: F(N.insight),
|
|
391
|
+
onClose: o,
|
|
392
|
+
showSpinner: !r.completed
|
|
393
|
+
}, t.headerRef), u = fe(r, e, t), f = ve(i, e.selectedRating, a);
|
|
394
|
+
break;
|
|
395
|
+
case "error":
|
|
396
|
+
l = $({
|
|
397
|
+
headerText: F(N.error),
|
|
398
|
+
onClose: o
|
|
399
|
+
}, t.headerRef), u = X(F(N.errorBody)), f = Q(i, s);
|
|
400
|
+
break;
|
|
401
|
+
case "consent-reminder":
|
|
402
|
+
l = $({
|
|
403
|
+
headerText: "Understand console messages with AI",
|
|
404
|
+
onClose: o,
|
|
405
|
+
showIcon: !0
|
|
406
|
+
}, t.headerRef), d["reminder-container"] = !0, u = pe(i), f = _e(a.onReminderSettingsLink, a.onConsentReminderConfirmed);
|
|
407
|
+
break;
|
|
408
|
+
case "setting-is-not-true":
|
|
409
|
+
d["opt-in-teaser"] = !0, u = me(a.onEnableInsightsInSettingsLink);
|
|
410
|
+
break;
|
|
411
|
+
case "not-logged-in":
|
|
412
|
+
case "sync-is-paused":
|
|
413
|
+
l = $({
|
|
414
|
+
headerText: F(N.signInToUse),
|
|
415
|
+
onClose: o
|
|
416
|
+
}, t.headerRef), u = he(), f = ge(a.onGoToSignIn);
|
|
417
|
+
break;
|
|
418
|
+
case "offline":
|
|
419
|
+
l = $({
|
|
420
|
+
headerText: F(N.offlineHeader),
|
|
421
|
+
onClose: o
|
|
422
|
+
}, t.headerRef), u = X(F(N.offline)), f = Q(i, s);
|
|
423
|
+
break;
|
|
424
|
+
}
|
|
425
|
+
ae(I`
|
|
426
|
+
<style>${re}</style>
|
|
427
|
+
<style>${j}</style>
|
|
428
|
+
<div
|
|
429
|
+
class=${L.classMap({
|
|
430
|
+
wrapper: !0,
|
|
431
|
+
closing: e.closing
|
|
432
|
+
})}
|
|
433
|
+
jslog=${D("console-insights").track({ resize: !0 })}
|
|
434
|
+
@animationend=${a.onAnimationEnd}
|
|
435
|
+
@keydown=${Y}
|
|
436
|
+
@keyup=${Y}
|
|
437
|
+
@keypress=${Y}
|
|
438
|
+
@click=${Y}
|
|
439
|
+
>
|
|
440
|
+
<div class="animation-wrapper">
|
|
441
|
+
${l}
|
|
442
|
+
<main jslog=${c} class=${L.classMap(d)}>
|
|
443
|
+
${u}
|
|
444
|
+
</main>
|
|
445
|
+
${f ? I`<footer jslog=${C("footer")}>
|
|
446
|
+
${f}
|
|
447
|
+
</footer>` : _}
|
|
448
|
+
</div>
|
|
449
|
+
</div>
|
|
450
|
+
`, n);
|
|
451
|
+
}, xe = class e extends S {
|
|
452
|
+
static async create(t, n) {
|
|
453
|
+
let r = await l.checkAccessPreconditions();
|
|
454
|
+
return I`<devtools-widget class="devtools-console-insight" ${R((i) => new e(t, n, r, i))}>
|
|
455
|
+
</devtools-widget>`;
|
|
456
|
+
}
|
|
457
|
+
disableAnimations = !1;
|
|
458
|
+
#e;
|
|
459
|
+
#t;
|
|
460
|
+
#n;
|
|
461
|
+
#r;
|
|
462
|
+
#i;
|
|
463
|
+
#a = L.createRef();
|
|
464
|
+
#o = [];
|
|
465
|
+
#s = -1;
|
|
466
|
+
#c = !1;
|
|
467
|
+
#l = !1;
|
|
468
|
+
#u = !1;
|
|
469
|
+
#d;
|
|
470
|
+
#f;
|
|
471
|
+
#p;
|
|
472
|
+
#m;
|
|
473
|
+
#h;
|
|
474
|
+
constructor(e, t, n, r, i = be) {
|
|
475
|
+
super(r), this.#e = i, this.#t = e, this.#n = t, this.#p = n, this.#f = this.#y(), this.#r = new M(this.#g.bind(this)), this.#h = new A({ extensions: [q] }), this.#i = this.#v(), this.#m = this.#x.bind(this), this.requestUpdate();
|
|
476
|
+
}
|
|
477
|
+
#g(e) {
|
|
478
|
+
if (this.#i.type !== "insight") return;
|
|
479
|
+
let t = this.#c;
|
|
480
|
+
this.#c = !0, this.#s = e - 1, this.requestUpdate(), t && this.#_();
|
|
481
|
+
}
|
|
482
|
+
#_() {
|
|
483
|
+
let e = this.#o[this.#s];
|
|
484
|
+
e && (e.scrollIntoView({ behavior: "auto" }), e.focus());
|
|
485
|
+
}
|
|
486
|
+
#v() {
|
|
487
|
+
switch (this.#p) {
|
|
488
|
+
case v.AVAILABLE: {
|
|
489
|
+
let e = t.instance().createSetting("console-insights-skip-reminder", !1, r.SESSION).get();
|
|
490
|
+
return {
|
|
491
|
+
type: "loading",
|
|
492
|
+
consentOnboardingCompleted: this.#b().get() || e
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
case v.NO_ACCOUNT_EMAIL: return { type: "not-logged-in" };
|
|
496
|
+
case v.SYNC_IS_PAUSED: return { type: "sync-is-paused" };
|
|
497
|
+
case v.NO_INTERNET: return { type: "offline" };
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
#y() {
|
|
501
|
+
try {
|
|
502
|
+
return n("console-insights-enabled");
|
|
503
|
+
} catch {
|
|
504
|
+
return;
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
#b() {
|
|
508
|
+
return t.instance().createLocalSetting("console-insights-onboarding-finished", !1);
|
|
509
|
+
}
|
|
510
|
+
wasShown() {
|
|
511
|
+
super.wasShown(), this.focus(), this.#f?.addChangeListener(this.#S, this);
|
|
512
|
+
let e = a.aidaAvailability?.blockedByAge === !0;
|
|
513
|
+
this.#i.type === "loading" && this.#f?.getIfNotDisabled() === !0 && !e && this.#i.consentOnboardingCompleted && E.actionTaken(x.GeneratingInsightWithoutDisclaimer), c.instance().addEventListener(m.AIDA_AVAILABILITY_CHANGED, this.#m), this.#x(), this.#i.type !== "insight" && this.#i.type !== "error" && (this.#i = this.#v()), this.#w();
|
|
514
|
+
}
|
|
515
|
+
willHide() {
|
|
516
|
+
super.willHide(), this.#f?.removeChangeListener(this.#S, this), c.instance().removeEventListener(m.AIDA_AVAILABILITY_CHANGED, this.#m);
|
|
517
|
+
}
|
|
518
|
+
async #x() {
|
|
519
|
+
let e = await l.checkAccessPreconditions();
|
|
520
|
+
e !== this.#p && (this.#p = e, this.#i = this.#v(), this.#w());
|
|
521
|
+
}
|
|
522
|
+
#S() {
|
|
523
|
+
this.#f?.getIfNotDisabled() === !0 && this.#b().set(!0), this.#i.type === "setting-is-not-true" && this.#f?.getIfNotDisabled() === !0 && (this.#C({
|
|
524
|
+
type: "loading",
|
|
525
|
+
consentOnboardingCompleted: !0
|
|
526
|
+
}), E.actionTaken(x.InsightsOptInTeaserConfirmedInSettings), this.#w()), this.#i.type === "consent-reminder" && this.#f?.getIfNotDisabled() === !1 && (this.#C({
|
|
527
|
+
type: "loading",
|
|
528
|
+
consentOnboardingCompleted: !1
|
|
529
|
+
}), E.actionTaken(x.InsightsReminderTeaserAbortedInSettings), this.#w());
|
|
530
|
+
}
|
|
531
|
+
#C(e) {
|
|
532
|
+
this.#l = this.#i.type !== e.type, this.#i = e, this.requestUpdate();
|
|
533
|
+
}
|
|
534
|
+
async #w() {
|
|
535
|
+
if (this.#i.type !== "loading") return;
|
|
536
|
+
let e = a.aidaAvailability?.blockedByAge === !0;
|
|
537
|
+
if (this.#f?.getIfNotDisabled() !== !0 || e) {
|
|
538
|
+
this.#C({ type: "setting-is-not-true" }), E.actionTaken(x.InsightsOptInTeaserShown);
|
|
539
|
+
return;
|
|
540
|
+
}
|
|
541
|
+
if (!this.#i.consentOnboardingCompleted) {
|
|
542
|
+
let { sources: e, isPageReloadRecommended: t } = await this.#t.buildPrompt();
|
|
543
|
+
this.#C({
|
|
544
|
+
type: "consent-reminder",
|
|
545
|
+
sources: e,
|
|
546
|
+
isPageReloadRecommended: t
|
|
547
|
+
}), E.actionTaken(x.InsightsReminderTeaserShown);
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
await this.#F();
|
|
551
|
+
}
|
|
552
|
+
#T() {
|
|
553
|
+
this.#i.type === "consent-reminder" && E.actionTaken(x.InsightsReminderTeaserCanceled), this.#u = !0, this.requestUpdate();
|
|
554
|
+
}
|
|
555
|
+
#E() {
|
|
556
|
+
if (this.#u) {
|
|
557
|
+
this.contentElement.dispatchEvent(new z());
|
|
558
|
+
return;
|
|
559
|
+
}
|
|
560
|
+
this.#l && this.#a.value?.focus();
|
|
561
|
+
}
|
|
562
|
+
#D() {
|
|
563
|
+
this.#s !== -1 && (this.#s = -1, this.requestUpdate());
|
|
564
|
+
}
|
|
565
|
+
#O(e) {
|
|
566
|
+
if (this.#i.type !== "insight") throw Error("Unexpected state");
|
|
567
|
+
if (this.#i.metadata?.rpcGlobalId === void 0) throw Error("RPC Id not in metadata");
|
|
568
|
+
if (this.#d !== void 0) return;
|
|
569
|
+
this.#d = e, this.requestUpdate(), this.#d ? E.actionTaken(x.InsightRatedPositive) : E.actionTaken(x.InsightRatedNegative);
|
|
570
|
+
let t = a.aidaAvailability?.disallowLogging ?? !0;
|
|
571
|
+
return this.#n.registerClientEvent({
|
|
572
|
+
corresponding_aida_rpc_global_id: this.#i.metadata.rpcGlobalId,
|
|
573
|
+
disable_user_content_logging: t,
|
|
574
|
+
do_conversation_client_event: { user_feedback: { sentiment: this.#d ? T.POSITIVE : T.NEGATIVE } }
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
#k() {
|
|
578
|
+
h.openInNewTab(G);
|
|
579
|
+
}
|
|
580
|
+
#A() {
|
|
581
|
+
let e = this.#t.getSearchQuery();
|
|
582
|
+
h.openSearchResultsInNewTab(e);
|
|
583
|
+
}
|
|
584
|
+
async #j() {
|
|
585
|
+
this.#b().set(!0), this.#C({
|
|
586
|
+
type: "loading",
|
|
587
|
+
consentOnboardingCompleted: !0
|
|
588
|
+
}), E.actionTaken(x.InsightsReminderTeaserConfirmed), await this.#F();
|
|
589
|
+
}
|
|
590
|
+
#M(e, t) {
|
|
591
|
+
let n = [];
|
|
592
|
+
if (!J(t) || !t.attributionMetadata) return {
|
|
593
|
+
explanationWithCitations: e,
|
|
594
|
+
directCitationUrls: n
|
|
595
|
+
};
|
|
596
|
+
let { attributionMetadata: r } = t, i = r.citations.filter((e) => e.sourceType === w.WORLD_FACTS).sort((e, t) => (t.endIndex || 0) - (e.endIndex || 0)), a = e;
|
|
597
|
+
for (let [e, t] of i.entries()) {
|
|
598
|
+
let r = /[.,:;!?]*\s/g;
|
|
599
|
+
r.lastIndex = t.endIndex || 0;
|
|
600
|
+
let o = r.exec(a);
|
|
601
|
+
o && t.uri && (a = a.slice(0, o.index) + `[^${i.length - e}]` + a.slice(o.index), n.push(t.uri));
|
|
602
|
+
}
|
|
603
|
+
return n.reverse(), {
|
|
604
|
+
explanationWithCitations: a,
|
|
605
|
+
directCitationUrls: n
|
|
606
|
+
};
|
|
607
|
+
}
|
|
608
|
+
#N(e) {
|
|
609
|
+
for (let t of e) if (t.type === "code") {
|
|
610
|
+
let e = t.text.match(/\[\^\d+\]/g);
|
|
611
|
+
t.text = t.text.replace(/\[\^\d+\]/g, ""), e?.length && (t.citations = e.map((e) => {
|
|
612
|
+
let t = parseInt(e.slice(2, -1), 10);
|
|
613
|
+
return {
|
|
614
|
+
index: t,
|
|
615
|
+
clickHandler: this.#g.bind(this, t)
|
|
616
|
+
};
|
|
617
|
+
}));
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
#P(e, t) {
|
|
621
|
+
if (!t.factualityMetadata?.facts.length) return [];
|
|
622
|
+
let n = t.factualityMetadata.facts.filter((t) => t.sourceUri && !e.includes(t.sourceUri)).map((e) => e.sourceUri) || [], r = t.attributionMetadata?.citations.filter((e) => e.sourceType === w.TRAINING_DATA && (e.uri || e.repository)).map((e) => e.uri || `https://www.github.com/${e.repository}`) || [], i = [...new Set(r.filter((t) => !n.includes(t) && !e.includes(t)))];
|
|
623
|
+
return n.push(...i), n;
|
|
624
|
+
}
|
|
625
|
+
async #F() {
|
|
626
|
+
try {
|
|
627
|
+
for await (let { sources: e, isPageReloadRecommended: t, explanation: n, metadata: r, completed: i } of this.#L()) {
|
|
628
|
+
let { explanationWithCitations: a, directCitationUrls: o } = this.#M(n, r), s = this.#P(o, r), c = this.#I(a), l = c !== !1;
|
|
629
|
+
l && this.#N(c), this.#C({
|
|
630
|
+
type: "insight",
|
|
631
|
+
tokens: l ? c : [],
|
|
632
|
+
validMarkdown: l,
|
|
633
|
+
explanation: n,
|
|
634
|
+
sources: e,
|
|
635
|
+
metadata: r,
|
|
636
|
+
isPageReloadRecommended: t,
|
|
637
|
+
completed: i,
|
|
638
|
+
directCitationUrls: o,
|
|
639
|
+
relatedUrls: s
|
|
640
|
+
});
|
|
641
|
+
}
|
|
642
|
+
E.actionTaken(x.InsightGenerated);
|
|
643
|
+
} catch (e) {
|
|
644
|
+
console.error("[ConsoleInsight] Error in #generateInsight:", e), E.actionTaken(x.InsightErrored), e.message === "doAidaConversation timed out" && this.#i.type === "insight" ? (this.#i.timedOut = !0, this.#C({
|
|
645
|
+
...this.#i,
|
|
646
|
+
completed: !0,
|
|
647
|
+
timedOut: !0
|
|
648
|
+
})) : this.#C({
|
|
649
|
+
type: "error",
|
|
650
|
+
error: e.message
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
}
|
|
654
|
+
#I(e) {
|
|
655
|
+
try {
|
|
656
|
+
let t = this.#h.lexer(e);
|
|
657
|
+
for (let e of t) this.#r.renderToken(e);
|
|
658
|
+
return t;
|
|
659
|
+
} catch {
|
|
660
|
+
return E.actionTaken(x.InsightErroredMarkdown), !1;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
async *#L() {
|
|
664
|
+
let { prompt: e, sources: t, isPageReloadRecommended: n } = await this.#t.buildPrompt();
|
|
665
|
+
try {
|
|
666
|
+
for await (let r of this.#n.doConversation(l.buildConsoleInsightsRequest(e))) yield {
|
|
667
|
+
sources: t,
|
|
668
|
+
isPageReloadRecommended: n,
|
|
669
|
+
...r
|
|
670
|
+
};
|
|
671
|
+
} catch (e) {
|
|
672
|
+
throw e.message === "Server responded: permission denied" ? E.actionTaken(x.InsightErroredPermissionDenied) : e.message.startsWith("Cannot send request:") ? E.actionTaken(x.InsightErroredCannotSend) : e.message.startsWith("Request failed:") ? E.actionTaken(x.InsightErroredRequestFailed) : e.message.startsWith("Cannot parse chunk:") ? E.actionTaken(x.InsightErroredCannotParseChunk) : e.message === "Unknown chunk result" ? E.actionTaken(x.InsightErroredUnknownChunk) : e.message.startsWith("Server responded:") ? E.actionTaken(x.InsightErroredApi) : E.actionTaken(x.InsightErroredOther), e;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
#R() {
|
|
676
|
+
h.openInNewTab(K);
|
|
677
|
+
}
|
|
678
|
+
#z(e) {
|
|
679
|
+
let t = e.target;
|
|
680
|
+
t && (this.#c = t.open, t.open || (this.#s = -1), this.requestUpdate());
|
|
681
|
+
}
|
|
682
|
+
#B() {
|
|
683
|
+
b.instance().showView("chrome-ai");
|
|
684
|
+
}
|
|
685
|
+
#V() {
|
|
686
|
+
E.actionTaken(x.InsightsReminderTeaserSettingsLinkClicked), b.instance().showView("chrome-ai");
|
|
687
|
+
}
|
|
688
|
+
#H() {
|
|
689
|
+
E.actionTaken(x.InsightsOptInTeaserSettingsLinkClicked), b.instance().showView("chrome-ai");
|
|
690
|
+
}
|
|
691
|
+
performUpdate() {
|
|
692
|
+
let e = {
|
|
693
|
+
state: this.#i,
|
|
694
|
+
closing: this.#u,
|
|
695
|
+
disableAnimations: this.disableAnimations,
|
|
696
|
+
renderer: this.#r,
|
|
697
|
+
citationClickHandler: this.#g.bind(this),
|
|
698
|
+
selectedRating: this.#d,
|
|
699
|
+
noLogging: a.aidaAvailability?.enterprisePolicyValue === o.ALLOW_WITHOUT_LOGGING,
|
|
700
|
+
areReferenceDetailsOpen: this.#c,
|
|
701
|
+
highlightedCitationIndex: this.#s,
|
|
702
|
+
callbacks: {
|
|
703
|
+
onClose: this.#T.bind(this),
|
|
704
|
+
onAnimationEnd: this.#E.bind(this),
|
|
705
|
+
onCitationAnimationEnd: this.#D.bind(this),
|
|
706
|
+
onSearch: this.#A.bind(this),
|
|
707
|
+
onRating: this.#O.bind(this),
|
|
708
|
+
onReport: this.#k.bind(this),
|
|
709
|
+
onGoToSignIn: this.#R.bind(this),
|
|
710
|
+
onConsentReminderConfirmed: this.#j.bind(this),
|
|
711
|
+
onToggleReferenceDetails: this.#z.bind(this),
|
|
712
|
+
onDisclaimerSettingsLink: this.#B.bind(this),
|
|
713
|
+
onReminderSettingsLink: this.#V.bind(this),
|
|
714
|
+
onEnableInsightsInSettingsLink: this.#H.bind(this),
|
|
715
|
+
onReferencesOpen: this.#_.bind(this)
|
|
716
|
+
}
|
|
717
|
+
}, t = {
|
|
718
|
+
headerRef: this.#a,
|
|
719
|
+
citationLinks: []
|
|
720
|
+
};
|
|
721
|
+
this.#e(e, t, this.contentElement), this.#o = t.citationLinks;
|
|
722
|
+
}
|
|
723
|
+
}, Se = class {
|
|
724
|
+
handleAction(e, t) {
|
|
725
|
+
switch (t) {
|
|
726
|
+
case "explain.console-message.context":
|
|
727
|
+
case "explain.console-message.context.error":
|
|
728
|
+
case "explain.console-message.context.warning":
|
|
729
|
+
case "explain.console-message.context.other":
|
|
730
|
+
case "explain.console-message.teaser":
|
|
731
|
+
case "explain.console-message.hover": {
|
|
732
|
+
let n = e.flavor(ne);
|
|
733
|
+
if (n) {
|
|
734
|
+
t.startsWith("explain.console-message.context") ? E.actionTaken(x.InsightRequestedViaContextMenu) : t === "explain.console-message.teaser" ? E.actionTaken(x.InsightRequestedViaTeaser) : t === "explain.console-message.hover" && E.actionTaken(x.InsightRequestedViaHoverButton);
|
|
735
|
+
let e = new k(n), r = new l();
|
|
736
|
+
return xe.create(e, r).then((e) => {
|
|
737
|
+
n.setInsight(e);
|
|
738
|
+
}), !0;
|
|
739
|
+
}
|
|
740
|
+
return !1;
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
return !1;
|
|
744
|
+
}
|
|
745
|
+
};
|
|
746
|
+
//#endregion
|
|
747
|
+
export { Se as ActionDelegate };
|