@qilin-agent/experimental-inspector 0.0.0-stage → 3.1.3
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/cordis.patch.yml +5 -0
- package/icon.svg +12 -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/_qilin-devtools_empty-BvRk9kiK.js +0 -0
- package/lib/devtools/chunks/accessibility-CwvHp3sj.js +2718 -0
- package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
- package/lib/devtools/chunks/adorners-D4aU6nuY.js +45 -0
- package/lib/devtools/chunks/ai_assistance-BU6E0Wio.js +4255 -0
- package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
- package/lib/devtools/chunks/animation-TEwO5UI_.js +922 -0
- package/lib/devtools/chunks/application-SCf6MiCN.js +12740 -0
- package/lib/devtools/chunks/autofill-Dp3nMnuK.js +198 -0
- package/lib/devtools/chunks/autofill_manager-BXntqfdp.js +58 -0
- package/lib/devtools/chunks/bindings-DgoVEdsr.js +4105 -0
- package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
- package/lib/devtools/chunks/browser_debugger-p7Rr4IBR.js +629 -0
- package/lib/devtools/chunks/changes-DeW5MC9u.js +2 -0
- package/lib/devtools/chunks/changes-k42bihtm.js +393 -0
- package/lib/devtools/chunks/checkbox.css-CZJJ6atQ.js +4 -0
- package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
- package/lib/devtools/chunks/code_highlighter-BnTPt9_G.js +210 -0
- package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
- package/lib/devtools/chunks/color_picker-Cuh_X19Y.js +1566 -0
- package/lib/devtools/chunks/common-DjRFwulW.js +15145 -0
- package/lib/devtools/chunks/common-Uu9A2glf.js +2 -0
- package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
- package/lib/devtools/chunks/components-CnPGgDUW.js +704 -0
- package/lib/devtools/chunks/components-Cw5tHQqN.js +1338 -0
- package/lib/devtools/chunks/components-EJwviLtZ.js +1090 -0
- package/lib/devtools/chunks/console-D1WlMaFQ.js +3855 -0
- package/lib/devtools/chunks/console-yMm3XVTY.js +2 -0
- package/lib/devtools/chunks/console_counters-9SfIdrUo.js +103 -0
- package/lib/devtools/chunks/coverage-BbFH390Q.js +1176 -0
- package/lib/devtools/chunks/coverage-CLBpovLw.js +2 -0
- package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
- package/lib/devtools/chunks/css_overview-cITV9auE.js +1288 -0
- package/lib/devtools/chunks/data_grid-pC5qqfsJ.js +1671 -0
- package/lib/devtools/chunks/developer_resources-4DqQIvy6.js +240 -0
- package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
- package/lib/devtools/chunks/dom_extension-BfrKZ4JG.js +172 -0
- package/lib/devtools/chunks/elements-CgEYz3mX.js +2 -0
- package/lib/devtools/chunks/elements-Dbx4q9-v.js +11407 -0
- package/lib/devtools/chunks/emulation-C6XKPPGu.js +1306 -0
- package/lib/devtools/chunks/emulation-D8xbdsAj.js +2 -0
- package/lib/devtools/chunks/emulation-EtJlEukP.js +2732 -0
- package/lib/devtools/chunks/emulation-cjFPXHT9.js +157 -0
- package/lib/devtools/chunks/event_listeners-BeTH3gi2.js +414 -0
- package/lib/devtools/chunks/explain-P_aDGFSD.js +747 -0
- package/lib/devtools/chunks/greendev-BU0QcVPX.js +152 -0
- package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
- package/lib/devtools/chunks/helper-CI72KvIC.js +33 -0
- package/lib/devtools/chunks/helpers--xrfGSwQ.js +29 -0
- package/lib/devtools/chunks/i18n-DvFMqQdJ.js +17 -0
- package/lib/devtools/chunks/icon_button-BebVdJD8.js +83 -0
- package/lib/devtools/chunks/inline_editor-D54X5UUr.js +1309 -0
- package/lib/devtools/chunks/inspector_main-DRbdXLmF.js +279 -0
- package/lib/devtools/chunks/issue_counter-CeOjTNGW.js +193 -0
- package/lib/devtools/chunks/issues-CegBKEda.js +1649 -0
- package/lib/devtools/chunks/issues_manager-D7nfNPN1.js +3009 -0
- package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
- package/lib/devtools/chunks/layer_viewer-CaFC5oyv.js +1423 -0
- package/lib/devtools/chunks/layers-CXqlD9zH.js +370 -0
- package/lib/devtools/chunks/legacy-Bqn4Q0Tf.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-DtpzvfT6.js +3920 -0
- package/lib/devtools/chunks/lighthouse-T9ZpmENr.js +2 -0
- package/lib/devtools/chunks/linear_memory_inspector-C50PtM45.js +305 -0
- package/lib/devtools/chunks/live-metrics-Bs7wxibB.js +284 -0
- package/lib/devtools/chunks/main-C5y6NscM.js +2 -0
- package/lib/devtools/chunks/main-DcgYyEI0.js +755 -0
- package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
- package/lib/devtools/chunks/markdown_view-C67b2DdG.js +461 -0
- package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
- package/lib/devtools/chunks/media-BhuqASbO.js +1337 -0
- package/lib/devtools/chunks/media-Wfo1AbXC.js +2 -0
- package/lib/devtools/chunks/menus-BAUukA5-.js +969 -0
- package/lib/devtools/chunks/mobile_throttling-C26zde8o.js +2 -0
- package/lib/devtools/chunks/mobile_throttling-Cw4AkJH4.js +1052 -0
- package/lib/devtools/chunks/network-C3gIloDN.js +2 -0
- package/lib/devtools/chunks/network-CaxdpGU2.js +9181 -0
- package/lib/devtools/chunks/objectValue.css-C9o9fdM2.js +4 -0
- package/lib/devtools/chunks/object_ui-BYgPTK_b.js +1461 -0
- package/lib/devtools/chunks/object_ui-E7eR7aD-.js +2 -0
- package/lib/devtools/chunks/perf_ui-BqzJrt4p.js +2 -0
- package/lib/devtools/chunks/perf_ui-CQMkYfn3.js +3143 -0
- package/lib/devtools/chunks/performance_monitor-B2kUoCv0.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-BGu3akEf.js +4608 -0
- package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
- package/lib/devtools/chunks/protocol_monitor-B9nMqAAE.js +2 -0
- package/lib/devtools/chunks/protocol_monitor-CvLQ8ms1.js +1224 -0
- package/lib/devtools/chunks/puppeteer-CaOjgj3v.js +13299 -0
- package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
- package/lib/devtools/chunks/quick_open-C3IZ69m9.js +2 -0
- package/lib/devtools/chunks/quick_open-DRITaPnZ.js +722 -0
- package/lib/devtools/chunks/recorder-C0f1n95b.js +5465 -0
- package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
- package/lib/devtools/chunks/request_link_icon-fGy57GcW.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-NbgKa3ux.js +898 -0
- package/lib/devtools/chunks/sensors-nM7qcBE4.js +752 -0
- package/lib/devtools/chunks/settings-aKtQC12v.js +1433 -0
- package/lib/devtools/chunks/settings_ui-CzxAFzIb.js +175 -0
- package/lib/devtools/chunks/snackbars-lPThuWYs.js +12010 -0
- package/lib/devtools/chunks/snippets-dIuBmVBv.js +173 -0
- package/lib/devtools/chunks/source_frame-CSjno3kf.js +1352 -0
- package/lib/devtools/chunks/sources-BIZssBei.js +8216 -0
- package/lib/devtools/chunks/sources-Bf8QJxju.js +2 -0
- package/lib/devtools/chunks/suggestion_input-Duuu5pyd.js +196 -0
- package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
- package/lib/devtools/chunks/textInput.css-DPvwvIic.js +4 -0
- package/lib/devtools/chunks/text_editor-Dq1P6D2J.js +15706 -0
- package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
- package/lib/devtools/chunks/theme_support-CbSSLkbO.js +92 -0
- package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
- package/lib/devtools/chunks/timeline-BE_ysZxO.js +2 -0
- package/lib/devtools/chunks/timeline-C4vCX79k.js +16347 -0
- package/lib/devtools/chunks/utils-CELci976.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-IdfBLjwV.js +277 -0
- package/lib/devtools/chunks/webauthn-iRZlbjGV.js +522 -0
- package/lib/devtools/chunks/whats_new-DOTPf2xJ.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 +2554 -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 +19 -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 +7289 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +90 -3
|
@@ -0,0 +1,922 @@
|
|
|
1
|
+
import { n as e } from "./chunk-DF993M8W.js";
|
|
2
|
+
import { D as t, Tt as n } from "./platform-BzB373NB.js";
|
|
3
|
+
import { Pt as r, at as i, bt as a, dt as o, n as s, tn as c, wt as l } from "./common-qd_KLeYO.js";
|
|
4
|
+
import { $i as u, Dt as d, Ja as f, K as p, Kd as m, L as h, La as ee, Md as g, Mn as _, No as v, Qi as te, Xn as y, _a as b, _n as x, bc as S, br as ne, do as re, ei as ie, fa as C, fo as ae, ha as w, jr as T, mf as E, mi as oe, mo as se, ni as ce, no as D, pf as O, rl as k, sl as le, so as A, tl as ue, tt as de, wa as fe, xn as pe, yc as j } from "./legacy-Bqn4Q0Tf.js";
|
|
5
|
+
import { c as me } from "./common-DjRFwulW.js";
|
|
6
|
+
import { v as he } from "./inline_editor-D54X5UUr.js";
|
|
7
|
+
//#region \0qilin-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/animation/animationTimeline.css.mjs
|
|
8
|
+
var ge = "/*\n * Copyright 2015 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\n:host {\n overflow: hidden;\n\n --timeline-controls-width: 150px;\n}\n\n.toolbar-view-container {\n min-height: fit-content;\n}\n\n.animation-node-row {\n width: 100%;\n display: flex;\n border-bottom: 1px dashed var(--sys-color-divider);\n}\n\n.animation-node-description {\n padding-left: 8px;\n overflow: hidden;\n position: relative;\n background-color: var(--sys-color-cdt-base-container);\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: flex-start;\n white-space: nowrap;\n flex: 0 0 var(--timeline-controls-width);\n z-index: 1;\n}\n\n.animation-node-description > * {\n flex: 0 0 auto;\n}\n\n.animation-timeline-row {\n height: 32px;\n position: relative;\n}\n\npath.animation-keyframe {\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n fill-opacity: 20%;\n}\n\n.animation-node-selected path.animation-keyframe,\nsvg.animation-ui g:first-child:hover path.animation-keyframe {\n /* stylelint-disable-next-line declaration-property-value-no-unknown */\n fill-opacity: 40%;\n}\n\nline.animation-line {\n stroke-width: 2px;\n stroke-linecap: round;\n fill: none;\n}\n\nline.animation-delay-line {\n stroke-width: 2px;\n stroke-dasharray: 6, 4;\n}\n\nline.animation-delay-line.animation-fill {\n stroke-dasharray: none;\n}\n\ncircle.animation-keyframe-point {\n fill: var(--sys-color-cdt-base-container);\n}\n\ncircle.animation-endpoint,\ncircle.animation-keyframe-point {\n stroke-width: 2px;\n transition: transform 100ms cubic-bezier(0, 0, 0.2, 1);\n transform: scale(1);\n transform-box: fill-box;\n transform-origin: 50% 50%;\n}\n\ncircle.animation-endpoint:active,\ncircle.animation-keyframe-point:active {\n transform: scale(1);\n}\n\n.animation-ui circle.animation-endpoint:hover,\n.animation-ui circle.animation-keyframe-point:hover {\n transform: scale(1.2);\n}\n\n.animation-name {\n position: absolute;\n top: 8px;\n color: var(--sys-color-on-surface);\n text-align: center;\n margin-left: -8px;\n white-space: nowrap;\n}\n\n.animation-timeline-toolbar-container {\n display: flex;\n background-color: var(--sys-color-cdt-base-container);\n border-bottom: 1px solid var(--sys-color-divider);\n flex: 0 0 auto;\n}\n\n.animation-timeline-header {\n height: 28px;\n border-bottom: 1px solid var(--sys-color-divider);\n flex-shrink: 0;\n display: flex;\n}\n\n.animation-timeline-header::after {\n content: '';\n height: calc(100% - 48px - 28px);\n position: absolute;\n width: var(--timeline-controls-width);\n left: 0;\n margin-top: 28px;\n background-color: var(--sys-color-cdt-base-container);\n z-index: 0;\n border-right: 1px solid var(--sys-color-divider);\n}\n\n.animation-controls {\n flex: 0 0 var(--timeline-controls-width);\n position: relative;\n display: flex;\n justify-content: flex-end;\n padding-right: 8px;\n}\n\n.animation-timeline-current-time {\n flex: 0 0 auto;\n line-height: 28px;\n margin-right: 5px;\n}\n\n.animation-grid-header {\n flex: 1 0 auto;\n z-index: 2;\n}\n\n.animation-grid-header.scrubber-enabled {\n cursor: pointer;\n}\n\n.animation-timeline-buffer {\n height: 48px;\n flex: 0 0 auto;\n border-bottom: 1px solid var(--sys-color-divider);\n display: flex;\n padding: 0 2px;\n}\n\n.animation-timeline-buffer-hint {\n display: none;\n}\n\n.animation-time-overlay {\n background-color: var(--sys-color-on-surface);\n opacity: 5%;\n position: absolute;\n height: 100%;\n width: 100%;\n z-index: -1;\n}\n\n.animation-timeline-end > .animation-time-overlay {\n visibility: hidden;\n}\n\n.animation-scrubber {\n opacity: 100%;\n position: absolute;\n left: 10px;\n height: 100%;\n width: 100%;\n top: 28px;\n border-left: 1px solid var(--sys-color-error);\n z-index: 2;\n}\n\n.animation-scrubber-line {\n width: 11px;\n background: linear-gradient(\n to right,\n transparent 5px,\n var(--sys-color-error) 5px,\n var(--sys-color-error) 6px,\n transparent 6px\n );\n position: absolute;\n top: -28px;\n height: 28px;\n left: -6px;\n padding: 0 5px;\n z-index: 3;\n}\n\n.animation-scrubber-head {\n width: 7px;\n height: 7px;\n transform: rotate(45deg);\n background: var(--sys-color-error);\n position: absolute;\n left: 2px;\n top: 1px;\n z-index: 4;\n}\n\n.grid-overflow-wrapper {\n position: absolute;\n left: calc(var(--timeline-controls-width) - 10px);\n top: 76px;\n z-index: 1;\n overflow: hidden;\n width: 100%;\n height: 100%;\n}\n\nsvg.animation-timeline-grid {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n}\n\nrect.animation-timeline-grid-line {\n fill: var(--sys-color-divider);\n}\n\n.animation-timeline-row > svg.animation-ui {\n position: absolute;\n}\n\n.animation-node-timeline {\n flex-grow: 1;\n}\n\n.animation-node-description > div {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n max-height: 100%;\n}\n\n.animation-node-removed {\n filter: saturate(0);\n cursor: not-allowed;\n}\n\n.animation-node-removed-overlay {\n width: 100%;\n height: 100%;\n z-index: 100;\n cursor: not-allowed;\n}\n\nsvg.animation-ui g:first-child {\n opacity: 100%;\n}\n\nsvg.animation-ui circle:focus-visible,\nsvg.animation-ui path:focus-visible {\n outline: 2px solid -webkit-focus-ring-color;\n}\n\n.animation-tail-iterations {\n opacity: 50%;\n}\n\n.animation-keyframe-step line {\n stroke-width: 2;\n stroke-opacity: 30%;\n}\n\ntext.animation-timeline-grid-label {\n font-size: 10px;\n fill: var(--sys-color-token-subtle);\n text-anchor: middle;\n}\n\n.animation-timeline-rows,\n.animation-timeline-rows-hint,\n.animation-timeline-buffer-hint {\n flex-grow: 1;\n overflow: hidden auto;\n z-index: 1;\n}\n\n.animation-timeline-rows-hint {\n display: none;\n}\n\n.animation-timeline-buffer:not(:empty) ~ .animation-timeline-rows:empty {\n flex-grow: 0;\n}\n\n.animation-timeline-rows:empty {\n display: none;\n}\n\n.animation-timeline-buffer:not(:empty)\n ~ .animation-timeline-rows:empty\n ~ .animation-timeline-buffer-hint:not(:empty)\n ~ .animation-timeline-rows-hint,\n.animation-timeline-buffer:empty ~ .animation-timeline-buffer-hint {\n font-size: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-left: var(--timeline-controls-width);\n padding: 10px;\n}\n\n.animation-controls-toolbar {\n flex: 0 0 auto;\n}\n\n.animation-node-row.animation-node-selected {\n background-color: var(--sys-color-state-ripple-primary);\n}\n\n.animation-node-selected > .animation-node-description {\n background-color: var(--sys-color-tonal-container);\n}\n\n.animation-buffer-preview {\n height: 40px;\n margin: 4px 2px;\n background-color: var(--sys-color-neutral-container);\n border: 1px solid transparent;\n border-radius: 2px;\n flex: 1 1;\n padding: 4px;\n max-width: 100px;\n animation: newGroupAnim 200ms;\n position: relative;\n}\n\n.animation-buffer-preview.no-animation {\n animation: none;\n}\n\n.animation-buffer-preview .preview-icon {\n position: absolute;\n width: 14px;\n height: 14px;\n right: 1px;\n bottom: 2px;\n opacity: 60%;\n}\n\n.animation-buffer-preview-animation {\n width: 100%;\n height: 100%;\n border-radius: 2px 0 0 2px;\n position: absolute;\n top: 0;\n left: 0;\n background: var(--sys-color-tonal-container);\n opacity: 0%;\n border-right: 1px solid var(--sys-color-divider);\n}\n\n.animation-buffer-preview:focus-visible {\n outline: -webkit-focus-ring-color auto 5px;\n}\n\n.animation-buffer-preview.selected .preview-icon {\n opacity: 100%;\n}\n\n.animation-buffer-preview:not(.selected):focus-visible,\n.animation-buffer-preview:not(.selected):hover {\n background-color: var(--sys-color-surface-variant);\n\n & .preview-icon {\n opacity: 80%;\n }\n}\n\n.animation-buffer-preview.selected {\n background-color: var(--sys-color-tonal-container);\n}\n\n.animation-paused {\n align-items: center;\n justify-content: center;\n display: none;\n}\n\n.animation-paused::before,\n.animation-paused::after {\n content: '';\n background: var(--sys-color-cdt-base-container);\n width: 7px;\n height: 20px;\n border-radius: 2px;\n margin: 2px;\n border: 1px solid var(--sys-color-divider);\n}\n\n.animation-buffer-preview.paused .animation-paused {\n display: flex;\n}\n\n.animation-buffer-preview > svg > line {\n stroke-width: 1px;\n}\n\n.animation-buffer-preview.selected > svg > line {\n stroke: var(\n --sys-color-on-tonal-container\n ) !important; /* stylelint-disable-line declaration-no-important */\n}\n\n@keyframes newGroupAnim {\n from {\n clip-path: polygon(0% 0%, 0% 100%, 50% 100%, 50% 0%);\n }\n\n to {\n clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);\n }\n}\n\n.animation-playback-rate-control {\n margin: 4px 0 4px 2px;\n display: flex;\n width: 120px;\n}\n\n.animation-playback-rate-button {\n border-width: 1px;\n border-style: solid;\n border-color: var(--sys-color-tonal-outline);\n border-right-width: 0;\n color: var(--sys-color-on-surface);\n display: inline-block;\n margin-right: -1px;\n padding: 1px 4px;\n background-color: transparent;\n flex: 1 0 auto;\n text-align: center;\n}\n\n.animation-playback-rate-button:first-child {\n border-radius: 4px 0 0 4px;\n}\n\n.animation-playback-rate-button:last-child {\n border-radius: 0 4px 4px 0;\n border-right-width: 1px;\n}\n\n.animation-playback-rate-button.selected {\n color: var(--sys-color-on-tonal-container);\n background-color: var(--sys-color-tonal-container);\n border-color: var(--sys-color-tonal-container);\n z-index: 1;\n}\n\n.animation-playback-rate-button.selected:focus-visible {\n color: var(--sys-color-on-surface);\n}\n\n.animation-playback-rate-button:focus-visible {\n outline: 2px solid var(--sys-color-primary);\n outline-offset: 2px;\n z-index: 9999;\n}\n\n.animation-playback-rate-button:not(.selected, [disabled]):hover {\n background: var(--sys-color-state-hover-on-subtle);\n}\n\n.animation-playback-rate-button[disabled] {\n background: unset;\n border-color: var(--sys-color-state-disabled);\n color: var(--sys-color-state-disabled);\n}\n\n.animation-remove-button {\n position: absolute;\n top: -3px;\n right: -3px;\n background: var(--sys-color-token-subtle);\n border-radius: 12px;\n border: 0;\n height: 16px;\n width: 16px;\n z-index: 100;\n display: none;\n padding: 0;\n\n & > devtools-icon {\n height: 16px;\n width: 16px;\n color: var(--sys-color-cdt-base-container);\n }\n\n &:hover {\n background-color: var(--sys-color-on-surface);\n }\n}\n\n.animation-group-preview-ui {\n position: relative;\n}\n\n.animation-group-preview-ui:hover .animation-remove-button {\n display: flex;\n}\n\n.timeline-controls-resizer {\n position: absolute;\n width: 6px;\n height: 100%;\n left: var(--timeline-controls-width);\n top: 104px;\n z-index: 3;\n /* We put this a bit to the left of the line to allow dragging\n the delay point of the keyframes */\n margin-left: -4px;\n}\n\n@media (forced-colors: active) {\n .animation-playback-rate-button.selected,\n .animation-playback-rate-button.selected:first-child,\n .animation-playback-rate-button.selected:first-child:focus-visible,\n .animation-playback-rate-button:focus-visible {\n forced-color-adjust: none;\n color: HighlightText;\n background-color: Highlight;\n }\n\n .animation-node-description:focus-visible {\n background-color: var(--sys-color-cdt-base-container);\n forced-color-adjust: none;\n }\n\n .monospace {\n forced-color-adjust: auto;\n }\n}\n", _e = /* @__PURE__ */ e({
|
|
9
|
+
AnimationGroupRevealer: () => we,
|
|
10
|
+
AnimationTimeline: () => B,
|
|
11
|
+
GlobalPlaybackRates: () => V,
|
|
12
|
+
NodeUI: () => H,
|
|
13
|
+
StepTimingFunction: () => U
|
|
14
|
+
}), M = {
|
|
15
|
+
noEffectSelected: "No animation effect selected",
|
|
16
|
+
selectAnEffectAboveToInspectAnd: "Select an effect above to inspect and modify",
|
|
17
|
+
clearAll: "Clear all",
|
|
18
|
+
pauseAll: "Pause all",
|
|
19
|
+
playbackRates: "Playback rates",
|
|
20
|
+
playbackRatePlaceholder: "{PH1}%",
|
|
21
|
+
pause: "Pause",
|
|
22
|
+
setSpeedToS: "Set speed to {PH1}",
|
|
23
|
+
animationPreviews: "Animation previews",
|
|
24
|
+
waitingForAnimations: "Currently waiting for animations",
|
|
25
|
+
animationDescription: "On this page you can inspect and modify animations.",
|
|
26
|
+
replayTimeline: "Replay timeline",
|
|
27
|
+
resumeAll: "Resume all",
|
|
28
|
+
playTimeline: "Play timeline",
|
|
29
|
+
pauseTimeline: "Pause timeline",
|
|
30
|
+
animationPreviewS: "Animation Preview {PH1}"
|
|
31
|
+
}, N = l("panels/animation/AnimationTimeline.ts", M), P = a.bind(void 0, N), { render: F, html: I, Directives: { classMap: ve } } = v, L = /* @__PURE__ */ new WeakMap(), ye = 120, be = 150, xe = 720, Se = "https://developer.chrome.com/docs/devtools/css/animations", Ce = (e, t, n) => {
|
|
32
|
+
F(I`
|
|
33
|
+
<div class="animation-timeline-toolbar-container" role="toolbar" jslog=${se()}>
|
|
34
|
+
<devtools-toolbar class="animation-timeline-toolbar" role="presentation">
|
|
35
|
+
<devtools-button
|
|
36
|
+
title=${P(M.clearAll)}
|
|
37
|
+
aria-label=${P(M.clearAll)}
|
|
38
|
+
.iconName=${"clear"}
|
|
39
|
+
.jslogContext=${"animations.clear"}
|
|
40
|
+
.variant=${u.TOOLBAR}
|
|
41
|
+
@click=${e.onClearClick}>
|
|
42
|
+
</devtools-button>
|
|
43
|
+
<div class="toolbar-divider"></div>
|
|
44
|
+
<devtools-button
|
|
45
|
+
title=${P(M.pauseAll)}
|
|
46
|
+
aria-label=${P(M.pauseAll)}
|
|
47
|
+
jslog=${ae().track({ click: !0 }).context("animations.pause-resume-all")}
|
|
48
|
+
.iconName=${"pause"}
|
|
49
|
+
.toggledIconName=${"resume"}
|
|
50
|
+
.variant=${u.ICON_TOGGLE}
|
|
51
|
+
.toggleType=${te.PRIMARY}
|
|
52
|
+
.toggled=${e.allPaused}
|
|
53
|
+
@click=${e.onTogglePauseAllClick}>
|
|
54
|
+
</devtools-button>
|
|
55
|
+
</devtools-toolbar>
|
|
56
|
+
${(() => {
|
|
57
|
+
let t = (e, t) => {
|
|
58
|
+
let r = e, i = Number(r.dataset.playbackRate);
|
|
59
|
+
if (Number.isNaN(i)) return;
|
|
60
|
+
let a = V.indexOf(i), o = t ? a - 1 : a + 1;
|
|
61
|
+
if (o < 0 || o >= V.length) return;
|
|
62
|
+
let s = V[o], c = n.querySelector(`[data-playback-rate="${s}"]`);
|
|
63
|
+
c && (r.tabIndex = -1, c.tabIndex = 0, c.focus());
|
|
64
|
+
};
|
|
65
|
+
return I`
|
|
66
|
+
<div class="animation-playback-rate-control" role="listbox" aria-label=${P(M.playbackRates)} @keydown=${(e) => {
|
|
67
|
+
switch (e.key) {
|
|
68
|
+
case "ArrowLeft":
|
|
69
|
+
case "ArrowUp":
|
|
70
|
+
t(e.target, !0);
|
|
71
|
+
break;
|
|
72
|
+
case "ArrowRight":
|
|
73
|
+
case "ArrowDown":
|
|
74
|
+
t(e.target);
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
}}>
|
|
78
|
+
${V.map((t) => {
|
|
79
|
+
let n = e.selectedPlaybackRate === t, r = t ? P(M.playbackRatePlaceholder, { PH1: t * 100 }) : P(M.pause);
|
|
80
|
+
return I`
|
|
81
|
+
<button jslog=${w().context(`animations.playback-rate-${t * 100}`).track({
|
|
82
|
+
click: !0,
|
|
83
|
+
keydown: "ArrowUp|ArrowDown|ArrowLeft|ArrowRight"
|
|
84
|
+
})}
|
|
85
|
+
data-playback-rate=${t}
|
|
86
|
+
.disabled=${e.playbackRateButtonsDisabled}
|
|
87
|
+
class=${ve({
|
|
88
|
+
"animation-playback-rate-button": !0,
|
|
89
|
+
selected: n
|
|
90
|
+
})}
|
|
91
|
+
tabindex=${n ? 0 : -1}
|
|
92
|
+
role="option"
|
|
93
|
+
title=${P(M.setSpeedToS, { PH1: r })}
|
|
94
|
+
@click=${() => e.onSetPlaybackRateClick(t)}>
|
|
95
|
+
${r}
|
|
96
|
+
</button>
|
|
97
|
+
`;
|
|
98
|
+
})}
|
|
99
|
+
</div>
|
|
100
|
+
`;
|
|
101
|
+
})()}
|
|
102
|
+
</div>
|
|
103
|
+
`, n, { host: n });
|
|
104
|
+
}, R = 100, z, B = class e extends ie {
|
|
105
|
+
#e;
|
|
106
|
+
#t;
|
|
107
|
+
#n;
|
|
108
|
+
#r;
|
|
109
|
+
#i;
|
|
110
|
+
#a;
|
|
111
|
+
#o;
|
|
112
|
+
#s;
|
|
113
|
+
#c;
|
|
114
|
+
#l;
|
|
115
|
+
#u;
|
|
116
|
+
#d;
|
|
117
|
+
#f;
|
|
118
|
+
#p;
|
|
119
|
+
#m;
|
|
120
|
+
#h;
|
|
121
|
+
#g;
|
|
122
|
+
#_;
|
|
123
|
+
#v;
|
|
124
|
+
#y;
|
|
125
|
+
#b;
|
|
126
|
+
#x;
|
|
127
|
+
#S;
|
|
128
|
+
#C;
|
|
129
|
+
#w;
|
|
130
|
+
#T;
|
|
131
|
+
#E;
|
|
132
|
+
#D;
|
|
133
|
+
#O;
|
|
134
|
+
#k;
|
|
135
|
+
#A;
|
|
136
|
+
#j;
|
|
137
|
+
#M;
|
|
138
|
+
#N = new s(10);
|
|
139
|
+
#P = new s(10);
|
|
140
|
+
#F;
|
|
141
|
+
#I;
|
|
142
|
+
#L = !1;
|
|
143
|
+
constructor(e = Ce) {
|
|
144
|
+
super({
|
|
145
|
+
jslog: `${f("animations").track({ resize: !0 })}`,
|
|
146
|
+
useShadowDom: !0
|
|
147
|
+
}), this.registerRequiredCSS(ge), this.#I = e, this.element.classList.add("animations-timeline"), this.#k = this.contentElement.createChild("div", "timeline-controls-resizer"), this.#e = this.contentElement.createChild("div", "grid-overflow-wrapper"), this.#t = x(this.#e, "svg", "animation-timeline-grid"), this.#n = 1, this.#r = !1, this.#D = !1, this.#F = this.contentElement.createChild("div", "toolbar-view-container"), this.createHeader(), this.#i = this.contentElement.createChild("div", "animation-timeline-rows"), this.#i.setAttribute("jslog", `${D("animations")}`);
|
|
148
|
+
let t = this.contentElement.createChild("div", "animation-timeline-buffer-hint"), n = new h(P(M.waitingForAnimations), P(M.animationDescription));
|
|
149
|
+
n.link = Se, n.show(t);
|
|
150
|
+
let r = this.contentElement.createChild("div", "animation-timeline-rows-hint");
|
|
151
|
+
new h(P(M.noEffectSelected), P(M.selectAnEffectAboveToInspectAnd)).show(r), this.#d = R, this.#p = /* @__PURE__ */ new Map(), this.#m = [], this.#h = [], this.#M = [], this.#g = /* @__PURE__ */ new Map(), this.#_ = /* @__PURE__ */ new Map(), this.#f = be, this.element.style.setProperty("--timeline-controls-width", `${this.#f}px`), g.instance().addModelListener(ue, le.NodeRemoved, (e) => this.markNodeAsRemoved(e.data.node), this, { scoped: !0 }), g.instance().observeModels(j, this, { scoped: !0 }), C.instance().addFlavorChangeListener(k, this.nodeChanged, this), this.#R(), this.performToolbarViewUpdate();
|
|
152
|
+
}
|
|
153
|
+
static instance(t) {
|
|
154
|
+
return (!z || t?.forceNew) && (z = new e()), z;
|
|
155
|
+
}
|
|
156
|
+
#R() {
|
|
157
|
+
let e;
|
|
158
|
+
_(this.#k, (t) => (e = t.clientX, !0), (t) => {
|
|
159
|
+
if (e === void 0) return;
|
|
160
|
+
let n = this.#f + t.clientX - e;
|
|
161
|
+
this.#f = Math.min(Math.max(n, ye), xe), e = t.clientX, this.element.style.setProperty("--timeline-controls-width", this.#f + "px"), this.onResize();
|
|
162
|
+
}, () => {
|
|
163
|
+
e = void 0;
|
|
164
|
+
}, "ew-resize");
|
|
165
|
+
}
|
|
166
|
+
get previewMap() {
|
|
167
|
+
return this.#g;
|
|
168
|
+
}
|
|
169
|
+
get uiAnimations() {
|
|
170
|
+
return this.#m;
|
|
171
|
+
}
|
|
172
|
+
get groupBuffer() {
|
|
173
|
+
return this.#h;
|
|
174
|
+
}
|
|
175
|
+
wasShown() {
|
|
176
|
+
super.wasShown();
|
|
177
|
+
for (let e of g.instance().models(j, { scoped: !0 })) this.#z(e), this.addEventListeners(e);
|
|
178
|
+
}
|
|
179
|
+
willHide() {
|
|
180
|
+
super.willHide();
|
|
181
|
+
for (let e of g.instance().models(j, { scoped: !0 })) this.removeEventListeners(e);
|
|
182
|
+
}
|
|
183
|
+
#z(e) {
|
|
184
|
+
for (let t of e.animationGroups.values()) this.#g.has(t) || this.addAnimationGroup(t);
|
|
185
|
+
}
|
|
186
|
+
#B() {
|
|
187
|
+
T.instance().moveView("animations", "drawer-view", {
|
|
188
|
+
shouldSelectTab: !0,
|
|
189
|
+
overrideSaving: !0
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
async revealAnimationGroup(e) {
|
|
193
|
+
return this.#g.has(e) || await this.addAnimationGroup(e), this.#B(), await this.selectAnimationGroup(e);
|
|
194
|
+
}
|
|
195
|
+
modelAdded(e) {
|
|
196
|
+
this.isShowing() && this.addEventListeners(e);
|
|
197
|
+
}
|
|
198
|
+
modelRemoved(e) {
|
|
199
|
+
this.removeEventListeners(e);
|
|
200
|
+
}
|
|
201
|
+
addEventListeners(e) {
|
|
202
|
+
e.addEventListener(S.AnimationGroupStarted, this.animationGroupStarted, this), e.addEventListener(S.AnimationGroupUpdated, this.animationGroupUpdated, this), e.addEventListener(S.ModelReset, this.reset, this);
|
|
203
|
+
}
|
|
204
|
+
removeEventListeners(e) {
|
|
205
|
+
e.removeEventListener(S.AnimationGroupStarted, this.animationGroupStarted, this), e.removeEventListener(S.AnimationGroupUpdated, this.animationGroupUpdated, this), e.removeEventListener(S.ModelReset, this.reset, this);
|
|
206
|
+
}
|
|
207
|
+
nodeChanged() {
|
|
208
|
+
for (let e of this.#p.values()) e.nodeChanged();
|
|
209
|
+
}
|
|
210
|
+
createScrubber() {
|
|
211
|
+
return this.#o = document.createElement("div"), this.#o.classList.add("animation-scrubber"), this.#o.classList.add("hidden"), this.#v = this.#o.createChild("div", "animation-scrubber-line"), this.#v.createChild("div", "animation-scrubber-head"), this.#o.createChild("div", "animation-time-overlay"), this.#o;
|
|
212
|
+
}
|
|
213
|
+
performToolbarViewUpdate() {
|
|
214
|
+
this.#I({
|
|
215
|
+
selectedPlaybackRate: this.#n,
|
|
216
|
+
playbackRateButtonsDisabled: this.#L,
|
|
217
|
+
allPaused: this.#r,
|
|
218
|
+
onClearClick: () => {
|
|
219
|
+
O.actionTaken(E.AnimationGroupsCleared), this.reset();
|
|
220
|
+
},
|
|
221
|
+
onTogglePauseAllClick: () => {
|
|
222
|
+
this.#r = !this.#r, O.actionTaken(this.#r ? E.AnimationsPaused : E.AnimationsResumed), this.setPlaybackRate(this.#n), this.#y && this.#y.setTitle(this.#r ? P(M.resumeAll) : P(M.pauseAll));
|
|
223
|
+
},
|
|
224
|
+
onSetPlaybackRateClick: (e) => {
|
|
225
|
+
this.setPlaybackRate(e);
|
|
226
|
+
}
|
|
227
|
+
}, void 0, this.#F);
|
|
228
|
+
}
|
|
229
|
+
createHeader() {
|
|
230
|
+
this.#a = this.contentElement.createChild("div", "animation-timeline-buffer"), this.#a.setAttribute("jslog", `${D("film-strip")}`), de(this.#a), d(this.#a, P(M.animationPreviews));
|
|
231
|
+
let e = this.contentElement.createChild("div", "animation-timeline-header"), t = e.createChild("div", "animation-controls");
|
|
232
|
+
this.#s = t.createChild("div", "animation-timeline-current-time monospace");
|
|
233
|
+
let n = t.createChild("devtools-toolbar", "animation-controls-toolbar");
|
|
234
|
+
return this.#b = new y(P(M.replayTimeline), "replay", void 0, "animations.play-replay-pause-animation-group"), this.#b.element.classList.add("toolbar-state-on"), this.#x = "replay-outline", this.#b.addEventListener(y.Events.CLICK, this.controlButtonToggle.bind(this)), n.appendToolbarItem(this.#b), this.#A = e.createChild("div", "animation-grid-header"), this.#A.setAttribute("jslog", `${re("animations.grid-header").track({
|
|
235
|
+
drag: !0,
|
|
236
|
+
click: !0
|
|
237
|
+
})}`), _(this.#A, this.scrubberDragStart.bind(this), this.scrubberDragMove.bind(this), this.scrubberDragEnd.bind(this), null), this.#e.appendChild(this.createScrubber()), this.clearCurrentTimeText(), e;
|
|
238
|
+
}
|
|
239
|
+
setPlaybackRate(e) {
|
|
240
|
+
this.#n = e;
|
|
241
|
+
for (let e of g.instance().models(j, { scoped: !0 })) e.setPlaybackRate(this.#r ? 0 : this.#n);
|
|
242
|
+
O.actionTaken(E.AnimationsPlaybackRateChanged), this.#w && (this.#w.playbackRate = this.effectivePlaybackRate()), this.performToolbarViewUpdate();
|
|
243
|
+
}
|
|
244
|
+
controlButtonToggle() {
|
|
245
|
+
this.#x === "play-outline" ? this.togglePause(!1) : this.#x === "replay-outline" ? (O.actionTaken(E.AnimationGroupReplayed), this.replay()) : this.togglePause(!0);
|
|
246
|
+
}
|
|
247
|
+
updateControlButton() {
|
|
248
|
+
this.#b && (this.#b.setEnabled(!!this.#l && this.hasAnimationGroupActiveNodes() && !this.#l?.isScrollDriven()), this.#l && this.#l.paused() ? (this.#x = "play-outline", this.#b.element.classList.toggle("toolbar-state-on", !0), this.#b.setTitle(P(M.playTimeline)), this.#b.setGlyph("play")) : !this.#w || !this.#w.currentTime || typeof this.#w.currentTime != "number" || this.#w.currentTime >= this.duration() ? (this.#x = "replay-outline", this.#b.element.classList.toggle("toolbar-state-on", !0), this.#b.setTitle(P(M.replayTimeline)), this.#b.setGlyph("replay")) : (this.#x = "pause-outline", this.#b.element.classList.toggle("toolbar-state-on", !1), this.#b.setTitle(P(M.pauseTimeline)), this.#b.setGlyph("pause")));
|
|
249
|
+
}
|
|
250
|
+
effectivePlaybackRate() {
|
|
251
|
+
return this.#r || this.#l && this.#l.paused() ? 0 : this.#n;
|
|
252
|
+
}
|
|
253
|
+
togglePause(e) {
|
|
254
|
+
if (this.#l) {
|
|
255
|
+
this.#l.togglePause(e);
|
|
256
|
+
let t = this.#g.get(this.#l);
|
|
257
|
+
t && t.setPaused(e);
|
|
258
|
+
}
|
|
259
|
+
this.#w && (this.#w.playbackRate = this.effectivePlaybackRate()), this.updateControlButton();
|
|
260
|
+
}
|
|
261
|
+
replay() {
|
|
262
|
+
!this.#l || !this.hasAnimationGroupActiveNodes() || this.#l.isScrollDriven() || (this.#l.seekTo(0), this.animateTime(0), this.updateControlButton());
|
|
263
|
+
}
|
|
264
|
+
duration() {
|
|
265
|
+
return this.#d;
|
|
266
|
+
}
|
|
267
|
+
setDuration(e) {
|
|
268
|
+
this.#d = e, this.scheduleRedraw();
|
|
269
|
+
}
|
|
270
|
+
clearTimeline() {
|
|
271
|
+
this.#l && this.#j && this.#l.scrollNode().then((e) => {
|
|
272
|
+
e?.removeScrollEventListener(this.#j), this.#j = void 0;
|
|
273
|
+
}), this.#m = [], this.#p.clear(), this.#_.clear(), this.#i.removeChildren(), this.#d = R, this.#o.classList.add("hidden"), this.#A.classList.remove("scrubber-enabled"), this.#l = null, this.#w && this.#w.cancel(), this.#w = void 0, this.clearCurrentTimeText(), this.updateControlButton();
|
|
274
|
+
}
|
|
275
|
+
reset() {
|
|
276
|
+
this.clearTimeline(), this.setPlaybackRate(this.#n);
|
|
277
|
+
for (let e of this.#h) e.release();
|
|
278
|
+
this.#h = [], this.clearPreviews(), this.renderGrid();
|
|
279
|
+
}
|
|
280
|
+
animationGroupStarted({ data: e }) {
|
|
281
|
+
this.addAnimationGroup(e);
|
|
282
|
+
}
|
|
283
|
+
scheduledRedrawAfterAnimationGroupUpdatedForTest() {}
|
|
284
|
+
animationGroupUpdated({ data: e }) {
|
|
285
|
+
this.#P.schedule(async () => {
|
|
286
|
+
let t = this.#g.get(e);
|
|
287
|
+
if (t && t.replay(), this.#l === e) {
|
|
288
|
+
if (e.isScrollDriven()) {
|
|
289
|
+
let t = await e.scrollNode();
|
|
290
|
+
if (t) {
|
|
291
|
+
let n = e.scrollOrientation() === m.ScrollOrientation.Vertical ? await t.verticalScrollRange() : await t.horizontalScrollRange(), r = e.scrollOrientation() === m.ScrollOrientation.Vertical ? await t.scrollTop() : await t.scrollLeft();
|
|
292
|
+
n !== null && this.setDuration(n), r !== null && (this.setCurrentTimeText(r), this.setTimelineScrubberPosition(r));
|
|
293
|
+
}
|
|
294
|
+
} else this.setDuration(e.finiteDuration());
|
|
295
|
+
this.updateControlButton(), this.scheduleRedraw(), this.scheduledRedrawAfterAnimationGroupUpdatedForTest();
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
}
|
|
299
|
+
clearPreviews() {
|
|
300
|
+
this.#g.clear(), this.#a.removeChildren();
|
|
301
|
+
}
|
|
302
|
+
createPreview(e) {
|
|
303
|
+
let t = new $({
|
|
304
|
+
animationGroup: e,
|
|
305
|
+
label: P(M.animationPreviewS, { PH1: this.#h.length + 1 }),
|
|
306
|
+
onRemoveAnimationGroup: () => {
|
|
307
|
+
this.removeAnimationGroup(e);
|
|
308
|
+
},
|
|
309
|
+
onSelectAnimationGroup: () => {
|
|
310
|
+
this.selectAnimationGroup(e);
|
|
311
|
+
},
|
|
312
|
+
onFocusNextGroup: () => {
|
|
313
|
+
this.focusNextGroup(e);
|
|
314
|
+
},
|
|
315
|
+
onFocusPreviousGroup: () => {
|
|
316
|
+
this.focusNextGroup(e, !0);
|
|
317
|
+
}
|
|
318
|
+
}), n = document.createElement("div");
|
|
319
|
+
if (n.classList.add("preview-ui-container"), t.markAsRoot(), t.show(n), this.#h.push(e), this.#g.set(e, t), this.#a.appendChild(n), this.#g.size === 1) {
|
|
320
|
+
let e = this.#g.get(this.#h[0]);
|
|
321
|
+
e && e.setFocusable(!0);
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
previewsCreatedForTest() {}
|
|
325
|
+
scrubberOnFinishForTest() {}
|
|
326
|
+
createPreviewForCollectedGroups() {
|
|
327
|
+
this.#M.sort((e, t) => e.isScrollDriven() && !t.isScrollDriven() ? -1 : !e.isScrollDriven() && t.isScrollDriven() ? 1 : e.startTime() === t.startTime() ? e.animations.length - t.animations.length : e.startTime() - t.startTime());
|
|
328
|
+
for (let e of this.#M) this.createPreview(e);
|
|
329
|
+
this.#M = [], this.previewsCreatedForTest();
|
|
330
|
+
}
|
|
331
|
+
addAnimationGroup(e) {
|
|
332
|
+
let t = this.#g.get(e);
|
|
333
|
+
if (t) return this.#l === e ? this.syncScrubber() : t.replay(), Promise.resolve();
|
|
334
|
+
this.#h.sort((e, t) => e.startTime() - t.startTime());
|
|
335
|
+
let n = [], r = this.width() / 50;
|
|
336
|
+
for (; this.#h.length > r;) {
|
|
337
|
+
let e = this.#h.splice(+(this.#h[0] === this.#l), 1);
|
|
338
|
+
n.push(e[0]);
|
|
339
|
+
}
|
|
340
|
+
for (let e of n) {
|
|
341
|
+
let t = this.#g.get(e);
|
|
342
|
+
t && (t.detach(), this.#g.delete(e), e.release());
|
|
343
|
+
}
|
|
344
|
+
return this.#M.push(e), this.#N.schedule(() => Promise.resolve(this.createPreviewForCollectedGroups()));
|
|
345
|
+
}
|
|
346
|
+
focusNextGroup(e, t) {
|
|
347
|
+
let n = this.#h.indexOf(e), r = t ? n - 1 : n + 1;
|
|
348
|
+
if (r < 0 || r >= this.#h.length) return;
|
|
349
|
+
let i = this.#g.get(this.#h[r]);
|
|
350
|
+
i && (i.setFocusable(!0), i.focus());
|
|
351
|
+
let a = this.#g.get(e);
|
|
352
|
+
a && a.setFocusable(!1);
|
|
353
|
+
}
|
|
354
|
+
removeAnimationGroup(e) {
|
|
355
|
+
let t = this.#h.indexOf(e);
|
|
356
|
+
n(this.#h, e);
|
|
357
|
+
let r = this.#g.get(e);
|
|
358
|
+
if (r && r.detach(), this.#g.delete(e), e.release(), this.#l === e && (this.clearTimeline(), this.renderGrid()), this.#h.length === 0) {
|
|
359
|
+
this.#c.element.focus();
|
|
360
|
+
return;
|
|
361
|
+
}
|
|
362
|
+
let i = t >= this.#h.length ? this.#g.get(this.#h[this.#h.length - 1]) : this.#g.get(this.#h[t]);
|
|
363
|
+
i && (i.setFocusable(!0), i.focus());
|
|
364
|
+
}
|
|
365
|
+
clearCurrentTimeText() {
|
|
366
|
+
this.#s.textContent = "";
|
|
367
|
+
}
|
|
368
|
+
setCurrentTimeText(e) {
|
|
369
|
+
this.#l && (this.#s.textContent = this.#l?.isScrollDriven() ? `${e.toFixed(0)}px` : o(e));
|
|
370
|
+
}
|
|
371
|
+
async selectAnimationGroup(e) {
|
|
372
|
+
if (this.#l === e) {
|
|
373
|
+
this.togglePause(!1), this.replay();
|
|
374
|
+
return;
|
|
375
|
+
}
|
|
376
|
+
if (this.clearTimeline(), this.#l = e, this.#g.forEach((e, t) => {
|
|
377
|
+
e.setSelected(this.#l === t);
|
|
378
|
+
}), e.isScrollDriven()) {
|
|
379
|
+
let t = await e.scrollNode();
|
|
380
|
+
if (!t) throw Error("Scroll container is not found for the scroll driven animation");
|
|
381
|
+
let n = e.scrollOrientation() === m.ScrollOrientation.Vertical ? await t.verticalScrollRange() : await t.horizontalScrollRange(), r = e.scrollOrientation() === m.ScrollOrientation.Vertical ? await t.scrollTop() : await t.scrollLeft();
|
|
382
|
+
if (typeof n != "number" || typeof r != "number") throw Error("Scroll range or scroll offset is not resolved for the scroll driven animation");
|
|
383
|
+
this.#j = await t.addScrollEventListener(({ scrollTop: t, scrollLeft: n }) => {
|
|
384
|
+
let r = e.scrollOrientation() === m.ScrollOrientation.Vertical ? t : n;
|
|
385
|
+
this.setCurrentTimeText(r), this.setTimelineScrubberPosition(r);
|
|
386
|
+
}), this.setDuration(n), this.setCurrentTimeText(r), this.setTimelineScrubberPosition(r), this.#y && this.#y.setEnabled(!1), this.#L = !0, this.performToolbarViewUpdate();
|
|
387
|
+
} else this.setDuration(e.finiteDuration()), this.#y && this.#y.setEnabled(!0), this.#L = !1, this.performToolbarViewUpdate();
|
|
388
|
+
await Promise.all(e.animations().map((e) => this.addAnimation(e))), this.scheduleRedraw(), this.togglePause(!1), this.replay(), this.hasAnimationGroupActiveNodes() && (this.#o.classList.remove("hidden"), this.#A.classList.add("scrubber-enabled")), O.actionTaken(E.AnimationGroupSelected), this.#l.isScrollDriven() && O.actionTaken(E.ScrollDrivenAnimationGroupSelected), this.animationGroupSelectedForTest();
|
|
389
|
+
}
|
|
390
|
+
animationGroupSelectedForTest() {}
|
|
391
|
+
async addAnimation(e) {
|
|
392
|
+
let t = this.#p.get(e.source().backendNodeId());
|
|
393
|
+
t || (t = new H(e.source()), this.#i.appendChild(t.element), this.#p.set(e.source().backendNodeId(), t));
|
|
394
|
+
let n = t.createNewRow(), r = new K(e, this, n), i = await e.source().deferredNode().resolvePromise();
|
|
395
|
+
r.setNode(i), i && t && (t.nodeResolved(i), L.set(i, t)), this.#m.push(r), this.#_.set(e.id(), e);
|
|
396
|
+
}
|
|
397
|
+
markNodeAsRemoved(e) {
|
|
398
|
+
L.get(e)?.nodeRemoved();
|
|
399
|
+
for (let t of e.pseudoElements().values()) t.forEach((e) => this.markNodeAsRemoved(e));
|
|
400
|
+
e.children()?.forEach((e) => {
|
|
401
|
+
this.markNodeAsRemoved(e);
|
|
402
|
+
}), this.hasAnimationGroupActiveNodes() || (this.#A.classList.remove("scrubber-enabled"), this.#o.classList.add("hidden"), this.#w?.cancel(), this.#w = void 0, this.clearCurrentTimeText(), this.updateControlButton());
|
|
403
|
+
}
|
|
404
|
+
hasAnimationGroupActiveNodes() {
|
|
405
|
+
for (let e of this.#p.values()) if (e.hasActiveNode()) return !0;
|
|
406
|
+
return !1;
|
|
407
|
+
}
|
|
408
|
+
renderGrid() {
|
|
409
|
+
let e = this.#l?.isScrollDriven(), t = e ? this.duration() / 10 : 250;
|
|
410
|
+
this.#t.removeChildren();
|
|
411
|
+
let n;
|
|
412
|
+
for (let e = 0; e < this.duration(); e += t) {
|
|
413
|
+
let t = x(this.#t, "rect", "animation-timeline-grid-line");
|
|
414
|
+
t.setAttribute("x", (e * this.pixelTimeRatio() + 10).toString()), t.setAttribute("y", "23"), t.setAttribute("height", "100%"), t.setAttribute("width", "1");
|
|
415
|
+
}
|
|
416
|
+
for (let r = 0; r < this.duration(); r += t) {
|
|
417
|
+
let t = r * this.pixelTimeRatio();
|
|
418
|
+
if (n === void 0 || t - n > 50) {
|
|
419
|
+
n = t;
|
|
420
|
+
let i = x(this.#t, "text", "animation-timeline-grid-label");
|
|
421
|
+
i.textContent = e ? `${r.toFixed(0)}px` : o(r), i.setAttribute("x", (t + 12).toString()), i.setAttribute("y", "16");
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
scheduleRedraw() {
|
|
426
|
+
this.renderGrid(), this.#u = [];
|
|
427
|
+
for (let e of this.#m) this.#u.push(e);
|
|
428
|
+
this.#S || (this.#S = !0, this.#i.window().requestAnimationFrame(this.render.bind(this)));
|
|
429
|
+
}
|
|
430
|
+
render(e) {
|
|
431
|
+
for (; this.#u.length && (!e || window.performance.now() - e < 50);) {
|
|
432
|
+
let e = this.#u.shift();
|
|
433
|
+
e && e.redraw();
|
|
434
|
+
}
|
|
435
|
+
this.#u.length ? this.#i.window().requestAnimationFrame(this.render.bind(this)) : this.#S = void 0;
|
|
436
|
+
}
|
|
437
|
+
onResize() {
|
|
438
|
+
this.#C = Math.max(0, this.contentElement.offsetWidth - this.#f) || 0, this.scheduleRedraw(), this.#w && this.syncScrubber(), this.#T = void 0;
|
|
439
|
+
}
|
|
440
|
+
width() {
|
|
441
|
+
return this.#C || 0;
|
|
442
|
+
}
|
|
443
|
+
syncScrubber() {
|
|
444
|
+
!this.#l || !this.hasAnimationGroupActiveNodes() || this.#l.currentTimePromise().then(this.animateTime.bind(this)).then(this.updateControlButton.bind(this));
|
|
445
|
+
}
|
|
446
|
+
animateTime(e) {
|
|
447
|
+
this.#l?.isScrollDriven() || (this.#w && this.#w.cancel(), this.#w = this.#o.animate([{ transform: "translateX(0px)" }, { transform: "translateX(" + this.width() + "px)" }], {
|
|
448
|
+
duration: this.duration(),
|
|
449
|
+
fill: "forwards"
|
|
450
|
+
}), this.#w.playbackRate = this.effectivePlaybackRate(), this.#w.onfinish = () => {
|
|
451
|
+
this.updateControlButton(), this.scrubberOnFinishForTest();
|
|
452
|
+
}, this.#w.currentTime = e, this.element.window().requestAnimationFrame(this.updateScrubber.bind(this)));
|
|
453
|
+
}
|
|
454
|
+
pixelTimeRatio() {
|
|
455
|
+
return this.width() / this.duration() || 0;
|
|
456
|
+
}
|
|
457
|
+
updateScrubber(e) {
|
|
458
|
+
this.#w && (this.setCurrentTimeText(this.#V()), (this.#w.playState.toString() === "pending" || this.#w.playState === "running") && this.element.window().requestAnimationFrame(this.updateScrubber.bind(this)));
|
|
459
|
+
}
|
|
460
|
+
scrubberDragStart(e) {
|
|
461
|
+
if (!this.#l || !this.hasAnimationGroupActiveNodes()) return !1;
|
|
462
|
+
this.#T ||= this.#t.getBoundingClientRect().left + 10;
|
|
463
|
+
let { x: t } = e, n = Math.max(0, t - this.#T) / this.pixelTimeRatio();
|
|
464
|
+
if (this.#E = n, this.#O = t, this.setCurrentTimeText(n), this.#l.isScrollDriven()) this.setTimelineScrubberPosition(n), this.updateScrollOffsetOnPage(n);
|
|
465
|
+
else {
|
|
466
|
+
let e = this.#w?.currentTime;
|
|
467
|
+
this.#D = this.#l.paused() || typeof e == "number" && e >= this.duration(), this.#l.seekTo(n), this.togglePause(!0), this.animateTime(n);
|
|
468
|
+
}
|
|
469
|
+
return !0;
|
|
470
|
+
}
|
|
471
|
+
async updateScrollOffsetOnPage(e) {
|
|
472
|
+
let t = await this.#l?.scrollNode();
|
|
473
|
+
if (t) return this.#l?.scrollOrientation() === m.ScrollOrientation.Vertical ? await t.setScrollTop(e) : await t.setScrollLeft(e);
|
|
474
|
+
}
|
|
475
|
+
setTimelineScrubberPosition(e) {
|
|
476
|
+
this.#o.style.transform = `translateX(${e * this.pixelTimeRatio()}px)`;
|
|
477
|
+
}
|
|
478
|
+
scrubberDragMove(e) {
|
|
479
|
+
let { x: t } = e, n = t - (this.#O || 0), r = Math.max(0, Math.min((this.#E || 0) + n / this.pixelTimeRatio(), this.duration()));
|
|
480
|
+
this.#w ? this.#w.currentTime = r : (this.setTimelineScrubberPosition(r), this.updateScrollOffsetOnPage(r)), this.setCurrentTimeText(r), this.#l && !this.#l.isScrollDriven() && this.#l.seekTo(r);
|
|
481
|
+
}
|
|
482
|
+
#V() {
|
|
483
|
+
return typeof this.#w?.currentTime == "number" ? this.#w.currentTime : 0;
|
|
484
|
+
}
|
|
485
|
+
scrubberDragEnd(e) {
|
|
486
|
+
if (this.#w) {
|
|
487
|
+
let e = Math.max(0, this.#V());
|
|
488
|
+
this.#w.play(), this.#w.currentTime = e;
|
|
489
|
+
}
|
|
490
|
+
O.actionTaken(E.AnimationGroupScrubbed), this.#l?.isScrollDriven() && O.actionTaken(E.ScrollDrivenAnimationGroupScrubbed), this.#s.window().requestAnimationFrame(this.updateScrubber.bind(this)), this.#D || this.togglePause(!1);
|
|
491
|
+
}
|
|
492
|
+
}, V = [
|
|
493
|
+
1,
|
|
494
|
+
.25,
|
|
495
|
+
.1
|
|
496
|
+
], H = class {
|
|
497
|
+
element;
|
|
498
|
+
#e;
|
|
499
|
+
#t;
|
|
500
|
+
#n;
|
|
501
|
+
#r;
|
|
502
|
+
constructor(e) {
|
|
503
|
+
this.element = document.createElement("div"), this.element.classList.add("animation-node-row"), this.#e = this.element.createChild("div", "animation-node-description"), this.#e.setAttribute("jslog", `${A("description").track({ resize: !0 })}`), this.#t = this.element.createChild("div", "animation-node-timeline"), this.#t.setAttribute("jslog", `${A("timeline").track({ resize: !0 })}`), p(this.#t);
|
|
504
|
+
}
|
|
505
|
+
nodeResolved(e) {
|
|
506
|
+
if (!e) {
|
|
507
|
+
pe(this.#e, "<node>");
|
|
508
|
+
return;
|
|
509
|
+
}
|
|
510
|
+
this.#r = e, this.nodeChanged(), F(me.instance().linkify(e, { onClick: () => {
|
|
511
|
+
O.actionTaken(E.AnimatedNodeDescriptionClicked);
|
|
512
|
+
} }), this.#e, { host: this }), e.ownerDocument || this.nodeRemoved();
|
|
513
|
+
}
|
|
514
|
+
createNewRow() {
|
|
515
|
+
return this.#t.createChild("div", "animation-timeline-row");
|
|
516
|
+
}
|
|
517
|
+
nodeRemoved() {
|
|
518
|
+
this.element.classList.add("animation-node-removed"), this.#n || (this.#n = document.createElement("div"), this.#n.classList.add("animation-node-removed-overlay"), this.#e.appendChild(this.#n)), this.#r = null;
|
|
519
|
+
}
|
|
520
|
+
hasActiveNode() {
|
|
521
|
+
return !!this.#r;
|
|
522
|
+
}
|
|
523
|
+
nodeChanged() {
|
|
524
|
+
let e = !1;
|
|
525
|
+
this.#r && (e = this.#r === C.instance().flavor(k)), this.element.classList.toggle("animation-node-selected", e);
|
|
526
|
+
}
|
|
527
|
+
}, U = class e {
|
|
528
|
+
steps;
|
|
529
|
+
stepAtPosition;
|
|
530
|
+
constructor(e, t) {
|
|
531
|
+
this.steps = e, this.stepAtPosition = t;
|
|
532
|
+
}
|
|
533
|
+
static parse(t) {
|
|
534
|
+
let n = t.match(/^steps\((\d+), (start|middle)\)$/);
|
|
535
|
+
return n ? new e(parseInt(n[1], 10), n[2]) : (n = t.match(/^steps\((\d+)\)$/), n ? new e(parseInt(n[1], 10), "end") : null);
|
|
536
|
+
}
|
|
537
|
+
}, we = class {
|
|
538
|
+
async reveal(e) {
|
|
539
|
+
await B.instance().revealAnimationGroup(e);
|
|
540
|
+
}
|
|
541
|
+
}, Te = /* @__PURE__ */ e({
|
|
542
|
+
AnimationUI: () => K,
|
|
543
|
+
Colors: () => J,
|
|
544
|
+
Events: () => De,
|
|
545
|
+
Options: () => q
|
|
546
|
+
}), W = {
|
|
547
|
+
animationEndpointSlider: "Animation Endpoint slider",
|
|
548
|
+
animationKeyframeSlider: "Animation Keyframe slider",
|
|
549
|
+
sSlider: "{PH1} slider"
|
|
550
|
+
}, Ee = l("panels/animation/AnimationUI.ts", W), G = a.bind(void 0, Ee), K = class e {
|
|
551
|
+
#e;
|
|
552
|
+
#t;
|
|
553
|
+
#n;
|
|
554
|
+
#r;
|
|
555
|
+
#i;
|
|
556
|
+
#a;
|
|
557
|
+
#o = [];
|
|
558
|
+
#s = 0;
|
|
559
|
+
#c = 50;
|
|
560
|
+
#l;
|
|
561
|
+
#u;
|
|
562
|
+
#d;
|
|
563
|
+
#f;
|
|
564
|
+
#p;
|
|
565
|
+
#m;
|
|
566
|
+
#h;
|
|
567
|
+
#g;
|
|
568
|
+
constructor(t, n, r) {
|
|
569
|
+
this.#e = t, this.#t = n;
|
|
570
|
+
let i = this.#e.source().keyframesRule();
|
|
571
|
+
i && (this.#n = i.keyframes(), t.viewOrScrollTimeline() && t.playbackRate() < 0 && this.#n.reverse()), this.#r = r.createChild("div", "animation-name"), this.#r.textContent = this.#e.name(), this.#i = x(r, "svg", "animation-ui"), this.#i.setAttribute("height", q.AnimationSVGHeight.toString()), this.#i.style.marginLeft = "-" + q.AnimationMargin + "px", this.#i.addEventListener("contextmenu", this.onContextMenu.bind(this)), this.#a = x(this.#i, "g"), this.#a.setAttribute("jslog", `${b().track({ drag: !0 })}`), this.#e.viewOrScrollTimeline() || (_(this.#a, this.mouseDown.bind(this, "AnimationDrag", null), this.mouseMove.bind(this), this.mouseUp.bind(this), "-webkit-grabbing", "-webkit-grab"), e.installDragHandleKeyboard(this.#a, this.keydownMove.bind(this, "AnimationDrag", null))), this.#l = e.colorForAnimation(this.#e);
|
|
572
|
+
}
|
|
573
|
+
static colorForAnimation(e) {
|
|
574
|
+
let n = Array.from(J.keys()), i = n[t(e.name() || e.id()) % n.length], a = J.get(i);
|
|
575
|
+
if (!a) throw Error("Unable to locate color");
|
|
576
|
+
return a.asString(r.RGB) || "";
|
|
577
|
+
}
|
|
578
|
+
static installDragHandleKeyboard(e, t) {
|
|
579
|
+
e.addEventListener("keydown", t, !1);
|
|
580
|
+
}
|
|
581
|
+
animation() {
|
|
582
|
+
return this.#e;
|
|
583
|
+
}
|
|
584
|
+
get nameElement() {
|
|
585
|
+
return this.#r;
|
|
586
|
+
}
|
|
587
|
+
get svg() {
|
|
588
|
+
return this.#i;
|
|
589
|
+
}
|
|
590
|
+
setNode(e) {
|
|
591
|
+
this.#u = e;
|
|
592
|
+
}
|
|
593
|
+
createLine(e, t) {
|
|
594
|
+
let n = x(e, "line", t);
|
|
595
|
+
return n.setAttribute("x1", q.AnimationMargin.toString()), n.setAttribute("y1", q.AnimationHeight.toString()), n.setAttribute("y2", q.AnimationHeight.toString()), n.style.stroke = this.#l, n;
|
|
596
|
+
}
|
|
597
|
+
drawAnimationLine(e, t) {
|
|
598
|
+
let n = this.#o[e];
|
|
599
|
+
n.animationLine ||= this.createLine(t, "animation-line"), n.animationLine && n.animationLine.setAttribute("x2", (this.duration() * this.#t.pixelTimeRatio() + q.AnimationMargin).toFixed(2));
|
|
600
|
+
}
|
|
601
|
+
drawDelayLine(e) {
|
|
602
|
+
(!this.#d || !this.#f) && (this.#d = this.createLine(e, "animation-delay-line"), this.#f = this.createLine(e, "animation-delay-line"));
|
|
603
|
+
let t = this.#e.source().fill();
|
|
604
|
+
this.#d.classList.toggle("animation-fill", t === "backwards" || t === "both");
|
|
605
|
+
let n = q.AnimationMargin;
|
|
606
|
+
this.#d.setAttribute("x1", n.toString()), this.#d.setAttribute("x2", (this.delayOrStartTime() * this.#t.pixelTimeRatio() + n).toFixed(2));
|
|
607
|
+
let r = t === "forwards" || t === "both";
|
|
608
|
+
this.#f.classList.toggle("animation-fill", r);
|
|
609
|
+
let i = Math.min(this.#t.width(), (this.delayOrStartTime() + this.duration() * this.#e.source().iterations()) * this.#t.pixelTimeRatio());
|
|
610
|
+
this.#f.style.transform = "translateX(" + i.toFixed(2) + "px)", this.#f.setAttribute("x1", n.toString()), this.#f.setAttribute("x2", r ? (this.#t.width() - i + n).toFixed(2) : (this.#e.source().endDelay() * this.#t.pixelTimeRatio() + n).toFixed(2));
|
|
611
|
+
}
|
|
612
|
+
drawPoint(t, n, r, i, a) {
|
|
613
|
+
if (this.#o[t].keyframePoints[i]) {
|
|
614
|
+
this.#o[t].keyframePoints[i].setAttribute("cx", r.toFixed(2));
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
let o = x(n, "circle", i <= 0 ? "animation-endpoint" : "animation-keyframe-point");
|
|
618
|
+
if (o.setAttribute("cx", r.toFixed(2)), o.setAttribute("cy", q.AnimationHeight.toString()), o.style.stroke = this.#l, o.setAttribute("r", (q.AnimationMargin / 2).toString()), o.setAttribute("jslog", `${fe("animations.keyframe").track({ drag: !0 })}`), o.tabIndex = 0, d(o, G(i <= 0 ? W.animationEndpointSlider : W.animationKeyframeSlider)), i <= 0 && (o.style.fill = this.#l), this.#o[t].keyframePoints[i] = o, !a) return;
|
|
619
|
+
let s;
|
|
620
|
+
s = i === 0 ? "StartEndpointMove" : i === -1 ? "FinishEndpointMove" : "KeyframeMove", this.animation().viewOrScrollTimeline() || (_(o, this.mouseDown.bind(this, s, i), this.mouseMove.bind(this), this.mouseUp.bind(this), "ew-resize"), e.installDragHandleKeyboard(o, this.keydownMove.bind(this, s, i)));
|
|
621
|
+
}
|
|
622
|
+
renderKeyframe(e, t, n, r, i, a) {
|
|
623
|
+
function o(e, t, n) {
|
|
624
|
+
let r = x(e, "line");
|
|
625
|
+
r.setAttribute("x1", t.toString()), r.setAttribute("x2", t.toString()), r.setAttribute("y1", q.AnimationMargin.toString()), r.setAttribute("y2", q.AnimationHeight.toString()), r.style.stroke = n;
|
|
626
|
+
}
|
|
627
|
+
let s = oe.parse(a), c = this.#o[e].keyframeRender;
|
|
628
|
+
c[t] || (c[t] = s ? x(n, "path", "animation-keyframe") : x(n, "g", "animation-keyframe-step"));
|
|
629
|
+
let l = c[t];
|
|
630
|
+
if (l.tabIndex = 0, d(l, G(W.sSlider, { PH1: this.#e.name() })), l.style.transform = "translateX(" + r.toFixed(2) + "px)", a === "linear") l.style.fill = this.#l, l.setAttribute("d", [
|
|
631
|
+
"M",
|
|
632
|
+
0,
|
|
633
|
+
26,
|
|
634
|
+
"L",
|
|
635
|
+
0,
|
|
636
|
+
5,
|
|
637
|
+
"L",
|
|
638
|
+
i.toFixed(2),
|
|
639
|
+
5,
|
|
640
|
+
"L",
|
|
641
|
+
i.toFixed(2),
|
|
642
|
+
26,
|
|
643
|
+
"Z"
|
|
644
|
+
].join(" "));
|
|
645
|
+
else if (s) l.style.fill = this.#l, he.drawVelocityChart(s, l, i);
|
|
646
|
+
else {
|
|
647
|
+
let e = U.parse(a);
|
|
648
|
+
l.removeChildren();
|
|
649
|
+
let t = {
|
|
650
|
+
start: 0,
|
|
651
|
+
middle: .5,
|
|
652
|
+
end: 1
|
|
653
|
+
};
|
|
654
|
+
if (e) {
|
|
655
|
+
let n = t[e.stepAtPosition];
|
|
656
|
+
for (let t = 0; t < e.steps; t++) o(l, (t + n) * i / e.steps, this.#l);
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
redraw() {
|
|
661
|
+
let e = this.#t.width() - q.AnimationMargin;
|
|
662
|
+
if (this.#i.setAttribute("width", (e + 2 * q.AnimationMargin).toFixed(2)), this.#a.style.transform = "translateX(" + (this.delayOrStartTime() * this.#t.pixelTimeRatio()).toFixed(2) + "px)", this.#r.style.transform = "translateX(" + (Math.max(this.delayOrStartTime(), 0) * this.#t.pixelTimeRatio() + q.AnimationMargin).toFixed(2) + "px)", this.#r.style.width = (this.duration() * this.#t.pixelTimeRatio()).toFixed(2) + "px", this.drawDelayLine(this.#i), this.#e.type() === "CSSTransition") {
|
|
663
|
+
this.renderTransition();
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
this.renderIteration(this.#a, 0), this.#p ||= x(this.#a, "g", "animation-tail-iterations");
|
|
667
|
+
let t = this.duration() * this.#t.pixelTimeRatio(), n, r = this.delayOrStartTime() < 0 ? -this.delayOrStartTime() * this.#t.pixelTimeRatio() : 0;
|
|
668
|
+
for (n = 1; n < this.#e.source().iterations() && t * (n - 1) < r + this.#t.width() && (t > 0 || this.#e.source().iterations() !== Infinity); n++) this.renderIteration(this.#p, n);
|
|
669
|
+
for (; n < this.#o.length;) {
|
|
670
|
+
let e = this.#o.pop();
|
|
671
|
+
e?.group && e.group.remove();
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
renderTransition() {
|
|
675
|
+
let e = this.#a;
|
|
676
|
+
this.#o[0] || (this.#o[0] = {
|
|
677
|
+
animationLine: null,
|
|
678
|
+
keyframePoints: {},
|
|
679
|
+
keyframeRender: {},
|
|
680
|
+
group: null
|
|
681
|
+
}), this.drawAnimationLine(0, e), this.renderKeyframe(0, 0, e, q.AnimationMargin, this.duration() * this.#t.pixelTimeRatio(), this.#e.source().easing()), this.drawPoint(0, e, q.AnimationMargin, 0, !0), this.drawPoint(0, e, this.duration() * this.#t.pixelTimeRatio() + q.AnimationMargin, -1, !0);
|
|
682
|
+
}
|
|
683
|
+
renderIteration(e, t) {
|
|
684
|
+
this.#o[t] || (this.#o[t] = {
|
|
685
|
+
animationLine: null,
|
|
686
|
+
keyframePoints: {},
|
|
687
|
+
keyframeRender: {},
|
|
688
|
+
group: x(e, "g")
|
|
689
|
+
});
|
|
690
|
+
let n = this.#o[t].group;
|
|
691
|
+
if (n) {
|
|
692
|
+
if (n.style.transform = "translateX(" + (t * this.duration() * this.#t.pixelTimeRatio()).toFixed(2) + "px)", this.drawAnimationLine(t, n), this.#n && this.#n.length > 1) for (let e = 0; e < this.#n.length - 1; e++) {
|
|
693
|
+
let r = this.offset(e) * this.duration() * this.#t.pixelTimeRatio() + q.AnimationMargin, i = this.duration() * (this.offset(e + 1) - this.offset(e)) * this.#t.pixelTimeRatio();
|
|
694
|
+
this.renderKeyframe(t, e, n, r, i, this.#n[e].easing()), (e || !e && t === 0) && this.drawPoint(t, n, r, e, t === 0);
|
|
695
|
+
}
|
|
696
|
+
this.drawPoint(t, n, this.duration() * this.#t.pixelTimeRatio() + q.AnimationMargin, -1, t === 0);
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
delayOrStartTime() {
|
|
700
|
+
let e = this.#e.delayOrStartTime();
|
|
701
|
+
return (this.#m === "AnimationDrag" || this.#m === "StartEndpointMove") && (e += this.#s), e;
|
|
702
|
+
}
|
|
703
|
+
duration() {
|
|
704
|
+
let e = this.#e.iterationDuration();
|
|
705
|
+
return this.#m === "FinishEndpointMove" ? e += this.#s : this.#m === "StartEndpointMove" && (e -= this.#s), Math.max(0, e);
|
|
706
|
+
}
|
|
707
|
+
offset(e) {
|
|
708
|
+
if (!this.#n) throw Error("Unable to calculate offset; keyframes do not exist");
|
|
709
|
+
let t = this.#n[e].offsetAsNumber();
|
|
710
|
+
return this.#m === "KeyframeMove" && e === this.#h && (console.assert(e > 0 && e < this.#n.length - 1, "First and last keyframe cannot be moved"), t += this.#s / this.#e.iterationDuration(), t = Math.max(t, this.#n[e - 1].offsetAsNumber()), t = Math.min(t, this.#n[e + 1].offsetAsNumber())), t;
|
|
711
|
+
}
|
|
712
|
+
mouseDown(e, t, n) {
|
|
713
|
+
let r = n;
|
|
714
|
+
if (r.buttons === 2 || this.#i.enclosingNodeOrSelfWithClass("animation-node-removed")) return !1;
|
|
715
|
+
this.#m = e, this.#h = t, this.#g = r.clientX, n.consume(!0);
|
|
716
|
+
let a = T.instance(), o = a.locationNameForViewId("animations"), s = a.locationNameForViewId("elements");
|
|
717
|
+
return this.#u && o !== s && i(this.#u), !0;
|
|
718
|
+
}
|
|
719
|
+
mouseMove(e) {
|
|
720
|
+
let t = e;
|
|
721
|
+
this.setMovementAndRedraw((t.clientX - (this.#g || 0)) / this.#t.pixelTimeRatio());
|
|
722
|
+
}
|
|
723
|
+
setMovementAndRedraw(e) {
|
|
724
|
+
this.#s = e, this.delayOrStartTime() + this.duration() > this.#t.duration() * .8 && this.#t.setDuration(this.#t.duration() * 1.2), this.redraw();
|
|
725
|
+
}
|
|
726
|
+
mouseUp(e) {
|
|
727
|
+
let t = e;
|
|
728
|
+
this.#s = (t.clientX - (this.#g || 0)) / this.#t.pixelTimeRatio(), this.#m === "KeyframeMove" ? this.#n && this.#h !== null && this.#h !== void 0 && this.#n[this.#h].setOffset(this.offset(this.#h)) : this.#e.setTiming(this.duration(), this.delayOrStartTime()), this.#s = 0, this.redraw(), this.#m = void 0, this.#g = void 0, this.#h = void 0;
|
|
729
|
+
}
|
|
730
|
+
keydownMove(e, t, n) {
|
|
731
|
+
let r = n;
|
|
732
|
+
switch (this.#m = e, this.#h = t, r.key) {
|
|
733
|
+
case "ArrowLeft":
|
|
734
|
+
case "ArrowUp":
|
|
735
|
+
this.#s = -this.#c;
|
|
736
|
+
break;
|
|
737
|
+
case "ArrowRight":
|
|
738
|
+
case "ArrowDown":
|
|
739
|
+
this.#s = this.#c;
|
|
740
|
+
break;
|
|
741
|
+
default: return;
|
|
742
|
+
}
|
|
743
|
+
this.#m === "KeyframeMove" ? this.#n && this.#h !== null && this.#n[this.#h].setOffset(this.offset(this.#h)) : this.#e.setTiming(this.duration(), this.delayOrStartTime()), this.setMovementAndRedraw(0), this.#m = void 0, this.#h = void 0, n.consume(!0);
|
|
744
|
+
}
|
|
745
|
+
onContextMenu(e) {
|
|
746
|
+
function t(t) {
|
|
747
|
+
if (!t) return;
|
|
748
|
+
let n = new ne(e);
|
|
749
|
+
n.appendApplicableItems(t), n.show();
|
|
750
|
+
}
|
|
751
|
+
this.#e.remoteObjectPromise().then(t), e.consume(!0);
|
|
752
|
+
}
|
|
753
|
+
}, De = /* @__PURE__ */ function(e) {
|
|
754
|
+
return e.ANIMATION_DRAG = "AnimationDrag", e.KEYFRAME_MOVE = "KeyframeMove", e.START_ENDPOINT_MOVE = "StartEndpointMove", e.FINISH_ENDPOINT_MOVE = "FinishEndpointMove", e;
|
|
755
|
+
}({}), q = {
|
|
756
|
+
AnimationHeight: 26,
|
|
757
|
+
AnimationSVGHeight: 50,
|
|
758
|
+
AnimationMargin: 7,
|
|
759
|
+
EndpointsClickRegionSize: 10,
|
|
760
|
+
GridCanvasHeight: 40
|
|
761
|
+
}, J = new Map([
|
|
762
|
+
["Purple", c("#9C27B0")],
|
|
763
|
+
["Light Blue", c("#03A9F4")],
|
|
764
|
+
["Deep Orange", c("#FF5722")],
|
|
765
|
+
["Blue", c("#5677FC")],
|
|
766
|
+
["Lime", c("#CDDC39")],
|
|
767
|
+
["Blue Grey", c("#607D8B")],
|
|
768
|
+
["Pink", c("#E91E63")],
|
|
769
|
+
["Green", c("#0F9D58")],
|
|
770
|
+
["Brown", c("#795548")],
|
|
771
|
+
["Cyan", c("#00BCD4")]
|
|
772
|
+
]), Oe = /* @__PURE__ */ e({ AnimationGroupPreviewUI: () => $ }), { render: ke, html: Y, svg: Ae, Directives: { classMap: X, ref: Z } } = v, Q = 32, je = 10, Me = 750, Ne = (e, t, n) => {
|
|
773
|
+
let r = X({
|
|
774
|
+
"animation-buffer-preview": !0,
|
|
775
|
+
selected: e.isSelected,
|
|
776
|
+
paused: e.isPaused,
|
|
777
|
+
"no-animation": e.isPreviewAnimationDisabled
|
|
778
|
+
});
|
|
779
|
+
ke(Y`
|
|
780
|
+
<div class="animation-group-preview-ui">
|
|
781
|
+
<button
|
|
782
|
+
jslog=${ee(`animations.buffer-preview${e.isScrollDrivenAnimationGroup ? "-sda" : ""}`).track({
|
|
783
|
+
click: !0,
|
|
784
|
+
resize: !0
|
|
785
|
+
})}
|
|
786
|
+
class=${r}
|
|
787
|
+
role="option"
|
|
788
|
+
aria-label=${e.label}
|
|
789
|
+
tabindex=${e.isFocusable ? 0 : -1}
|
|
790
|
+
@keydown=${(t) => {
|
|
791
|
+
switch (t.key) {
|
|
792
|
+
case "Backspace":
|
|
793
|
+
case "Delete":
|
|
794
|
+
e.onRemoveAnimationGroup();
|
|
795
|
+
break;
|
|
796
|
+
case "ArrowLeft":
|
|
797
|
+
case "ArrowUp":
|
|
798
|
+
e.onFocusPreviousGroup();
|
|
799
|
+
break;
|
|
800
|
+
case "ArrowRight":
|
|
801
|
+
case "ArrowDown": e.onFocusNextGroup();
|
|
802
|
+
}
|
|
803
|
+
}}
|
|
804
|
+
@click=${e.onSelectAnimationGroup}
|
|
805
|
+
@animationend=${e.onPreviewAnimationEnd}
|
|
806
|
+
${Z((e) => {
|
|
807
|
+
e instanceof HTMLElement && (t.focus = () => {
|
|
808
|
+
e.focus();
|
|
809
|
+
});
|
|
810
|
+
})}>
|
|
811
|
+
<div class="animation-paused fill"></div>
|
|
812
|
+
<devtools-icon name=${e.isScrollDrivenAnimationGroup ? "mouse" : "watch"} class="preview-icon"></devtools-icon>
|
|
813
|
+
<div class="animation-buffer-preview-animation" ${Z((e) => {
|
|
814
|
+
e instanceof HTMLElement && (t.replay = () => {
|
|
815
|
+
e.animate([
|
|
816
|
+
{
|
|
817
|
+
offset: 0,
|
|
818
|
+
width: "0%",
|
|
819
|
+
opacity: 1
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
offset: .9,
|
|
823
|
+
width: "100%",
|
|
824
|
+
opacity: 1
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
offset: 1,
|
|
828
|
+
width: "100%",
|
|
829
|
+
opacity: 0
|
|
830
|
+
}
|
|
831
|
+
], {
|
|
832
|
+
duration: 200,
|
|
833
|
+
easing: "cubic-bezier(0, 0, 0.2, 1)"
|
|
834
|
+
});
|
|
835
|
+
});
|
|
836
|
+
})}></div>
|
|
837
|
+
${(() => {
|
|
838
|
+
let t = 100 / Math.max(e.animationGroupDuration, Me);
|
|
839
|
+
return Y`
|
|
840
|
+
<svg
|
|
841
|
+
width="100%"
|
|
842
|
+
height="100%"
|
|
843
|
+
viewBox=${`0 0 100 ${Q}`}
|
|
844
|
+
preserveAspectRatio="none"
|
|
845
|
+
shape-rendering="crispEdges">
|
|
846
|
+
${e.animations.map((n, r) => {
|
|
847
|
+
let i = n.delayOrStartTime(), a = i + n.iterationDuration(), o = Math.floor(Q / Math.max(6, e.animations.length) * r + 1), s = K.colorForAnimation(n);
|
|
848
|
+
return Ae`<line
|
|
849
|
+
x1="${i * t}"
|
|
850
|
+
x2="${a * t}"
|
|
851
|
+
y1="${o}"
|
|
852
|
+
y2="${o}"
|
|
853
|
+
style="stroke: ${s}"></line>`;
|
|
854
|
+
})}
|
|
855
|
+
</svg>
|
|
856
|
+
`;
|
|
857
|
+
})()}
|
|
858
|
+
</button>
|
|
859
|
+
<button
|
|
860
|
+
class="animation-remove-button"
|
|
861
|
+
jslog=${w("animations.remove-preview").track({ click: !0 })}
|
|
862
|
+
@click=${e.onRemoveAnimationGroup}>
|
|
863
|
+
<devtools-icon name="cross"></devtools-icon>
|
|
864
|
+
</button>
|
|
865
|
+
</div>
|
|
866
|
+
`, n);
|
|
867
|
+
}, $ = class extends ce {
|
|
868
|
+
#e;
|
|
869
|
+
#t = {};
|
|
870
|
+
#n;
|
|
871
|
+
#r = !1;
|
|
872
|
+
#i = !1;
|
|
873
|
+
#a = !1;
|
|
874
|
+
#o = !1;
|
|
875
|
+
constructor(e, t = Ne) {
|
|
876
|
+
super(), this.#e = t, this.#n = e, this.requestUpdate();
|
|
877
|
+
}
|
|
878
|
+
setSelected(e) {
|
|
879
|
+
this.#i !== e && (this.#i = e, this.requestUpdate());
|
|
880
|
+
}
|
|
881
|
+
setPaused(e) {
|
|
882
|
+
this.#a !== e && (this.#a = e, this.requestUpdate());
|
|
883
|
+
}
|
|
884
|
+
setFocusable(e) {
|
|
885
|
+
this.#o !== e && (this.#o = e, this.requestUpdate());
|
|
886
|
+
}
|
|
887
|
+
performUpdate() {
|
|
888
|
+
this.#e({
|
|
889
|
+
isScrollDrivenAnimationGroup: this.#n.animationGroup.isScrollDriven(),
|
|
890
|
+
isPreviewAnimationDisabled: this.#r,
|
|
891
|
+
isSelected: this.#i,
|
|
892
|
+
isPaused: this.#a,
|
|
893
|
+
isFocusable: this.#o,
|
|
894
|
+
label: this.#n.label,
|
|
895
|
+
animationGroupDuration: this.#n.animationGroup.groupDuration(),
|
|
896
|
+
animations: this.#n.animationGroup.animations().slice(0, je),
|
|
897
|
+
onPreviewAnimationEnd: () => {
|
|
898
|
+
this.#r = !0, this.requestUpdate();
|
|
899
|
+
},
|
|
900
|
+
onRemoveAnimationGroup: () => {
|
|
901
|
+
this.#n.onRemoveAnimationGroup();
|
|
902
|
+
},
|
|
903
|
+
onSelectAnimationGroup: () => {
|
|
904
|
+
this.#n.onSelectAnimationGroup();
|
|
905
|
+
},
|
|
906
|
+
onFocusNextGroup: () => {
|
|
907
|
+
this.#n.onFocusNextGroup();
|
|
908
|
+
},
|
|
909
|
+
onFocusPreviousGroup: () => {
|
|
910
|
+
this.#n.onFocusPreviousGroup();
|
|
911
|
+
}
|
|
912
|
+
}, this.#t, this.contentElement);
|
|
913
|
+
}
|
|
914
|
+
focus() {
|
|
915
|
+
this.#t.focus?.();
|
|
916
|
+
}
|
|
917
|
+
replay() {
|
|
918
|
+
this.#t.replay?.();
|
|
919
|
+
}
|
|
920
|
+
};
|
|
921
|
+
//#endregion
|
|
922
|
+
export { Oe as AnimationGroupPreviewUI, _e as AnimationTimeline, Te as AnimationUI };
|