@qilin-agent/experimental-inspector 0.0.0-stage → 3.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (929) hide show
  1. package/README.i18n.yaml +49 -0
  2. package/README.md +179 -2
  3. package/README.zh.md +180 -0
  4. package/icon.svg +23 -0
  5. package/lib/client.js +3572 -0
  6. package/lib/client.page.js +314 -0
  7. package/lib/devtools/Images/3d-center.svg +3 -0
  8. package/lib/devtools/Images/3d-pan.svg +3 -0
  9. package/lib/devtools/Images/3d-rotate.svg +3 -0
  10. package/lib/devtools/Images/accelerometer-back.svg +69 -0
  11. package/lib/devtools/Images/accelerometer-bottom.png +0 -0
  12. package/lib/devtools/Images/accelerometer-front.svg +28 -0
  13. package/lib/devtools/Images/accelerometer-left.png +0 -0
  14. package/lib/devtools/Images/accelerometer-right.png +0 -0
  15. package/lib/devtools/Images/accelerometer-top.png +0 -0
  16. package/lib/devtools/Images/account-tree.svg +10 -0
  17. package/lib/devtools/Images/add-photo.svg +3 -0
  18. package/lib/devtools/Images/ai-explorer-badge.svg +114 -0
  19. package/lib/devtools/Images/align-content-center.svg +5 -0
  20. package/lib/devtools/Images/align-content-end.svg +5 -0
  21. package/lib/devtools/Images/align-content-space-around.svg +6 -0
  22. package/lib/devtools/Images/align-content-space-between.svg +4 -0
  23. package/lib/devtools/Images/align-content-space-evenly.svg +6 -0
  24. package/lib/devtools/Images/align-content-start.svg +5 -0
  25. package/lib/devtools/Images/align-content-stretch.svg +4 -0
  26. package/lib/devtools/Images/align-items-baseline.svg +4 -0
  27. package/lib/devtools/Images/align-items-center.svg +5 -0
  28. package/lib/devtools/Images/align-items-end.svg +5 -0
  29. package/lib/devtools/Images/align-items-start.svg +5 -0
  30. package/lib/devtools/Images/align-items-stretch.svg +6 -0
  31. package/lib/devtools/Images/align-self-center.svg +3 -0
  32. package/lib/devtools/Images/align-self-end.svg +4 -0
  33. package/lib/devtools/Images/align-self-start.svg +4 -0
  34. package/lib/devtools/Images/align-self-stretch.svg +5 -0
  35. package/lib/devtools/Images/animation.svg +3 -0
  36. package/lib/devtools/Images/arrow-back.svg +4 -0
  37. package/lib/devtools/Images/arrow-collapse.svg +3 -0
  38. package/lib/devtools/Images/arrow-down.svg +10 -0
  39. package/lib/devtools/Images/arrow-drop-down-dark.svg +3 -0
  40. package/lib/devtools/Images/arrow-drop-down-light.svg +3 -0
  41. package/lib/devtools/Images/arrow-drop-down.svg +3 -0
  42. package/lib/devtools/Images/arrow-forward.svg +4 -0
  43. package/lib/devtools/Images/arrow-right-circle.svg +3 -0
  44. package/lib/devtools/Images/arrow-up-down-circle.svg +3 -0
  45. package/lib/devtools/Images/arrow-up-down.svg +3 -0
  46. package/lib/devtools/Images/arrow-up.svg +10 -0
  47. package/lib/devtools/Images/attach-file.svg +3 -0
  48. package/lib/devtools/Images/baseline-high-availability.svg +17 -0
  49. package/lib/devtools/Images/baseline-limited-availability.svg +19 -0
  50. package/lib/devtools/Images/baseline-low-availability.svg +31 -0
  51. package/lib/devtools/Images/bell.svg +3 -0
  52. package/lib/devtools/Images/bezier-curve-filled.svg +3 -0
  53. package/lib/devtools/Images/bin.svg +1 -0
  54. package/lib/devtools/Images/bottom-panel-close.svg +1 -0
  55. package/lib/devtools/Images/bottom-panel-open.svg +1 -0
  56. package/lib/devtools/Images/brackets.svg +1 -0
  57. package/lib/devtools/Images/breakpoint-circle.svg +4 -0
  58. package/lib/devtools/Images/breakpoint-crossed-filled.svg +1 -0
  59. package/lib/devtools/Images/breakpoint-crossed.svg +1 -0
  60. package/lib/devtools/Images/brush-2.svg +3 -0
  61. package/lib/devtools/Images/brush-filled.svg +1 -0
  62. package/lib/devtools/Images/brush.svg +1 -0
  63. package/lib/devtools/Images/bucket.svg +4 -0
  64. package/lib/devtools/Images/bug.svg +3 -0
  65. package/lib/devtools/Images/button-magic.svg +3 -0
  66. package/lib/devtools/Images/calendar-today.svg +3 -0
  67. package/lib/devtools/Images/center-focus-weak.svg +3 -0
  68. package/lib/devtools/Images/check-circle.svg +3 -0
  69. package/lib/devtools/Images/check-double.svg +3 -0
  70. package/lib/devtools/Images/checker.svg +12 -0
  71. package/lib/devtools/Images/checkmark.svg +1 -0
  72. package/lib/devtools/Images/chevron-double-right.svg +3 -0
  73. package/lib/devtools/Images/chevron-down.svg +3 -0
  74. package/lib/devtools/Images/chevron-left-dot.svg +4 -0
  75. package/lib/devtools/Images/chevron-left.svg +3 -0
  76. package/lib/devtools/Images/chevron-right.svg +3 -0
  77. package/lib/devtools/Images/chevron-up.svg +3 -0
  78. package/lib/devtools/Images/chromeLeft.avif +0 -0
  79. package/lib/devtools/Images/chromeMiddle.avif +0 -0
  80. package/lib/devtools/Images/chromeRight.avif +0 -0
  81. package/lib/devtools/Images/class.svg +6 -0
  82. package/lib/devtools/Images/clear-list.svg +3 -0
  83. package/lib/devtools/Images/clear.svg +3 -0
  84. package/lib/devtools/Images/cloud.svg +3 -0
  85. package/lib/devtools/Images/code-circle.svg +5 -0
  86. package/lib/devtools/Images/code-whisperer-badge.svg +166 -0
  87. package/lib/devtools/Images/code.svg +3 -0
  88. package/lib/devtools/Images/colon.svg +4 -0
  89. package/lib/devtools/Images/color-picker-filled.svg +3 -0
  90. package/lib/devtools/Images/color-picker.svg +3 -0
  91. package/lib/devtools/Images/compress.svg +8 -0
  92. package/lib/devtools/Images/console-conditional-breakpoint.svg +1 -0
  93. package/lib/devtools/Images/console-logpoint.svg +1 -0
  94. package/lib/devtools/Images/container.svg +4 -0
  95. package/lib/devtools/Images/cookie.svg +3 -0
  96. package/lib/devtools/Images/cookie_off.svg +3 -0
  97. package/lib/devtools/Images/copy.svg +3 -0
  98. package/lib/devtools/Images/corporate-fare.svg +3 -0
  99. package/lib/devtools/Images/credit-card.svg +3 -0
  100. package/lib/devtools/Images/cross-circle-filled.svg +3 -0
  101. package/lib/devtools/Images/cross-circle.svg +3 -0
  102. package/lib/devtools/Images/cross.svg +3 -0
  103. package/lib/devtools/Images/cssoverview_icons_2x.avif +0 -0
  104. package/lib/devtools/Images/database-off.svg +1 -0
  105. package/lib/devtools/Images/database.svg +3 -0
  106. package/lib/devtools/Images/deployed.svg +3 -0
  107. package/lib/devtools/Images/device-fold.svg +1 -0
  108. package/lib/devtools/Images/devices.svg +3 -0
  109. package/lib/devtools/Images/devtools-thumbnail.svg +57 -0
  110. package/lib/devtools/Images/devtools-tips.svg +61 -0
  111. package/lib/devtools/Images/devtools-user-badge.svg +129 -0
  112. package/lib/devtools/Images/devtools.svg +13 -0
  113. package/lib/devtools/Images/difference.svg +3 -0
  114. package/lib/devtools/Images/dock-bottom.svg +3 -0
  115. package/lib/devtools/Images/dock-left.svg +3 -0
  116. package/lib/devtools/Images/dock-right.svg +3 -0
  117. package/lib/devtools/Images/dock-window.svg +3 -0
  118. package/lib/devtools/Images/document.svg +3 -0
  119. package/lib/devtools/Images/dog-paw.svg +10 -0
  120. package/lib/devtools/Images/dom-detective-badge.svg +136 -0
  121. package/lib/devtools/Images/domain.svg +3 -0
  122. package/lib/devtools/Images/dots-horizontal.svg +1 -0
  123. package/lib/devtools/Images/dots-vertical.svg +3 -0
  124. package/lib/devtools/Images/download.svg +3 -0
  125. package/lib/devtools/Images/edit.svg +1 -0
  126. package/lib/devtools/Images/empty.svg +2 -0
  127. package/lib/devtools/Images/errorWave.svg +74 -0
  128. package/lib/devtools/Images/exclamation.svg +3 -0
  129. package/lib/devtools/Images/expand.svg +1 -0
  130. package/lib/devtools/Images/experiment-check.svg +1 -0
  131. package/lib/devtools/Images/experiment.svg +3 -0
  132. package/lib/devtools/Images/extension.svg +1 -0
  133. package/lib/devtools/Images/eye-crossed.svg +3 -0
  134. package/lib/devtools/Images/eye.svg +3 -0
  135. package/lib/devtools/Images/file-document.svg +3 -0
  136. package/lib/devtools/Images/file-fetch-xhr.svg +3 -0
  137. package/lib/devtools/Images/file-font.svg +4 -0
  138. package/lib/devtools/Images/file-generic.svg +3 -0
  139. package/lib/devtools/Images/file-image.svg +3 -0
  140. package/lib/devtools/Images/file-json.svg +4 -0
  141. package/lib/devtools/Images/file-manifest.svg +3 -0
  142. package/lib/devtools/Images/file-media.svg +3 -0
  143. package/lib/devtools/Images/file-script.svg +3 -0
  144. package/lib/devtools/Images/file-snippet.svg +4 -0
  145. package/lib/devtools/Images/file-stylesheet.svg +4 -0
  146. package/lib/devtools/Images/file-wasm.svg +5 -0
  147. package/lib/devtools/Images/file-websocket.svg +3 -0
  148. package/lib/devtools/Images/filter-clear.svg +3 -0
  149. package/lib/devtools/Images/filter-filled.svg +3 -0
  150. package/lib/devtools/Images/filter.svg +3 -0
  151. package/lib/devtools/Images/flex-direction.svg +5 -0
  152. package/lib/devtools/Images/flex-no-wrap.svg +5 -0
  153. package/lib/devtools/Images/flex-wrap.svg +8 -0
  154. package/lib/devtools/Images/flow.svg +3 -0
  155. package/lib/devtools/Images/flowsheet.svg +1 -0
  156. package/lib/devtools/Images/fold-more.svg +3 -0
  157. package/lib/devtools/Images/folder-asterisk.svg +10 -0
  158. package/lib/devtools/Images/folder-off.svg +3 -0
  159. package/lib/devtools/Images/folder.svg +3 -0
  160. package/lib/devtools/Images/frame-crossed.svg +3 -0
  161. package/lib/devtools/Images/frame-icon.svg +54 -0
  162. package/lib/devtools/Images/frame.svg +3 -0
  163. package/lib/devtools/Images/gdp-logo-dark.png +0 -0
  164. package/lib/devtools/Images/gdp-logo-light.png +0 -0
  165. package/lib/devtools/Images/gear-filled.svg +3 -0
  166. package/lib/devtools/Images/gear.svg +4 -0
  167. package/lib/devtools/Images/gears.svg +3 -0
  168. package/lib/devtools/Images/geminiInDevTools.png +0 -0
  169. package/lib/devtools/Images/geminiInDevTools_2x.png +0 -0
  170. package/lib/devtools/Images/global.svg +5 -0
  171. package/lib/devtools/Images/google.svg +3 -0
  172. package/lib/devtools/Images/goto-filled.svg +1 -0
  173. package/lib/devtools/Images/grid-direction.svg +6 -0
  174. package/lib/devtools/Images/grid-on.svg +10 -0
  175. package/lib/devtools/Images/group.svg +3 -0
  176. package/lib/devtools/Images/heap-snapshot.svg +6 -0
  177. package/lib/devtools/Images/heap-snapshots.svg +7 -0
  178. package/lib/devtools/Images/help.svg +3 -0
  179. package/lib/devtools/Images/history.svg +3 -0
  180. package/lib/devtools/Images/home.svg +3 -0
  181. package/lib/devtools/Images/hover.svg +6 -0
  182. package/lib/devtools/Images/iframe-crossed.svg +3 -0
  183. package/lib/devtools/Images/iframe.svg +3 -0
  184. package/lib/devtools/Images/import.svg +3 -0
  185. package/lib/devtools/Images/indeterminate-question-box.svg +3 -0
  186. package/lib/devtools/Images/info-filled.svg +3 -0
  187. package/lib/devtools/Images/info.svg +3 -0
  188. package/lib/devtools/Images/issue-cross-filled.svg +3 -0
  189. package/lib/devtools/Images/issue-exclamation-filled.svg +3 -0
  190. package/lib/devtools/Images/issue-questionmark-filled.svg +3 -0
  191. package/lib/devtools/Images/issue-text-filled.svg +3 -0
  192. package/lib/devtools/Images/justify-content-center.svg +5 -0
  193. package/lib/devtools/Images/justify-content-end.svg +5 -0
  194. package/lib/devtools/Images/justify-content-space-around.svg +6 -0
  195. package/lib/devtools/Images/justify-content-space-between.svg +4 -0
  196. package/lib/devtools/Images/justify-content-space-evenly.svg +6 -0
  197. package/lib/devtools/Images/justify-content-start.svg +5 -0
  198. package/lib/devtools/Images/justify-content-stretch.svg +4 -0
  199. package/lib/devtools/Images/justify-items-center.svg +4 -0
  200. package/lib/devtools/Images/justify-items-end.svg +4 -0
  201. package/lib/devtools/Images/justify-items-start.svg +4 -0
  202. package/lib/devtools/Images/justify-items-stretch.svg +4 -0
  203. package/lib/devtools/Images/keyboard-arrow-right.svg +1 -0
  204. package/lib/devtools/Images/keyboard-full.svg +10 -0
  205. package/lib/devtools/Images/keyboard-pen.svg +1 -0
  206. package/lib/devtools/Images/keyboard.svg +3 -0
  207. package/lib/devtools/Images/label-auto.svg +3 -0
  208. package/lib/devtools/Images/label.svg +10 -0
  209. package/lib/devtools/Images/large-arrow-right-filled.svg +1 -0
  210. package/lib/devtools/Images/layers-filled.svg +1 -0
  211. package/lib/devtools/Images/layers.svg +1 -0
  212. package/lib/devtools/Images/left-panel-close.svg +1 -0
  213. package/lib/devtools/Images/left-panel-open.svg +1 -0
  214. package/lib/devtools/Images/lightbulb-spark.svg +13 -0
  215. package/lib/devtools/Images/lightbulb.svg +3 -0
  216. package/lib/devtools/Images/lighthouse_logo.svg +158 -0
  217. package/lib/devtools/Images/list.svg +3 -0
  218. package/lib/devtools/Images/location-on.svg +3 -0
  219. package/lib/devtools/Images/lock-person.svg +1 -0
  220. package/lib/devtools/Images/lock.svg +3 -0
  221. package/lib/devtools/Images/mark-email-unread.svg +3 -0
  222. package/lib/devtools/Images/match-case.svg +3 -0
  223. package/lib/devtools/Images/match-whole-word.svg +1 -0
  224. package/lib/devtools/Images/memory.svg +6 -0
  225. package/lib/devtools/Images/minus.svg +3 -0
  226. package/lib/devtools/Images/mop.svg +1 -0
  227. package/lib/devtools/Images/mouse.svg +4 -0
  228. package/lib/devtools/Images/navigationControls.png +0 -0
  229. package/lib/devtools/Images/navigationControls_2x.png +0 -0
  230. package/lib/devtools/Images/network-settings.svg +3 -0
  231. package/lib/devtools/Images/node-stack-icon.svg +1 -0
  232. package/lib/devtools/Images/nodeIcon.avif +0 -0
  233. package/lib/devtools/Images/open-externally.svg +3 -0
  234. package/lib/devtools/Images/override.svg +11 -0
  235. package/lib/devtools/Images/palette.svg +10 -0
  236. package/lib/devtools/Images/pause-circle.svg +1 -0
  237. package/lib/devtools/Images/pause.svg +1 -0
  238. package/lib/devtools/Images/pen-spark.svg +3 -0
  239. package/lib/devtools/Images/performance-panel-delete-annotation.svg +32 -0
  240. package/lib/devtools/Images/performance-panel-diagram.svg +34 -0
  241. package/lib/devtools/Images/performance-panel-entry-label.svg +75 -0
  242. package/lib/devtools/Images/performance-panel-time-range.svg +15 -0
  243. package/lib/devtools/Images/performance.svg +3 -0
  244. package/lib/devtools/Images/person.svg +3 -0
  245. package/lib/devtools/Images/photo-camera.svg +10 -0
  246. package/lib/devtools/Images/play.svg +3 -0
  247. package/lib/devtools/Images/plus.svg +3 -0
  248. package/lib/devtools/Images/policy.svg +3 -0
  249. package/lib/devtools/Images/popoverArrows.png +0 -0
  250. package/lib/devtools/Images/popup.svg +3 -0
  251. package/lib/devtools/Images/preview_feature_video_thumbnail.svg +92 -0
  252. package/lib/devtools/Images/profile.svg +3 -0
  253. package/lib/devtools/Images/psychiatry.svg +3 -0
  254. package/lib/devtools/Images/puzzle.svg +3 -0
  255. package/lib/devtools/Images/record-start.svg +4 -0
  256. package/lib/devtools/Images/record-stop.svg +4 -0
  257. package/lib/devtools/Images/redo.svg +3 -0
  258. package/lib/devtools/Images/refresh.svg +10 -0
  259. package/lib/devtools/Images/regular-expression.svg +3 -0
  260. package/lib/devtools/Images/replace.svg +1 -0
  261. package/lib/devtools/Images/replay.svg +3 -0
  262. package/lib/devtools/Images/report.svg +1 -0
  263. package/lib/devtools/Images/resizeDiagonal.svg +1 -0
  264. package/lib/devtools/Images/resizeHorizontal.svg +1 -0
  265. package/lib/devtools/Images/resizeVertical.svg +1 -0
  266. package/lib/devtools/Images/resume.svg +1 -0
  267. package/lib/devtools/Images/revert.svg +3 -0
  268. package/lib/devtools/Images/review.svg +5 -0
  269. package/lib/devtools/Images/right-panel-close.svg +1 -0
  270. package/lib/devtools/Images/right-panel-open.svg +1 -0
  271. package/lib/devtools/Images/scissors.svg +3 -0
  272. package/lib/devtools/Images/screen-rotation.svg +1 -0
  273. package/lib/devtools/Images/search.svg +3 -0
  274. package/lib/devtools/Images/select-element.svg +3 -0
  275. package/lib/devtools/Images/send.svg +3 -0
  276. package/lib/devtools/Images/shadow.svg +3 -0
  277. package/lib/devtools/Images/shield.svg +3 -0
  278. package/lib/devtools/Images/small-status-dot.svg +3 -0
  279. package/lib/devtools/Images/smart-assistant.svg +3 -0
  280. package/lib/devtools/Images/snippet.svg +4 -0
  281. package/lib/devtools/Images/spark-info.svg +3 -0
  282. package/lib/devtools/Images/spark.svg +3 -0
  283. package/lib/devtools/Images/speculative-loads.svg +1 -0
  284. package/lib/devtools/Images/speedster-badge.svg +166 -0
  285. package/lib/devtools/Images/star.svg +3 -0
  286. package/lib/devtools/Images/step-into.svg +1 -0
  287. package/lib/devtools/Images/step-out.svg +1 -0
  288. package/lib/devtools/Images/step-over.svg +1 -0
  289. package/lib/devtools/Images/step.svg +1 -0
  290. package/lib/devtools/Images/stop.svg +3 -0
  291. package/lib/devtools/Images/symbol.svg +3 -0
  292. package/lib/devtools/Images/sync.svg +3 -0
  293. package/lib/devtools/Images/tab-move.svg +1 -0
  294. package/lib/devtools/Images/table.svg +3 -0
  295. package/lib/devtools/Images/terminal.svg +10 -0
  296. package/lib/devtools/Images/text-analysis.svg +3 -0
  297. package/lib/devtools/Images/thumb-down-filled.svg +3 -0
  298. package/lib/devtools/Images/thumb-down.svg +3 -0
  299. package/lib/devtools/Images/thumb-up-filled.svg +3 -0
  300. package/lib/devtools/Images/thumb-up.svg +3 -0
  301. package/lib/devtools/Images/tonality.svg +10 -0
  302. package/lib/devtools/Images/toolbarResizerVertical.png +0 -0
  303. package/lib/devtools/Images/top-panel-close.svg +1 -0
  304. package/lib/devtools/Images/top-panel-open.svg +1 -0
  305. package/lib/devtools/Images/touch-app.svg +4 -0
  306. package/lib/devtools/Images/touchCursor.png +0 -0
  307. package/lib/devtools/Images/touchCursor_2x.png +0 -0
  308. package/lib/devtools/Images/triangle-bottom-right.svg +3 -0
  309. package/lib/devtools/Images/triangle-down.svg +1 -0
  310. package/lib/devtools/Images/triangle-left.svg +1 -0
  311. package/lib/devtools/Images/triangle-right.svg +1 -0
  312. package/lib/devtools/Images/triangle-up.svg +3 -0
  313. package/lib/devtools/Images/trophy.svg +3 -0
  314. package/lib/devtools/Images/tune.svg +3 -0
  315. package/lib/devtools/Images/undo.svg +1 -0
  316. package/lib/devtools/Images/warning-filled.svg +3 -0
  317. package/lib/devtools/Images/warning.svg +3 -0
  318. package/lib/devtools/Images/watch.svg +3 -0
  319. package/lib/devtools/Images/whatsnew.svg +61 -0
  320. package/lib/devtools/Images/width.svg +3 -0
  321. package/lib/devtools/Images/zoom-in.svg +3 -0
  322. package/lib/devtools/LICENSE +27 -0
  323. package/lib/devtools/application_tokens.css +413 -0
  324. package/lib/devtools/chunks/FormatterActions-FcPgI0uV.js +19 -0
  325. package/lib/devtools/chunks/UIFilter-CIzBruM3.js +18 -0
  326. package/lib/devtools/chunks/UIRequestLocation-CtGcVN3I.js +48 -0
  327. package/lib/devtools/chunks/_dsh-devtools_empty-BvRk9kiK.js +0 -0
  328. package/lib/devtools/chunks/accessibility-OQcgkXIB.js +2718 -0
  329. package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
  330. package/lib/devtools/chunks/adorners-Be2VY5BN.js +45 -0
  331. package/lib/devtools/chunks/ai_assistance-DRe9GF9j.js +4255 -0
  332. package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
  333. package/lib/devtools/chunks/animation-TQzd9HO4.js +922 -0
  334. package/lib/devtools/chunks/application-B8ko2TRt.js +12740 -0
  335. package/lib/devtools/chunks/autofill-D_Bi6xxt.js +198 -0
  336. package/lib/devtools/chunks/autofill_manager-Cw0wOndc.js +58 -0
  337. package/lib/devtools/chunks/bindings-B7uzkbnH.js +4105 -0
  338. package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
  339. package/lib/devtools/chunks/browser_debugger-6syzh5He.js +629 -0
  340. package/lib/devtools/chunks/changes-8Dpo591z.js +393 -0
  341. package/lib/devtools/chunks/changes-Hp2cPKPp.js +2 -0
  342. package/lib/devtools/chunks/checkbox.css-Cwxn2mfx.js +4 -0
  343. package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
  344. package/lib/devtools/chunks/code_highlighter-oWKo9plW.js +210 -0
  345. package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
  346. package/lib/devtools/chunks/color_picker-CHmwJ7or.js +1566 -0
  347. package/lib/devtools/chunks/common-BGyPsfVb.js +2 -0
  348. package/lib/devtools/chunks/common-C6gzvSKg.js +15145 -0
  349. package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
  350. package/lib/devtools/chunks/components-B5xBXfXj.js +704 -0
  351. package/lib/devtools/chunks/components-BkETO50Z.js +1090 -0
  352. package/lib/devtools/chunks/components-DlE11Hk_.js +1338 -0
  353. package/lib/devtools/chunks/console-DEk3riFh.js +3855 -0
  354. package/lib/devtools/chunks/console-OWEKC7bo.js +2 -0
  355. package/lib/devtools/chunks/console_counters-ClDYfPF6.js +103 -0
  356. package/lib/devtools/chunks/coverage-Dg9NvtX9.js +1176 -0
  357. package/lib/devtools/chunks/coverage-uK2NUeVj.js +2 -0
  358. package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
  359. package/lib/devtools/chunks/css_overview-6FosuoNY.js +1288 -0
  360. package/lib/devtools/chunks/data_grid-6RZWyPx-.js +1671 -0
  361. package/lib/devtools/chunks/developer_resources-C6_2oeLF.js +240 -0
  362. package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
  363. package/lib/devtools/chunks/dom_extension-B0UaTHZj.js +172 -0
  364. package/lib/devtools/chunks/elements-CcvMWzGx.js +2 -0
  365. package/lib/devtools/chunks/elements-Xw7oHKeq.js +11407 -0
  366. package/lib/devtools/chunks/emulation-B7sLFSxp.js +1306 -0
  367. package/lib/devtools/chunks/emulation-CvVuS_p0.js +157 -0
  368. package/lib/devtools/chunks/emulation-DMC3TuHv.js +2 -0
  369. package/lib/devtools/chunks/emulation-_lA-Xb1h.js +2732 -0
  370. package/lib/devtools/chunks/event_listeners-CdGgpDsg.js +414 -0
  371. package/lib/devtools/chunks/explain-fG84ckui.js +747 -0
  372. package/lib/devtools/chunks/greendev-DvYwqqmc.js +152 -0
  373. package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
  374. package/lib/devtools/chunks/helper-DoR8dYRk.js +33 -0
  375. package/lib/devtools/chunks/helpers-BypUnKdS.js +29 -0
  376. package/lib/devtools/chunks/i18n-DUXZnMbP.js +17 -0
  377. package/lib/devtools/chunks/icon_button-mu37qw0h.js +83 -0
  378. package/lib/devtools/chunks/inline_editor-Dgctmf2_.js +1309 -0
  379. package/lib/devtools/chunks/inspector_main-yb83VyUs.js +279 -0
  380. package/lib/devtools/chunks/issue_counter-COHuTTL3.js +193 -0
  381. package/lib/devtools/chunks/issues-C94onoob.js +1649 -0
  382. package/lib/devtools/chunks/issues_manager-7hP__vf-.js +3009 -0
  383. package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
  384. package/lib/devtools/chunks/layer_viewer-BF3qEG7C.js +1423 -0
  385. package/lib/devtools/chunks/layers-KW9wwW__.js +370 -0
  386. package/lib/devtools/chunks/legacy-C0IOfyhX.js +41804 -0
  387. package/lib/devtools/chunks/legacy-DOCLCisy.js +1434 -0
  388. package/lib/devtools/chunks/less-DXiRNbd4.js +195 -0
  389. package/lib/devtools/chunks/lighthouse-BUitD7KK.js +2 -0
  390. package/lib/devtools/chunks/lighthouse-f3QbU2gw.js +3920 -0
  391. package/lib/devtools/chunks/linear_memory_inspector-Dhv8CzB6.js +305 -0
  392. package/lib/devtools/chunks/live-metrics-DTntFi2I.js +284 -0
  393. package/lib/devtools/chunks/main---7244L8.js +2 -0
  394. package/lib/devtools/chunks/main-CQ4zKr5A.js +755 -0
  395. package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
  396. package/lib/devtools/chunks/markdown_view-DN02v7_2.js +461 -0
  397. package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
  398. package/lib/devtools/chunks/media-BNfBOtUh.js +1337 -0
  399. package/lib/devtools/chunks/media-eTuT8cbS.js +2 -0
  400. package/lib/devtools/chunks/menus-DoacKucS.js +969 -0
  401. package/lib/devtools/chunks/mobile_throttling-BKeQegny.js +1052 -0
  402. package/lib/devtools/chunks/mobile_throttling-DXj04TKw.js +2 -0
  403. package/lib/devtools/chunks/network-BIhtpwBx.js +2 -0
  404. package/lib/devtools/chunks/network-C1U3mkwJ.js +9181 -0
  405. package/lib/devtools/chunks/objectValue.css-B7vmCz4R.js +4 -0
  406. package/lib/devtools/chunks/object_ui-B8MxYDLE.js +2 -0
  407. package/lib/devtools/chunks/object_ui-C8fCheVq.js +1461 -0
  408. package/lib/devtools/chunks/perf_ui-4xM6fYl7.js +2 -0
  409. package/lib/devtools/chunks/perf_ui-Cp2qToEB.js +3143 -0
  410. package/lib/devtools/chunks/performance_monitor-BUcbKqz4.js +385 -0
  411. package/lib/devtools/chunks/php-tl5gKrxu.js +423 -0
  412. package/lib/devtools/chunks/platform-BzB373NB.js +600 -0
  413. package/lib/devtools/chunks/profiler-Dq2TBqy8.js +4608 -0
  414. package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
  415. package/lib/devtools/chunks/protocol_monitor-BG2dkmPK.js +1224 -0
  416. package/lib/devtools/chunks/protocol_monitor-DC2CZGW5.js +2 -0
  417. package/lib/devtools/chunks/puppeteer-ZLIws8kb.js +13299 -0
  418. package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
  419. package/lib/devtools/chunks/quick_open-B0xhg6ZL.js +2 -0
  420. package/lib/devtools/chunks/quick_open-Dfzyy8ve.js +722 -0
  421. package/lib/devtools/chunks/recorder-BwV8H_Us.js +5465 -0
  422. package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
  423. package/lib/devtools/chunks/request_link_icon-BjtC6uxv.js +87 -0
  424. package/lib/devtools/chunks/root-DbVQo07X.js +255 -0
  425. package/lib/devtools/chunks/sass-BPQlMmw2.js +370 -0
  426. package/lib/devtools/chunks/security-BjoaTtpU.js +898 -0
  427. package/lib/devtools/chunks/sensors-m9L9nmDB.js +752 -0
  428. package/lib/devtools/chunks/settings-DvrCWlb3.js +1433 -0
  429. package/lib/devtools/chunks/settings_ui-Df8-TVsv.js +175 -0
  430. package/lib/devtools/chunks/snackbars-DTKjs7om.js +12010 -0
  431. package/lib/devtools/chunks/snippets-DkuCZu-J.js +173 -0
  432. package/lib/devtools/chunks/source_frame-CzY7luV4.js +1352 -0
  433. package/lib/devtools/chunks/sources-CdvYPTNy.js +2 -0
  434. package/lib/devtools/chunks/sources-CoHLP03P.js +8216 -0
  435. package/lib/devtools/chunks/suggestion_input-CpR9sfDn.js +196 -0
  436. package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
  437. package/lib/devtools/chunks/textInput.css-D9hN8XWo.js +4 -0
  438. package/lib/devtools/chunks/text_editor-BH_W0fXD.js +15706 -0
  439. package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
  440. package/lib/devtools/chunks/theme_support-DJK4CjXB.js +92 -0
  441. package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
  442. package/lib/devtools/chunks/timeline-D6VQ2WWf.js +16347 -0
  443. package/lib/devtools/chunks/timeline-DfcTNEAb.js +2 -0
  444. package/lib/devtools/chunks/utils-DqoFGxV_.js +298 -0
  445. package/lib/devtools/chunks/vue-CjH9yovn.js +73 -0
  446. package/lib/devtools/chunks/wast-CbGHiqaW.js +109 -0
  447. package/lib/devtools/chunks/web_audio-CTM_kqxU.js +277 -0
  448. package/lib/devtools/chunks/webauthn-Bt1tTNVo.js +522 -0
  449. package/lib/devtools/chunks/whats_new-Dv7HPSaK.js +177 -0
  450. package/lib/devtools/chunks/xml-DI9dcP5w.js +327 -0
  451. package/lib/devtools/connect.js +9 -0
  452. package/lib/devtools/design_system_tokens.css +1061 -0
  453. package/lib/devtools/device_mode_emulation_frame.html +25 -0
  454. package/lib/devtools/devtools_app.html +25 -0
  455. package/lib/devtools/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
  456. package/lib/devtools/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
  457. package/lib/devtools/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
  458. package/lib/devtools/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
  459. package/lib/devtools/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
  460. package/lib/devtools/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
  461. package/lib/devtools/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
  462. package/lib/devtools/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
  463. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
  464. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
  465. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
  466. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
  467. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
  468. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
  469. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
  470. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
  471. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
  472. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
  473. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
  474. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
  475. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
  476. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
  477. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
  478. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
  479. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
  480. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
  481. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
  482. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
  483. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
  484. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
  485. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
  486. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
  487. package/lib/devtools/emulated_devices/optimized/iPad-landscape.avif +0 -0
  488. package/lib/devtools/emulated_devices/optimized/iPad-portrait.avif +0 -0
  489. package/lib/devtools/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
  490. package/lib/devtools/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
  491. package/lib/devtools/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
  492. package/lib/devtools/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
  493. package/lib/devtools/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
  494. package/lib/devtools/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
  495. package/lib/devtools/emulated_devices/optimized/optimized_images.gni +53 -0
  496. package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +4 -0
  497. package/lib/devtools/entrypoints/devtools_app/devtools_app.js +6240 -0
  498. package/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +2810 -0
  499. package/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +2142 -0
  500. package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +290095 -0
  501. package/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +3403 -0
  502. package/lib/devtools/models/issues_manager/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +4 -0
  503. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOrigin.md +8 -0
  504. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +18 -0
  505. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameSite.md +7 -0
  506. package/lib/devtools/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +10 -0
  507. package/lib/devtools/models/issues_manager/descriptions/CompatibilityModeQuirks.md +5 -0
  508. package/lib/devtools/models/issues_manager/descriptions/CookieAttributeValueExceedsMaxSize.md +5 -0
  509. package/lib/devtools/models/issues_manager/descriptions/LowTextContrast.md +5 -0
  510. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md +8 -0
  511. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md +8 -0
  512. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md +8 -0
  513. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorRead.md +8 -0
  514. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorSet.md +8 -0
  515. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnRead.md +8 -0
  516. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnSet.md +8 -0
  517. package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +9 -0
  518. package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +9 -0
  519. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeRead.md +8 -0
  520. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeSet.md +8 -0
  521. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +8 -0
  522. package/lib/devtools/models/issues_manager/descriptions/arInsecureContext.md +7 -0
  523. package/lib/devtools/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  524. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +5 -0
  525. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +5 -0
  526. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
  527. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
  528. package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  529. package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +6 -0
  530. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  531. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  532. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  533. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  534. package/lib/devtools/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  535. package/lib/devtools/models/issues_manager/descriptions/arOsSourceIgnored.md +18 -0
  536. package/lib/devtools/models/issues_manager/descriptions/arOsTriggerIgnored.md +19 -0
  537. package/lib/devtools/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +8 -0
  538. package/lib/devtools/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +9 -0
  539. package/lib/devtools/models/issues_manager/descriptions/arSourceIgnored.md +13 -0
  540. package/lib/devtools/models/issues_manager/descriptions/arTriggerIgnored.md +12 -0
  541. package/lib/devtools/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
  542. package/lib/devtools/models/issues_manager/descriptions/arWebAndOsHeaders.md +11 -0
  543. package/lib/devtools/models/issues_manager/descriptions/bounceTrackingMitigations.md +3 -0
  544. package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +4 -0
  545. package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +4 -0
  546. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
  547. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
  548. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
  549. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
  550. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
  551. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
  552. package/lib/devtools/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md +12 -0
  553. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +4 -0
  554. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md +11 -0
  555. package/lib/devtools/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
  556. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
  557. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md +6 -0
  558. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md +6 -0
  559. package/lib/devtools/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md +11 -0
  560. package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +4 -0
  561. package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +4 -0
  562. package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutRead.md +6 -0
  563. package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutSet.md +6 -0
  564. package/lib/devtools/models/issues_manager/descriptions/corsAllowCredentialsRequired.md +6 -0
  565. package/lib/devtools/models/issues_manager/descriptions/corsDisabledScheme.md +7 -0
  566. package/lib/devtools/models/issues_manager/descriptions/corsDisallowedByMode.md +7 -0
  567. package/lib/devtools/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md +5 -0
  568. package/lib/devtools/models/issues_manager/descriptions/corsInvalidHeaderValues.md +7 -0
  569. package/lib/devtools/models/issues_manager/descriptions/corsLocalNetworkAccessPermissionDenied.md +19 -0
  570. package/lib/devtools/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md +5 -0
  571. package/lib/devtools/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md +5 -0
  572. package/lib/devtools/models/issues_manager/descriptions/corsOriginMismatch.md +6 -0
  573. package/lib/devtools/models/issues_manager/descriptions/corsPreflightResponseInvalid.md +5 -0
  574. package/lib/devtools/models/issues_manager/descriptions/corsRedirectContainsCredentials.md +5 -0
  575. package/lib/devtools/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md +8 -0
  576. package/lib/devtools/models/issues_manager/descriptions/cspEvalViolation.md +9 -0
  577. package/lib/devtools/models/issues_manager/descriptions/cspInlineViolation.md +10 -0
  578. package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesPolicyViolation.md +5 -0
  579. package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesSinkViolation.md +8 -0
  580. package/lib/devtools/models/issues_manager/descriptions/cspURLViolation.md +10 -0
  581. package/lib/devtools/models/issues_manager/descriptions/deprecation.md +3 -0
  582. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
  583. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
  584. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
  585. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
  586. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
  587. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
  588. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
  589. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
  590. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
  591. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
  592. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
  593. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
  594. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
  595. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
  596. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
  597. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
  598. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
  599. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
  600. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
  601. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
  602. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
  603. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
  604. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -0
  605. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -0
  606. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsNoResponse.md +1 -0
  607. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestApprovalDeclined.md +1 -0
  608. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestCanceled.md +1 -0
  609. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -0
  610. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -0
  611. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -0
  612. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -0
  613. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -0
  614. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -0
  615. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -0
  616. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -0
  617. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -0
  618. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestNoResponse.md +1 -0
  619. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestTooManyRequests.md +1 -0
  620. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -0
  621. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -0
  622. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -0
  623. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -0
  624. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -0
  625. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -0
  626. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -0
  627. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -0
  628. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -0
  629. package/lib/devtools/models/issues_manager/descriptions/fetchingPartitionedBlobURL.md +7 -0
  630. package/lib/devtools/models/issues_manager/descriptions/genericBackUINavigationWouldSkipAd.md +4 -0
  631. package/lib/devtools/models/issues_manager/descriptions/genericFormAriaLabelledByToNonExistingIdError.md +8 -0
  632. package/lib/devtools/models/issues_manager/descriptions/genericFormAutocompleteAttributeEmptyError.md +5 -0
  633. package/lib/devtools/models/issues_manager/descriptions/genericFormDuplicateIdForInputError.md +5 -0
  634. package/lib/devtools/models/issues_manager/descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +5 -0
  635. package/lib/devtools/models/issues_manager/descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +5 -0
  636. package/lib/devtools/models/issues_manager/descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +5 -0
  637. package/lib/devtools/models/issues_manager/descriptions/genericFormInputWithNoLabelError.md +5 -0
  638. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForMatchesNonExistingIdError.md +5 -0
  639. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForNameError.md +5 -0
  640. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +5 -0
  641. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolDescription.md +5 -0
  642. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolName.md +5 -0
  643. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingName.md +5 -0
  644. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingTitleAndDescription.md +5 -0
  645. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextRequiredParameterMissingName.md +5 -0
  646. package/lib/devtools/models/issues_manager/descriptions/genericNavigationEntryMarkedSkippable.md +7 -0
  647. package/lib/devtools/models/issues_manager/descriptions/genericResponseWasBlockedByORB.md +4 -0
  648. package/lib/devtools/models/issues_manager/descriptions/heavyAd.md +10 -0
  649. package/lib/devtools/models/issues_manager/descriptions/mixedContent.md +5 -0
  650. package/lib/devtools/models/issues_manager/descriptions/navigatingPartitionedBlobURL.md +5 -0
  651. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
  652. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
  653. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
  654. package/lib/devtools/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
  655. package/lib/devtools/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
  656. package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
  657. package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
  658. package/lib/devtools/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
  659. package/lib/devtools/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
  660. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
  661. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
  662. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
  663. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
  664. package/lib/devtools/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
  665. package/lib/devtools/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
  666. package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
  667. package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
  668. package/lib/devtools/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
  669. package/lib/devtools/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
  670. package/lib/devtools/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
  671. package/lib/devtools/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
  672. package/lib/devtools/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
  673. package/lib/devtools/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
  674. package/lib/devtools/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  675. package/lib/devtools/models/issues_manager/descriptions/propertyRuleInvalidNameIssue.md +3 -0
  676. package/lib/devtools/models/issues_manager/descriptions/propertyRuleIssue.md +7 -0
  677. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +7 -0
  678. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedSelectChild.md +7 -0
  679. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +3 -0
  680. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +3 -0
  681. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +3 -0
  682. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +3 -0
  683. package/lib/devtools/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
  684. package/lib/devtools/models/issues_manager/descriptions/sharedArrayBuffer.md +7 -0
  685. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -0
  686. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +3 -0
  687. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +3 -0
  688. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -0
  689. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -0
  690. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -0
  691. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorExpiredResponse.md +3 -0
  692. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +3 -0
  693. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInsufficientResources.md +1 -0
  694. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +1 -0
  695. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -0
  696. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +1 -0
  697. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNavigationRequest.md +3 -0
  698. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNoMatchField.md +1 -0
  699. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +1 -0
  700. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +1 -0
  701. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonSecureContext.md +3 -0
  702. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringIdField.md +1 -0
  703. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +1 -0
  704. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +1 -0
  705. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +1 -0
  706. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorRequestAborted.md +1 -0
  707. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorShuttingDown.md +1 -0
  708. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorTooLongIdField.md +3 -0
  709. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorUnsupportedType.md +3 -0
  710. package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureHeader.md +14 -0
  711. package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureInputHeader.md +15 -0
  712. package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureHeader.md +8 -0
  713. package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureInputHeader.md +7 -0
  714. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsIncorrectLength.md +11 -0
  715. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsNotByteSequence.md +14 -0
  716. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsParameterized.md +15 -0
  717. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentName.md +8 -0
  718. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentType.md +13 -0
  719. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +4 -0
  720. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +5 -0
  721. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidParameter.md +11 -0
  722. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderKeyIdLength.md +12 -0
  723. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingLabel.md +6 -0
  724. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +8 -0
  725. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueMissingComponents.md +11 -0
  726. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +11 -0
  727. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +10 -0
  728. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedInvalidLength.md +5 -0
  729. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureExpired.md +6 -0
  730. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureMismatch.md +11 -0
  731. package/lib/devtools/models/issues_manager/descriptions/stylesheetLateImport.md +4 -0
  732. package/lib/devtools/models/issues_manager/descriptions/stylesheetRequestFailed.md +3 -0
  733. package/lib/devtools/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
  734. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
  735. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
  736. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
  737. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
  738. package/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
  739. package/lib/devtools/panels/recorder/injected/injected.generated.js +1 -0
  740. package/lib/devtools/panels/whats_new/resources/WNDT.md +14 -0
  741. package/lib/devtools/resource-manifest.json +3818 -0
  742. package/lib/devtools/third_party/acorn/package/LICENSE +21 -0
  743. package/lib/devtools/third_party/axe-core/LICENSE +362 -0
  744. package/lib/devtools/third_party/chromium/LICENSE +27 -0
  745. package/lib/devtools/third_party/codemirror/package/LICENSE +21 -0
  746. package/lib/devtools/third_party/codemirror.next/LICENSE +21 -0
  747. package/lib/devtools/third_party/csp_evaluator/package/LICENSE +202 -0
  748. package/lib/devtools/third_party/diff/LICENSE +202 -0
  749. package/lib/devtools/third_party/i18n/LICENSE +202 -0
  750. package/lib/devtools/third_party/intl-messageformat/LICENSE +33 -0
  751. package/lib/devtools/third_party/intl-messageformat/package/LICENSE.md +33 -0
  752. package/lib/devtools/third_party/json5/LICENSE +23 -0
  753. package/lib/devtools/third_party/legacy-javascript/LICENSE +202 -0
  754. package/lib/devtools/third_party/lighthouse/LICENSE +202 -0
  755. package/lib/devtools/third_party/lit/LICENSE +28 -0
  756. package/lib/devtools/third_party/marked/LICENSE +39 -0
  757. package/lib/devtools/third_party/marked/package/LICENSE.md +44 -0
  758. package/lib/devtools/third_party/puppeteer/LICENSE +202 -0
  759. package/lib/devtools/third_party/puppeteer/third_party/mitt/LICENSE +21 -0
  760. package/lib/devtools/third_party/puppeteer/third_party/parsel/LICENSE +21 -0
  761. package/lib/devtools/third_party/puppeteer/third_party/rxjs/LICENSE +201 -0
  762. package/lib/devtools/third_party/puppeteer-replay/package/LICENSE +202 -0
  763. package/lib/devtools/third_party/source-map-scopes-codec/LICENSE +26 -0
  764. package/lib/devtools/third_party/source-map-scopes-codec/package/LICENSE +26 -0
  765. package/lib/devtools/third_party/third-party-web/LICENSE +20 -0
  766. package/lib/devtools/third_party/third-party-web/package/LICENSE +20 -0
  767. package/lib/devtools/third_party/vscode.web-custom-data/package/LICENSE.md +21 -0
  768. package/lib/devtools/third_party/wasmparser/package/LICENSE +177 -0
  769. package/lib/devtools/third_party/web-vitals/package/LICENSE +202 -0
  770. package/lib/index.js +2599 -0
  771. package/lib/types/client/bottom/keyboard.d.ts +10 -0
  772. package/lib/types/client/bottom/locales.d.ts +17 -0
  773. package/lib/types/client/bottom/page.d.ts +10 -0
  774. package/lib/types/client/bottom/resize.d.ts +12 -0
  775. package/lib/types/client/bridge/controller.d.ts +10 -0
  776. package/lib/types/client/bridge/dispatcher.d.ts +26 -0
  777. package/lib/types/client/bridge/lifecycle.d.ts +22 -0
  778. package/lib/types/client/bridge/locales.d.ts +3 -0
  779. package/lib/types/client/bridge/publisher.d.ts +42 -0
  780. package/lib/types/client/bridge/rpc.d.ts +13 -0
  781. package/lib/types/client/bridge/transport.d.ts +41 -0
  782. package/lib/types/client/cdp/console.d.ts +45 -0
  783. package/lib/types/client/cdp/debugger.d.ts +8 -0
  784. package/lib/types/client/cdp/errors.d.ts +8 -0
  785. package/lib/types/client/cdp/heap-profiler.d.ts +8 -0
  786. package/lib/types/client/cdp/index.d.ts +10 -0
  787. package/lib/types/client/cdp/objects.d.ts +69 -0
  788. package/lib/types/client/cdp/profiler.d.ts +8 -0
  789. package/lib/types/client/cdp/properties.d.ts +16 -0
  790. package/lib/types/client/cdp/runtime.d.ts +79 -0
  791. package/lib/types/client/cdp/sources.d.ts +53 -0
  792. package/lib/types/client/cdp/stack.d.ts +27 -0
  793. package/lib/types/client/index.d.ts +3 -0
  794. package/lib/types/client/inspection/cordis.d.ts +3 -0
  795. package/lib/types/client/inspection/network.d.ts +4 -0
  796. package/lib/types/client/inspection/realm.d.ts +27 -0
  797. package/lib/types/client/plugin.d.ts +29 -0
  798. package/lib/types/host/bridge/controller.d.ts +108 -0
  799. package/lib/types/host/bridge/dispatcher.d.ts +16 -0
  800. package/lib/types/host/bridge/lifecycle.d.ts +42 -0
  801. package/lib/types/host/bridge/publisher.d.ts +31 -0
  802. package/lib/types/host/bridge/rpc.d.ts +15 -0
  803. package/lib/types/host/bridge/transport.d.ts +28 -0
  804. package/lib/types/host/cdp/console.d.ts +14 -0
  805. package/lib/types/host/cdp/debugger.d.ts +8 -0
  806. package/lib/types/host/cdp/errors.d.ts +6 -0
  807. package/lib/types/host/cdp/heap-profiler.d.ts +8 -0
  808. package/lib/types/host/cdp/index.d.ts +10 -0
  809. package/lib/types/host/cdp/objects.d.ts +8 -0
  810. package/lib/types/host/cdp/profiler.d.ts +8 -0
  811. package/lib/types/host/cdp/properties.d.ts +7 -0
  812. package/lib/types/host/cdp/runtime.d.ts +16 -0
  813. package/lib/types/host/cdp/sources.d.ts +14 -0
  814. package/lib/types/host/cdp/stack.d.ts +4 -0
  815. package/lib/types/host/index.d.ts +3 -0
  816. package/lib/types/host/inspection/cordis.d.ts +3 -0
  817. package/lib/types/host/inspection/network.d.ts +23 -0
  818. package/lib/types/host/inspection/realm.d.ts +9 -0
  819. package/lib/types/host/plugin.d.ts +24 -0
  820. package/lib/types/index.d.ts +50 -0
  821. package/lib/types/shared/bridge/buffer.d.ts +62 -0
  822. package/lib/types/shared/bridge/codec.d.ts +4 -0
  823. package/lib/types/shared/bridge/control-codec.d.ts +27 -0
  824. package/lib/types/shared/bridge/ids.d.ts +19 -0
  825. package/lib/types/shared/bridge/messages/control.d.ts +64 -0
  826. package/lib/types/shared/bridge/messages/cordis.d.ts +4 -0
  827. package/lib/types/shared/bridge/messages/network.d.ts +4 -0
  828. package/lib/types/shared/bridge/messages/observation.d.ts +110 -0
  829. package/lib/types/shared/bridge/messages/query/codec.d.ts +40 -0
  830. package/lib/types/shared/bridge/messages/query/commands.d.ts +35 -0
  831. package/lib/types/shared/bridge/messages/query/frames.d.ts +31 -0
  832. package/lib/types/shared/bridge/messages/query/index.d.ts +5 -0
  833. package/lib/types/shared/bridge/messages/runtime/command-codec.d.ts +9 -0
  834. package/lib/types/shared/bridge/messages/runtime/commands.d.ts +76 -0
  835. package/lib/types/shared/bridge/messages/runtime/console-frames.d.ts +52 -0
  836. package/lib/types/shared/bridge/messages/runtime/frames.d.ts +98 -0
  837. package/lib/types/shared/bridge/messages/runtime/index.d.ts +5 -0
  838. package/lib/types/shared/bridge/messages/runtime/value-codec.d.ts +28 -0
  839. package/lib/types/shared/bridge/messages/sources/codec.d.ts +15 -0
  840. package/lib/types/shared/bridge/messages/sources/commands.d.ts +42 -0
  841. package/lib/types/shared/bridge/messages/sources/frames.d.ts +67 -0
  842. package/lib/types/shared/bridge/messages/sources/index.d.ts +5 -0
  843. package/lib/types/shared/bridge/publisher.d.ts +33 -0
  844. package/lib/types/shared/bridge/query-reader.d.ts +10 -0
  845. package/lib/types/shared/bridge/rpc.d.ts +62 -0
  846. package/lib/types/shared/bridge/validation.d.ts +3 -0
  847. package/lib/types/shared/bridge/version.d.ts +3 -0
  848. package/lib/types/shared/cdp/capabilities.d.ts +17 -0
  849. package/lib/types/shared/cdp/console.d.ts +28 -0
  850. package/lib/types/shared/cdp/debugger.d.ts +69 -0
  851. package/lib/types/shared/cdp/errors.d.ts +27 -0
  852. package/lib/types/shared/cdp/ids.d.ts +9 -0
  853. package/lib/types/shared/cdp/index.d.ts +11 -0
  854. package/lib/types/shared/cdp/operations.d.ts +86 -0
  855. package/lib/types/shared/cdp/property.d.ts +28 -0
  856. package/lib/types/shared/cdp/realm.d.ts +137 -0
  857. package/lib/types/shared/cdp/remote-object.d.ts +44 -0
  858. package/lib/types/shared/cdp/sources.d.ts +18 -0
  859. package/lib/types/shared/cordis/collector.d.ts +26 -0
  860. package/lib/types/shared/cordis/ids.d.ts +7 -0
  861. package/lib/types/shared/cordis/model.d.ts +61 -0
  862. package/lib/types/shared/cordis/object-reference.d.ts +14 -0
  863. package/lib/types/shared/cordis/object-registry.d.ts +80 -0
  864. package/lib/types/shared/cordis/observer.d.ts +15 -0
  865. package/lib/types/shared/cordis/projector.d.ts +34 -0
  866. package/lib/types/shared/cordis/publisher.d.ts +13 -0
  867. package/lib/types/shared/cordis/reader.d.ts +18 -0
  868. package/lib/types/shared/cordis/snapshot.d.ts +39 -0
  869. package/lib/types/shared/dispose.d.ts +11 -0
  870. package/lib/types/shared/identity.d.ts +12 -0
  871. package/lib/types/shared/index.d.ts +18 -0
  872. package/lib/types/shared/json.d.ts +35 -0
  873. package/lib/types/shared/network/event-source.d.ts +20 -0
  874. package/lib/types/shared/network/observation.d.ts +52 -0
  875. package/lib/types/shared/service.d.ts +23 -0
  876. package/lib/types/shared/validation.d.ts +52 -0
  877. package/lib/types/shared/web.d.ts +16 -0
  878. package/lib/types/worker/bridge/endpoint.d.ts +49 -0
  879. package/lib/types/worker/bridge/hub.d.ts +108 -0
  880. package/lib/types/worker/bridge/runtime-rpc.d.ts +90 -0
  881. package/lib/types/worker/bridge/session.d.ts +15 -0
  882. package/lib/types/worker/bridge/source-rpc.d.ts +42 -0
  883. package/lib/types/worker/cdp/domains/debugger/cdp-params.d.ts +15 -0
  884. package/lib/types/worker/cdp/domains/debugger/index.d.ts +6 -0
  885. package/lib/types/worker/cdp/domains/debugger/projector.d.ts +22 -0
  886. package/lib/types/worker/cdp/domains/debugger/script-registry.d.ts +70 -0
  887. package/lib/types/worker/cdp/domains/debugger/session.d.ts +47 -0
  888. package/lib/types/worker/cdp/domains/dom/index.d.ts +4 -0
  889. package/lib/types/worker/cdp/domains/dom/model.d.ts +121 -0
  890. package/lib/types/worker/cdp/domains/dom/session.d.ts +78 -0
  891. package/lib/types/worker/cdp/domains/native.d.ts +25 -0
  892. package/lib/types/worker/cdp/domains/network/session.d.ts +46 -0
  893. package/lib/types/worker/cdp/domains/runtime/cdp-params.d.ts +82 -0
  894. package/lib/types/worker/cdp/domains/runtime/index.d.ts +3 -0
  895. package/lib/types/worker/cdp/domains/runtime/object-table.d.ts +117 -0
  896. package/lib/types/worker/cdp/domains/runtime/session.d.ts +97 -0
  897. package/lib/types/worker/cdp/ids.d.ts +37 -0
  898. package/lib/types/worker/cdp/protocol.d.ts +46 -0
  899. package/lib/types/worker/cdp/realm-sessions.d.ts +67 -0
  900. package/lib/types/worker/cdp/session.d.ts +39 -0
  901. package/lib/types/worker/cdp/target.d.ts +17 -0
  902. package/lib/types/worker/entry.d.ts +3 -0
  903. package/lib/types/worker/inspection/cordis-query.d.ts +11 -0
  904. package/lib/types/worker/inspection/cordis-store.d.ts +94 -0
  905. package/lib/types/worker/inspection/network-store.d.ts +110 -0
  906. package/lib/types/worker/inspection/query-router.d.ts +78 -0
  907. package/lib/types/worker/inspection/realm-store.d.ts +58 -0
  908. package/lib/types/worker/inspection/realm.d.ts +43 -0
  909. package/lib/types/worker/realms/client/bridge.d.ts +18 -0
  910. package/lib/types/worker/realms/client/console.d.ts +21 -0
  911. package/lib/types/worker/realms/client/debugger.d.ts +8 -0
  912. package/lib/types/worker/realms/client/index.d.ts +18 -0
  913. package/lib/types/worker/realms/client/runtime.d.ts +28 -0
  914. package/lib/types/worker/realms/client/scripts.d.ts +15 -0
  915. package/lib/types/worker/realms/client/sources.d.ts +30 -0
  916. package/lib/types/worker/realms/client/values.d.ts +55 -0
  917. package/lib/types/worker/realms/host/bridge.d.ts +49 -0
  918. package/lib/types/worker/realms/host/console.d.ts +25 -0
  919. package/lib/types/worker/realms/host/debugger.d.ts +25 -0
  920. package/lib/types/worker/realms/host/index.d.ts +13 -0
  921. package/lib/types/worker/realms/host/runtime.d.ts +54 -0
  922. package/lib/types/worker/realms/host/scripts.d.ts +9 -0
  923. package/lib/types/worker/realms/host/sources.d.ts +26 -0
  924. package/lib/types/worker/realms/host/values.d.ts +22 -0
  925. package/lib/types/worker/server.d.ts +16 -0
  926. package/lib/worker.js +7293 -0
  927. package/locale/en.json +6 -0
  928. package/locale/zh.json +6 -0
  929. package/package.json +86 -3
@@ -0,0 +1,1052 @@
1
+ import { n as e } from "./chunk-DF993M8W.js";
2
+ import { z as t } from "./platform-BzB373NB.js";
3
+ import { At as n, St as r, at as i, bt as a, d as o, jt as s, u as c, wt as l } from "./common-qd_KLeYO.js";
4
+ import { $i as u, Bs as d, Cd as f, Dt as p, Ed as m, Fo as ee, Fs as h, Gs as te, Hs as g, Is as ne, Js as re, Ks as _, La as ie, Ls as v, Md as ae, Mo as oe, No as se, Od as ce, Or as y, Po as le, Qn as ue, Rs as b, Sd as x, St as de, T as fe, Td as S, Ur as pe, Us as me, Ut as he, Vs as ge, Ws as C, Xi as w, Xn as T, Zn as _e, _d as E, ai as ve, ar as ye, dd as be, ei as xe, fn as Se, fo as Ce, ha as we, hd as D, ja as Te, jo as Ee, kd as O, mf as De, ni as Oe, pd as k, pf as ke, qa as Ae, si as je, tr as Me, vd as A, w as Ne, wd as Pe, wl as Fe, zs as j } from "./legacy-C0IOfyhX.js";
5
+ import { Dt as Ie, Tt as Le, r as Re } from "./common-C6gzvSKg.js";
6
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/mobile_throttling/ThrottlingPresets.ts
7
+ var ze = /* @__PURE__ */ e({ ThrottlingPresets: () => P }), M = {
8
+ noThrottling: "No CPU and no network throttling",
9
+ noInternetConnectivity: "No internet connectivity",
10
+ lowTierMobile: "Low-tier mobile",
11
+ slowGXCpuSlowdown: "Slow 3G & 6x CPU slowdown",
12
+ slowGXCpuSlowdownCalibrated: "Slow 3G & {PH1}x CPU slowdown",
13
+ midtierMobile: "Mid-tier mobile",
14
+ fastGXCpuSlowdown: "Fast 3G & 4x CPU slowdown",
15
+ fastGXCpuSlowdownCalibrated: "Fast 3G & {PH1}x CPU slowdown",
16
+ custom: "Custom",
17
+ checkNetworkAndPerformancePanels: "Check Network and Performance panels"
18
+ }, Be = l("panels/mobile_throttling/ThrottlingPresets.ts", M), N = a.bind(void 0, Be), P = class e {
19
+ static getNoThrottlingConditions() {
20
+ return {
21
+ title: typeof E.title == "function" ? E.title() : E.title,
22
+ description: N(M.noThrottling),
23
+ network: E,
24
+ cpuThrottlingOption: C,
25
+ jslogContext: "no-throttling"
26
+ };
27
+ }
28
+ static getOfflineConditions() {
29
+ return {
30
+ title: typeof A.title == "function" ? A.title() : A.title,
31
+ description: N(M.noInternetConnectivity),
32
+ network: A,
33
+ cpuThrottlingOption: C,
34
+ jslogContext: "offline"
35
+ };
36
+ }
37
+ static getLowEndMobileConditions() {
38
+ let e = v.rate() !== 0, t = e ? v : g, n = e ? N(M.slowGXCpuSlowdownCalibrated, { PH1: t.rate() }) : N(M.slowGXCpuSlowdown);
39
+ return {
40
+ title: N(M.lowTierMobile),
41
+ description: n,
42
+ network: x,
43
+ cpuThrottlingOption: t,
44
+ jslogContext: "low-end-mobile"
45
+ };
46
+ }
47
+ static getMidTierMobileConditions() {
48
+ let e = b.rate() !== 0, t = e ? b : me, n = e ? N(M.fastGXCpuSlowdownCalibrated, { PH1: t.rate() }) : N(M.fastGXCpuSlowdown);
49
+ return {
50
+ title: N(M.midtierMobile),
51
+ description: n,
52
+ network: f,
53
+ cpuThrottlingOption: t,
54
+ jslogContext: "mid-tier-mobile"
55
+ };
56
+ }
57
+ static getCustomConditions() {
58
+ return {
59
+ title: N(M.custom),
60
+ description: N(M.checkNetworkAndPerformancePanels),
61
+ jslogContext: "custom"
62
+ };
63
+ }
64
+ static getMobilePresets() {
65
+ return [
66
+ e.getMidTierMobileConditions(),
67
+ e.getLowEndMobileConditions(),
68
+ e.getCustomConditions()
69
+ ];
70
+ }
71
+ static getAdvancedMobilePresets() {
72
+ return [e.getOfflineConditions()];
73
+ }
74
+ static networkPresets = [
75
+ k,
76
+ f,
77
+ x,
78
+ A
79
+ ];
80
+ static cpuThrottlingPresets = [
81
+ C,
82
+ me,
83
+ g,
84
+ ge,
85
+ v,
86
+ b
87
+ ];
88
+ };
89
+ globalThis.MobileThrottling = globalThis.MobileThrottling || {}, globalThis.MobileThrottling.networkPresets = P.networkPresets;
90
+ //#endregion
91
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/mobile_throttling/ThrottlingManager.ts
92
+ var Ve = /* @__PURE__ */ e({
93
+ ActionDelegate: () => Ge,
94
+ DEFAULT_SAVE_DATA_VIEW: () => We,
95
+ SaveDataOverrideSelect: () => z,
96
+ ThrottlingManager: () => R,
97
+ throttlingManager: () => B
98
+ }), F = {
99
+ offline: "Offline",
100
+ forceDisconnectedFromNetwork: "Force disconnected from network",
101
+ throttling: "Throttling",
102
+ cpuThrottlingIsEnabled: "CPU throttling is enabled",
103
+ cpuThrottling: "CPU throttling",
104
+ excessConcurrency: "Exceeding the default value may degrade system performance.",
105
+ resetConcurrency: "Reset to the default value",
106
+ hardwareConcurrency: "Hardware concurrency",
107
+ hardwareConcurrencySettingLabel: "Override the value reported by navigator.hardwareConcurrency",
108
+ recommendedThrottling: "{PH1} – recommended",
109
+ calibrate: "Calibrate…",
110
+ recalibrate: "Recalibrate…",
111
+ noSaveDataOverride: "'Save-Data': default",
112
+ saveDataOn: "'Save-Data': on",
113
+ saveDataOff: "'Save-Data': off",
114
+ saveDataSettingTooltip: "Override the value reported by navigator.connection.saveData on the page"
115
+ }, He = l("panels/mobile_throttling/ThrottlingManager.ts", F), I = a.bind(void 0, He), L, Ue = class {
116
+ #e = Promise.resolve();
117
+ push(e) {
118
+ return new Promise((t) => {
119
+ this.#e = this.#e.then(async () => t(await e));
120
+ });
121
+ }
122
+ }, R = class e extends n {
123
+ cpuThrottlingControls;
124
+ cpuThrottlingOptions;
125
+ customNetworkConditionsSetting;
126
+ currentNetworkThrottlingConditionKeySetting;
127
+ calibratedCpuThrottlingSetting;
128
+ lastNetworkThrottlingConditions;
129
+ cpuThrottlingManager;
130
+ #e = !1;
131
+ #t = new Ue();
132
+ get hardwareConcurrencyOverrideEnabled() {
133
+ return this.#e;
134
+ }
135
+ constructor() {
136
+ super(), this.cpuThrottlingManager = h.instance(), this.cpuThrottlingManager.addEventListener(d.RATE_CHANGED, (e) => this.onCPUThrottlingRateChangedOnSDK(e.data)), this.cpuThrottlingControls = /* @__PURE__ */ new Set(), this.cpuThrottlingOptions = P.cpuThrottlingPresets, this.customNetworkConditionsSetting = S(), this.currentNetworkThrottlingConditionKeySetting = Pe(), this.calibratedCpuThrottlingSetting = o.instance().createSetting("calibrated-cpu-throttling", {}, c.GLOBAL), D.instance().addEventListener(D.Events.CONDITIONS_CHANGED, () => {
137
+ this.lastNetworkThrottlingConditions = this.#n();
138
+ let e = D.instance().networkConditions();
139
+ this.currentNetworkThrottlingConditionKeySetting.set(e.key);
140
+ }), this.isDirty() && D.instance().setNetworkConditions(this.#n());
141
+ }
142
+ #n() {
143
+ let e = this.currentNetworkThrottlingConditionKeySetting.get();
144
+ return m(e) || (this.customNetworkConditionsSetting.get().find((t) => t.key === e) ?? E);
145
+ }
146
+ static instance(t = { forceNew: null }) {
147
+ let { forceNew: n } = t;
148
+ return (!L || n) && (L = new e()), L;
149
+ }
150
+ createOfflineToolbarCheckbox() {
151
+ let e = new _e(I(F.offline), I(F.forceDisconnectedFromNetwork), t.bind(this));
152
+ e.element.setAttribute("jslog", `${Ce("disconnect-from-network").track({ click: !0 })}`), D.instance().addEventListener(D.Events.CONDITIONS_CHANGED, n), e.setChecked(D.instance().isOffline());
153
+ function t() {
154
+ if (e.checked()) D.instance().setNetworkConditions(A);
155
+ else {
156
+ let e = !this.lastNetworkThrottlingConditions.download && !this.lastNetworkThrottlingConditions.upload ? E : this.lastNetworkThrottlingConditions;
157
+ D.instance().setNetworkConditions(e);
158
+ }
159
+ }
160
+ function n() {
161
+ e.setChecked(D.instance().isOffline());
162
+ }
163
+ return e;
164
+ }
165
+ createMobileThrottlingButton() {
166
+ let e = new ye(i, void 0, void 0, "mobile-throttling");
167
+ e.setTitle(I(F.throttling)), e.setDarkText();
168
+ let t = [], n = -1, r = new U(a, o);
169
+ return e;
170
+ function i(e) {
171
+ for (let i = 0; i < t.length; ++i) {
172
+ let a = t[i];
173
+ a && (a.title === P.getCustomConditions().title && a.description === P.getCustomConditions().description || e.defaultSection().appendCheckboxItem(a.title, r.optionSelected.bind(r, a), {
174
+ checked: n === i,
175
+ jslogContext: a.jslogContext
176
+ }));
177
+ }
178
+ }
179
+ function a(e) {
180
+ t = [];
181
+ for (let n of e) {
182
+ for (let e of n.items) t.push(e);
183
+ t.push(null);
184
+ }
185
+ return t;
186
+ }
187
+ function o(r) {
188
+ n = r;
189
+ let i = t[r];
190
+ i && (e.setText(i.title), e.setTitle(`${i.title}: ${i.description}`));
191
+ }
192
+ }
193
+ updatePanelIcon() {
194
+ let e = [];
195
+ this.cpuThrottlingManager.cpuThrottlingRate() !== ne.NO_THROTTLING && e.push(I(F.cpuThrottlingIsEnabled)), y.instance().setPanelWarnings("timeline", e);
196
+ }
197
+ setCPUThrottlingOption(e) {
198
+ this.cpuThrottlingManager.setCPUThrottlingOption(e);
199
+ }
200
+ onCPUThrottlingRateChangedOnSDK(e) {
201
+ e !== ne.NO_THROTTLING && ke.actionTaken(De.CpuThrottlingEnabled);
202
+ let t = this.cpuThrottlingOptions.indexOf(this.cpuThrottlingManager.cpuThrottlingOption());
203
+ for (let e of this.cpuThrottlingControls) e.setSelectedIndex(t);
204
+ this.updatePanelIcon();
205
+ }
206
+ createCPUThrottlingSelector() {
207
+ let e = () => {
208
+ let e = this.calibratedCpuThrottlingSetting.get();
209
+ return e.low || e.mid ? I(F.recalibrate) : I(F.calibrate);
210
+ }, t = new ue(() => {
211
+ if (t.selectedIndex() === t.options().length - 1) {
212
+ let e = this.cpuThrottlingOptions.indexOf(this.cpuThrottlingManager.cpuThrottlingOption());
213
+ t.setSelectedIndex(e), i(this.calibratedCpuThrottlingSetting);
214
+ } else this.setCPUThrottlingOption(this.cpuThrottlingOptions[t.selectedIndex()]);
215
+ }, I(F.cpuThrottling), "", "cpu-throttling");
216
+ this.cpuThrottlingControls.add(t);
217
+ let n = this.cpuThrottlingManager.cpuThrottlingOption(), r = [], a = this.cpuThrottlingOptions;
218
+ for (let e = 0; e < this.cpuThrottlingOptions.length; ++e) {
219
+ let i = this.cpuThrottlingOptions[e], a = i.title(), o = i.jslogContext, s = t.createOption(a, o);
220
+ t.addOption(s), n === i && t.setSelectedIndex(e), r.push(s);
221
+ }
222
+ let o = t.createOption(e(), "");
223
+ return t.addOption(o), r.push(o), {
224
+ control: t,
225
+ updateRecommendedOption(t) {
226
+ for (let e = 0; e < r.length - 1; e++) {
227
+ let n = a[e];
228
+ r[e].text = n === t ? I(F.recommendedThrottling, { PH1: n.title() }) : n.title(), r[e].disabled = n.rate() === 0;
229
+ }
230
+ r[r.length - 1].textContent = e();
231
+ }
232
+ };
233
+ }
234
+ setSaveDataOverride(t) {
235
+ let n = _.UNSET;
236
+ t === 1 ? n = _.ENABLED : t === 2 && (n = _.DISABLED);
237
+ for (let e of ae.instance().models(re)) this.#t.push(e.setDataSaverOverride(n));
238
+ this.dispatchEventToListeners(e.Events.SAVE_DATA_OVERRIDE_CHANGED, t);
239
+ }
240
+ createSaveDataOverrideSelector(e) {
241
+ let t = document.createElement("select");
242
+ return t.title = I(F.saveDataSettingTooltip), p(t, I(F.saveDataSettingTooltip)), e && (t.className = e), ve(t, je(z)), t;
243
+ }
244
+ createHardwareConcurrencySelector() {
245
+ let e = new Me(Se("devtools-text-input", "number", "hardware-concurrency"));
246
+ e.setTitle(I(F.hardwareConcurrencySettingLabel));
247
+ let t = e.element;
248
+ t.min = "1", e.setEnabled(!1);
249
+ let n = he.create(I(F.hardwareConcurrency), !1, I(F.hardwareConcurrencySettingLabel), "hardware-concurrency"), r = new T("Reset concurrency", "undo", void 0, "hardware-concurrency-reset");
250
+ r.setTitle(I(F.resetConcurrency));
251
+ let i = new Ee();
252
+ i.name = "warning-filled", i.classList.add("small");
253
+ let a = new Me(i);
254
+ return a.setTitle(I(F.excessConcurrency)), n.disabled = !0, r.element.classList.add("concurrency-hidden"), a.element.classList.add("concurrency-hidden"), this.cpuThrottlingManager.getHardwareConcurrency().then((i) => {
255
+ if (i === void 0) return;
256
+ let o = (e) => {
257
+ e >= 1 && this.cpuThrottlingManager.setHardwareConcurrency(e), e > i ? a.element.classList.remove("concurrency-hidden") : a.element.classList.add("concurrency-hidden"), e === i ? r.element.classList.add("concurrency-hidden") : r.element.classList.remove("concurrency-hidden");
258
+ };
259
+ t.value = `${i}`, t.oninput = () => o(Number(t.value)), n.disabled = !1, n.addEventListener("change", () => {
260
+ this.#e = n.checked, e.setEnabled(this.hardwareConcurrencyOverrideEnabled), o(this.hardwareConcurrencyOverrideEnabled ? Number(t.value) : i);
261
+ }), r.addEventListener(T.Events.CLICK, () => {
262
+ t.value = `${i}`, o(i);
263
+ });
264
+ }), {
265
+ numericInput: e,
266
+ reset: r,
267
+ warning: a,
268
+ checkbox: n
269
+ };
270
+ }
271
+ setHardwareConcurrency(e) {
272
+ this.cpuThrottlingManager.setHardwareConcurrency(e);
273
+ }
274
+ isDirty() {
275
+ return !O(D.instance().networkConditions(), this.#n());
276
+ }
277
+ }, We = (e, t, n) => {
278
+ ee(le`
279
+ <option value="unset" ?selected=${e.selectedIndex === 0}>${I(F.noSaveDataOverride)}</option>
280
+ <option value="enabled" ?selected=${e.selectedIndex === 1}>${I(F.saveDataOn)}</option>
281
+ <option value="disabled" ?selected=${e.selectedIndex === 2}>${I(F.saveDataOff)}</option>
282
+ `, n, { container: { listeners: { change: (t) => e.onSelect(t.target.selectedIndex) } } });
283
+ }, z = class extends s(Oe) {
284
+ #e = 0;
285
+ #t;
286
+ constructor(e, t = We) {
287
+ super(e), this.#t = t, R.instance().addEventListener(R.Events.SAVE_DATA_OVERRIDE_CHANGED, ({ data: e }) => {
288
+ this.#e = e, this.requestUpdate();
289
+ }), this.performUpdate();
290
+ }
291
+ performUpdate() {
292
+ this.#t({
293
+ selectedIndex: this.#e,
294
+ onSelect: (e) => {
295
+ R.instance().setSaveDataOverride(e);
296
+ }
297
+ }, void 0, this.contentElement);
298
+ }
299
+ };
300
+ (function(e) {
301
+ e.Events = /* @__PURE__ */ function(e) {
302
+ return e.SAVE_DATA_OVERRIDE_CHANGED = "SaveDataOverrideChanged", e;
303
+ }({});
304
+ })(R ||= {});
305
+ var Ge = class {
306
+ handleAction(e, t) {
307
+ return t === "network-conditions.network-online" ? (D.instance().setNetworkConditions(E), !0) : t === "network-conditions.network-low-end-mobile" ? (D.instance().setNetworkConditions(x), !0) : t === "network-conditions.network-mid-tier-mobile" ? (D.instance().setNetworkConditions(f), !0) : t === "network-conditions.network-offline" ? (D.instance().setNetworkConditions(A), !0) : !1;
308
+ }
309
+ };
310
+ function B() {
311
+ return R.instance();
312
+ }
313
+ //#endregion
314
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/mobile_throttling/MobileThrottlingSelector.ts
315
+ var Ke = /* @__PURE__ */ e({ MobileThrottlingSelector: () => U }), V = {
316
+ disabled: "Disabled",
317
+ presets: "Presets",
318
+ advanced: "Advanced"
319
+ }, qe = l("panels/mobile_throttling/MobileThrottlingSelector.ts", V), H = a.bind(void 0, qe), U = class {
320
+ populateCallback;
321
+ selectCallback;
322
+ options;
323
+ constructor(e, t) {
324
+ this.populateCallback = e, this.selectCallback = t, h.instance().addEventListener(d.RATE_CHANGED, this.conditionsChanged, this), D.instance().addEventListener(D.Events.CONDITIONS_CHANGED, this.conditionsChanged, this), this.options = this.populateOptions(), this.conditionsChanged();
325
+ }
326
+ optionSelected(e) {
327
+ D.instance().setNetworkConditions(e.network), B().setCPUThrottlingOption(e.cpuThrottlingOption);
328
+ }
329
+ populateOptions() {
330
+ let e = {
331
+ title: H(V.disabled),
332
+ items: [P.getNoThrottlingConditions()]
333
+ }, t = {
334
+ title: H(V.presets),
335
+ items: P.getMobilePresets()
336
+ }, n = {
337
+ title: H(V.advanced),
338
+ items: P.getAdvancedMobilePresets()
339
+ };
340
+ return this.populateCallback([
341
+ e,
342
+ t,
343
+ n
344
+ ]);
345
+ }
346
+ conditionsChanged() {
347
+ this.populateOptions();
348
+ let e = D.instance().networkConditions(), t = h.instance().cpuThrottlingOption();
349
+ for (let n = 0; n < this.options.length; ++n) {
350
+ let r = this.options[n];
351
+ if (r && "network" in r && r.network === e && r.cpuThrottlingOption === t) {
352
+ this.selectCallback(n);
353
+ return;
354
+ }
355
+ }
356
+ let n = P.getCustomConditions();
357
+ for (let e = 0; e < this.options.length; ++e) {
358
+ let t = this.options[e];
359
+ if (t && t.title === n.title && t.description === n.description) {
360
+ this.selectCallback(e);
361
+ return;
362
+ }
363
+ }
364
+ }
365
+ }, Je = /* @__PURE__ */ e({ NetworkPanelIndicator: () => Xe }), W = {
366
+ networkThrottlingIsEnabled: "Network throttling is enabled",
367
+ requestsMayBeOverridden: "Requests may be overridden locally, see the Sources panel",
368
+ requestsMayBeBlocked: "Requests may be blocked, see the Network request blocking panel",
369
+ acceptedEncodingOverrideSet: "The set of accepted `Content-Encoding` headers has been modified by DevTools, see the Network conditions panel"
370
+ }, Ye = l("panels/mobile_throttling/NetworkPanelIndicator.ts", W), G = a.bind(void 0, Ye), Xe = class {
371
+ constructor() {
372
+ if (!y.instance().hasPanel("network")) return;
373
+ let e = D.instance();
374
+ e.addEventListener(D.Events.CONDITIONS_CHANGED, t), e.addEventListener(D.Events.BLOCKED_PATTERNS_CHANGED, t), e.addEventListener(D.Events.INTERCEPTORS_CHANGED, t), e.addEventListener(D.Events.ACCEPTED_ENCODINGS_CHANGED, t), o.instance().moduleSetting("cache-disabled").addChangeListener(t, this), t();
375
+ function t() {
376
+ let t = [];
377
+ e.isThrottling() && t.push(G(W.networkThrottlingIsEnabled)), D.instance().isIntercepting() && t.push(G(W.requestsMayBeOverridden)), e.isBlocking() && t.push(G(W.requestsMayBeBlocked)), e.isAcceptedEncodingOverrideSet() && t.push(G(W.acceptedEncodingOverrideSet)), y.instance().setPanelWarnings("network", t);
378
+ }
379
+ }
380
+ }, Ze = /* @__PURE__ */ e({
381
+ DEFAULT_VIEW: () => tt,
382
+ Events: () => nt,
383
+ NetworkThrottlingSelect: () => Y
384
+ }), { render: Qe, html: K, Directives: $e } = se, q = {
385
+ disabled: "Disabled",
386
+ presets: "Presets",
387
+ custom: "Custom",
388
+ blockingGroup: "Blocking",
389
+ sS: "{PH1}: {PH2}",
390
+ addS: "Add {PH1}",
391
+ add: "Add…",
392
+ recommendedThrottling: "{PH1} – recommended"
393
+ }, et = l("panels/mobile_throttling/NetworkThrottlingSelector.ts", q), J = a.bind(void 0, et), tt = (e, n, r) => {
394
+ let i = (e) => typeof e.title == "function" ? e.title() : e.title, a = (e, n) => `${ie(t("i18nTitleKey" in n && n.i18nTitleKey || i(n))).track({ click: !0 })}`, o = /* @__PURE__ */ new WeakMap(), s = e.selectedConditions;
395
+ function c(t) {
396
+ let n = t.target;
397
+ if (!n) return;
398
+ let r = n.selectedOptions[0];
399
+ if (r) if (r === n.options[n.options.length - 1]) e.onAddCustomConditions(), t.consume(!0), s && (n.value = i(s));
400
+ else {
401
+ let t = o.get(r);
402
+ t && (s = t, e.onSelect(t));
403
+ }
404
+ }
405
+ Qe(K`${e.throttlingGroups.map((t) => K`<optgroup
406
+ label=${t.title}>
407
+ ${t.items.map((n) => K`<option
408
+ ${$e.ref((e) => e && o.set(e, n))}
409
+ ?selected=${s ? O(n, s) : t === e.throttlingGroups[0]}
410
+ value=${i(n)}
411
+ aria-label=${J(q.sS, {
412
+ PH1: t.title,
413
+ PH2: i(n)
414
+ })}
415
+ jslog=${a(t, n)}>
416
+ ${n === e.recommendedConditions ? J(q.recommendedThrottling, { PH1: i(n) }) : i(n)}
417
+ </option>`)}
418
+ </optgroup>`)}
419
+ <optgroup label=${e.customConditionsGroup.title}>
420
+ ${e.customConditionsGroup.items.map((t) => K`<option
421
+ ${$e.ref((e) => e && o.set(e, t))}
422
+ ?selected=${s && O(t, s)}
423
+ value=${i(t)}
424
+ aria-label=${J(q.sS, {
425
+ PH1: e.customConditionsGroup.title,
426
+ PH2: i(t)
427
+ })}
428
+ jslog=${ie("custom-network-throttling-item").track({ click: !0 })}>
429
+ ${t === e.recommendedConditions ? J(q.recommendedThrottling, { PH1: i(t) }) : i(t)}
430
+ </option>`)}
431
+ <option
432
+ value=${J(q.add)}
433
+ aria-label=${J(q.addS, { PH1: e.customConditionsGroup.title })}
434
+ jslog=${we("add").track({ click: !0 })}>
435
+ ${J(q.add)}
436
+ </option>
437
+ </optgroup>`, r, { container: {
438
+ listeners: { change: c },
439
+ attributes: {
440
+ disabled: e.disabled,
441
+ "aria-label": e.title,
442
+ jslog: `${Te(e.jslogContext).track({ change: !0 })}`
443
+ }
444
+ } });
445
+ }, nt = /* @__PURE__ */ function(e) {
446
+ return e.CONDITIONS_CHANGED = "ConditionsChanged", e;
447
+ }({}), Y = class e extends s(Oe) {
448
+ #e = null;
449
+ #t;
450
+ #n;
451
+ #r;
452
+ #i;
453
+ #a = e.Variant.GLOBAL_CONDITIONS;
454
+ #o = !1;
455
+ static createForGlobalConditions(t, n) {
456
+ let r = new e(t.createChild("select"), { title: n });
457
+ return r.bindToGlobalConditions = !0, r.show(t, void 0, !0), r.performUpdate(), r;
458
+ }
459
+ constructor(e, t = {}, n = tt) {
460
+ super(e), S().addChangeListener(this.requestUpdate, this), this.#t = t.jslogContext, this.#n = t.currentConditions, this.#r = t.title, this.#i = n, this.performUpdate();
461
+ }
462
+ get disabled() {
463
+ return this.#o;
464
+ }
465
+ set disabled(e) {
466
+ this.#o = e, this.requestUpdate();
467
+ }
468
+ get recommendedConditions() {
469
+ return this.#e;
470
+ }
471
+ set recommendedConditions(e) {
472
+ this.#e = e, this.requestUpdate();
473
+ }
474
+ get currentConditions() {
475
+ return this.#n;
476
+ }
477
+ set currentConditions(e) {
478
+ this.#n = e, this.requestUpdate();
479
+ }
480
+ get jslogContext() {
481
+ return this.#t;
482
+ }
483
+ set jslogContext(e) {
484
+ this.#t = e, this.requestUpdate();
485
+ }
486
+ #s = (e) => {
487
+ let t = e.data;
488
+ "block" in t || D.instance().setNetworkConditions(t);
489
+ };
490
+ #c = () => {
491
+ this.currentConditions = D.instance().networkConditions();
492
+ };
493
+ #l = () => {
494
+ let e = Le.instance().getSelectedFieldMetricData("round_trip_time");
495
+ this.recommendedConditions = Re(e);
496
+ };
497
+ set bindToGlobalConditions(e) {
498
+ let t = Le.instance(), n = D.instance();
499
+ e ? (this.#t = Pe().name, R.instance(), this.#n = n.networkConditions(), this.addEventListener("ConditionsChanged", this.#s), n.addEventListener(D.Events.CONDITIONS_CHANGED, this.#c), t.addEventListener(Ie.FIELD_DATA_CHANGED, this.#l), this.#l()) : (this.removeEventListener("ConditionsChanged", this.#s), n.removeEventListener(D.Events.CONDITIONS_CHANGED, this.#c), t.removeEventListener(Ie.FIELD_DATA_CHANGED, this.#l)), this.requestUpdate();
500
+ }
501
+ get variant() {
502
+ return this.#a;
503
+ }
504
+ set variant(e) {
505
+ this.#a = e, this.requestUpdate();
506
+ }
507
+ get title() {
508
+ return this.#r;
509
+ }
510
+ set title(e) {
511
+ this.#r = e, this.requestUpdate();
512
+ }
513
+ performUpdate() {
514
+ let t = S().get(), n = () => {
515
+ i(S());
516
+ }, r = (e) => {
517
+ this.dispatchEventToListeners("ConditionsChanged", e);
518
+ }, a = [];
519
+ switch (this.#a) {
520
+ case e.Variant.GLOBAL_CONDITIONS:
521
+ a.push({
522
+ title: J(q.disabled),
523
+ items: [E]
524
+ }, {
525
+ title: J(q.presets),
526
+ items: [
527
+ k,
528
+ f,
529
+ x,
530
+ A
531
+ ]
532
+ });
533
+ break;
534
+ case e.Variant.INDIVIDUAL_REQUEST_CONDITIONS:
535
+ a.push({
536
+ title: J(q.blockingGroup),
537
+ items: [be]
538
+ }, {
539
+ title: J(q.presets),
540
+ items: [
541
+ k,
542
+ f,
543
+ x
544
+ ]
545
+ });
546
+ break;
547
+ }
548
+ let o = {
549
+ title: J(q.custom),
550
+ items: t
551
+ }, s = {
552
+ recommendedConditions: this.#e,
553
+ selectedConditions: this.#n,
554
+ jslogContext: this.#t,
555
+ title: this.#r,
556
+ disabled: this.#o,
557
+ onSelect: r,
558
+ onAddCustomConditions: n,
559
+ throttlingGroups: a,
560
+ customConditionsGroup: o
561
+ };
562
+ this.#i(s, {}, this.contentElement);
563
+ }
564
+ };
565
+ (function(e) {
566
+ e.Variant = /* @__PURE__ */ function(e) {
567
+ return e.GLOBAL_CONDITIONS = "global-conditions", e.INDIVIDUAL_REQUEST_CONDITIONS = "individual-request-conditions", e;
568
+ }({});
569
+ })(Y ||= {});
570
+ //#endregion
571
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/mobile_throttling/CalibrationController.ts
572
+ var rt = { runningCalibration: "Running CPU calibration, please do not leave this tab or close DevTools." }, it = l("panels/mobile_throttling/CalibrationController.ts", rt), at = a.bind(void 0, it), ot = 250, X = 1e3, Z = 264;
573
+ function st(e) {
574
+ return Number(e.toFixed(2));
575
+ }
576
+ var ct = class {
577
+ #e;
578
+ #t;
579
+ #n;
580
+ #r;
581
+ #i = "idle";
582
+ async start() {
583
+ let e = ae.instance().primaryPageTarget();
584
+ if (!e) return !1;
585
+ let t = e.model(Fe), n = e.model(re);
586
+ if (!t || !n) return !1;
587
+ this.#i = "running", this.#e = t, this.#t = n, this.#n = e.inspectedURL();
588
+ function r(e) {
589
+ let t = document.createElement("span");
590
+ t.textContent = e, document.body.append(t), document.body.style.cssText = "\n font-family: system-ui, sans-serif;\n height: 100vh;\n margin: 0;\n background-color: antiquewhite;\n font-size: 18px;\n text-align: center;\n\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n ";
591
+ let n = document.createElement("span");
592
+ document.body.append(n), n.id = "moon", n.textContent = "🌑", n.style.cssText = "font-size: 5em";
593
+ }
594
+ return await e.pageAgent().invoke_navigate({ url: "about:blank" }), await t.agent.invoke_evaluate({ expression: `
595
+ (${r})(${JSON.stringify(at(rt.runningCalibration))});
596
+
597
+ window.runBenchmark = () => {
598
+ window.runs = window.runs ?? 0;
599
+ moon.textContent = ['🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘'][window.runs++ % 8];
600
+ return (${lt})(${ot});
601
+ }` }), await this.#o(), !0;
602
+ }
603
+ async #a(e) {
604
+ if (this.#i !== "running") throw this.#r = void 0, Error("Calibration has been canceled");
605
+ await this.#t.setCPUThrottlingRate(e);
606
+ }
607
+ async #o() {
608
+ if (this.#i !== "running") throw this.#r = void 0, Error("Calibration has been canceled");
609
+ let { result: e } = await this.#e.agent.invoke_evaluate({ expression: "runBenchmark()" });
610
+ if (!Number.isFinite(e.value)) {
611
+ let t = `unexpected score from benchmark: ${e.value}`;
612
+ throw e.description && (t += `\n${e.description}`), Error(t);
613
+ }
614
+ return e.value;
615
+ }
616
+ async *iterator() {
617
+ let e = this, t = !1;
618
+ yield { progress: 0 };
619
+ let n = /* @__PURE__ */ new Map();
620
+ async function r(t) {
621
+ let r = n.get(t);
622
+ if (r !== void 0) return r;
623
+ await e.#a(t);
624
+ let i = await e.#o();
625
+ return n.set(t, i), i;
626
+ }
627
+ async function* i(e, n, i) {
628
+ let a = {
629
+ rate: n,
630
+ score: await r(n)
631
+ }, o = {
632
+ rate: i,
633
+ score: await r(i)
634
+ }, s = 0, c = 0;
635
+ for (; c++ < 8;) {
636
+ s = st((o.rate + a.rate) / 2);
637
+ let n = await r(s);
638
+ if (Math.abs(e - n) < 10) break;
639
+ n < e ? (o.rate = s, o.score = n) : (a.rate = s, a.score = n), yield { progress: c / 8 / 2 + (t ? .5 : 0) };
640
+ }
641
+ return st(s);
642
+ }
643
+ this.#r = {};
644
+ let a = await r(1);
645
+ if (a < X && (n.clear(), a = await r(1), a < X)) {
646
+ if (a < Z) {
647
+ this.#r = {
648
+ low: j.DEVICE_TOO_WEAK,
649
+ mid: j.DEVICE_TOO_WEAK
650
+ };
651
+ return;
652
+ }
653
+ this.#r = { mid: j.DEVICE_TOO_WEAK }, t = !0;
654
+ }
655
+ let o = yield* i(Z, 1, a / Z * 1.5);
656
+ if (this.#r.low = o, !this.#r.mid) {
657
+ t = !0, yield { progress: .5 };
658
+ let e = o / (X / Z), n = yield* i(X, e - e / 4, e + e / 4);
659
+ this.#r.mid = n;
660
+ }
661
+ yield { progress: 1 };
662
+ }
663
+ abort() {
664
+ this.#i === "running" && (this.#i = "aborting");
665
+ }
666
+ result() {
667
+ return this.#r;
668
+ }
669
+ async end() {
670
+ this.#i !== "idle" && (this.#i = "idle", this.#n.startsWith("chrome://") ? await this.#e.agent.invoke_evaluate({ expression: "history.back()" }) : await this.#e.agent.invoke_evaluate({ expression: `window.location.href = ${JSON.stringify(this.#n)}` }));
671
+ }
672
+ };
673
+ function lt(e = 1e3) {
674
+ let t = e / 2;
675
+ function n() {
676
+ let e = Date.now(), n = 0;
677
+ for (; Date.now() - e < t;) {
678
+ let e = "";
679
+ for (let t = 0; t < 1e4; t++) e += "a";
680
+ if (e.length === 1) throw Error("will never happen, but prevents compiler optimizations");
681
+ n++;
682
+ }
683
+ let r = (Date.now() - e) / 1e3;
684
+ return Math.round(n / 10 / r);
685
+ }
686
+ function r() {
687
+ let e = [], n = [];
688
+ for (let t = 0; t < 1e5; t++) e[t] = n[t] = t;
689
+ let r = Date.now(), i = 0;
690
+ for (; i % 10 != 0 || Date.now() - r < t;) {
691
+ let t = i % 2 == 0 ? e : n, r = i % 2 == 0 ? n : e;
692
+ for (let e = 0; e < t.length; e++) r[e] = t[e];
693
+ i++;
694
+ }
695
+ let a = (Date.now() - r) / 1e3;
696
+ return Math.round(i / 10 / a);
697
+ }
698
+ return (n() + r()) / 2;
699
+ }
700
+ //#endregion
701
+ //#region \0dsh-devtools:css:/home/runner/work/QiLin/QiLin/node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/panels/mobile_throttling/throttlingSettingsTab.css.mjs
702
+ var ut = "/*\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.add-conditions-button {\n margin: var(--sys-size-5) 0;\n border: none;\n}\n\n.conditions-list {\n flex: auto;\n\n &:has(.list-item) {\n margin-top: var(--sys-size-3);\n }\n}\n\n.settings-container {\n display: flex;\n overflow-x: auto;\n}\n\n.settings-container::-webkit-scrollbar {\n -webkit-appearance: none;\n height: var(--sys-size-4);\n}\n\n.settings-container::-webkit-scrollbar-thumb {\n border-radius: var( --sys-size-3);\n background-color: var(--sys-color-primary);\n}\n\n.setting {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n gap: var( --sys-size-3);\n padding: var( --sys-size-4);\n flex-shrink: 0;\n width: 74px;\n}\n\n.input {\n width: 100%;\n}\n\n.conditions-list-item {\n padding: 3px 5px;\n height: 30px;\n display: flex;\n align-items: center;\n position: relative;\n flex: auto 1 1;\n}\n\n.conditions-list-text {\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n flex-basis: var( --sys-size-24);\n user-select: none;\n color: var(--sys-color-on-surface);\n text-align: center;\n position: relative;\n\n & > input {\n scroll-margin-left: 5px;\n }\n}\n\n.conditions-list-text:last-child {\n flex-basis: 100px;\n text-align: left;\n}\n\n.conditions-list-title {\n text-align: start;\n display: flex;\n flex-grow: 1;\n align-items: flex-start;\n}\n\n.conditions-list-title-text {\n flex: auto;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.conditions-list-separator {\n flex: 0 0 1px;\n background-color: var(--sys-color-divider);\n height: 30px;\n margin: 0 4px;\n}\n\n.conditions-list-separator-invisible {\n visibility: hidden;\n height: 100% !important; /* stylelint-disable-line declaration-no-important */\n}\n\n.settings-card-container-wrapper {\n scrollbar-gutter: stable;\n padding: var(--sys-size-8) 0;\n overflow: auto;\n position: absolute;\n inset: var(--sys-size-8) 0 0;\n}\n\n.settings-card-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: var(--sys-size-9);\n}\n\n.cpu-preset-section {\n padding: 14px;\n display: flex;\n justify-content: space-between;\n}\n\n.cpu-preset-result.not-calibrated {\n font-style: italic;\n}\n\n.cpu-preset-calibrate {\n flex-direction: column;\n gap: 14px;\n}\n\n.cpu-preset-calibrate .button-container {\n display: flex;\n gap: 10px;\n}\n\n.cpu-preset-calibrate .text-container {\n display: flex;\n flex-direction: column;\n gap: 10px;\n}\n\n.text-with-icon {\n display: flex;\n align-items: center;\n gap: 5px;\n}\n", dt = /* @__PURE__ */ e({
703
+ CPUThrottlingCard: () => mt,
704
+ ThrottlingSettingsTab: () => gt
705
+ }), Q = {
706
+ networkThrottlingProfiles: "Network throttling profiles",
707
+ addCustomProfile: "Add profile",
708
+ dms: "{PH1} `ms`",
709
+ profileName: "Profile Name",
710
+ download: "Download",
711
+ upload: "Upload",
712
+ latency: "Latency",
713
+ packetLoss: "Packet Loss",
714
+ packetQueueLength: "Packet Queue Length",
715
+ packetReordering: "Packet Reordering",
716
+ packet: "packet",
717
+ optional: "optional",
718
+ profileNameCharactersLengthMust: "Profile Name characters length must be between 1 to {PH1} inclusive",
719
+ sMustBeANumberBetweenSkbsToSkbs: "{PH1} must be a number between {PH2} `kbit/s` to {PH3} `kbit/s` inclusive",
720
+ latencyMustBeAnIntegerBetweenSms: "Latency must be an integer between {PH1} `ms` to {PH2} `ms` inclusive",
721
+ packetLossMustBeAnIntegerBetweenSpct: "Packet Loss must be a number between {PH1} `%` to {PH2} `%` inclusive",
722
+ packetQueueLengthMustBeAnIntegerGreaterOrEqualToZero: "Packet Queue Length must be greater or equal to 0",
723
+ dskbits: "{PH1} `kbit/s`",
724
+ fsmbits: "{PH1} `Mbit/s`",
725
+ on: "On",
726
+ off: "Off",
727
+ cpuThrottlingPresets: "CPU throttling presets",
728
+ calibrate: "Calibrate",
729
+ recalibrate: "Recalibrate",
730
+ continue: "Continue",
731
+ cancel: "Cancel",
732
+ needsCalibration: "Needs calibration",
733
+ calibrationCTA: "To use the CPU throttling presets, run the calibration process to determine the ideal throttling rate for your device.",
734
+ cpuCalibrationDescription: "These presets throttle your CPU to approximate the performance of typical low or mid-tier mobile devices.",
735
+ calibrationConfirmationPrompt: "Calibration will take ~5 seconds, and temporarily navigate away from your current page. Do you wish to continue?",
736
+ calibrationWarningHighCPU: "CPU utilization is too high",
737
+ calibrationWarningRunningOnBattery: "Device is running on battery, please plug in charger for best results",
738
+ calibrationWarningLowBattery: "Device battery is low (<20%), results may be impacted by CPU throttling",
739
+ dSlowdown: "{PH1}× slowdown"
740
+ }, ft = l("panels/mobile_throttling/ThrottlingSettingsTab.ts", Q), $ = a.bind(void 0, ft);
741
+ function pt() {
742
+ let e = { state: "" };
743
+ return new Promise((t) => {
744
+ new PressureObserver((n) => {
745
+ e.state = n.at(-1).state, t(e);
746
+ }).observe("cpu", { sampleInterval: 1e3 });
747
+ });
748
+ }
749
+ var mt = class {
750
+ element;
751
+ setting;
752
+ computePressurePromise;
753
+ controller;
754
+ lowTierMobileDeviceEl;
755
+ midTierMobileDeviceEl;
756
+ calibrateEl;
757
+ textEl;
758
+ calibrateButton;
759
+ cancelButton;
760
+ progress;
761
+ state = "cta";
762
+ warnings = [];
763
+ constructor() {
764
+ this.setting = o.instance().createSetting("calibrated-cpu-throttling", {}, c.GLOBAL), this.element = document.createElement("devtools-card"), this.element.heading = $(Q.cpuThrottlingPresets);
765
+ let e = this.element.createChild("span");
766
+ e.textContent = $(Q.cpuCalibrationDescription), this.lowTierMobileDeviceEl = this.element.createChild("div", "cpu-preset-section"), this.lowTierMobileDeviceEl.append("Low-tier mobile device"), this.lowTierMobileDeviceEl.createChild("div", "cpu-preset-result"), this.midTierMobileDeviceEl = this.element.createChild("div", "cpu-preset-section"), this.midTierMobileDeviceEl.append("Mid-tier mobile device"), this.midTierMobileDeviceEl.createChild("div", "cpu-preset-result"), this.calibrateEl = this.element.createChild("div", "cpu-preset-section cpu-preset-calibrate");
767
+ let t = this.calibrateEl.createChild("div", "button-container");
768
+ this.calibrateButton = new w(), this.calibrateButton.classList.add("calibrate-button"), this.calibrateButton.data = {
769
+ variant: u.PRIMARY,
770
+ jslogContext: "throttling.calibrate"
771
+ }, this.calibrateButton.addEventListener("click", () => this.calibrateButtonClicked()), t.append(this.calibrateButton), this.cancelButton = new w(), this.cancelButton.classList.add("cancel-button"), this.cancelButton.data = {
772
+ variant: u.OUTLINED,
773
+ jslogContext: "throttling.calibrate-cancel"
774
+ }, this.cancelButton.textContent = $(Q.cancel), this.cancelButton.addEventListener("click", () => this.cancelButtonClicked()), t.append(this.cancelButton), this.textEl = this.calibrateEl.createChild("div", "text-container"), this.progress = this.calibrateEl.createChild("devtools-progress"), this.progress.setAttribute("no-stop-button", ""), this.updateState();
775
+ }
776
+ wasShown() {
777
+ this.computePressurePromise = pt(), this.state = "cta", this.updateState();
778
+ }
779
+ willHide() {
780
+ this.computePressurePromise = void 0, this.controller && this.controller.abort();
781
+ }
782
+ updateState() {
783
+ this.state !== "calibrating" && (this.controller = void 0);
784
+ let e = this.setting.get(), t = e.low || e.mid;
785
+ if (this.calibrateButton.style.display = "none", this.textEl.style.display = "none", this.cancelButton.style.display = "none", this.progress.style.display = "none", this.state === "cta") this.calibrateButton.style.display = "", this.calibrateButton.textContent = $(t ? Q.recalibrate : Q.calibrate), t || (this.textEl.style.display = "", this.textEl.textContent = "", this.textEl.append(this.createTextWithIcon($(Q.calibrationCTA), "info")));
786
+ else if (this.state === "prompting") {
787
+ this.calibrateButton.style.display = "", this.calibrateButton.textContent = $(Q.continue), this.cancelButton.style.display = "", this.textEl.style.display = "", this.textEl.textContent = "";
788
+ for (let e of this.warnings) this.textEl.append(this.createTextWithIcon(e, "warning"));
789
+ this.textEl.append(this.createTextWithIcon($(Q.calibrationConfirmationPrompt), "info"));
790
+ } else this.state === "calibrating" && (this.cancelButton.style.display = "", this.progress.style.display = "");
791
+ let n = (e) => e === void 0 ? $(Q.needsCalibration) : typeof e == "string" ? te(e) : typeof e == "number" ? $(Q.dSlowdown, { PH1: e.toFixed(1) }) : `Invalid: ${e}`, r = (e, t) => {
792
+ if (!e) throw Error("expected HTMLElement");
793
+ e.textContent = n(t), e.classList.toggle("not-calibrated", t === void 0);
794
+ };
795
+ r(this.lowTierMobileDeviceEl.querySelector(".cpu-preset-result"), e.low), r(this.midTierMobileDeviceEl.querySelector(".cpu-preset-result"), e.mid);
796
+ }
797
+ createTextWithIcon(e, t) {
798
+ let n = document.createElement("div");
799
+ return n.classList.add("text-with-icon"), n.append(oe(t)), n.append(e), n;
800
+ }
801
+ async getCalibrationWarnings() {
802
+ let e = [];
803
+ if (this.computePressurePromise) {
804
+ let t = await this.computePressurePromise;
805
+ (t.state === "critical" || t.state === "serious") && e.push($(Q.calibrationWarningHighCPU));
806
+ }
807
+ let t = await navigator.getBattery();
808
+ return t.charging ? t.level < .2 && e.push($(Q.calibrationWarningLowBattery)) : e.push($(Q.calibrationWarningRunningOnBattery)), e;
809
+ }
810
+ async calibrateButtonClicked() {
811
+ this.state === "cta" ? (this.warnings = await this.getCalibrationWarnings(), this.state = "prompting", this.updateState()) : this.state === "prompting" && (this.state = "calibrating", this.updateState(), this.runCalibration());
812
+ }
813
+ cancelButtonClicked() {
814
+ this.controller ? this.controller.abort() : (this.state = "cta", this.updateState());
815
+ }
816
+ async runCalibration() {
817
+ this.progress.worked = 0, this.progress.totalWork = 1, this.controller = new ct();
818
+ try {
819
+ if (!await this.controller.start()) {
820
+ console.error("Calibration failed to start");
821
+ return;
822
+ }
823
+ for await (let e of this.controller.iterator()) this.progress.worked = e.progress;
824
+ } catch (e) {
825
+ console.error(e);
826
+ } finally {
827
+ await this.controller.end();
828
+ }
829
+ let e = this.controller.result();
830
+ e && (e.low || e.mid) && (this.setting.set(e), this.progress.worked = 1, await new Promise((e) => setTimeout(e, 200))), this.state = "cta", this.updateState();
831
+ }
832
+ };
833
+ function ht(e) {
834
+ let t = e.match(/USER_CUSTOM_SETTING_(\d+)/);
835
+ return t?.[1] ? parseInt(t[1], 10) : 0;
836
+ }
837
+ var gt = class extends xe {
838
+ list;
839
+ customUserConditions;
840
+ editor;
841
+ cpuThrottlingCard;
842
+ #e;
843
+ constructor() {
844
+ super({
845
+ jslog: `${Ae("throttling-conditions")}`,
846
+ useShadowDom: !0
847
+ }), this.registerRequiredCSS(ut);
848
+ let e = this.contentElement.createChild("div", "settings-card-container-wrapper").createChild("div");
849
+ e.classList.add("settings-card-container", "throttling-conditions-settings"), this.cpuThrottlingCard = new mt(), e.append(this.cpuThrottlingCard.element);
850
+ let t = new w();
851
+ t.classList.add("add-conditions-button"), t.data = {
852
+ variant: u.OUTLINED,
853
+ iconName: "plus",
854
+ jslogContext: "network.add-conditions"
855
+ }, t.textContent = $(Q.addCustomProfile), t.addEventListener("click", () => this.addButtonClicked());
856
+ let n = e.createChild("devtools-card");
857
+ n.heading = $(Q.networkThrottlingProfiles);
858
+ let r = n.createChild("div");
859
+ this.list = new fe(this), this.list.element.classList.add("conditions-list"), this.list.registerRequiredCSS(ut), this.list.show(r), r.appendChild(t), this.customUserConditions = S(), this.customUserConditions.addChangeListener(this.conditionsUpdated, this);
860
+ let i = this.customUserConditions.get().at(-1)?.key;
861
+ if (i && ce(i)) {
862
+ let e = ht(i);
863
+ this.#e = e;
864
+ } else this.#e = 0;
865
+ }
866
+ wasShown() {
867
+ super.wasShown(), this.cpuThrottlingCard.wasShown(), this.conditionsUpdated();
868
+ }
869
+ willHide() {
870
+ super.willHide(), this.cpuThrottlingCard.willHide();
871
+ }
872
+ conditionsUpdated() {
873
+ this.list.clear();
874
+ let e = this.customUserConditions.get();
875
+ for (let t = 0; t < e.length; ++t) this.list.appendItem(e[t], !0);
876
+ this.list.appendSeparator();
877
+ }
878
+ addButtonClicked() {
879
+ this.#e++, this.list.addNewItem(this.customUserConditions.get().length, {
880
+ key: `USER_CUSTOM_SETTING_${this.#e}`,
881
+ title: () => "",
882
+ download: -1,
883
+ upload: -1,
884
+ latency: 0,
885
+ packetLoss: 0,
886
+ packetReordering: !1
887
+ });
888
+ }
889
+ renderItem(e, t) {
890
+ let n = document.createElement("div");
891
+ n.classList.add("conditions-list-item");
892
+ let r = n.createChild("div", "conditions-list-text conditions-list-title").createChild("div", "conditions-list-title-text"), i = this.retrieveOptionsTitle(e);
893
+ return r.textContent = i, pe.install(r, i), n.createChild("div", "conditions-list-separator"), n.createChild("div", "conditions-list-text").textContent = _t(e.download), n.createChild("div", "conditions-list-separator"), n.createChild("div", "conditions-list-text").textContent = _t(e.upload), n.createChild("div", "conditions-list-separator"), n.createChild("div", "conditions-list-text").textContent = $(Q.dms, { PH1: e.latency }), n.createChild("div", "conditions-list-separator"), n.createChild("div", "conditions-list-text").textContent = vt(e.packetLoss ?? 0), n.createChild("div", "conditions-list-separator"), n.createChild("div", "conditions-list-text").textContent = String(e.packetQueueLength ?? 0), n.createChild("div", "conditions-list-separator"), n.createChild("div", "conditions-list-text").textContent = e.packetReordering ? $(Q.on) : $(Q.off), n;
894
+ }
895
+ removeItemRequested(e, t) {
896
+ let n = this.customUserConditions.get();
897
+ n.splice(t, 1), this.customUserConditions.set(n);
898
+ }
899
+ retrieveOptionsTitle(e) {
900
+ return typeof e.title == "function" ? e.title() : e.title;
901
+ }
902
+ commitEdit(e, t, n) {
903
+ e.title = t.control("title").value.trim();
904
+ let r = t.control("download").value.trim();
905
+ e.download = r ? 1e3 / 8 * parseInt(r, 10) : -1;
906
+ let i = t.control("upload").value.trim();
907
+ e.upload = i ? 1e3 / 8 * parseInt(i, 10) : -1;
908
+ let a = t.control("latency").value.trim();
909
+ e.latency = a ? parseInt(a, 10) : 0;
910
+ let o = t.control("packetLoss").value.trim();
911
+ e.packetLoss = o ? parseFloat(o) : 0;
912
+ let s = t.control("packetQueueLength").value.trim();
913
+ e.packetQueueLength = s ? parseFloat(s) : 0, e.packetReordering = t.control("packetReordering").checked;
914
+ let c = this.customUserConditions.get();
915
+ n && c.push(e), this.customUserConditions.set(c);
916
+ }
917
+ beginEdit(e) {
918
+ let t = this.createEditor();
919
+ return t.control("title").value = this.retrieveOptionsTitle(e), t.control("download").value = e.download <= 0 ? "" : String(e.download / (1e3 / 8)), t.control("upload").value = e.upload <= 0 ? "" : String(e.upload / (1e3 / 8)), t.control("latency").value = e.latency ? String(e.latency) : "", t.control("packetLoss").value = e.packetLoss ? String(e.packetLoss) : "", t.control("packetQueueLength").value = e.packetQueueLength ? String(e.packetQueueLength) : "", t.control("packetReordering").checked = e.packetReordering ?? !1, t;
920
+ }
921
+ createEditor() {
922
+ if (this.editor) return this.editor;
923
+ let e = [
924
+ {
925
+ name: "title",
926
+ labelText: $(Q.profileName),
927
+ inputType: "text",
928
+ placeholder: "",
929
+ validator: a,
930
+ isOptional: !1
931
+ },
932
+ {
933
+ name: "download",
934
+ labelText: $(Q.download),
935
+ inputType: "text",
936
+ placeholder: r("kbit/s"),
937
+ validator: o
938
+ },
939
+ {
940
+ name: "upload",
941
+ labelText: $(Q.upload),
942
+ inputType: "text",
943
+ placeholder: r("kbit/s"),
944
+ validator: o
945
+ },
946
+ {
947
+ name: "latency",
948
+ labelText: $(Q.latency),
949
+ inputType: "text",
950
+ placeholder: r("ms"),
951
+ validator: s
952
+ },
953
+ {
954
+ name: "packetLoss",
955
+ labelText: $(Q.packetLoss),
956
+ inputType: "text",
957
+ placeholder: r("percent"),
958
+ validator: c
959
+ },
960
+ {
961
+ name: "packetQueueLength",
962
+ labelText: $(Q.packetQueueLength),
963
+ inputType: "text",
964
+ placeholder: $(Q.packet),
965
+ validator: l
966
+ },
967
+ {
968
+ name: "packetReordering",
969
+ labelText: $(Q.packetReordering),
970
+ inputType: "checkbox",
971
+ placeholder: "",
972
+ validator: u,
973
+ isOptional: !1
974
+ }
975
+ ], t = new Ne();
976
+ this.editor = t;
977
+ let n = t.contentElement().createChild("div", "settings-container"), i = (e, r, i, a, o, s = !0) => {
978
+ let c = n.createChild("div", "setting"), l = c.createChild("div");
979
+ l.textContent = r;
980
+ let u = c.createChild("div"), d = t.createInput(e, i, a, o);
981
+ d.classList.add("input"), p(d, r), u.appendChild(d);
982
+ let f = u.createChild("div"), m = $(Q.optional);
983
+ f.textContent = m, de(d, m), s || (f.style.visibility = "hidden");
984
+ };
985
+ return e.forEach((e) => {
986
+ i(e.name, e.labelText, e.inputType, e.placeholder, e.validator, e.isOptional);
987
+ }), t;
988
+ function a(e, t, n) {
989
+ let r = n.value.trim(), i = r.length > 0 && r.length <= 49;
990
+ return i ? { valid: i } : {
991
+ valid: i,
992
+ errorMessage: $(Q.profileNameCharactersLengthMust, { PH1: 49 })
993
+ };
994
+ }
995
+ function o(e, t, n) {
996
+ let r = 1e7, i = n.value.trim(), a = Number(i), o = n.getAttribute("aria-label"), s = !Number.isNaN(a) && a >= 0 && a <= r;
997
+ return s ? { valid: s } : {
998
+ valid: s,
999
+ errorMessage: $(Q.sMustBeANumberBetweenSkbsToSkbs, {
1000
+ PH1: String(o),
1001
+ PH2: 0,
1002
+ PH3: r
1003
+ })
1004
+ };
1005
+ }
1006
+ function s(e, t, n) {
1007
+ let r = 1e6, i = n.value.trim(), a = Number(i), o = Number.isInteger(a) && a >= 0 && a <= r;
1008
+ return o ? { valid: o } : {
1009
+ valid: o,
1010
+ errorMessage: $(Q.latencyMustBeAnIntegerBetweenSms, {
1011
+ PH1: 0,
1012
+ PH2: r
1013
+ })
1014
+ };
1015
+ }
1016
+ function c(e, t, n) {
1017
+ let r = n.value.trim(), i = Number(r), a = i >= 0 && i <= 100;
1018
+ return a ? { valid: a } : {
1019
+ valid: a,
1020
+ errorMessage: $(Q.packetLossMustBeAnIntegerBetweenSpct, {
1021
+ PH1: 0,
1022
+ PH2: 100
1023
+ })
1024
+ };
1025
+ }
1026
+ function l(e, t, n) {
1027
+ let r = n.value.trim(), i = Number(r) >= 0;
1028
+ return i ? { valid: i } : {
1029
+ valid: i,
1030
+ errorMessage: $(Q.packetQueueLengthMustBeAnIntegerGreaterOrEqualToZero)
1031
+ };
1032
+ }
1033
+ function u(e, t, n) {
1034
+ return { valid: !0 };
1035
+ }
1036
+ }
1037
+ };
1038
+ function _t(e) {
1039
+ if (e < 0) return "";
1040
+ let t = e / (1e3 / 8);
1041
+ if (t < 1e3) return $(Q.dskbits, { PH1: t });
1042
+ if (t < 1e3 * 10) {
1043
+ let e = (t / 1e3).toFixed(1);
1044
+ return $(Q.fsmbits, { PH1: e });
1045
+ }
1046
+ return $(Q.fsmbits, { PH1: t / 1e3 | 0 });
1047
+ }
1048
+ function vt(e) {
1049
+ return e < 0 ? "" : String(e) + "%";
1050
+ }
1051
+ //#endregion
1052
+ export { Je as a, Ve as c, ze as d, Xe as i, B as l, Y as n, Ke as o, Ze as r, z as s, dt as t, P as u };