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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (930) hide show
  1. package/README.i18n.yaml +49 -0
  2. package/README.md +179 -2
  3. package/README.zh.md +180 -0
  4. package/cordis.patch.yml +5 -0
  5. package/icon.svg +12 -0
  6. package/lib/client.js +3572 -0
  7. package/lib/client.page.js +314 -0
  8. package/lib/devtools/Images/3d-center.svg +3 -0
  9. package/lib/devtools/Images/3d-pan.svg +3 -0
  10. package/lib/devtools/Images/3d-rotate.svg +3 -0
  11. package/lib/devtools/Images/accelerometer-back.svg +69 -0
  12. package/lib/devtools/Images/accelerometer-bottom.png +0 -0
  13. package/lib/devtools/Images/accelerometer-front.svg +28 -0
  14. package/lib/devtools/Images/accelerometer-left.png +0 -0
  15. package/lib/devtools/Images/accelerometer-right.png +0 -0
  16. package/lib/devtools/Images/accelerometer-top.png +0 -0
  17. package/lib/devtools/Images/account-tree.svg +10 -0
  18. package/lib/devtools/Images/add-photo.svg +3 -0
  19. package/lib/devtools/Images/ai-explorer-badge.svg +114 -0
  20. package/lib/devtools/Images/align-content-center.svg +5 -0
  21. package/lib/devtools/Images/align-content-end.svg +5 -0
  22. package/lib/devtools/Images/align-content-space-around.svg +6 -0
  23. package/lib/devtools/Images/align-content-space-between.svg +4 -0
  24. package/lib/devtools/Images/align-content-space-evenly.svg +6 -0
  25. package/lib/devtools/Images/align-content-start.svg +5 -0
  26. package/lib/devtools/Images/align-content-stretch.svg +4 -0
  27. package/lib/devtools/Images/align-items-baseline.svg +4 -0
  28. package/lib/devtools/Images/align-items-center.svg +5 -0
  29. package/lib/devtools/Images/align-items-end.svg +5 -0
  30. package/lib/devtools/Images/align-items-start.svg +5 -0
  31. package/lib/devtools/Images/align-items-stretch.svg +6 -0
  32. package/lib/devtools/Images/align-self-center.svg +3 -0
  33. package/lib/devtools/Images/align-self-end.svg +4 -0
  34. package/lib/devtools/Images/align-self-start.svg +4 -0
  35. package/lib/devtools/Images/align-self-stretch.svg +5 -0
  36. package/lib/devtools/Images/animation.svg +3 -0
  37. package/lib/devtools/Images/arrow-back.svg +4 -0
  38. package/lib/devtools/Images/arrow-collapse.svg +3 -0
  39. package/lib/devtools/Images/arrow-down.svg +10 -0
  40. package/lib/devtools/Images/arrow-drop-down-dark.svg +3 -0
  41. package/lib/devtools/Images/arrow-drop-down-light.svg +3 -0
  42. package/lib/devtools/Images/arrow-drop-down.svg +3 -0
  43. package/lib/devtools/Images/arrow-forward.svg +4 -0
  44. package/lib/devtools/Images/arrow-right-circle.svg +3 -0
  45. package/lib/devtools/Images/arrow-up-down-circle.svg +3 -0
  46. package/lib/devtools/Images/arrow-up-down.svg +3 -0
  47. package/lib/devtools/Images/arrow-up.svg +10 -0
  48. package/lib/devtools/Images/attach-file.svg +3 -0
  49. package/lib/devtools/Images/baseline-high-availability.svg +17 -0
  50. package/lib/devtools/Images/baseline-limited-availability.svg +19 -0
  51. package/lib/devtools/Images/baseline-low-availability.svg +31 -0
  52. package/lib/devtools/Images/bell.svg +3 -0
  53. package/lib/devtools/Images/bezier-curve-filled.svg +3 -0
  54. package/lib/devtools/Images/bin.svg +1 -0
  55. package/lib/devtools/Images/bottom-panel-close.svg +1 -0
  56. package/lib/devtools/Images/bottom-panel-open.svg +1 -0
  57. package/lib/devtools/Images/brackets.svg +1 -0
  58. package/lib/devtools/Images/breakpoint-circle.svg +4 -0
  59. package/lib/devtools/Images/breakpoint-crossed-filled.svg +1 -0
  60. package/lib/devtools/Images/breakpoint-crossed.svg +1 -0
  61. package/lib/devtools/Images/brush-2.svg +3 -0
  62. package/lib/devtools/Images/brush-filled.svg +1 -0
  63. package/lib/devtools/Images/brush.svg +1 -0
  64. package/lib/devtools/Images/bucket.svg +4 -0
  65. package/lib/devtools/Images/bug.svg +3 -0
  66. package/lib/devtools/Images/button-magic.svg +3 -0
  67. package/lib/devtools/Images/calendar-today.svg +3 -0
  68. package/lib/devtools/Images/center-focus-weak.svg +3 -0
  69. package/lib/devtools/Images/check-circle.svg +3 -0
  70. package/lib/devtools/Images/check-double.svg +3 -0
  71. package/lib/devtools/Images/checker.svg +12 -0
  72. package/lib/devtools/Images/checkmark.svg +1 -0
  73. package/lib/devtools/Images/chevron-double-right.svg +3 -0
  74. package/lib/devtools/Images/chevron-down.svg +3 -0
  75. package/lib/devtools/Images/chevron-left-dot.svg +4 -0
  76. package/lib/devtools/Images/chevron-left.svg +3 -0
  77. package/lib/devtools/Images/chevron-right.svg +3 -0
  78. package/lib/devtools/Images/chevron-up.svg +3 -0
  79. package/lib/devtools/Images/chromeLeft.avif +0 -0
  80. package/lib/devtools/Images/chromeMiddle.avif +0 -0
  81. package/lib/devtools/Images/chromeRight.avif +0 -0
  82. package/lib/devtools/Images/class.svg +6 -0
  83. package/lib/devtools/Images/clear-list.svg +3 -0
  84. package/lib/devtools/Images/clear.svg +3 -0
  85. package/lib/devtools/Images/cloud.svg +3 -0
  86. package/lib/devtools/Images/code-circle.svg +5 -0
  87. package/lib/devtools/Images/code-whisperer-badge.svg +166 -0
  88. package/lib/devtools/Images/code.svg +3 -0
  89. package/lib/devtools/Images/colon.svg +4 -0
  90. package/lib/devtools/Images/color-picker-filled.svg +3 -0
  91. package/lib/devtools/Images/color-picker.svg +3 -0
  92. package/lib/devtools/Images/compress.svg +8 -0
  93. package/lib/devtools/Images/console-conditional-breakpoint.svg +1 -0
  94. package/lib/devtools/Images/console-logpoint.svg +1 -0
  95. package/lib/devtools/Images/container.svg +4 -0
  96. package/lib/devtools/Images/cookie.svg +3 -0
  97. package/lib/devtools/Images/cookie_off.svg +3 -0
  98. package/lib/devtools/Images/copy.svg +3 -0
  99. package/lib/devtools/Images/corporate-fare.svg +3 -0
  100. package/lib/devtools/Images/credit-card.svg +3 -0
  101. package/lib/devtools/Images/cross-circle-filled.svg +3 -0
  102. package/lib/devtools/Images/cross-circle.svg +3 -0
  103. package/lib/devtools/Images/cross.svg +3 -0
  104. package/lib/devtools/Images/cssoverview_icons_2x.avif +0 -0
  105. package/lib/devtools/Images/database-off.svg +1 -0
  106. package/lib/devtools/Images/database.svg +3 -0
  107. package/lib/devtools/Images/deployed.svg +3 -0
  108. package/lib/devtools/Images/device-fold.svg +1 -0
  109. package/lib/devtools/Images/devices.svg +3 -0
  110. package/lib/devtools/Images/devtools-thumbnail.svg +57 -0
  111. package/lib/devtools/Images/devtools-tips.svg +61 -0
  112. package/lib/devtools/Images/devtools-user-badge.svg +129 -0
  113. package/lib/devtools/Images/devtools.svg +13 -0
  114. package/lib/devtools/Images/difference.svg +3 -0
  115. package/lib/devtools/Images/dock-bottom.svg +3 -0
  116. package/lib/devtools/Images/dock-left.svg +3 -0
  117. package/lib/devtools/Images/dock-right.svg +3 -0
  118. package/lib/devtools/Images/dock-window.svg +3 -0
  119. package/lib/devtools/Images/document.svg +3 -0
  120. package/lib/devtools/Images/dog-paw.svg +10 -0
  121. package/lib/devtools/Images/dom-detective-badge.svg +136 -0
  122. package/lib/devtools/Images/domain.svg +3 -0
  123. package/lib/devtools/Images/dots-horizontal.svg +1 -0
  124. package/lib/devtools/Images/dots-vertical.svg +3 -0
  125. package/lib/devtools/Images/download.svg +3 -0
  126. package/lib/devtools/Images/edit.svg +1 -0
  127. package/lib/devtools/Images/empty.svg +2 -0
  128. package/lib/devtools/Images/errorWave.svg +74 -0
  129. package/lib/devtools/Images/exclamation.svg +3 -0
  130. package/lib/devtools/Images/expand.svg +1 -0
  131. package/lib/devtools/Images/experiment-check.svg +1 -0
  132. package/lib/devtools/Images/experiment.svg +3 -0
  133. package/lib/devtools/Images/extension.svg +1 -0
  134. package/lib/devtools/Images/eye-crossed.svg +3 -0
  135. package/lib/devtools/Images/eye.svg +3 -0
  136. package/lib/devtools/Images/file-document.svg +3 -0
  137. package/lib/devtools/Images/file-fetch-xhr.svg +3 -0
  138. package/lib/devtools/Images/file-font.svg +4 -0
  139. package/lib/devtools/Images/file-generic.svg +3 -0
  140. package/lib/devtools/Images/file-image.svg +3 -0
  141. package/lib/devtools/Images/file-json.svg +4 -0
  142. package/lib/devtools/Images/file-manifest.svg +3 -0
  143. package/lib/devtools/Images/file-media.svg +3 -0
  144. package/lib/devtools/Images/file-script.svg +3 -0
  145. package/lib/devtools/Images/file-snippet.svg +4 -0
  146. package/lib/devtools/Images/file-stylesheet.svg +4 -0
  147. package/lib/devtools/Images/file-wasm.svg +5 -0
  148. package/lib/devtools/Images/file-websocket.svg +3 -0
  149. package/lib/devtools/Images/filter-clear.svg +3 -0
  150. package/lib/devtools/Images/filter-filled.svg +3 -0
  151. package/lib/devtools/Images/filter.svg +3 -0
  152. package/lib/devtools/Images/flex-direction.svg +5 -0
  153. package/lib/devtools/Images/flex-no-wrap.svg +5 -0
  154. package/lib/devtools/Images/flex-wrap.svg +8 -0
  155. package/lib/devtools/Images/flow.svg +3 -0
  156. package/lib/devtools/Images/flowsheet.svg +1 -0
  157. package/lib/devtools/Images/fold-more.svg +3 -0
  158. package/lib/devtools/Images/folder-asterisk.svg +10 -0
  159. package/lib/devtools/Images/folder-off.svg +3 -0
  160. package/lib/devtools/Images/folder.svg +3 -0
  161. package/lib/devtools/Images/frame-crossed.svg +3 -0
  162. package/lib/devtools/Images/frame-icon.svg +54 -0
  163. package/lib/devtools/Images/frame.svg +3 -0
  164. package/lib/devtools/Images/gdp-logo-dark.png +0 -0
  165. package/lib/devtools/Images/gdp-logo-light.png +0 -0
  166. package/lib/devtools/Images/gear-filled.svg +3 -0
  167. package/lib/devtools/Images/gear.svg +4 -0
  168. package/lib/devtools/Images/gears.svg +3 -0
  169. package/lib/devtools/Images/geminiInDevTools.png +0 -0
  170. package/lib/devtools/Images/geminiInDevTools_2x.png +0 -0
  171. package/lib/devtools/Images/global.svg +5 -0
  172. package/lib/devtools/Images/google.svg +3 -0
  173. package/lib/devtools/Images/goto-filled.svg +1 -0
  174. package/lib/devtools/Images/grid-direction.svg +6 -0
  175. package/lib/devtools/Images/grid-on.svg +10 -0
  176. package/lib/devtools/Images/group.svg +3 -0
  177. package/lib/devtools/Images/heap-snapshot.svg +6 -0
  178. package/lib/devtools/Images/heap-snapshots.svg +7 -0
  179. package/lib/devtools/Images/help.svg +3 -0
  180. package/lib/devtools/Images/history.svg +3 -0
  181. package/lib/devtools/Images/home.svg +3 -0
  182. package/lib/devtools/Images/hover.svg +6 -0
  183. package/lib/devtools/Images/iframe-crossed.svg +3 -0
  184. package/lib/devtools/Images/iframe.svg +3 -0
  185. package/lib/devtools/Images/import.svg +3 -0
  186. package/lib/devtools/Images/indeterminate-question-box.svg +3 -0
  187. package/lib/devtools/Images/info-filled.svg +3 -0
  188. package/lib/devtools/Images/info.svg +3 -0
  189. package/lib/devtools/Images/issue-cross-filled.svg +3 -0
  190. package/lib/devtools/Images/issue-exclamation-filled.svg +3 -0
  191. package/lib/devtools/Images/issue-questionmark-filled.svg +3 -0
  192. package/lib/devtools/Images/issue-text-filled.svg +3 -0
  193. package/lib/devtools/Images/justify-content-center.svg +5 -0
  194. package/lib/devtools/Images/justify-content-end.svg +5 -0
  195. package/lib/devtools/Images/justify-content-space-around.svg +6 -0
  196. package/lib/devtools/Images/justify-content-space-between.svg +4 -0
  197. package/lib/devtools/Images/justify-content-space-evenly.svg +6 -0
  198. package/lib/devtools/Images/justify-content-start.svg +5 -0
  199. package/lib/devtools/Images/justify-content-stretch.svg +4 -0
  200. package/lib/devtools/Images/justify-items-center.svg +4 -0
  201. package/lib/devtools/Images/justify-items-end.svg +4 -0
  202. package/lib/devtools/Images/justify-items-start.svg +4 -0
  203. package/lib/devtools/Images/justify-items-stretch.svg +4 -0
  204. package/lib/devtools/Images/keyboard-arrow-right.svg +1 -0
  205. package/lib/devtools/Images/keyboard-full.svg +10 -0
  206. package/lib/devtools/Images/keyboard-pen.svg +1 -0
  207. package/lib/devtools/Images/keyboard.svg +3 -0
  208. package/lib/devtools/Images/label-auto.svg +3 -0
  209. package/lib/devtools/Images/label.svg +10 -0
  210. package/lib/devtools/Images/large-arrow-right-filled.svg +1 -0
  211. package/lib/devtools/Images/layers-filled.svg +1 -0
  212. package/lib/devtools/Images/layers.svg +1 -0
  213. package/lib/devtools/Images/left-panel-close.svg +1 -0
  214. package/lib/devtools/Images/left-panel-open.svg +1 -0
  215. package/lib/devtools/Images/lightbulb-spark.svg +13 -0
  216. package/lib/devtools/Images/lightbulb.svg +3 -0
  217. package/lib/devtools/Images/lighthouse_logo.svg +158 -0
  218. package/lib/devtools/Images/list.svg +3 -0
  219. package/lib/devtools/Images/location-on.svg +3 -0
  220. package/lib/devtools/Images/lock-person.svg +1 -0
  221. package/lib/devtools/Images/lock.svg +3 -0
  222. package/lib/devtools/Images/mark-email-unread.svg +3 -0
  223. package/lib/devtools/Images/match-case.svg +3 -0
  224. package/lib/devtools/Images/match-whole-word.svg +1 -0
  225. package/lib/devtools/Images/memory.svg +6 -0
  226. package/lib/devtools/Images/minus.svg +3 -0
  227. package/lib/devtools/Images/mop.svg +1 -0
  228. package/lib/devtools/Images/mouse.svg +4 -0
  229. package/lib/devtools/Images/navigationControls.png +0 -0
  230. package/lib/devtools/Images/navigationControls_2x.png +0 -0
  231. package/lib/devtools/Images/network-settings.svg +3 -0
  232. package/lib/devtools/Images/node-stack-icon.svg +1 -0
  233. package/lib/devtools/Images/nodeIcon.avif +0 -0
  234. package/lib/devtools/Images/open-externally.svg +3 -0
  235. package/lib/devtools/Images/override.svg +11 -0
  236. package/lib/devtools/Images/palette.svg +10 -0
  237. package/lib/devtools/Images/pause-circle.svg +1 -0
  238. package/lib/devtools/Images/pause.svg +1 -0
  239. package/lib/devtools/Images/pen-spark.svg +3 -0
  240. package/lib/devtools/Images/performance-panel-delete-annotation.svg +32 -0
  241. package/lib/devtools/Images/performance-panel-diagram.svg +34 -0
  242. package/lib/devtools/Images/performance-panel-entry-label.svg +75 -0
  243. package/lib/devtools/Images/performance-panel-time-range.svg +15 -0
  244. package/lib/devtools/Images/performance.svg +3 -0
  245. package/lib/devtools/Images/person.svg +3 -0
  246. package/lib/devtools/Images/photo-camera.svg +10 -0
  247. package/lib/devtools/Images/play.svg +3 -0
  248. package/lib/devtools/Images/plus.svg +3 -0
  249. package/lib/devtools/Images/policy.svg +3 -0
  250. package/lib/devtools/Images/popoverArrows.png +0 -0
  251. package/lib/devtools/Images/popup.svg +3 -0
  252. package/lib/devtools/Images/preview_feature_video_thumbnail.svg +92 -0
  253. package/lib/devtools/Images/profile.svg +3 -0
  254. package/lib/devtools/Images/psychiatry.svg +3 -0
  255. package/lib/devtools/Images/puzzle.svg +3 -0
  256. package/lib/devtools/Images/record-start.svg +4 -0
  257. package/lib/devtools/Images/record-stop.svg +4 -0
  258. package/lib/devtools/Images/redo.svg +3 -0
  259. package/lib/devtools/Images/refresh.svg +10 -0
  260. package/lib/devtools/Images/regular-expression.svg +3 -0
  261. package/lib/devtools/Images/replace.svg +1 -0
  262. package/lib/devtools/Images/replay.svg +3 -0
  263. package/lib/devtools/Images/report.svg +1 -0
  264. package/lib/devtools/Images/resizeDiagonal.svg +1 -0
  265. package/lib/devtools/Images/resizeHorizontal.svg +1 -0
  266. package/lib/devtools/Images/resizeVertical.svg +1 -0
  267. package/lib/devtools/Images/resume.svg +1 -0
  268. package/lib/devtools/Images/revert.svg +3 -0
  269. package/lib/devtools/Images/review.svg +5 -0
  270. package/lib/devtools/Images/right-panel-close.svg +1 -0
  271. package/lib/devtools/Images/right-panel-open.svg +1 -0
  272. package/lib/devtools/Images/scissors.svg +3 -0
  273. package/lib/devtools/Images/screen-rotation.svg +1 -0
  274. package/lib/devtools/Images/search.svg +3 -0
  275. package/lib/devtools/Images/select-element.svg +3 -0
  276. package/lib/devtools/Images/send.svg +3 -0
  277. package/lib/devtools/Images/shadow.svg +3 -0
  278. package/lib/devtools/Images/shield.svg +3 -0
  279. package/lib/devtools/Images/small-status-dot.svg +3 -0
  280. package/lib/devtools/Images/smart-assistant.svg +3 -0
  281. package/lib/devtools/Images/snippet.svg +4 -0
  282. package/lib/devtools/Images/spark-info.svg +3 -0
  283. package/lib/devtools/Images/spark.svg +3 -0
  284. package/lib/devtools/Images/speculative-loads.svg +1 -0
  285. package/lib/devtools/Images/speedster-badge.svg +166 -0
  286. package/lib/devtools/Images/star.svg +3 -0
  287. package/lib/devtools/Images/step-into.svg +1 -0
  288. package/lib/devtools/Images/step-out.svg +1 -0
  289. package/lib/devtools/Images/step-over.svg +1 -0
  290. package/lib/devtools/Images/step.svg +1 -0
  291. package/lib/devtools/Images/stop.svg +3 -0
  292. package/lib/devtools/Images/symbol.svg +3 -0
  293. package/lib/devtools/Images/sync.svg +3 -0
  294. package/lib/devtools/Images/tab-move.svg +1 -0
  295. package/lib/devtools/Images/table.svg +3 -0
  296. package/lib/devtools/Images/terminal.svg +10 -0
  297. package/lib/devtools/Images/text-analysis.svg +3 -0
  298. package/lib/devtools/Images/thumb-down-filled.svg +3 -0
  299. package/lib/devtools/Images/thumb-down.svg +3 -0
  300. package/lib/devtools/Images/thumb-up-filled.svg +3 -0
  301. package/lib/devtools/Images/thumb-up.svg +3 -0
  302. package/lib/devtools/Images/tonality.svg +10 -0
  303. package/lib/devtools/Images/toolbarResizerVertical.png +0 -0
  304. package/lib/devtools/Images/top-panel-close.svg +1 -0
  305. package/lib/devtools/Images/top-panel-open.svg +1 -0
  306. package/lib/devtools/Images/touch-app.svg +4 -0
  307. package/lib/devtools/Images/touchCursor.png +0 -0
  308. package/lib/devtools/Images/touchCursor_2x.png +0 -0
  309. package/lib/devtools/Images/triangle-bottom-right.svg +3 -0
  310. package/lib/devtools/Images/triangle-down.svg +1 -0
  311. package/lib/devtools/Images/triangle-left.svg +1 -0
  312. package/lib/devtools/Images/triangle-right.svg +1 -0
  313. package/lib/devtools/Images/triangle-up.svg +3 -0
  314. package/lib/devtools/Images/trophy.svg +3 -0
  315. package/lib/devtools/Images/tune.svg +3 -0
  316. package/lib/devtools/Images/undo.svg +1 -0
  317. package/lib/devtools/Images/warning-filled.svg +3 -0
  318. package/lib/devtools/Images/warning.svg +3 -0
  319. package/lib/devtools/Images/watch.svg +3 -0
  320. package/lib/devtools/Images/whatsnew.svg +61 -0
  321. package/lib/devtools/Images/width.svg +3 -0
  322. package/lib/devtools/Images/zoom-in.svg +3 -0
  323. package/lib/devtools/LICENSE +27 -0
  324. package/lib/devtools/application_tokens.css +413 -0
  325. package/lib/devtools/chunks/FormatterActions-FcPgI0uV.js +19 -0
  326. package/lib/devtools/chunks/UIFilter-CIzBruM3.js +18 -0
  327. package/lib/devtools/chunks/UIRequestLocation-CtGcVN3I.js +48 -0
  328. package/lib/devtools/chunks/_qilin-devtools_empty-BvRk9kiK.js +0 -0
  329. package/lib/devtools/chunks/accessibility-CwvHp3sj.js +2718 -0
  330. package/lib/devtools/chunks/acorn-_jSanihy.js +3232 -0
  331. package/lib/devtools/chunks/adorners-D4aU6nuY.js +45 -0
  332. package/lib/devtools/chunks/ai_assistance-BU6E0Wio.js +4255 -0
  333. package/lib/devtools/chunks/angular-Dutmu-L9.js +117 -0
  334. package/lib/devtools/chunks/animation-TEwO5UI_.js +922 -0
  335. package/lib/devtools/chunks/application-SCf6MiCN.js +12740 -0
  336. package/lib/devtools/chunks/autofill-Dp3nMnuK.js +198 -0
  337. package/lib/devtools/chunks/autofill_manager-BXntqfdp.js +58 -0
  338. package/lib/devtools/chunks/bindings-DgoVEdsr.js +4105 -0
  339. package/lib/devtools/chunks/browser-DL1S1Kiu.js +62 -0
  340. package/lib/devtools/chunks/browser_debugger-p7Rr4IBR.js +629 -0
  341. package/lib/devtools/chunks/changes-DeW5MC9u.js +2 -0
  342. package/lib/devtools/chunks/changes-k42bihtm.js +393 -0
  343. package/lib/devtools/chunks/checkbox.css-CZJJ6atQ.js +4 -0
  344. package/lib/devtools/chunks/chunk-DF993M8W.js +11 -0
  345. package/lib/devtools/chunks/code_highlighter-BnTPt9_G.js +210 -0
  346. package/lib/devtools/chunks/codemirror-CBR9VJma.js +15842 -0
  347. package/lib/devtools/chunks/color_picker-Cuh_X19Y.js +1566 -0
  348. package/lib/devtools/chunks/common-DjRFwulW.js +15145 -0
  349. package/lib/devtools/chunks/common-Uu9A2glf.js +2 -0
  350. package/lib/devtools/chunks/common-qd_KLeYO.js +6639 -0
  351. package/lib/devtools/chunks/components-CnPGgDUW.js +704 -0
  352. package/lib/devtools/chunks/components-Cw5tHQqN.js +1338 -0
  353. package/lib/devtools/chunks/components-EJwviLtZ.js +1090 -0
  354. package/lib/devtools/chunks/console-D1WlMaFQ.js +3855 -0
  355. package/lib/devtools/chunks/console-yMm3XVTY.js +2 -0
  356. package/lib/devtools/chunks/console_counters-9SfIdrUo.js +103 -0
  357. package/lib/devtools/chunks/coverage-BbFH390Q.js +1176 -0
  358. package/lib/devtools/chunks/coverage-CLBpovLw.js +2 -0
  359. package/lib/devtools/chunks/cpp-CdElSCaB.js +435 -0
  360. package/lib/devtools/chunks/css_overview-cITV9auE.js +1288 -0
  361. package/lib/devtools/chunks/data_grid-pC5qqfsJ.js +1671 -0
  362. package/lib/devtools/chunks/developer_resources-4DqQIvy6.js +240 -0
  363. package/lib/devtools/chunks/diff-qn55JSCS.js +444 -0
  364. package/lib/devtools/chunks/dom_extension-BfrKZ4JG.js +172 -0
  365. package/lib/devtools/chunks/elements-CgEYz3mX.js +2 -0
  366. package/lib/devtools/chunks/elements-Dbx4q9-v.js +11407 -0
  367. package/lib/devtools/chunks/emulation-C6XKPPGu.js +1306 -0
  368. package/lib/devtools/chunks/emulation-D8xbdsAj.js +2 -0
  369. package/lib/devtools/chunks/emulation-EtJlEukP.js +2732 -0
  370. package/lib/devtools/chunks/emulation-cjFPXHT9.js +157 -0
  371. package/lib/devtools/chunks/event_listeners-BeTH3gi2.js +414 -0
  372. package/lib/devtools/chunks/explain-P_aDGFSD.js +747 -0
  373. package/lib/devtools/chunks/greendev-BU0QcVPX.js +152 -0
  374. package/lib/devtools/chunks/heap_snapshot-CZt2KUPL.js +427 -0
  375. package/lib/devtools/chunks/helper-CI72KvIC.js +33 -0
  376. package/lib/devtools/chunks/helpers--xrfGSwQ.js +29 -0
  377. package/lib/devtools/chunks/i18n-DvFMqQdJ.js +17 -0
  378. package/lib/devtools/chunks/icon_button-BebVdJD8.js +83 -0
  379. package/lib/devtools/chunks/inline_editor-D54X5UUr.js +1309 -0
  380. package/lib/devtools/chunks/inspector_main-DRbdXLmF.js +279 -0
  381. package/lib/devtools/chunks/issue_counter-CeOjTNGW.js +193 -0
  382. package/lib/devtools/chunks/issues-CegBKEda.js +1649 -0
  383. package/lib/devtools/chunks/issues_manager-D7nfNPN1.js +3009 -0
  384. package/lib/devtools/chunks/java-7g_qfFa2.js +263 -0
  385. package/lib/devtools/chunks/layer_viewer-CaFC5oyv.js +1423 -0
  386. package/lib/devtools/chunks/layers-CXqlD9zH.js +370 -0
  387. package/lib/devtools/chunks/legacy-Bqn4Q0Tf.js +41804 -0
  388. package/lib/devtools/chunks/legacy-DOCLCisy.js +1434 -0
  389. package/lib/devtools/chunks/less-DXiRNbd4.js +195 -0
  390. package/lib/devtools/chunks/lighthouse-DtpzvfT6.js +3920 -0
  391. package/lib/devtools/chunks/lighthouse-T9ZpmENr.js +2 -0
  392. package/lib/devtools/chunks/linear_memory_inspector-C50PtM45.js +305 -0
  393. package/lib/devtools/chunks/live-metrics-Bs7wxibB.js +284 -0
  394. package/lib/devtools/chunks/main-C5y6NscM.js +2 -0
  395. package/lib/devtools/chunks/main-DcgYyEI0.js +755 -0
  396. package/lib/devtools/chunks/markdown-tZoR6Bsu.js +1512 -0
  397. package/lib/devtools/chunks/markdown_view-C67b2DdG.js +461 -0
  398. package/lib/devtools/chunks/marked-zGgfoDxO.js +1362 -0
  399. package/lib/devtools/chunks/media-BhuqASbO.js +1337 -0
  400. package/lib/devtools/chunks/media-Wfo1AbXC.js +2 -0
  401. package/lib/devtools/chunks/menus-BAUukA5-.js +969 -0
  402. package/lib/devtools/chunks/mobile_throttling-C26zde8o.js +2 -0
  403. package/lib/devtools/chunks/mobile_throttling-Cw4AkJH4.js +1052 -0
  404. package/lib/devtools/chunks/network-C3gIloDN.js +2 -0
  405. package/lib/devtools/chunks/network-CaxdpGU2.js +9181 -0
  406. package/lib/devtools/chunks/objectValue.css-C9o9fdM2.js +4 -0
  407. package/lib/devtools/chunks/object_ui-BYgPTK_b.js +1461 -0
  408. package/lib/devtools/chunks/object_ui-E7eR7aD-.js +2 -0
  409. package/lib/devtools/chunks/perf_ui-BqzJrt4p.js +2 -0
  410. package/lib/devtools/chunks/perf_ui-CQMkYfn3.js +3143 -0
  411. package/lib/devtools/chunks/performance_monitor-B2kUoCv0.js +385 -0
  412. package/lib/devtools/chunks/php-tl5gKrxu.js +423 -0
  413. package/lib/devtools/chunks/platform-BzB373NB.js +600 -0
  414. package/lib/devtools/chunks/profiler-BGu3akEf.js +4608 -0
  415. package/lib/devtools/chunks/protocol_client-Cwf_jb8R.js +24329 -0
  416. package/lib/devtools/chunks/protocol_monitor-B9nMqAAE.js +2 -0
  417. package/lib/devtools/chunks/protocol_monitor-CvLQ8ms1.js +1224 -0
  418. package/lib/devtools/chunks/puppeteer-CaOjgj3v.js +13299 -0
  419. package/lib/devtools/chunks/python-D9AdRkMm.js +580 -0
  420. package/lib/devtools/chunks/quick_open-C3IZ69m9.js +2 -0
  421. package/lib/devtools/chunks/quick_open-DRITaPnZ.js +722 -0
  422. package/lib/devtools/chunks/recorder-C0f1n95b.js +5465 -0
  423. package/lib/devtools/chunks/recorder-actions-S2RfLX4H.js +6 -0
  424. package/lib/devtools/chunks/request_link_icon-fGy57GcW.js +87 -0
  425. package/lib/devtools/chunks/root-DbVQo07X.js +255 -0
  426. package/lib/devtools/chunks/sass-BPQlMmw2.js +370 -0
  427. package/lib/devtools/chunks/security-NbgKa3ux.js +898 -0
  428. package/lib/devtools/chunks/sensors-nM7qcBE4.js +752 -0
  429. package/lib/devtools/chunks/settings-aKtQC12v.js +1433 -0
  430. package/lib/devtools/chunks/settings_ui-CzxAFzIb.js +175 -0
  431. package/lib/devtools/chunks/snackbars-lPThuWYs.js +12010 -0
  432. package/lib/devtools/chunks/snippets-dIuBmVBv.js +173 -0
  433. package/lib/devtools/chunks/source_frame-CSjno3kf.js +1352 -0
  434. package/lib/devtools/chunks/sources-BIZssBei.js +8216 -0
  435. package/lib/devtools/chunks/sources-Bf8QJxju.js +2 -0
  436. package/lib/devtools/chunks/suggestion_input-Duuu5pyd.js +196 -0
  437. package/lib/devtools/chunks/svelte-DJS1itbE.js +744 -0
  438. package/lib/devtools/chunks/textInput.css-DPvwvIic.js +4 -0
  439. package/lib/devtools/chunks/text_editor-Dq1P6D2J.js +15706 -0
  440. package/lib/devtools/chunks/text_utils-ohNt_gua.js +608 -0
  441. package/lib/devtools/chunks/theme_support-CbSSLkbO.js +92 -0
  442. package/lib/devtools/chunks/third-party-web-DGiPoc0U.js +12626 -0
  443. package/lib/devtools/chunks/timeline-BE_ysZxO.js +2 -0
  444. package/lib/devtools/chunks/timeline-C4vCX79k.js +16347 -0
  445. package/lib/devtools/chunks/utils-CELci976.js +298 -0
  446. package/lib/devtools/chunks/vue-CjH9yovn.js +73 -0
  447. package/lib/devtools/chunks/wast-CbGHiqaW.js +109 -0
  448. package/lib/devtools/chunks/web_audio-IdfBLjwV.js +277 -0
  449. package/lib/devtools/chunks/webauthn-iRZlbjGV.js +522 -0
  450. package/lib/devtools/chunks/whats_new-DOTPf2xJ.js +177 -0
  451. package/lib/devtools/chunks/xml-DI9dcP5w.js +327 -0
  452. package/lib/devtools/connect.js +9 -0
  453. package/lib/devtools/design_system_tokens.css +1061 -0
  454. package/lib/devtools/device_mode_emulation_frame.html +25 -0
  455. package/lib/devtools/devtools_app.html +25 -0
  456. package/lib/devtools/emulated_devices/optimized/MotoG4-landscape.avif +0 -0
  457. package/lib/devtools/emulated_devices/optimized/MotoG4-portrait.avif +0 -0
  458. package/lib/devtools/emulated_devices/optimized/Nexus5X-landscape.avif +0 -0
  459. package/lib/devtools/emulated_devices/optimized/Nexus5X-portrait.avif +0 -0
  460. package/lib/devtools/emulated_devices/optimized/Nexus6P-landscape.avif +0 -0
  461. package/lib/devtools/emulated_devices/optimized/Nexus6P-portrait.avif +0 -0
  462. package/lib/devtools/emulated_devices/optimized/google-nest-hub-horizontal.avif +0 -0
  463. package/lib/devtools/emulated_devices/optimized/google-nest-hub-max-horizontal.avif +0 -0
  464. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-1x.avif +0 -0
  465. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-default-2x.avif +0 -0
  466. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-1x.avif +0 -0
  467. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-keyboard-2x.avif +0 -0
  468. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-1x.avif +0 -0
  469. package/lib/devtools/emulated_devices/optimized/google-nexus-5-horizontal-navigation-2x.avif +0 -0
  470. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-1x.avif +0 -0
  471. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-default-2x.avif +0 -0
  472. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-1x.avif +0 -0
  473. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-keyboard-2x.avif +0 -0
  474. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-1x.avif +0 -0
  475. package/lib/devtools/emulated_devices/optimized/google-nexus-5-vertical-navigation-2x.avif +0 -0
  476. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-1x.avif +0 -0
  477. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-default-2x.avif +0 -0
  478. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-1x.avif +0 -0
  479. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-keyboard-2x.avif +0 -0
  480. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-1x.avif +0 -0
  481. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-horizontal-navigation-2x.avif +0 -0
  482. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-1x.avif +0 -0
  483. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-default-2x.avif +0 -0
  484. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-1x.avif +0 -0
  485. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-keyboard-2x.avif +0 -0
  486. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-1x.avif +0 -0
  487. package/lib/devtools/emulated_devices/optimized/google-nexus-5x-vertical-navigation-2x.avif +0 -0
  488. package/lib/devtools/emulated_devices/optimized/iPad-landscape.avif +0 -0
  489. package/lib/devtools/emulated_devices/optimized/iPad-portrait.avif +0 -0
  490. package/lib/devtools/emulated_devices/optimized/iPhone5-landscape.avif +0 -0
  491. package/lib/devtools/emulated_devices/optimized/iPhone5-portrait.avif +0 -0
  492. package/lib/devtools/emulated_devices/optimized/iPhone6-landscape.avif +0 -0
  493. package/lib/devtools/emulated_devices/optimized/iPhone6-portrait.avif +0 -0
  494. package/lib/devtools/emulated_devices/optimized/iPhone6Plus-landscape.avif +0 -0
  495. package/lib/devtools/emulated_devices/optimized/iPhone6Plus-portrait.avif +0 -0
  496. package/lib/devtools/emulated_devices/optimized/optimized_images.gni +53 -0
  497. package/lib/devtools/entrypoints/device_mode_emulation_frame/device_mode_emulation_frame.js +4 -0
  498. package/lib/devtools/entrypoints/devtools_app/devtools_app.js +6240 -0
  499. package/lib/devtools/entrypoints/formatter_worker/formatter_worker-entrypoint.js +2810 -0
  500. package/lib/devtools/entrypoints/heap_snapshot_worker/heap_snapshot_worker-entrypoint.js +2142 -0
  501. package/lib/devtools/entrypoints/lighthouse_worker/lighthouse_worker.js +290095 -0
  502. package/lib/devtools/entrypoints/wasmparser_worker/wasmparser_worker-entrypoint.js +3403 -0
  503. package/lib/devtools/models/issues_manager/descriptions/CoepCoopSandboxedIframeCannotNavigateToCoopPage.md +4 -0
  504. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOrigin.md +8 -0
  505. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameOriginAfterDefaultedToSameOriginByCoep.md +18 -0
  506. package/lib/devtools/models/issues_manager/descriptions/CoepCorpNotSameSite.md +7 -0
  507. package/lib/devtools/models/issues_manager/descriptions/CoepFrameResourceNeedsCoepHeader.md +10 -0
  508. package/lib/devtools/models/issues_manager/descriptions/CompatibilityModeQuirks.md +5 -0
  509. package/lib/devtools/models/issues_manager/descriptions/CookieAttributeValueExceedsMaxSize.md +5 -0
  510. package/lib/devtools/models/issues_manager/descriptions/LowTextContrast.md +5 -0
  511. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeRead.md +8 -0
  512. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeContextDowngradeSet.md +8 -0
  513. package/lib/devtools/models/issues_manager/descriptions/SameSiteExcludeNavigationContextDowngrade.md +8 -0
  514. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorRead.md +8 -0
  515. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureErrorSet.md +8 -0
  516. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnRead.md +8 -0
  517. package/lib/devtools/models/issues_manager/descriptions/SameSiteNoneInsecureWarnSet.md +8 -0
  518. package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeRead.md +9 -0
  519. package/lib/devtools/models/issues_manager/descriptions/SameSiteUnspecifiedLaxAllowUnsafeSet.md +9 -0
  520. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeRead.md +8 -0
  521. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnCrossDowngradeSet.md +8 -0
  522. package/lib/devtools/models/issues_manager/descriptions/SameSiteWarnStrictLaxDowngradeStrict.md +8 -0
  523. package/lib/devtools/models/issues_manager/descriptions/arInsecureContext.md +7 -0
  524. package/lib/devtools/models/issues_manager/descriptions/arInvalidInfoHeader.md +5 -0
  525. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsSourceHeader.md +5 -0
  526. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterOsTriggerHeader.md +5 -0
  527. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterSourceHeader.md +5 -0
  528. package/lib/devtools/models/issues_manager/descriptions/arInvalidRegisterTriggerHeader.md +5 -0
  529. package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationUniqueScopeAlreadySet.md +5 -0
  530. package/lib/devtools/models/issues_manager/descriptions/arNavigationRegistrationWithoutTransientUserActivation.md +6 -0
  531. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsSourceHeader.md +5 -0
  532. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterOsTriggerHeader.md +5 -0
  533. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterSourceHeader.md +5 -0
  534. package/lib/devtools/models/issues_manager/descriptions/arNoRegisterTriggerHeader.md +5 -0
  535. package/lib/devtools/models/issues_manager/descriptions/arNoWebOrOsSupport.md +4 -0
  536. package/lib/devtools/models/issues_manager/descriptions/arOsSourceIgnored.md +18 -0
  537. package/lib/devtools/models/issues_manager/descriptions/arOsTriggerIgnored.md +19 -0
  538. package/lib/devtools/models/issues_manager/descriptions/arPermissionPolicyDisabled.md +8 -0
  539. package/lib/devtools/models/issues_manager/descriptions/arSourceAndTriggerHeaders.md +9 -0
  540. package/lib/devtools/models/issues_manager/descriptions/arSourceIgnored.md +13 -0
  541. package/lib/devtools/models/issues_manager/descriptions/arTriggerIgnored.md +12 -0
  542. package/lib/devtools/models/issues_manager/descriptions/arUntrustworthyReportingOrigin.md +10 -0
  543. package/lib/devtools/models/issues_manager/descriptions/arWebAndOsHeaders.md +11 -0
  544. package/lib/devtools/models/issues_manager/descriptions/bounceTrackingMitigations.md +3 -0
  545. package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagAllowListInvalidOrigin.md +4 -0
  546. package/lib/devtools/models/issues_manager/descriptions/clientHintMetaTagModifiedHTML.md +4 -0
  547. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidAllowlistItemType.md +12 -0
  548. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidHeader.md +12 -0
  549. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistInvalidUrlPattern.md +8 -0
  550. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistItemNotInnerList.md +12 -0
  551. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistMoreThanOneList.md +7 -0
  552. package/lib/devtools/models/issues_manager/descriptions/connectionAllowlistReportingEndpointNotToken.md +10 -0
  553. package/lib/devtools/models/issues_manager/descriptions/cookieCrossSiteRedirectDowngrade.md +12 -0
  554. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeBlockedWithinRelatedWebsiteSet.md +4 -0
  555. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeDomainNonAscii.md +11 -0
  556. package/lib/devtools/models/issues_manager/descriptions/cookieExcludePortMismatch.md +8 -0
  557. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeSchemeMismatch.md +7 -0
  558. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutRead.md +6 -0
  559. package/lib/devtools/models/issues_manager/descriptions/cookieExcludeThirdPartyPhaseoutSet.md +6 -0
  560. package/lib/devtools/models/issues_manager/descriptions/cookieWarnDomainNonAscii.md +11 -0
  561. package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantRead.md +4 -0
  562. package/lib/devtools/models/issues_manager/descriptions/cookieWarnMetadataGrantSet.md +4 -0
  563. package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutRead.md +6 -0
  564. package/lib/devtools/models/issues_manager/descriptions/cookieWarnThirdPartyPhaseoutSet.md +6 -0
  565. package/lib/devtools/models/issues_manager/descriptions/corsAllowCredentialsRequired.md +6 -0
  566. package/lib/devtools/models/issues_manager/descriptions/corsDisabledScheme.md +7 -0
  567. package/lib/devtools/models/issues_manager/descriptions/corsDisallowedByMode.md +7 -0
  568. package/lib/devtools/models/issues_manager/descriptions/corsHeaderDisallowedByPreflightResponse.md +5 -0
  569. package/lib/devtools/models/issues_manager/descriptions/corsInvalidHeaderValues.md +7 -0
  570. package/lib/devtools/models/issues_manager/descriptions/corsLocalNetworkAccessPermissionDenied.md +19 -0
  571. package/lib/devtools/models/issues_manager/descriptions/corsMethodDisallowedByPreflightResponse.md +5 -0
  572. package/lib/devtools/models/issues_manager/descriptions/corsNoCorsRedirectModeNotFollow.md +5 -0
  573. package/lib/devtools/models/issues_manager/descriptions/corsOriginMismatch.md +6 -0
  574. package/lib/devtools/models/issues_manager/descriptions/corsPreflightResponseInvalid.md +5 -0
  575. package/lib/devtools/models/issues_manager/descriptions/corsRedirectContainsCredentials.md +5 -0
  576. package/lib/devtools/models/issues_manager/descriptions/corsWildcardOriginNotAllowed.md +8 -0
  577. package/lib/devtools/models/issues_manager/descriptions/cspEvalViolation.md +9 -0
  578. package/lib/devtools/models/issues_manager/descriptions/cspInlineViolation.md +10 -0
  579. package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesPolicyViolation.md +5 -0
  580. package/lib/devtools/models/issues_manager/descriptions/cspTrustedTypesSinkViolation.md +8 -0
  581. package/lib/devtools/models/issues_manager/descriptions/cspURLViolation.md +10 -0
  582. package/lib/devtools/models/issues_manager/descriptions/deprecation.md +3 -0
  583. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsFetchFailed.md +1 -0
  584. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestDnsInvalidRecord.md +1 -0
  585. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestInvalidEmail.md +1 -0
  586. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestKeyBindingSigningFailed.md +1 -0
  587. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestRpOriginIsOpaque.md +1 -0
  588. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenHttpNotFound.md +1 -0
  589. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidContentType.md +1 -0
  590. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidResponse.md +1 -0
  591. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenInvalidSdJwt.md +1 -0
  592. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenMalformedSdJwt.md +1 -0
  593. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestTokenNoResponse.md +1 -0
  594. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestUserLoggedOut.md +1 -0
  595. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownAccountsEndpointCrossOrigin.md +1 -0
  596. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownHttpNotFound.md +1 -0
  597. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidContentType.md +1 -0
  598. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownInvalidResponse.md +1 -0
  599. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownIssuanceEndpointCrossOrigin.md +1 -0
  600. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownListEmpty.md +1 -0
  601. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingAccountsEndpoint.md +1 -0
  602. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownMissingIssuanceEndpoint.md +1 -0
  603. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownNoResponse.md +1 -0
  604. package/lib/devtools/models/issues_manager/descriptions/emailVerificationRequestWellKnownUnsupportedSigningAlgorithm.md +1 -0
  605. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsHttpNotFound.md +1 -0
  606. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsInvalidResponse.md +1 -0
  607. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestAccountsNoResponse.md +1 -0
  608. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestApprovalDeclined.md +1 -0
  609. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestCanceled.md +1 -0
  610. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorFetchingSignin.md +1 -0
  611. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestErrorIdToken.md +1 -0
  612. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenHttpNotFound.md +1 -0
  613. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidRequest.md +1 -0
  614. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenInvalidResponse.md +1 -0
  615. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestIdTokenNoResponse.md +1 -0
  616. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestInvalidSigninResponse.md +1 -0
  617. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestHttpNotFound.md +1 -0
  618. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestInvalidResponse.md +1 -0
  619. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestManifestNoResponse.md +1 -0
  620. package/lib/devtools/models/issues_manager/descriptions/federatedAuthRequestTooManyRequests.md +1 -0
  621. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidAccountsResponse.md +1 -0
  622. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestInvalidConfigOrWellKnown.md +1 -0
  623. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoAccountSharingPermission.md +1 -0
  624. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoApiPermission.md +1 -0
  625. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNoReturningUserFromFetchedAccounts.md +1 -0
  626. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotIframe.md +1 -0
  627. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotPotentiallyTrustworthy.md +1 -0
  628. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSameOrigin.md +1 -0
  629. package/lib/devtools/models/issues_manager/descriptions/federatedAuthUserInfoRequestNotSignedInWithIdp.md +1 -0
  630. package/lib/devtools/models/issues_manager/descriptions/fetchingPartitionedBlobURL.md +7 -0
  631. package/lib/devtools/models/issues_manager/descriptions/genericBackUINavigationWouldSkipAd.md +4 -0
  632. package/lib/devtools/models/issues_manager/descriptions/genericFormAriaLabelledByToNonExistingIdError.md +8 -0
  633. package/lib/devtools/models/issues_manager/descriptions/genericFormAutocompleteAttributeEmptyError.md +5 -0
  634. package/lib/devtools/models/issues_manager/descriptions/genericFormDuplicateIdForInputError.md +5 -0
  635. package/lib/devtools/models/issues_manager/descriptions/genericFormEmptyIdAndNameAttributesForInputError.md +5 -0
  636. package/lib/devtools/models/issues_manager/descriptions/genericFormInputAssignedAutocompleteValueToIdOrNameAttributeError.md +5 -0
  637. package/lib/devtools/models/issues_manager/descriptions/genericFormInputHasWrongButWellIntendedAutocompleteValueError.md +5 -0
  638. package/lib/devtools/models/issues_manager/descriptions/genericFormInputWithNoLabelError.md +5 -0
  639. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForMatchesNonExistingIdError.md +5 -0
  640. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelForNameError.md +5 -0
  641. package/lib/devtools/models/issues_manager/descriptions/genericFormLabelHasNeitherForNorNestedInputError.md +5 -0
  642. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolDescription.md +5 -0
  643. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextMissingToolName.md +5 -0
  644. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingName.md +5 -0
  645. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextParameterMissingTitleAndDescription.md +5 -0
  646. package/lib/devtools/models/issues_manager/descriptions/genericFormModelContextRequiredParameterMissingName.md +5 -0
  647. package/lib/devtools/models/issues_manager/descriptions/genericNavigationEntryMarkedSkippable.md +7 -0
  648. package/lib/devtools/models/issues_manager/descriptions/genericResponseWasBlockedByORB.md +4 -0
  649. package/lib/devtools/models/issues_manager/descriptions/heavyAd.md +10 -0
  650. package/lib/devtools/models/issues_manager/descriptions/mixedContent.md +5 -0
  651. package/lib/devtools/models/issues_manager/descriptions/navigatingPartitionedBlobURL.md +5 -0
  652. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabled.md +7 -0
  653. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluder.md +9 -0
  654. package/lib/devtools/models/issues_manager/descriptions/permissionElementActivationDisabledWithOccluderParent.md +9 -0
  655. package/lib/devtools/models/issues_manager/descriptions/permissionElementCspFrameAncestorsMissing.md +5 -0
  656. package/lib/devtools/models/issues_manager/descriptions/permissionElementFencedFrameDisallowed.md +5 -0
  657. package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooLarge.md +5 -0
  658. package/lib/devtools/models/issues_manager/descriptions/permissionElementFontSizeTooSmall.md +5 -0
  659. package/lib/devtools/models/issues_manager/descriptions/permissionElementGeolocationDeprecated.md +5 -0
  660. package/lib/devtools/models/issues_manager/descriptions/permissionElementInsetBoxShadowUnsupported.md +5 -0
  661. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidDisplayStyle.md +5 -0
  662. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidSizeValue.md +5 -0
  663. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidType.md +5 -0
  664. package/lib/devtools/models/issues_manager/descriptions/permissionElementInvalidTypeActivation.md +5 -0
  665. package/lib/devtools/models/issues_manager/descriptions/permissionElementLowContrast.md +5 -0
  666. package/lib/devtools/models/issues_manager/descriptions/permissionElementNonOpaqueColor.md +5 -0
  667. package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingBottomUnsupported.md +6 -0
  668. package/lib/devtools/models/issues_manager/descriptions/permissionElementPaddingRightUnsupported.md +6 -0
  669. package/lib/devtools/models/issues_manager/descriptions/permissionElementPermissionsPolicyBlocked.md +5 -0
  670. package/lib/devtools/models/issues_manager/descriptions/permissionElementRegistrationFailed.md +5 -0
  671. package/lib/devtools/models/issues_manager/descriptions/permissionElementRequestInProgress.md +5 -0
  672. package/lib/devtools/models/issues_manager/descriptions/permissionElementSecurityChecksFailed.md +5 -0
  673. package/lib/devtools/models/issues_manager/descriptions/permissionElementTypeNotSupported.md +5 -0
  674. package/lib/devtools/models/issues_manager/descriptions/permissionElementUntrustedEvent.md +7 -0
  675. package/lib/devtools/models/issues_manager/descriptions/placeholderDescriptionForInvisibleIssues.md +3 -0
  676. package/lib/devtools/models/issues_manager/descriptions/propertyRuleInvalidNameIssue.md +3 -0
  677. package/lib/devtools/models/issues_manager/descriptions/propertyRuleIssue.md +7 -0
  678. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedOptGroupChild.md +7 -0
  679. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityDisallowedSelectChild.md +7 -0
  680. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentAttributesSelectDescendant.md +3 -0
  681. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentLegendChild.md +3 -0
  682. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityInteractiveContentOptionChild.md +3 -0
  683. package/lib/devtools/models/issues_manager/descriptions/selectElementAccessibilityNonPhrasingContentOptionChild.md +3 -0
  684. package/lib/devtools/models/issues_manager/descriptions/selectivePermissionsIntervention.md +7 -0
  685. package/lib/devtools/models/issues_manager/descriptions/sharedArrayBuffer.md +7 -0
  686. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorCrossOriginNoCorsRequest.md +1 -0
  687. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorDictionaryLoadFailure.md +3 -0
  688. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorMatchingDictionaryNotUsed.md +3 -0
  689. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryUseErrorUnexpectedContentDictionaryHeader.md +1 -0
  690. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorCossOriginNoCorsRequest.md +1 -0
  691. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorDisallowedBySettings.md +1 -0
  692. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorExpiredResponse.md +3 -0
  693. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorFeatureDisabled.md +3 -0
  694. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInsufficientResources.md +1 -0
  695. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidMatchField.md +1 -0
  696. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidStructuredHeader.md +1 -0
  697. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorInvalidTTLField.md +1 -0
  698. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNavigationRequest.md +3 -0
  699. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNoMatchField.md +1 -0
  700. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonIntegerTTLField.md +1 -0
  701. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonListMatchDestField.md +1 -0
  702. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonSecureContext.md +3 -0
  703. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringIdField.md +1 -0
  704. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringInMatchDestList.md +1 -0
  705. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonStringMatchField.md +1 -0
  706. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorNonTokenTypeField.md +1 -0
  707. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorRequestAborted.md +1 -0
  708. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorShuttingDown.md +1 -0
  709. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorTooLongIdField.md +3 -0
  710. package/lib/devtools/models/issues_manager/descriptions/sharedDictionaryWriteErrorUnsupportedType.md +3 -0
  711. package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureHeader.md +14 -0
  712. package/lib/devtools/models/issues_manager/descriptions/sriInvalidSignatureInputHeader.md +15 -0
  713. package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureHeader.md +8 -0
  714. package/lib/devtools/models/issues_manager/descriptions/sriMissingSignatureInputHeader.md +7 -0
  715. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsIncorrectLength.md +11 -0
  716. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsNotByteSequence.md +14 -0
  717. package/lib/devtools/models/issues_manager/descriptions/sriSignatureHeaderValueIsParameterized.md +15 -0
  718. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentName.md +8 -0
  719. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidComponentType.md +13 -0
  720. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidDerivedComponentParameter.md +4 -0
  721. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidHeaderComponentParameter.md +5 -0
  722. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderInvalidParameter.md +11 -0
  723. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderKeyIdLength.md +12 -0
  724. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingLabel.md +6 -0
  725. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderMissingRequiredParameters.md +8 -0
  726. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueMissingComponents.md +11 -0
  727. package/lib/devtools/models/issues_manager/descriptions/sriSignatureInputHeaderValueNotInnerList.md +11 -0
  728. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedIntegrityMismatch.md +10 -0
  729. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedInvalidLength.md +5 -0
  730. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureExpired.md +6 -0
  731. package/lib/devtools/models/issues_manager/descriptions/sriValidationFailedSignatureMismatch.md +11 -0
  732. package/lib/devtools/models/issues_manager/descriptions/stylesheetLateImport.md +4 -0
  733. package/lib/devtools/models/issues_manager/descriptions/stylesheetRequestFailed.md +3 -0
  734. package/lib/devtools/models/issues_manager/descriptions/summaryElementAccessibilityInteractiveContentSummaryDescendant.md +3 -0
  735. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestLength.md +12 -0
  736. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestIncorrectDigestType.md +17 -0
  737. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestMalformedDictionary.md +14 -0
  738. package/lib/devtools/models/issues_manager/descriptions/unencodedDigestUnknownAlgorithm.md +15 -0
  739. package/lib/devtools/models/live-metrics/web-vitals-injected/web-vitals-injected.generated.js +1 -0
  740. package/lib/devtools/panels/recorder/injected/injected.generated.js +1 -0
  741. package/lib/devtools/panels/whats_new/resources/WNDT.md +14 -0
  742. package/lib/devtools/resource-manifest.json +3818 -0
  743. package/lib/devtools/third_party/acorn/package/LICENSE +21 -0
  744. package/lib/devtools/third_party/axe-core/LICENSE +362 -0
  745. package/lib/devtools/third_party/chromium/LICENSE +27 -0
  746. package/lib/devtools/third_party/codemirror/package/LICENSE +21 -0
  747. package/lib/devtools/third_party/codemirror.next/LICENSE +21 -0
  748. package/lib/devtools/third_party/csp_evaluator/package/LICENSE +202 -0
  749. package/lib/devtools/third_party/diff/LICENSE +202 -0
  750. package/lib/devtools/third_party/i18n/LICENSE +202 -0
  751. package/lib/devtools/third_party/intl-messageformat/LICENSE +33 -0
  752. package/lib/devtools/third_party/intl-messageformat/package/LICENSE.md +33 -0
  753. package/lib/devtools/third_party/json5/LICENSE +23 -0
  754. package/lib/devtools/third_party/legacy-javascript/LICENSE +202 -0
  755. package/lib/devtools/third_party/lighthouse/LICENSE +202 -0
  756. package/lib/devtools/third_party/lit/LICENSE +28 -0
  757. package/lib/devtools/third_party/marked/LICENSE +39 -0
  758. package/lib/devtools/third_party/marked/package/LICENSE.md +44 -0
  759. package/lib/devtools/third_party/puppeteer/LICENSE +202 -0
  760. package/lib/devtools/third_party/puppeteer/third_party/mitt/LICENSE +21 -0
  761. package/lib/devtools/third_party/puppeteer/third_party/parsel/LICENSE +21 -0
  762. package/lib/devtools/third_party/puppeteer/third_party/rxjs/LICENSE +201 -0
  763. package/lib/devtools/third_party/puppeteer-replay/package/LICENSE +202 -0
  764. package/lib/devtools/third_party/source-map-scopes-codec/LICENSE +26 -0
  765. package/lib/devtools/third_party/source-map-scopes-codec/package/LICENSE +26 -0
  766. package/lib/devtools/third_party/third-party-web/LICENSE +20 -0
  767. package/lib/devtools/third_party/third-party-web/package/LICENSE +20 -0
  768. package/lib/devtools/third_party/vscode.web-custom-data/package/LICENSE.md +21 -0
  769. package/lib/devtools/third_party/wasmparser/package/LICENSE +177 -0
  770. package/lib/devtools/third_party/web-vitals/package/LICENSE +202 -0
  771. package/lib/index.js +2554 -0
  772. package/lib/types/client/bottom/keyboard.d.ts +10 -0
  773. package/lib/types/client/bottom/locales.d.ts +17 -0
  774. package/lib/types/client/bottom/page.d.ts +10 -0
  775. package/lib/types/client/bottom/resize.d.ts +12 -0
  776. package/lib/types/client/bridge/controller.d.ts +10 -0
  777. package/lib/types/client/bridge/dispatcher.d.ts +26 -0
  778. package/lib/types/client/bridge/lifecycle.d.ts +22 -0
  779. package/lib/types/client/bridge/locales.d.ts +3 -0
  780. package/lib/types/client/bridge/publisher.d.ts +42 -0
  781. package/lib/types/client/bridge/rpc.d.ts +13 -0
  782. package/lib/types/client/bridge/transport.d.ts +41 -0
  783. package/lib/types/client/cdp/console.d.ts +45 -0
  784. package/lib/types/client/cdp/debugger.d.ts +8 -0
  785. package/lib/types/client/cdp/errors.d.ts +8 -0
  786. package/lib/types/client/cdp/heap-profiler.d.ts +8 -0
  787. package/lib/types/client/cdp/index.d.ts +10 -0
  788. package/lib/types/client/cdp/objects.d.ts +69 -0
  789. package/lib/types/client/cdp/profiler.d.ts +8 -0
  790. package/lib/types/client/cdp/properties.d.ts +16 -0
  791. package/lib/types/client/cdp/runtime.d.ts +79 -0
  792. package/lib/types/client/cdp/sources.d.ts +53 -0
  793. package/lib/types/client/cdp/stack.d.ts +27 -0
  794. package/lib/types/client/index.d.ts +3 -0
  795. package/lib/types/client/inspection/cordis.d.ts +3 -0
  796. package/lib/types/client/inspection/network.d.ts +4 -0
  797. package/lib/types/client/inspection/realm.d.ts +27 -0
  798. package/lib/types/client/plugin.d.ts +29 -0
  799. package/lib/types/host/bridge/controller.d.ts +108 -0
  800. package/lib/types/host/bridge/dispatcher.d.ts +16 -0
  801. package/lib/types/host/bridge/lifecycle.d.ts +42 -0
  802. package/lib/types/host/bridge/publisher.d.ts +31 -0
  803. package/lib/types/host/bridge/rpc.d.ts +15 -0
  804. package/lib/types/host/bridge/transport.d.ts +28 -0
  805. package/lib/types/host/cdp/console.d.ts +14 -0
  806. package/lib/types/host/cdp/debugger.d.ts +8 -0
  807. package/lib/types/host/cdp/errors.d.ts +6 -0
  808. package/lib/types/host/cdp/heap-profiler.d.ts +8 -0
  809. package/lib/types/host/cdp/index.d.ts +10 -0
  810. package/lib/types/host/cdp/objects.d.ts +8 -0
  811. package/lib/types/host/cdp/profiler.d.ts +8 -0
  812. package/lib/types/host/cdp/properties.d.ts +7 -0
  813. package/lib/types/host/cdp/runtime.d.ts +16 -0
  814. package/lib/types/host/cdp/sources.d.ts +14 -0
  815. package/lib/types/host/cdp/stack.d.ts +4 -0
  816. package/lib/types/host/index.d.ts +3 -0
  817. package/lib/types/host/inspection/cordis.d.ts +3 -0
  818. package/lib/types/host/inspection/network.d.ts +23 -0
  819. package/lib/types/host/inspection/realm.d.ts +9 -0
  820. package/lib/types/host/plugin.d.ts +19 -0
  821. package/lib/types/index.d.ts +50 -0
  822. package/lib/types/shared/bridge/buffer.d.ts +62 -0
  823. package/lib/types/shared/bridge/codec.d.ts +4 -0
  824. package/lib/types/shared/bridge/control-codec.d.ts +27 -0
  825. package/lib/types/shared/bridge/ids.d.ts +19 -0
  826. package/lib/types/shared/bridge/messages/control.d.ts +64 -0
  827. package/lib/types/shared/bridge/messages/cordis.d.ts +4 -0
  828. package/lib/types/shared/bridge/messages/network.d.ts +4 -0
  829. package/lib/types/shared/bridge/messages/observation.d.ts +110 -0
  830. package/lib/types/shared/bridge/messages/query/codec.d.ts +40 -0
  831. package/lib/types/shared/bridge/messages/query/commands.d.ts +35 -0
  832. package/lib/types/shared/bridge/messages/query/frames.d.ts +31 -0
  833. package/lib/types/shared/bridge/messages/query/index.d.ts +5 -0
  834. package/lib/types/shared/bridge/messages/runtime/command-codec.d.ts +9 -0
  835. package/lib/types/shared/bridge/messages/runtime/commands.d.ts +76 -0
  836. package/lib/types/shared/bridge/messages/runtime/console-frames.d.ts +52 -0
  837. package/lib/types/shared/bridge/messages/runtime/frames.d.ts +98 -0
  838. package/lib/types/shared/bridge/messages/runtime/index.d.ts +5 -0
  839. package/lib/types/shared/bridge/messages/runtime/value-codec.d.ts +28 -0
  840. package/lib/types/shared/bridge/messages/sources/codec.d.ts +15 -0
  841. package/lib/types/shared/bridge/messages/sources/commands.d.ts +42 -0
  842. package/lib/types/shared/bridge/messages/sources/frames.d.ts +67 -0
  843. package/lib/types/shared/bridge/messages/sources/index.d.ts +5 -0
  844. package/lib/types/shared/bridge/publisher.d.ts +33 -0
  845. package/lib/types/shared/bridge/query-reader.d.ts +10 -0
  846. package/lib/types/shared/bridge/rpc.d.ts +62 -0
  847. package/lib/types/shared/bridge/validation.d.ts +3 -0
  848. package/lib/types/shared/bridge/version.d.ts +3 -0
  849. package/lib/types/shared/cdp/capabilities.d.ts +17 -0
  850. package/lib/types/shared/cdp/console.d.ts +28 -0
  851. package/lib/types/shared/cdp/debugger.d.ts +69 -0
  852. package/lib/types/shared/cdp/errors.d.ts +27 -0
  853. package/lib/types/shared/cdp/ids.d.ts +9 -0
  854. package/lib/types/shared/cdp/index.d.ts +11 -0
  855. package/lib/types/shared/cdp/operations.d.ts +86 -0
  856. package/lib/types/shared/cdp/property.d.ts +28 -0
  857. package/lib/types/shared/cdp/realm.d.ts +137 -0
  858. package/lib/types/shared/cdp/remote-object.d.ts +44 -0
  859. package/lib/types/shared/cdp/sources.d.ts +18 -0
  860. package/lib/types/shared/cordis/collector.d.ts +26 -0
  861. package/lib/types/shared/cordis/ids.d.ts +7 -0
  862. package/lib/types/shared/cordis/model.d.ts +61 -0
  863. package/lib/types/shared/cordis/object-reference.d.ts +14 -0
  864. package/lib/types/shared/cordis/object-registry.d.ts +80 -0
  865. package/lib/types/shared/cordis/observer.d.ts +15 -0
  866. package/lib/types/shared/cordis/projector.d.ts +34 -0
  867. package/lib/types/shared/cordis/publisher.d.ts +13 -0
  868. package/lib/types/shared/cordis/reader.d.ts +18 -0
  869. package/lib/types/shared/cordis/snapshot.d.ts +39 -0
  870. package/lib/types/shared/dispose.d.ts +11 -0
  871. package/lib/types/shared/identity.d.ts +12 -0
  872. package/lib/types/shared/index.d.ts +18 -0
  873. package/lib/types/shared/json.d.ts +35 -0
  874. package/lib/types/shared/network/event-source.d.ts +20 -0
  875. package/lib/types/shared/network/observation.d.ts +52 -0
  876. package/lib/types/shared/service.d.ts +23 -0
  877. package/lib/types/shared/validation.d.ts +52 -0
  878. package/lib/types/shared/web.d.ts +16 -0
  879. package/lib/types/worker/bridge/endpoint.d.ts +49 -0
  880. package/lib/types/worker/bridge/hub.d.ts +108 -0
  881. package/lib/types/worker/bridge/runtime-rpc.d.ts +90 -0
  882. package/lib/types/worker/bridge/session.d.ts +15 -0
  883. package/lib/types/worker/bridge/source-rpc.d.ts +42 -0
  884. package/lib/types/worker/cdp/domains/debugger/cdp-params.d.ts +15 -0
  885. package/lib/types/worker/cdp/domains/debugger/index.d.ts +6 -0
  886. package/lib/types/worker/cdp/domains/debugger/projector.d.ts +22 -0
  887. package/lib/types/worker/cdp/domains/debugger/script-registry.d.ts +70 -0
  888. package/lib/types/worker/cdp/domains/debugger/session.d.ts +47 -0
  889. package/lib/types/worker/cdp/domains/dom/index.d.ts +4 -0
  890. package/lib/types/worker/cdp/domains/dom/model.d.ts +121 -0
  891. package/lib/types/worker/cdp/domains/dom/session.d.ts +78 -0
  892. package/lib/types/worker/cdp/domains/native.d.ts +25 -0
  893. package/lib/types/worker/cdp/domains/network/session.d.ts +46 -0
  894. package/lib/types/worker/cdp/domains/runtime/cdp-params.d.ts +82 -0
  895. package/lib/types/worker/cdp/domains/runtime/index.d.ts +3 -0
  896. package/lib/types/worker/cdp/domains/runtime/object-table.d.ts +117 -0
  897. package/lib/types/worker/cdp/domains/runtime/session.d.ts +97 -0
  898. package/lib/types/worker/cdp/ids.d.ts +37 -0
  899. package/lib/types/worker/cdp/protocol.d.ts +46 -0
  900. package/lib/types/worker/cdp/realm-sessions.d.ts +67 -0
  901. package/lib/types/worker/cdp/session.d.ts +39 -0
  902. package/lib/types/worker/cdp/target.d.ts +17 -0
  903. package/lib/types/worker/entry.d.ts +3 -0
  904. package/lib/types/worker/inspection/cordis-query.d.ts +11 -0
  905. package/lib/types/worker/inspection/cordis-store.d.ts +94 -0
  906. package/lib/types/worker/inspection/network-store.d.ts +110 -0
  907. package/lib/types/worker/inspection/query-router.d.ts +78 -0
  908. package/lib/types/worker/inspection/realm-store.d.ts +58 -0
  909. package/lib/types/worker/inspection/realm.d.ts +43 -0
  910. package/lib/types/worker/realms/client/bridge.d.ts +18 -0
  911. package/lib/types/worker/realms/client/console.d.ts +21 -0
  912. package/lib/types/worker/realms/client/debugger.d.ts +8 -0
  913. package/lib/types/worker/realms/client/index.d.ts +18 -0
  914. package/lib/types/worker/realms/client/runtime.d.ts +28 -0
  915. package/lib/types/worker/realms/client/scripts.d.ts +15 -0
  916. package/lib/types/worker/realms/client/sources.d.ts +30 -0
  917. package/lib/types/worker/realms/client/values.d.ts +55 -0
  918. package/lib/types/worker/realms/host/bridge.d.ts +49 -0
  919. package/lib/types/worker/realms/host/console.d.ts +25 -0
  920. package/lib/types/worker/realms/host/debugger.d.ts +25 -0
  921. package/lib/types/worker/realms/host/index.d.ts +13 -0
  922. package/lib/types/worker/realms/host/runtime.d.ts +54 -0
  923. package/lib/types/worker/realms/host/scripts.d.ts +9 -0
  924. package/lib/types/worker/realms/host/sources.d.ts +26 -0
  925. package/lib/types/worker/realms/host/values.d.ts +22 -0
  926. package/lib/types/worker/server.d.ts +16 -0
  927. package/lib/worker.js +7289 -0
  928. package/locale/en.json +6 -0
  929. package/locale/zh.json +6 -0
  930. package/package.json +90 -3
@@ -0,0 +1,2732 @@
1
+ import { At as e, at as t, bt as n, d as r, u as i, vt as a, wt as o } from "./common-qd_KLeYO.js";
2
+ import { Js as s, Md as c, Vc as l, Wc as u, Yd as d, Ys as f, cs as p, hd as m, ls as h, mf as g, pf as _, rf as v, vi as y } from "./legacy-Bqn4Q0Tf.js";
3
+ //#region node_modules/.pnpm/chrome-devtools-frontend@1.0.1638082/node_modules/chrome-devtools-frontend/front_end/models/emulation/EmulatedDevices.ts
4
+ var b = {
5
+ laptopWithTouch: "Laptop with touch",
6
+ laptopWithHiDPIScreen: "Laptop with HiDPI screen",
7
+ laptopWithMDPIScreen: "Laptop with MDPI screen"
8
+ }, x = o("models/emulation/EmulatedDevices.ts", b), S = a.bind(void 0, x);
9
+ function C(e) {
10
+ return e.replace(/@url\(([^\)]*?)\)/g, (e, t) => new URL(`../../emulated_devices/${t}`, new URL("models/emulation/EmulatedDevices.js", typeof document < "u" ? document.baseURI : new URL("../../", self.location.href).href).href).toString());
11
+ }
12
+ var w = class e {
13
+ title;
14
+ type;
15
+ order;
16
+ vertical;
17
+ horizontal;
18
+ deviceScaleFactor;
19
+ capabilities;
20
+ userAgent;
21
+ userAgentMetadata;
22
+ modes;
23
+ isDualScreen;
24
+ isFoldableScreen;
25
+ verticalSpanned;
26
+ horizontalSpanned;
27
+ #e;
28
+ #t;
29
+ constructor() {
30
+ this.title = "", this.type = "unknown", this.vertical = {
31
+ width: 0,
32
+ height: 0,
33
+ outlineInsets: null,
34
+ outlineImage: null,
35
+ hinge: null
36
+ }, this.horizontal = {
37
+ width: 0,
38
+ height: 0,
39
+ outlineInsets: null,
40
+ outlineImage: null,
41
+ hinge: null
42
+ }, this.deviceScaleFactor = 1, this.capabilities = ["touch", "mobile"], this.userAgent = "", this.userAgentMetadata = null, this.modes = [], this.isDualScreen = !1, this.isFoldableScreen = !1, this.verticalSpanned = {
43
+ width: 0,
44
+ height: 0,
45
+ outlineInsets: null,
46
+ outlineImage: null,
47
+ hinge: null
48
+ }, this.horizontalSpanned = {
49
+ width: 0,
50
+ height: 0,
51
+ outlineInsets: null,
52
+ outlineImage: null,
53
+ hinge: null
54
+ }, this.#e = "Default", this.#t = !0;
55
+ }
56
+ static fromJSONV1(t) {
57
+ try {
58
+ function n(e, t, n, r) {
59
+ if (typeof e != "object" || !e || !e.hasOwnProperty(t)) {
60
+ if (r !== void 0) return r;
61
+ throw Error("Emulated device is missing required property '" + t + "'");
62
+ }
63
+ let i = e[t];
64
+ if (typeof i !== n || i === null) throw Error("Emulated device property '" + t + "' has wrong type '" + typeof i + "'");
65
+ return i;
66
+ }
67
+ function r(e, t) {
68
+ let r = n(e, t, "number");
69
+ if (r !== Math.abs(r)) throw Error("Emulated device value '" + t + "' must be integer");
70
+ return r;
71
+ }
72
+ function i(e) {
73
+ return new V(r(e, "left"), r(e, "top"), r(e, "right"), r(e, "bottom"));
74
+ }
75
+ function a(e) {
76
+ let t = {};
77
+ if (t.r = r(e, "r"), t.r < 0 || t.r > 255) throw Error("color has wrong r value: " + t.r);
78
+ if (t.g = r(e, "g"), t.g < 0 || t.g > 255) throw Error("color has wrong g value: " + t.g);
79
+ if (t.b = r(e, "b"), t.b < 0 || t.b > 255) throw Error("color has wrong b value: " + t.b);
80
+ if (t.a = n(e, "a", "number"), t.a < 0 || t.a > 1) throw Error("color has wrong a value: " + t.a);
81
+ return t;
82
+ }
83
+ function o(e) {
84
+ let t = {};
85
+ if (t.width = r(e, "width"), t.width < 0 || t.width > 9999) throw Error("Emulated device has wrong hinge width: " + t.width);
86
+ if (t.height = r(e, "height"), t.height < 0 || t.height > 9999) throw Error("Emulated device has wrong hinge height: " + t.height);
87
+ if (t.x = r(e, "x"), t.x < 0 || t.x > 9999) throw Error("Emulated device has wrong x offset: " + t.height);
88
+ if (t.y = r(e, "y"), t.x < 0 || t.x > 9999) throw Error("Emulated device has wrong y offset: " + t.height);
89
+ return e.contentColor && (t.contentColor = a(e.contentColor)), e.outlineColor && (t.outlineColor = a(e.outlineColor)), t;
90
+ }
91
+ function s(e) {
92
+ let t = {};
93
+ if (t.width = r(e, "width"), t.width < 0 || t.width > 9999 || t.width < 50) throw Error("Emulated device has wrong width: " + t.width);
94
+ if (t.height = r(e, "height"), t.height < 0 || t.height > 9999 || t.height < 50) throw Error("Emulated device has wrong height: " + t.height);
95
+ let a = n(e.outline, "insets", "object", null);
96
+ if (a) {
97
+ if (t.outlineInsets = i(a), t.outlineInsets.left < 0 || t.outlineInsets.top < 0) throw Error("Emulated device has wrong outline insets");
98
+ t.outlineImage = n(e.outline, "image", "string");
99
+ }
100
+ return e.hinge && (t.hinge = o(n(e, "hinge", "object", void 0))), t;
101
+ }
102
+ let c = new e();
103
+ c.title = n(t, "title", "string");
104
+ let l = n(t, "type", "string");
105
+ if (!Object.values(k).includes(l)) throw Error("Emulated device has wrong type: " + l);
106
+ c.type = l, c.order = n(t, "order", "number", 0);
107
+ let u = n(t, "user-agent", "string");
108
+ c.userAgent = m.patchUserAgentWithChromeVersion(u);
109
+ let d = n(t, "user-agent-metadata", "object", null);
110
+ c.userAgentMetadata = c.userAgent ? d : null;
111
+ let f = n(t, "capabilities", "object", []);
112
+ if (!Array.isArray(f)) throw Error("Emulated device capabilities must be an array");
113
+ c.capabilities = [];
114
+ for (let e = 0; e < f.length; ++e) {
115
+ if (typeof f[e] != "string") throw Error("Emulated device capability must be a string");
116
+ c.capabilities.push(f[e]);
117
+ }
118
+ if (c.deviceScaleFactor = n(t.screen, "device-pixel-ratio", "number"), c.deviceScaleFactor < 0 || c.deviceScaleFactor > 100) throw Error("Emulated device has wrong deviceScaleFactor: " + c.deviceScaleFactor);
119
+ if (c.vertical = s(n(t.screen, "vertical", "object")), c.horizontal = s(n(t.screen, "horizontal", "object")), c.isDualScreen = n(t, "dual-screen", "boolean", !1), c.isFoldableScreen = n(t, "foldable-screen", "boolean", !1), (c.isDualScreen || c.isFoldableScreen) && (c.verticalSpanned = s(n(t.screen, "vertical-spanned", "object", null)), c.horizontalSpanned = s(n(t.screen, "horizontal-spanned", "object", null))), (c.isDualScreen || c.isFoldableScreen) && (!c.verticalSpanned || !c.horizontalSpanned)) throw Error("Emulated device '" + c.title + "'has dual screen without spanned orientations");
120
+ let p = n(t, "modes", "object", [{
121
+ title: "default",
122
+ orientation: "vertical"
123
+ }, {
124
+ title: "default",
125
+ orientation: "horizontal"
126
+ }]);
127
+ if (!Array.isArray(p)) throw Error("Emulated device modes must be an array");
128
+ c.modes = [];
129
+ for (let e = 0; e < p.length; ++e) {
130
+ let t = {};
131
+ if (t.title = n(p[e], "title", "string"), t.orientation = n(p[e], "orientation", "string"), t.orientation !== "vertical" && t.orientation !== "horizontal" && t.orientation !== "vertical-spanned" && t.orientation !== "horizontal-spanned") throw Error("Emulated device mode has wrong orientation '" + t.orientation + "'");
132
+ let r = c.orientationByName(t.orientation);
133
+ if (t.insets = i(n(p[e], "insets", "object", {
134
+ left: 0,
135
+ top: 0,
136
+ right: 0,
137
+ bottom: 0
138
+ })), t.insets.top < 0 || t.insets.left < 0 || t.insets.right < 0 || t.insets.bottom < 0 || t.insets.top + t.insets.bottom > r.height || t.insets.left + t.insets.right > r.width) throw Error("Emulated device mode '" + t.title + "'has wrong mode insets");
139
+ t.image = n(p[e], "image", "string", null), c.modes.push(t);
140
+ }
141
+ c.#t = n(t, "show-by-default", "boolean", void 0);
142
+ let h = n(t, "show", "string", "Default");
143
+ if (!Object.values(j).includes(h)) throw Error("Emulated device has wrong show mode: " + h);
144
+ return c.#e = h, c;
145
+ } catch {
146
+ return null;
147
+ }
148
+ }
149
+ static deviceComparator(e, t) {
150
+ let n = e.order || 0, r = t.order || 0;
151
+ return n > r ? 1 : r > n || e.title < t.title ? -1 : +(e.title > t.title);
152
+ }
153
+ modesForOrientation(e) {
154
+ let t = [];
155
+ for (let n = 0; n < this.modes.length; n++) this.modes[n].orientation === e && t.push(this.modes[n]);
156
+ return t;
157
+ }
158
+ getSpanPartner(e) {
159
+ switch (e.orientation) {
160
+ case E: return this.modesForOrientation(O)[0];
161
+ case T: return this.modesForOrientation(D)[0];
162
+ case O: return this.modesForOrientation(E)[0];
163
+ default: return this.modesForOrientation(T)[0];
164
+ }
165
+ }
166
+ getRotationPartner(e) {
167
+ switch (e.orientation) {
168
+ case D: return this.modesForOrientation(O)[0];
169
+ case O: return this.modesForOrientation(D)[0];
170
+ case T: return this.modesForOrientation(E)[0];
171
+ default: return this.modesForOrientation(T)[0];
172
+ }
173
+ }
174
+ toJSON() {
175
+ let e = {};
176
+ e.title = this.title, e.type = this.type, e["user-agent"] = this.userAgent, e.capabilities = this.capabilities, e.screen = {
177
+ "device-pixel-ratio": this.deviceScaleFactor,
178
+ vertical: this.orientationToJSON(this.vertical),
179
+ horizontal: this.orientationToJSON(this.horizontal),
180
+ "vertical-spanned": void 0,
181
+ "horizontal-spanned": void 0
182
+ }, (this.isDualScreen || this.isFoldableScreen) && (e.screen["vertical-spanned"] = this.orientationToJSON(this.verticalSpanned), e.screen["horizontal-spanned"] = this.orientationToJSON(this.horizontalSpanned)), e.modes = [];
183
+ for (let t = 0; t < this.modes.length; ++t) {
184
+ let n = {
185
+ title: this.modes[t].title,
186
+ orientation: this.modes[t].orientation,
187
+ insets: {
188
+ left: this.modes[t].insets.left,
189
+ top: this.modes[t].insets.top,
190
+ right: this.modes[t].insets.right,
191
+ bottom: this.modes[t].insets.bottom
192
+ },
193
+ image: this.modes[t].image || void 0
194
+ };
195
+ e.modes.push(n);
196
+ }
197
+ return e["show-by-default"] = this.#t, e["dual-screen"] = this.isDualScreen, e["foldable-screen"] = this.isFoldableScreen, e.show = this.#e, this.userAgent && this.userAgentMetadata && (e["user-agent-metadata"] = this.userAgentMetadata), e;
198
+ }
199
+ orientationToJSON(e) {
200
+ let t = {};
201
+ return t.width = e.width, t.height = e.height, e.outlineInsets && (t.outline = {
202
+ insets: {
203
+ left: e.outlineInsets.left,
204
+ top: e.outlineInsets.top,
205
+ right: e.outlineInsets.right,
206
+ bottom: e.outlineInsets.bottom
207
+ },
208
+ image: e.outlineImage
209
+ }), e.hinge && (t.hinge = {
210
+ width: e.hinge.width,
211
+ height: e.hinge.height,
212
+ x: e.hinge.x,
213
+ y: e.hinge.y
214
+ }, e.hinge.contentColor && (t.hinge.contentColor = {
215
+ r: e.hinge.contentColor.r,
216
+ g: e.hinge.contentColor.g,
217
+ b: e.hinge.contentColor.b,
218
+ a: e.hinge.contentColor.a
219
+ }), e.hinge.outlineColor && (t.hinge.outlineColor = {
220
+ r: e.hinge.outlineColor.r,
221
+ g: e.hinge.outlineColor.g,
222
+ b: e.hinge.outlineColor.b,
223
+ a: e.hinge.outlineColor.a
224
+ })), t;
225
+ }
226
+ modeImage(e) {
227
+ return e.image ? C(e.image) : "";
228
+ }
229
+ outlineImage(e) {
230
+ let t = this.orientationByName(e.orientation);
231
+ return t.outlineImage ? C(t.outlineImage) : "";
232
+ }
233
+ orientationByName(e) {
234
+ switch (e) {
235
+ case O: return this.verticalSpanned;
236
+ case D: return this.horizontalSpanned;
237
+ case E: return this.vertical;
238
+ default: return this.horizontal;
239
+ }
240
+ }
241
+ show() {
242
+ return this.#e === "Default" ? this.#t : this.#e === "Always";
243
+ }
244
+ setShow(e) {
245
+ this.#e = e ? "Always" : "Never";
246
+ }
247
+ copyShowFrom(e) {
248
+ this.#e = e.#e;
249
+ }
250
+ touch() {
251
+ return this.capabilities.indexOf("touch") !== -1;
252
+ }
253
+ mobile() {
254
+ return this.capabilities.indexOf("mobile") !== -1;
255
+ }
256
+ }, T = "horizontal", E = "vertical", D = "horizontal-spanned", O = "vertical-spanned", k = /* @__PURE__ */ function(e) {
257
+ return e.Phone = "phone", e.Tablet = "tablet", e.Notebook = "notebook", e.Desktop = "desktop", e.Unknown = "unknown", e;
258
+ }(k || {}), A = /* @__PURE__ */ function(e) {
259
+ return e.TOUCH = "touch", e.MOBILE = "mobile", e;
260
+ }({}), j = /* @__PURE__ */ function(e) {
261
+ return e.Always = "Always", e.Default = "Default", e.Never = "Never", e;
262
+ }(j || {}), M, N = class n extends e {
263
+ #e;
264
+ #t;
265
+ #n;
266
+ #r;
267
+ constructor() {
268
+ super(), this.#e = r.instance().createSetting("standard-emulated-device-list", []), this.#t = /* @__PURE__ */ new Set(), this.listFromJSONV1(this.#e.get(), this.#t), this.updateStandardDevices(), this.#n = r.instance().createSetting("custom-emulated-device-list", []), this.#r = /* @__PURE__ */ new Set(), this.listFromJSONV1(this.#n.get(), this.#r) || this.saveCustomDevices();
269
+ }
270
+ static instance() {
271
+ return M ||= new n(), M;
272
+ }
273
+ updateStandardDevices() {
274
+ let e = /* @__PURE__ */ new Set();
275
+ for (let t of F) {
276
+ let n = w.fromJSONV1(t);
277
+ n && e.add(n);
278
+ }
279
+ this.copyShowValues(this.#t, e), this.#t = e, this.saveStandardDevices();
280
+ }
281
+ listFromJSONV1(e, t) {
282
+ if (!Array.isArray(e)) return !1;
283
+ let n = !0;
284
+ for (let r = 0; r < e.length; ++r) {
285
+ let i = w.fromJSONV1(e[r]);
286
+ i ? (t.add(i), i.modes.length || (i.modes.push({
287
+ title: "",
288
+ orientation: T,
289
+ insets: new V(0, 0, 0, 0),
290
+ image: null
291
+ }), i.modes.push({
292
+ title: "",
293
+ orientation: E,
294
+ insets: new V(0, 0, 0, 0),
295
+ image: null
296
+ }))) : n = !1;
297
+ }
298
+ return n;
299
+ }
300
+ static rawEmulatedDevicesForTest() {
301
+ return F;
302
+ }
303
+ standard() {
304
+ return [...this.#t];
305
+ }
306
+ custom() {
307
+ return [...this.#r];
308
+ }
309
+ revealCustomSetting() {
310
+ t(this.#n);
311
+ }
312
+ addCustomDevice(e) {
313
+ this.#r.add(e), this.saveCustomDevices();
314
+ }
315
+ removeCustomDevice(e) {
316
+ this.#r.delete(e), this.saveCustomDevices();
317
+ }
318
+ saveCustomDevices() {
319
+ let e = [];
320
+ this.#r.forEach((t) => e.push(t.toJSON())), this.#n.set(e), this.dispatchEventToListeners("CustomDevicesUpdated");
321
+ }
322
+ saveStandardDevices() {
323
+ let e = [];
324
+ this.#t.forEach((t) => e.push(t.toJSON())), this.#e.set(e), this.dispatchEventToListeners("StandardDevicesUpdated");
325
+ }
326
+ copyShowValues(e, t) {
327
+ let n = /* @__PURE__ */ new Map();
328
+ for (let t of e) n.set(t.title, t);
329
+ for (let e of t) {
330
+ let t = n.get(e.title);
331
+ t && e.copyShowFrom(t);
332
+ }
333
+ }
334
+ }, P = /* @__PURE__ */ function(e) {
335
+ return e.CUSTOM_DEVICES_UPDATED = "CustomDevicesUpdated", e.STANDARD_DEVICES_UPDATED = "StandardDevicesUpdated", e;
336
+ }({}), F = [
337
+ {
338
+ order: 10,
339
+ "show-by-default": !0,
340
+ title: "iPhone SE",
341
+ screen: {
342
+ horizontal: {
343
+ width: 667,
344
+ height: 375
345
+ },
346
+ "device-pixel-ratio": 2,
347
+ vertical: {
348
+ width: 375,
349
+ height: 667
350
+ }
351
+ },
352
+ capabilities: ["touch", "mobile"],
353
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
354
+ "user-agent-metadata": {
355
+ platform: "iOS",
356
+ platformVersion: "18.5",
357
+ architecture: "",
358
+ model: "iPhone",
359
+ mobile: !0
360
+ },
361
+ type: "phone"
362
+ },
363
+ {
364
+ order: 12,
365
+ "show-by-default": !0,
366
+ title: "iPhone XR",
367
+ screen: {
368
+ horizontal: {
369
+ width: 896,
370
+ height: 414
371
+ },
372
+ "device-pixel-ratio": 2,
373
+ vertical: {
374
+ width: 414,
375
+ height: 896
376
+ }
377
+ },
378
+ capabilities: ["touch", "mobile"],
379
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
380
+ "user-agent-metadata": {
381
+ platform: "iOS",
382
+ platformVersion: "18.5",
383
+ architecture: "",
384
+ model: "iPhone",
385
+ mobile: !0
386
+ },
387
+ type: "phone"
388
+ },
389
+ {
390
+ order: 14,
391
+ "show-by-default": !0,
392
+ title: "iPhone 12 Pro",
393
+ screen: {
394
+ horizontal: {
395
+ width: 844,
396
+ height: 390
397
+ },
398
+ "device-pixel-ratio": 3,
399
+ vertical: {
400
+ width: 390,
401
+ height: 844
402
+ }
403
+ },
404
+ capabilities: ["touch", "mobile"],
405
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
406
+ "user-agent-metadata": {
407
+ platform: "iOS",
408
+ platformVersion: "18.5",
409
+ architecture: "",
410
+ model: "iPhone",
411
+ mobile: !0
412
+ },
413
+ type: "phone"
414
+ },
415
+ {
416
+ order: 15,
417
+ "show-by-default": !0,
418
+ title: "iPhone 14 Pro Max",
419
+ screen: {
420
+ horizontal: {
421
+ width: 932,
422
+ height: 430
423
+ },
424
+ "device-pixel-ratio": 3,
425
+ vertical: {
426
+ width: 430,
427
+ height: 932
428
+ }
429
+ },
430
+ capabilities: ["touch", "mobile"],
431
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
432
+ "user-agent-metadata": {
433
+ platform: "iOS",
434
+ platformVersion: "18.5",
435
+ architecture: "",
436
+ model: "iPhone",
437
+ mobile: !0
438
+ },
439
+ type: "phone"
440
+ },
441
+ {
442
+ order: 16,
443
+ "show-by-default": !1,
444
+ title: "Pixel 3 XL",
445
+ screen: {
446
+ horizontal: {
447
+ width: 786,
448
+ height: 393
449
+ },
450
+ "device-pixel-ratio": 2.75,
451
+ vertical: {
452
+ width: 393,
453
+ height: 786
454
+ }
455
+ },
456
+ capabilities: ["touch", "mobile"],
457
+ "user-agent": "Mozilla/5.0 (Linux; Android 11; Pixel 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
458
+ "user-agent-metadata": {
459
+ platform: "Android",
460
+ platformVersion: "11",
461
+ architecture: "",
462
+ model: "Pixel 3",
463
+ mobile: !0
464
+ },
465
+ type: "phone"
466
+ },
467
+ {
468
+ order: 18,
469
+ "show-by-default": !0,
470
+ title: "Pixel 7",
471
+ screen: {
472
+ horizontal: {
473
+ width: 915,
474
+ height: 412
475
+ },
476
+ "device-pixel-ratio": 2.625,
477
+ vertical: {
478
+ width: 412,
479
+ height: 915
480
+ }
481
+ },
482
+ capabilities: ["touch", "mobile"],
483
+ "user-agent": "Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
484
+ "user-agent-metadata": {
485
+ platform: "Android",
486
+ platformVersion: "13",
487
+ architecture: "",
488
+ model: "Pixel 7",
489
+ mobile: !0
490
+ },
491
+ type: "phone"
492
+ },
493
+ {
494
+ order: 20,
495
+ "show-by-default": !0,
496
+ title: "Samsung Galaxy S8+",
497
+ screen: {
498
+ horizontal: {
499
+ width: 740,
500
+ height: 360
501
+ },
502
+ "device-pixel-ratio": 4,
503
+ vertical: {
504
+ width: 360,
505
+ height: 740
506
+ }
507
+ },
508
+ capabilities: ["touch", "mobile"],
509
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
510
+ "user-agent-metadata": {
511
+ platform: "Android",
512
+ platformVersion: "8.0.0",
513
+ architecture: "",
514
+ model: "SM-G955U",
515
+ mobile: !0
516
+ },
517
+ type: "phone"
518
+ },
519
+ {
520
+ order: 24,
521
+ "show-by-default": !0,
522
+ title: "Samsung Galaxy S20 Ultra",
523
+ screen: {
524
+ horizontal: {
525
+ width: 915,
526
+ height: 412
527
+ },
528
+ "device-pixel-ratio": 3.5,
529
+ vertical: {
530
+ width: 412,
531
+ height: 915
532
+ }
533
+ },
534
+ capabilities: ["touch", "mobile"],
535
+ "user-agent": "Mozilla/5.0 (Linux; Android 13; SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
536
+ "user-agent-metadata": {
537
+ platform: "Android",
538
+ platformVersion: "13",
539
+ architecture: "",
540
+ model: "SM-G981B",
541
+ mobile: !0
542
+ },
543
+ type: "phone"
544
+ },
545
+ {
546
+ order: 26,
547
+ "show-by-default": !0,
548
+ title: "iPad Mini",
549
+ screen: {
550
+ horizontal: {
551
+ width: 1024,
552
+ height: 768
553
+ },
554
+ "device-pixel-ratio": 2,
555
+ vertical: {
556
+ width: 768,
557
+ height: 1024
558
+ }
559
+ },
560
+ capabilities: ["touch", "mobile"],
561
+ "user-agent": "Mozilla/5.0 (iPad; CPU OS 18_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1",
562
+ "user-agent-metadata": {
563
+ platform: "iOS",
564
+ platformVersion: "18.5",
565
+ architecture: "",
566
+ model: "iPad",
567
+ mobile: !0
568
+ },
569
+ type: "tablet"
570
+ },
571
+ {
572
+ order: 28,
573
+ "show-by-default": !0,
574
+ title: "iPad Air",
575
+ screen: {
576
+ horizontal: {
577
+ width: 1180,
578
+ height: 820
579
+ },
580
+ "device-pixel-ratio": 2,
581
+ vertical: {
582
+ width: 820,
583
+ height: 1180
584
+ }
585
+ },
586
+ capabilities: ["touch", "mobile"],
587
+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15",
588
+ "user-agent-metadata": {
589
+ platform: "iOS",
590
+ platformVersion: "18.5",
591
+ architecture: "",
592
+ model: "iPad",
593
+ mobile: !0
594
+ },
595
+ type: "tablet"
596
+ },
597
+ {
598
+ order: 29,
599
+ "show-by-default": !0,
600
+ title: "iPad Pro",
601
+ screen: {
602
+ horizontal: {
603
+ width: 1366,
604
+ height: 1024
605
+ },
606
+ "device-pixel-ratio": 2,
607
+ vertical: {
608
+ width: 1024,
609
+ height: 1366
610
+ }
611
+ },
612
+ capabilities: ["touch", "mobile"],
613
+ "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Safari/605.1.15",
614
+ "user-agent-metadata": {
615
+ platform: "iOS",
616
+ platformVersion: "18.5",
617
+ architecture: "",
618
+ model: "iPad",
619
+ mobile: !0
620
+ },
621
+ type: "tablet"
622
+ },
623
+ {
624
+ order: 30,
625
+ "show-by-default": !0,
626
+ title: "Surface Pro 7",
627
+ screen: {
628
+ horizontal: {
629
+ width: 1368,
630
+ height: 912
631
+ },
632
+ "device-pixel-ratio": 2,
633
+ vertical: {
634
+ width: 912,
635
+ height: 1368
636
+ }
637
+ },
638
+ capabilities: ["touch", "mobile"],
639
+ "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
640
+ type: "tablet"
641
+ },
642
+ {
643
+ order: 32,
644
+ "show-by-default": !0,
645
+ "dual-screen": !0,
646
+ title: "Surface Duo",
647
+ screen: {
648
+ horizontal: {
649
+ width: 720,
650
+ height: 540
651
+ },
652
+ "device-pixel-ratio": 2.5,
653
+ vertical: {
654
+ width: 540,
655
+ height: 720
656
+ },
657
+ "vertical-spanned": {
658
+ width: 1114,
659
+ height: 720,
660
+ hinge: {
661
+ width: 34,
662
+ height: 720,
663
+ x: 540,
664
+ y: 0,
665
+ contentColor: {
666
+ r: 38,
667
+ g: 38,
668
+ b: 38,
669
+ a: 1
670
+ }
671
+ }
672
+ },
673
+ "horizontal-spanned": {
674
+ width: 720,
675
+ height: 1114,
676
+ hinge: {
677
+ width: 720,
678
+ height: 34,
679
+ x: 0,
680
+ y: 540,
681
+ contentColor: {
682
+ r: 38,
683
+ g: 38,
684
+ b: 38,
685
+ a: 1
686
+ }
687
+ }
688
+ }
689
+ },
690
+ capabilities: ["touch", "mobile"],
691
+ "user-agent": "Mozilla/5.0 (Linux; Android 11.0; Surface Duo) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
692
+ "user-agent-metadata": {
693
+ platform: "Android",
694
+ platformVersion: "11.0",
695
+ architecture: "",
696
+ model: "Surface Duo",
697
+ mobile: !0
698
+ },
699
+ type: "phone",
700
+ modes: [
701
+ {
702
+ title: "default",
703
+ orientation: "vertical",
704
+ insets: {
705
+ left: 0,
706
+ top: 0,
707
+ right: 0,
708
+ bottom: 0
709
+ }
710
+ },
711
+ {
712
+ title: "default",
713
+ orientation: "horizontal",
714
+ insets: {
715
+ left: 0,
716
+ top: 0,
717
+ right: 0,
718
+ bottom: 0
719
+ }
720
+ },
721
+ {
722
+ title: "spanned",
723
+ orientation: "vertical-spanned",
724
+ insets: {
725
+ left: 0,
726
+ top: 0,
727
+ right: 0,
728
+ bottom: 0
729
+ }
730
+ },
731
+ {
732
+ title: "spanned",
733
+ orientation: "horizontal-spanned",
734
+ insets: {
735
+ left: 0,
736
+ top: 0,
737
+ right: 0,
738
+ bottom: 0
739
+ }
740
+ }
741
+ ]
742
+ },
743
+ {
744
+ order: 34,
745
+ "show-by-default": !0,
746
+ "foldable-screen": !0,
747
+ title: "Galaxy Z Fold 5",
748
+ screen: {
749
+ horizontal: {
750
+ width: 882,
751
+ height: 344
752
+ },
753
+ "device-pixel-ratio": 2.625,
754
+ vertical: {
755
+ width: 344,
756
+ height: 882
757
+ },
758
+ "vertical-spanned": {
759
+ width: 690,
760
+ height: 829,
761
+ hinge: {
762
+ width: 0,
763
+ height: 829,
764
+ x: 345,
765
+ y: 0,
766
+ contentColor: {
767
+ r: 38,
768
+ g: 38,
769
+ b: 38,
770
+ a: .2
771
+ },
772
+ outlineColor: {
773
+ r: 38,
774
+ g: 38,
775
+ b: 38,
776
+ a: .7
777
+ }
778
+ }
779
+ },
780
+ "horizontal-spanned": {
781
+ width: 829,
782
+ height: 690,
783
+ hinge: {
784
+ width: 829,
785
+ height: 0,
786
+ x: 0,
787
+ y: 345,
788
+ contentColor: {
789
+ r: 38,
790
+ g: 38,
791
+ b: 38,
792
+ a: .2
793
+ },
794
+ outlineColor: {
795
+ r: 38,
796
+ g: 38,
797
+ b: 38,
798
+ a: .7
799
+ }
800
+ }
801
+ }
802
+ },
803
+ capabilities: ["touch", "mobile"],
804
+ "user-agent": "Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
805
+ "user-agent-metadata": {
806
+ platform: "Android",
807
+ platformVersion: "10.0",
808
+ architecture: "",
809
+ model: "SM-F946U",
810
+ mobile: !0
811
+ },
812
+ type: "phone",
813
+ modes: [
814
+ {
815
+ title: "default",
816
+ orientation: "vertical",
817
+ insets: {
818
+ left: 0,
819
+ top: 0,
820
+ right: 0,
821
+ bottom: 0
822
+ }
823
+ },
824
+ {
825
+ title: "default",
826
+ orientation: "horizontal",
827
+ insets: {
828
+ left: 0,
829
+ top: 0,
830
+ right: 0,
831
+ bottom: 0
832
+ }
833
+ },
834
+ {
835
+ title: "spanned",
836
+ orientation: "vertical-spanned",
837
+ insets: {
838
+ left: 0,
839
+ top: 0,
840
+ right: 0,
841
+ bottom: 0
842
+ }
843
+ },
844
+ {
845
+ title: "spanned",
846
+ orientation: "horizontal-spanned",
847
+ insets: {
848
+ left: 0,
849
+ top: 0,
850
+ right: 0,
851
+ bottom: 0
852
+ }
853
+ }
854
+ ]
855
+ },
856
+ {
857
+ order: 35,
858
+ "show-by-default": !0,
859
+ "foldable-screen": !0,
860
+ title: "Asus Zenbook Fold",
861
+ screen: {
862
+ horizontal: {
863
+ width: 1280,
864
+ height: 853
865
+ },
866
+ "device-pixel-ratio": 1.5,
867
+ vertical: {
868
+ width: 853,
869
+ height: 1280
870
+ },
871
+ "vertical-spanned": {
872
+ width: 1706,
873
+ height: 1280,
874
+ hinge: {
875
+ width: 107,
876
+ height: 1280,
877
+ x: 800,
878
+ y: 0,
879
+ contentColor: {
880
+ r: 38,
881
+ g: 38,
882
+ b: 38,
883
+ a: .2
884
+ },
885
+ outlineColor: {
886
+ r: 38,
887
+ g: 38,
888
+ b: 38,
889
+ a: .7
890
+ }
891
+ }
892
+ },
893
+ "horizontal-spanned": {
894
+ width: 1280,
895
+ height: 1706,
896
+ hinge: {
897
+ width: 1706,
898
+ height: 107,
899
+ x: 0,
900
+ y: 800,
901
+ contentColor: {
902
+ r: 38,
903
+ g: 38,
904
+ b: 38,
905
+ a: .2
906
+ },
907
+ outlineColor: {
908
+ r: 38,
909
+ g: 38,
910
+ b: 38,
911
+ a: .7
912
+ }
913
+ }
914
+ }
915
+ },
916
+ capabilities: ["touch"],
917
+ "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
918
+ "user-agent-metadata": {
919
+ platform: "Windows",
920
+ platformVersion: "11.0",
921
+ architecture: "",
922
+ model: "UX9702AA",
923
+ mobile: !1
924
+ },
925
+ type: "tablet",
926
+ modes: [
927
+ {
928
+ title: "default",
929
+ orientation: "vertical",
930
+ insets: {
931
+ left: 0,
932
+ top: 0,
933
+ right: 0,
934
+ bottom: 0
935
+ }
936
+ },
937
+ {
938
+ title: "default",
939
+ orientation: "horizontal",
940
+ insets: {
941
+ left: 0,
942
+ top: 0,
943
+ right: 0,
944
+ bottom: 0
945
+ }
946
+ },
947
+ {
948
+ title: "spanned",
949
+ orientation: "vertical-spanned",
950
+ insets: {
951
+ left: 0,
952
+ top: 0,
953
+ right: 0,
954
+ bottom: 0
955
+ }
956
+ },
957
+ {
958
+ title: "spanned",
959
+ orientation: "horizontal-spanned",
960
+ insets: {
961
+ left: 0,
962
+ top: 0,
963
+ right: 0,
964
+ bottom: 0
965
+ }
966
+ }
967
+ ]
968
+ },
969
+ {
970
+ order: 36,
971
+ "show-by-default": !0,
972
+ title: "Samsung Galaxy A51/71",
973
+ screen: {
974
+ horizontal: {
975
+ width: 914,
976
+ height: 412
977
+ },
978
+ "device-pixel-ratio": 2.625,
979
+ vertical: {
980
+ width: 412,
981
+ height: 914
982
+ }
983
+ },
984
+ capabilities: ["touch", "mobile"],
985
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G955U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
986
+ "user-agent-metadata": {
987
+ platform: "Android",
988
+ platformVersion: "8.0.0",
989
+ architecture: "",
990
+ model: "SM-G955U",
991
+ mobile: !0
992
+ },
993
+ type: "phone"
994
+ },
995
+ {
996
+ order: 52,
997
+ "show-by-default": !0,
998
+ title: "Nest Hub Max",
999
+ screen: {
1000
+ horizontal: {
1001
+ outline: {
1002
+ image: "@url(optimized/google-nest-hub-max-horizontal.avif)",
1003
+ insets: {
1004
+ left: 92,
1005
+ top: 96,
1006
+ right: 91,
1007
+ bottom: 248
1008
+ }
1009
+ },
1010
+ width: 1280,
1011
+ height: 800
1012
+ },
1013
+ "device-pixel-ratio": 2,
1014
+ vertical: {
1015
+ width: 1280,
1016
+ height: 800
1017
+ }
1018
+ },
1019
+ capabilities: ["touch", "mobile"],
1020
+ "user-agent": "Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36 CrKey/1.54.250320",
1021
+ type: "tablet",
1022
+ modes: [{
1023
+ title: "default",
1024
+ orientation: "horizontal"
1025
+ }]
1026
+ },
1027
+ {
1028
+ order: 50,
1029
+ "show-by-default": !0,
1030
+ title: "Nest Hub",
1031
+ screen: {
1032
+ horizontal: {
1033
+ outline: {
1034
+ image: "@url(optimized/google-nest-hub-horizontal.avif)",
1035
+ insets: {
1036
+ left: 82,
1037
+ top: 74,
1038
+ right: 83,
1039
+ bottom: 222
1040
+ }
1041
+ },
1042
+ width: 1024,
1043
+ height: 600
1044
+ },
1045
+ "device-pixel-ratio": 2,
1046
+ vertical: {
1047
+ width: 1024,
1048
+ height: 600
1049
+ }
1050
+ },
1051
+ capabilities: ["touch", "mobile"],
1052
+ "user-agent": "Mozilla/5.0 (Linux; Android) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36 CrKey/1.54.248666",
1053
+ "user-agent-metadata": {
1054
+ platform: "Android",
1055
+ platformVersion: "",
1056
+ architecture: "",
1057
+ model: "",
1058
+ mobile: !1
1059
+ },
1060
+ type: "tablet",
1061
+ modes: [{
1062
+ title: "default",
1063
+ orientation: "horizontal"
1064
+ }]
1065
+ },
1066
+ {
1067
+ order: 129,
1068
+ "show-by-default": !1,
1069
+ title: "iPhone 4",
1070
+ screen: {
1071
+ horizontal: {
1072
+ width: 480,
1073
+ height: 320
1074
+ },
1075
+ "device-pixel-ratio": 2,
1076
+ vertical: {
1077
+ width: 320,
1078
+ height: 480
1079
+ }
1080
+ },
1081
+ capabilities: ["touch", "mobile"],
1082
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_2 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Version/7.0 Mobile/11D257 Safari/9537.53",
1083
+ "user-agent-metadata": {
1084
+ platform: "iOS",
1085
+ platformVersion: "7.1.2",
1086
+ architecture: "",
1087
+ model: "iPhone",
1088
+ mobile: !0
1089
+ },
1090
+ type: "phone"
1091
+ },
1092
+ {
1093
+ order: 130,
1094
+ "show-by-default": !1,
1095
+ title: "iPhone 5/SE",
1096
+ screen: {
1097
+ horizontal: {
1098
+ outline: {
1099
+ image: "@url(optimized/iPhone5-landscape.avif)",
1100
+ insets: {
1101
+ left: 115,
1102
+ top: 25,
1103
+ right: 115,
1104
+ bottom: 28
1105
+ }
1106
+ },
1107
+ width: 568,
1108
+ height: 320
1109
+ },
1110
+ "device-pixel-ratio": 2,
1111
+ vertical: {
1112
+ outline: {
1113
+ image: "@url(optimized/iPhone5-portrait.avif)",
1114
+ insets: {
1115
+ left: 29,
1116
+ top: 105,
1117
+ right: 25,
1118
+ bottom: 111
1119
+ }
1120
+ },
1121
+ width: 320,
1122
+ height: 568
1123
+ }
1124
+ },
1125
+ capabilities: ["touch", "mobile"],
1126
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 10_3_1 like Mac OS X) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.0 Mobile/14E304 Safari/602.1",
1127
+ "user-agent-metadata": {
1128
+ platform: "iOS",
1129
+ platformVersion: "10.3.1",
1130
+ architecture: "",
1131
+ model: "iPhone",
1132
+ mobile: !0
1133
+ },
1134
+ type: "phone"
1135
+ },
1136
+ {
1137
+ order: 131,
1138
+ "show-by-default": !1,
1139
+ title: "iPhone 6/7/8",
1140
+ screen: {
1141
+ horizontal: {
1142
+ outline: {
1143
+ image: "@url(optimized/iPhone6-landscape.avif)",
1144
+ insets: {
1145
+ left: 106,
1146
+ top: 28,
1147
+ right: 106,
1148
+ bottom: 28
1149
+ }
1150
+ },
1151
+ width: 667,
1152
+ height: 375
1153
+ },
1154
+ "device-pixel-ratio": 2,
1155
+ vertical: {
1156
+ outline: {
1157
+ image: "@url(optimized/iPhone6-portrait.avif)",
1158
+ insets: {
1159
+ left: 28,
1160
+ top: 105,
1161
+ right: 28,
1162
+ bottom: 105
1163
+ }
1164
+ },
1165
+ width: 375,
1166
+ height: 667
1167
+ }
1168
+ },
1169
+ capabilities: ["touch", "mobile"],
1170
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
1171
+ "user-agent-metadata": {
1172
+ platform: "iOS",
1173
+ platformVersion: "13.2.3",
1174
+ architecture: "",
1175
+ model: "iPhone",
1176
+ mobile: !0
1177
+ },
1178
+ type: "phone"
1179
+ },
1180
+ {
1181
+ order: 132,
1182
+ "show-by-default": !1,
1183
+ title: "iPhone 6/7/8 Plus",
1184
+ screen: {
1185
+ horizontal: {
1186
+ outline: {
1187
+ image: "@url(optimized/iPhone6Plus-landscape.avif)",
1188
+ insets: {
1189
+ left: 109,
1190
+ top: 29,
1191
+ right: 109,
1192
+ bottom: 27
1193
+ }
1194
+ },
1195
+ width: 736,
1196
+ height: 414
1197
+ },
1198
+ "device-pixel-ratio": 3,
1199
+ vertical: {
1200
+ outline: {
1201
+ image: "@url(optimized/iPhone6Plus-portrait.avif)",
1202
+ insets: {
1203
+ left: 26,
1204
+ top: 107,
1205
+ right: 30,
1206
+ bottom: 111
1207
+ }
1208
+ },
1209
+ width: 414,
1210
+ height: 736
1211
+ }
1212
+ },
1213
+ capabilities: ["touch", "mobile"],
1214
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
1215
+ "user-agent-metadata": {
1216
+ platform: "iOS",
1217
+ platformVersion: "13.2.3",
1218
+ architecture: "",
1219
+ model: "iPhone",
1220
+ mobile: !0
1221
+ },
1222
+ type: "phone"
1223
+ },
1224
+ {
1225
+ order: 133,
1226
+ "show-by-default": !1,
1227
+ title: "iPhone X",
1228
+ screen: {
1229
+ horizontal: {
1230
+ width: 812,
1231
+ height: 375
1232
+ },
1233
+ "device-pixel-ratio": 3,
1234
+ vertical: {
1235
+ width: 375,
1236
+ height: 812
1237
+ }
1238
+ },
1239
+ capabilities: ["touch", "mobile"],
1240
+ "user-agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
1241
+ "user-agent-metadata": {
1242
+ platform: "iOS",
1243
+ platformVersion: "13.2.3",
1244
+ architecture: "",
1245
+ model: "iPhone",
1246
+ mobile: !0
1247
+ },
1248
+ type: "phone"
1249
+ },
1250
+ {
1251
+ "show-by-default": !1,
1252
+ title: "BlackBerry Z30",
1253
+ screen: {
1254
+ horizontal: {
1255
+ width: 640,
1256
+ height: 360
1257
+ },
1258
+ "device-pixel-ratio": 2,
1259
+ vertical: {
1260
+ width: 360,
1261
+ height: 640
1262
+ }
1263
+ },
1264
+ capabilities: ["touch", "mobile"],
1265
+ "user-agent": "Mozilla/5.0 (BB10; Touch) AppleWebKit/537.10+ (KHTML, like Gecko) Version/10.0.9.2372 Mobile Safari/537.10+",
1266
+ type: "phone"
1267
+ },
1268
+ {
1269
+ "show-by-default": !1,
1270
+ title: "Nexus 4",
1271
+ screen: {
1272
+ horizontal: {
1273
+ width: 640,
1274
+ height: 384
1275
+ },
1276
+ "device-pixel-ratio": 2,
1277
+ vertical: {
1278
+ width: 384,
1279
+ height: 640
1280
+ }
1281
+ },
1282
+ capabilities: ["touch", "mobile"],
1283
+ "user-agent": "Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1284
+ "user-agent-metadata": {
1285
+ platform: "Android",
1286
+ platformVersion: "4.4.2",
1287
+ architecture: "",
1288
+ model: "Nexus 4",
1289
+ mobile: !0
1290
+ },
1291
+ type: "phone"
1292
+ },
1293
+ {
1294
+ title: "Nexus 5",
1295
+ type: "phone",
1296
+ "user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1297
+ "user-agent-metadata": {
1298
+ platform: "Android",
1299
+ platformVersion: "6.0",
1300
+ architecture: "",
1301
+ model: "Nexus 5",
1302
+ mobile: !0
1303
+ },
1304
+ capabilities: ["touch", "mobile"],
1305
+ "show-by-default": !1,
1306
+ screen: {
1307
+ "device-pixel-ratio": 3,
1308
+ vertical: {
1309
+ width: 360,
1310
+ height: 640
1311
+ },
1312
+ horizontal: {
1313
+ width: 640,
1314
+ height: 360
1315
+ }
1316
+ },
1317
+ modes: [
1318
+ {
1319
+ title: "default",
1320
+ orientation: "vertical",
1321
+ insets: {
1322
+ left: 0,
1323
+ top: 25,
1324
+ right: 0,
1325
+ bottom: 48
1326
+ },
1327
+ image: "@url(optimized/google-nexus-5-vertical-default-1x.avif) 1x, @url(optimized/google-nexus-5-vertical-default-2x.avif) 2x"
1328
+ },
1329
+ {
1330
+ title: "navigation bar",
1331
+ orientation: "vertical",
1332
+ insets: {
1333
+ left: 0,
1334
+ top: 80,
1335
+ right: 0,
1336
+ bottom: 48
1337
+ },
1338
+ image: "@url(optimized/google-nexus-5-vertical-navigation-1x.avif) 1x, @url(optimized/google-nexus-5-vertical-navigation-2x.avif) 2x"
1339
+ },
1340
+ {
1341
+ title: "keyboard",
1342
+ orientation: "vertical",
1343
+ insets: {
1344
+ left: 0,
1345
+ top: 80,
1346
+ right: 0,
1347
+ bottom: 312
1348
+ },
1349
+ image: "@url(optimized/google-nexus-5-vertical-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5-vertical-keyboard-2x.avif) 2x"
1350
+ },
1351
+ {
1352
+ title: "default",
1353
+ orientation: "horizontal",
1354
+ insets: {
1355
+ left: 0,
1356
+ top: 25,
1357
+ right: 42,
1358
+ bottom: 0
1359
+ },
1360
+ image: "@url(optimized/google-nexus-5-horizontal-default-1x.avif) 1x, @url(optimized/google-nexus-5-horizontal-default-2x.avif) 2x"
1361
+ },
1362
+ {
1363
+ title: "navigation bar",
1364
+ orientation: "horizontal",
1365
+ insets: {
1366
+ left: 0,
1367
+ top: 80,
1368
+ right: 42,
1369
+ bottom: 0
1370
+ },
1371
+ image: "@url(optimized/google-nexus-5-horizontal-navigation-1x.avif) 1x, @url(optimized/google-nexus-5-horizontal-navigation-2x.avif) 2x"
1372
+ },
1373
+ {
1374
+ title: "keyboard",
1375
+ orientation: "horizontal",
1376
+ insets: {
1377
+ left: 0,
1378
+ top: 80,
1379
+ right: 42,
1380
+ bottom: 202
1381
+ },
1382
+ image: "@url(optimized/google-nexus-5-horizontal-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5-horizontal-keyboard-2x.avif) 2x"
1383
+ }
1384
+ ]
1385
+ },
1386
+ {
1387
+ title: "Nexus 5X",
1388
+ type: "phone",
1389
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 5X Build/OPR4.170623.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1390
+ "user-agent-metadata": {
1391
+ platform: "Android",
1392
+ platformVersion: "8.0.0",
1393
+ architecture: "",
1394
+ model: "Nexus 5X",
1395
+ mobile: !0
1396
+ },
1397
+ capabilities: ["touch", "mobile"],
1398
+ "show-by-default": !1,
1399
+ screen: {
1400
+ "device-pixel-ratio": 2.625,
1401
+ vertical: {
1402
+ outline: {
1403
+ image: "@url(optimized/Nexus5X-portrait.avif)",
1404
+ insets: {
1405
+ left: 18,
1406
+ top: 88,
1407
+ right: 22,
1408
+ bottom: 98
1409
+ }
1410
+ },
1411
+ width: 412,
1412
+ height: 732
1413
+ },
1414
+ horizontal: {
1415
+ outline: {
1416
+ image: "@url(optimized/Nexus5X-landscape.avif)",
1417
+ insets: {
1418
+ left: 88,
1419
+ top: 21,
1420
+ right: 98,
1421
+ bottom: 19
1422
+ }
1423
+ },
1424
+ width: 732,
1425
+ height: 412
1426
+ }
1427
+ },
1428
+ modes: [
1429
+ {
1430
+ title: "default",
1431
+ orientation: "vertical",
1432
+ insets: {
1433
+ left: 0,
1434
+ top: 24,
1435
+ right: 0,
1436
+ bottom: 48
1437
+ },
1438
+ image: "@url(optimized/google-nexus-5x-vertical-default-1x.avif) 1x, @url(optimized/google-nexus-5x-vertical-default-2x.avif) 2x"
1439
+ },
1440
+ {
1441
+ title: "navigation bar",
1442
+ orientation: "vertical",
1443
+ insets: {
1444
+ left: 0,
1445
+ top: 80,
1446
+ right: 0,
1447
+ bottom: 48
1448
+ },
1449
+ image: "@url(optimized/google-nexus-5x-vertical-navigation-1x.avif) 1x, @url(optimized/google-nexus-5x-vertical-navigation-2x.avif) 2x"
1450
+ },
1451
+ {
1452
+ title: "keyboard",
1453
+ orientation: "vertical",
1454
+ insets: {
1455
+ left: 0,
1456
+ top: 80,
1457
+ right: 0,
1458
+ bottom: 342
1459
+ },
1460
+ image: "@url(optimized/google-nexus-5x-vertical-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5x-vertical-keyboard-2x.avif) 2x"
1461
+ },
1462
+ {
1463
+ title: "default",
1464
+ orientation: "horizontal",
1465
+ insets: {
1466
+ left: 0,
1467
+ top: 24,
1468
+ right: 48,
1469
+ bottom: 0
1470
+ },
1471
+ image: "@url(optimized/google-nexus-5x-horizontal-default-1x.avif) 1x, @url(optimized/google-nexus-5x-horizontal-default-2x.avif) 2x"
1472
+ },
1473
+ {
1474
+ title: "navigation bar",
1475
+ orientation: "horizontal",
1476
+ insets: {
1477
+ left: 0,
1478
+ top: 80,
1479
+ right: 48,
1480
+ bottom: 0
1481
+ },
1482
+ image: "@url(optimized/google-nexus-5x-horizontal-navigation-1x.avif) 1x, @url(optimized/google-nexus-5x-horizontal-navigation-2x.avif) 2x"
1483
+ },
1484
+ {
1485
+ title: "keyboard",
1486
+ orientation: "horizontal",
1487
+ insets: {
1488
+ left: 0,
1489
+ top: 80,
1490
+ right: 48,
1491
+ bottom: 222
1492
+ },
1493
+ image: "@url(optimized/google-nexus-5x-horizontal-keyboard-1x.avif) 1x, @url(optimized/google-nexus-5x-horizontal-keyboard-2x.avif) 2x"
1494
+ }
1495
+ ]
1496
+ },
1497
+ {
1498
+ "show-by-default": !1,
1499
+ title: "Nexus 6",
1500
+ screen: {
1501
+ horizontal: {
1502
+ width: 732,
1503
+ height: 412
1504
+ },
1505
+ "device-pixel-ratio": 3.5,
1506
+ vertical: {
1507
+ width: 412,
1508
+ height: 732
1509
+ }
1510
+ },
1511
+ capabilities: ["touch", "mobile"],
1512
+ "user-agent": "Mozilla/5.0 (Linux; Android 7.1.1; Nexus 6 Build/N6F26U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1513
+ "user-agent-metadata": {
1514
+ platform: "Android",
1515
+ platformVersion: "7.1.1",
1516
+ architecture: "",
1517
+ model: "Nexus 6",
1518
+ mobile: !0
1519
+ },
1520
+ type: "phone"
1521
+ },
1522
+ {
1523
+ "show-by-default": !1,
1524
+ title: "Nexus 6P",
1525
+ screen: {
1526
+ horizontal: {
1527
+ outline: {
1528
+ image: "@url(optimized/Nexus6P-landscape.avif)",
1529
+ insets: {
1530
+ left: 94,
1531
+ top: 17,
1532
+ right: 88,
1533
+ bottom: 17
1534
+ }
1535
+ },
1536
+ width: 732,
1537
+ height: 412
1538
+ },
1539
+ "device-pixel-ratio": 3.5,
1540
+ vertical: {
1541
+ outline: {
1542
+ image: "@url(optimized/Nexus6P-portrait.avif)",
1543
+ insets: {
1544
+ left: 16,
1545
+ top: 94,
1546
+ right: 16,
1547
+ bottom: 88
1548
+ }
1549
+ },
1550
+ width: 412,
1551
+ height: 732
1552
+ }
1553
+ },
1554
+ capabilities: ["touch", "mobile"],
1555
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; Nexus 6P Build/OPP3.170518.006) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1556
+ "user-agent-metadata": {
1557
+ platform: "Android",
1558
+ platformVersion: "8.0.0",
1559
+ architecture: "",
1560
+ model: "Nexus 6P",
1561
+ mobile: !0
1562
+ },
1563
+ type: "phone"
1564
+ },
1565
+ {
1566
+ order: 120,
1567
+ "show-by-default": !1,
1568
+ title: "Pixel 2",
1569
+ screen: {
1570
+ horizontal: {
1571
+ width: 731,
1572
+ height: 411
1573
+ },
1574
+ "device-pixel-ratio": 2.625,
1575
+ vertical: {
1576
+ width: 411,
1577
+ height: 731
1578
+ }
1579
+ },
1580
+ capabilities: ["touch", "mobile"],
1581
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1582
+ "user-agent-metadata": {
1583
+ platform: "Android",
1584
+ platformVersion: "8.0",
1585
+ architecture: "",
1586
+ model: "Pixel 2",
1587
+ mobile: !0
1588
+ },
1589
+ type: "phone"
1590
+ },
1591
+ {
1592
+ order: 121,
1593
+ "show-by-default": !1,
1594
+ title: "Pixel 2 XL",
1595
+ screen: {
1596
+ horizontal: {
1597
+ width: 823,
1598
+ height: 411
1599
+ },
1600
+ "device-pixel-ratio": 3.5,
1601
+ vertical: {
1602
+ width: 411,
1603
+ height: 823
1604
+ }
1605
+ },
1606
+ capabilities: ["touch", "mobile"],
1607
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; Pixel 2 XL Build/OPD1.170816.004) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1608
+ "user-agent-metadata": {
1609
+ platform: "Android",
1610
+ platformVersion: "8.0.0",
1611
+ architecture: "",
1612
+ model: "Pixel 2 XL",
1613
+ mobile: !0
1614
+ },
1615
+ type: "phone"
1616
+ },
1617
+ {
1618
+ "show-by-default": !1,
1619
+ title: "Pixel 3",
1620
+ screen: {
1621
+ horizontal: {
1622
+ width: 786,
1623
+ height: 393
1624
+ },
1625
+ "device-pixel-ratio": 2.75,
1626
+ vertical: {
1627
+ width: 393,
1628
+ height: 786
1629
+ }
1630
+ },
1631
+ capabilities: ["touch", "mobile"],
1632
+ "user-agent": "Mozilla/5.0 (Linux; Android 9; Pixel 3 Build/PQ1A.181105.017.A1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1633
+ "user-agent-metadata": {
1634
+ platform: "Android",
1635
+ platformVersion: "9",
1636
+ architecture: "",
1637
+ model: "Pixel 3",
1638
+ mobile: !0
1639
+ },
1640
+ type: "phone"
1641
+ },
1642
+ {
1643
+ "show-by-default": !1,
1644
+ title: "Pixel 4",
1645
+ screen: {
1646
+ horizontal: {
1647
+ width: 745,
1648
+ height: 353
1649
+ },
1650
+ "device-pixel-ratio": 3,
1651
+ vertical: {
1652
+ width: 353,
1653
+ height: 745
1654
+ }
1655
+ },
1656
+ capabilities: ["touch", "mobile"],
1657
+ "user-agent": "Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1658
+ "user-agent-metadata": {
1659
+ platform: "Android",
1660
+ platformVersion: "10",
1661
+ architecture: "",
1662
+ model: "Pixel 4",
1663
+ mobile: !0
1664
+ },
1665
+ type: "phone"
1666
+ },
1667
+ {
1668
+ "show-by-default": !1,
1669
+ title: "LG Optimus L70",
1670
+ screen: {
1671
+ horizontal: {
1672
+ width: 640,
1673
+ height: 384
1674
+ },
1675
+ "device-pixel-ratio": 1.25,
1676
+ vertical: {
1677
+ width: 384,
1678
+ height: 640
1679
+ }
1680
+ },
1681
+ capabilities: ["touch", "mobile"],
1682
+ "user-agent": "Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; LGMS323 Build/KOT49I.MS32310c) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/%s Mobile Safari/537.36",
1683
+ "user-agent-metadata": {
1684
+ platform: "Android",
1685
+ platformVersion: "4.4.2",
1686
+ architecture: "",
1687
+ model: "LGMS323",
1688
+ mobile: !0
1689
+ },
1690
+ type: "phone"
1691
+ },
1692
+ {
1693
+ "show-by-default": !1,
1694
+ title: "Nokia N9",
1695
+ screen: {
1696
+ horizontal: {
1697
+ width: 854,
1698
+ height: 480
1699
+ },
1700
+ "device-pixel-ratio": 1,
1701
+ vertical: {
1702
+ width: 480,
1703
+ height: 854
1704
+ }
1705
+ },
1706
+ capabilities: ["touch", "mobile"],
1707
+ "user-agent": "Mozilla/5.0 (MeeGo; NokiaN9) AppleWebKit/534.13 (KHTML, like Gecko) NokiaBrowser/8.5.0 Mobile Safari/534.13",
1708
+ type: "phone"
1709
+ },
1710
+ {
1711
+ "show-by-default": !1,
1712
+ title: "Nokia Lumia 520",
1713
+ screen: {
1714
+ horizontal: {
1715
+ width: 533,
1716
+ height: 320
1717
+ },
1718
+ "device-pixel-ratio": 1.5,
1719
+ vertical: {
1720
+ width: 320,
1721
+ height: 533
1722
+ }
1723
+ },
1724
+ capabilities: ["touch", "mobile"],
1725
+ "user-agent": "Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)",
1726
+ type: "phone"
1727
+ },
1728
+ {
1729
+ "show-by-default": !1,
1730
+ title: "Microsoft Lumia 550",
1731
+ screen: {
1732
+ horizontal: {
1733
+ width: 640,
1734
+ height: 360
1735
+ },
1736
+ "device-pixel-ratio": 2,
1737
+ vertical: {
1738
+ width: 640,
1739
+ height: 360
1740
+ }
1741
+ },
1742
+ capabilities: ["touch", "mobile"],
1743
+ "user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 550) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36 Edge/14.14263",
1744
+ "user-agent-metadata": {
1745
+ platform: "Android",
1746
+ platformVersion: "4.2.1",
1747
+ architecture: "",
1748
+ model: "Lumia 550",
1749
+ mobile: !0
1750
+ },
1751
+ type: "phone"
1752
+ },
1753
+ {
1754
+ "show-by-default": !1,
1755
+ title: "Microsoft Lumia 950",
1756
+ screen: {
1757
+ horizontal: {
1758
+ width: 640,
1759
+ height: 360
1760
+ },
1761
+ "device-pixel-ratio": 4,
1762
+ vertical: {
1763
+ width: 360,
1764
+ height: 640
1765
+ }
1766
+ },
1767
+ capabilities: ["touch", "mobile"],
1768
+ "user-agent": "Mozilla/5.0 (Windows Phone 10.0; Android 4.2.1; Microsoft; Lumia 950) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36 Edge/14.14263",
1769
+ "user-agent-metadata": {
1770
+ platform: "Android",
1771
+ platformVersion: "4.2.1",
1772
+ architecture: "",
1773
+ model: "Lumia 950",
1774
+ mobile: !0
1775
+ },
1776
+ type: "phone"
1777
+ },
1778
+ {
1779
+ "show-by-default": !1,
1780
+ title: "Galaxy S III",
1781
+ screen: {
1782
+ horizontal: {
1783
+ width: 640,
1784
+ height: 360
1785
+ },
1786
+ "device-pixel-ratio": 2,
1787
+ vertical: {
1788
+ width: 360,
1789
+ height: 640
1790
+ }
1791
+ },
1792
+ capabilities: ["touch", "mobile"],
1793
+ "user-agent": "Mozilla/5.0 (Linux; U; Android 4.0; en-us; GT-I9300 Build/IMM76D) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
1794
+ "user-agent-metadata": {
1795
+ platform: "Android",
1796
+ platformVersion: "4.0",
1797
+ architecture: "",
1798
+ model: "GT-I9300",
1799
+ mobile: !0
1800
+ },
1801
+ type: "phone"
1802
+ },
1803
+ {
1804
+ order: 110,
1805
+ "show-by-default": !1,
1806
+ title: "Galaxy S5",
1807
+ screen: {
1808
+ horizontal: {
1809
+ width: 640,
1810
+ height: 360
1811
+ },
1812
+ "device-pixel-ratio": 3,
1813
+ vertical: {
1814
+ width: 360,
1815
+ height: 640
1816
+ }
1817
+ },
1818
+ capabilities: ["touch", "mobile"],
1819
+ "user-agent": "Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1820
+ "user-agent-metadata": {
1821
+ platform: "Android",
1822
+ platformVersion: "5.0",
1823
+ architecture: "",
1824
+ model: "SM-G900P",
1825
+ mobile: !0
1826
+ },
1827
+ type: "phone"
1828
+ },
1829
+ {
1830
+ "show-by-default": !1,
1831
+ title: "Galaxy S8",
1832
+ screen: {
1833
+ horizontal: {
1834
+ width: 740,
1835
+ height: 360
1836
+ },
1837
+ "device-pixel-ratio": 3,
1838
+ vertical: {
1839
+ width: 360,
1840
+ height: 740
1841
+ }
1842
+ },
1843
+ capabilities: ["touch", "mobile"],
1844
+ "user-agent": "Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1845
+ "user-agent-metadata": {
1846
+ platform: "Android",
1847
+ platformVersion: "7.0",
1848
+ architecture: "",
1849
+ model: "SM-G950U",
1850
+ mobile: !0
1851
+ },
1852
+ type: "phone"
1853
+ },
1854
+ {
1855
+ "show-by-default": !1,
1856
+ title: "Galaxy S9+",
1857
+ screen: {
1858
+ horizontal: {
1859
+ width: 658,
1860
+ height: 320
1861
+ },
1862
+ "device-pixel-ratio": 4.5,
1863
+ vertical: {
1864
+ width: 320,
1865
+ height: 658
1866
+ }
1867
+ },
1868
+ capabilities: ["touch", "mobile"],
1869
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.0.0; SM-G965U Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
1870
+ "user-agent-metadata": {
1871
+ platform: "Android",
1872
+ platformVersion: "8.0.0",
1873
+ architecture: "",
1874
+ model: "SM-G965U",
1875
+ mobile: !0
1876
+ },
1877
+ type: "phone"
1878
+ },
1879
+ {
1880
+ "show-by-default": !1,
1881
+ title: "Galaxy Tab S4",
1882
+ screen: {
1883
+ horizontal: {
1884
+ width: 1138,
1885
+ height: 712
1886
+ },
1887
+ "device-pixel-ratio": 2.25,
1888
+ vertical: {
1889
+ width: 712,
1890
+ height: 1138
1891
+ }
1892
+ },
1893
+ capabilities: ["touch", "mobile"],
1894
+ "user-agent": "Mozilla/5.0 (Linux; Android 8.1.0; SM-T837A) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
1895
+ "user-agent-metadata": {
1896
+ platform: "Android",
1897
+ platformVersion: "8.1.0",
1898
+ architecture: "",
1899
+ model: "SM-T837A",
1900
+ mobile: !1
1901
+ },
1902
+ type: "phone"
1903
+ },
1904
+ {
1905
+ order: 1,
1906
+ "show-by-default": !1,
1907
+ title: "JioPhone 2",
1908
+ screen: {
1909
+ horizontal: {
1910
+ width: 320,
1911
+ height: 240
1912
+ },
1913
+ "device-pixel-ratio": 1,
1914
+ vertical: {
1915
+ width: 240,
1916
+ height: 320
1917
+ }
1918
+ },
1919
+ capabilities: ["touch", "mobile"],
1920
+ "user-agent": "Mozilla/5.0 (Mobile; LYF/F300B/LYF-F300B-001-01-15-130718-i;Android; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5",
1921
+ "user-agent-metadata": {
1922
+ platform: "Android",
1923
+ platformVersion: "",
1924
+ architecture: "",
1925
+ model: "LYF/F300B/LYF-F300B-001-01-15-130718-i",
1926
+ mobile: !0
1927
+ },
1928
+ type: "phone"
1929
+ },
1930
+ {
1931
+ "show-by-default": !1,
1932
+ title: "Kindle Fire HDX",
1933
+ screen: {
1934
+ horizontal: {
1935
+ width: 1280,
1936
+ height: 800
1937
+ },
1938
+ "device-pixel-ratio": 2,
1939
+ vertical: {
1940
+ width: 800,
1941
+ height: 1280
1942
+ }
1943
+ },
1944
+ capabilities: ["touch", "mobile"],
1945
+ "user-agent": "Mozilla/5.0 (Linux; U; en-us; KFAPWI Build/JDQ39) AppleWebKit/535.19 (KHTML, like Gecko) Silk/3.13 Safari/535.19 Silk-Accelerated=true",
1946
+ type: "tablet"
1947
+ },
1948
+ {
1949
+ order: 140,
1950
+ "show-by-default": !1,
1951
+ title: "iPad",
1952
+ screen: {
1953
+ horizontal: {
1954
+ outline: {
1955
+ image: "@url(optimized/iPad-landscape.avif)",
1956
+ insets: {
1957
+ left: 112,
1958
+ top: 56,
1959
+ right: 116,
1960
+ bottom: 52
1961
+ }
1962
+ },
1963
+ width: 1024,
1964
+ height: 768
1965
+ },
1966
+ "device-pixel-ratio": 2,
1967
+ vertical: {
1968
+ outline: {
1969
+ image: "@url(optimized/iPad-portrait.avif)",
1970
+ insets: {
1971
+ left: 52,
1972
+ top: 114,
1973
+ right: 55,
1974
+ bottom: 114
1975
+ }
1976
+ },
1977
+ width: 768,
1978
+ height: 1024
1979
+ }
1980
+ },
1981
+ capabilities: ["touch", "mobile"],
1982
+ "user-agent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
1983
+ "user-agent-metadata": {
1984
+ platform: "iOS",
1985
+ platformVersion: "11.0",
1986
+ architecture: "",
1987
+ model: "iPad",
1988
+ mobile: !0
1989
+ },
1990
+ type: "tablet"
1991
+ },
1992
+ {
1993
+ order: 141,
1994
+ "show-by-default": !1,
1995
+ title: "iPad Pro",
1996
+ screen: {
1997
+ horizontal: {
1998
+ width: 1366,
1999
+ height: 1024
2000
+ },
2001
+ "device-pixel-ratio": 2,
2002
+ vertical: {
2003
+ width: 1024,
2004
+ height: 1366
2005
+ }
2006
+ },
2007
+ capabilities: ["touch", "mobile"],
2008
+ "user-agent": "Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) Version/11.0 Mobile/15A5341f Safari/604.1",
2009
+ "user-agent-metadata": {
2010
+ platform: "iOS",
2011
+ platformVersion: "11.0",
2012
+ architecture: "",
2013
+ model: "iPad",
2014
+ mobile: !0
2015
+ },
2016
+ type: "tablet"
2017
+ },
2018
+ {
2019
+ "show-by-default": !1,
2020
+ title: "Blackberry PlayBook",
2021
+ screen: {
2022
+ horizontal: {
2023
+ width: 1024,
2024
+ height: 600
2025
+ },
2026
+ "device-pixel-ratio": 1,
2027
+ vertical: {
2028
+ width: 600,
2029
+ height: 1024
2030
+ }
2031
+ },
2032
+ capabilities: ["touch", "mobile"],
2033
+ "user-agent": "Mozilla/5.0 (PlayBook; U; RIM Tablet OS 2.1.0; en-US) AppleWebKit/536.2+ (KHTML like Gecko) Version/7.2.1.0 Safari/536.2+",
2034
+ type: "tablet"
2035
+ },
2036
+ {
2037
+ "show-by-default": !1,
2038
+ title: "Nexus 10",
2039
+ screen: {
2040
+ horizontal: {
2041
+ width: 1280,
2042
+ height: 800
2043
+ },
2044
+ "device-pixel-ratio": 2,
2045
+ vertical: {
2046
+ width: 800,
2047
+ height: 1280
2048
+ }
2049
+ },
2050
+ capabilities: ["touch", "mobile"],
2051
+ "user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 10 Build/MOB31T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
2052
+ "user-agent-metadata": {
2053
+ platform: "Android",
2054
+ platformVersion: "6.0.1",
2055
+ architecture: "",
2056
+ model: "Nexus 10",
2057
+ mobile: !1
2058
+ },
2059
+ type: "tablet"
2060
+ },
2061
+ {
2062
+ "show-by-default": !1,
2063
+ title: "Nexus 7",
2064
+ screen: {
2065
+ horizontal: {
2066
+ width: 960,
2067
+ height: 600
2068
+ },
2069
+ "device-pixel-ratio": 2,
2070
+ vertical: {
2071
+ width: 600,
2072
+ height: 960
2073
+ }
2074
+ },
2075
+ capabilities: ["touch", "mobile"],
2076
+ "user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Safari/537.36",
2077
+ "user-agent-metadata": {
2078
+ platform: "Android",
2079
+ platformVersion: "6.0.1",
2080
+ architecture: "",
2081
+ model: "Nexus 7",
2082
+ mobile: !1
2083
+ },
2084
+ type: "tablet"
2085
+ },
2086
+ {
2087
+ "show-by-default": !1,
2088
+ title: "Galaxy Note 3",
2089
+ screen: {
2090
+ horizontal: {
2091
+ width: 640,
2092
+ height: 360
2093
+ },
2094
+ "device-pixel-ratio": 3,
2095
+ vertical: {
2096
+ width: 360,
2097
+ height: 640
2098
+ }
2099
+ },
2100
+ capabilities: ["touch", "mobile"],
2101
+ "user-agent": "Mozilla/5.0 (Linux; U; Android 4.3; en-us; SM-N900T Build/JSS15J) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
2102
+ "user-agent-metadata": {
2103
+ platform: "Android",
2104
+ platformVersion: "4.3",
2105
+ architecture: "",
2106
+ model: "SM-N900T",
2107
+ mobile: !0
2108
+ },
2109
+ type: "phone"
2110
+ },
2111
+ {
2112
+ "show-by-default": !1,
2113
+ title: "Galaxy Note II",
2114
+ screen: {
2115
+ horizontal: {
2116
+ width: 640,
2117
+ height: 360
2118
+ },
2119
+ "device-pixel-ratio": 2,
2120
+ vertical: {
2121
+ width: 360,
2122
+ height: 640
2123
+ }
2124
+ },
2125
+ capabilities: ["touch", "mobile"],
2126
+ "user-agent": "Mozilla/5.0 (Linux; U; Android 4.1; en-us; GT-N7100 Build/JRO03C) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30",
2127
+ "user-agent-metadata": {
2128
+ platform: "Android",
2129
+ platformVersion: "4.1",
2130
+ architecture: "",
2131
+ model: "GT-N7100",
2132
+ mobile: !0
2133
+ },
2134
+ type: "phone"
2135
+ },
2136
+ {
2137
+ "show-by-default": !1,
2138
+ title: S(b.laptopWithTouch),
2139
+ screen: {
2140
+ horizontal: {
2141
+ width: 1280,
2142
+ height: 950
2143
+ },
2144
+ "device-pixel-ratio": 1,
2145
+ vertical: {
2146
+ width: 950,
2147
+ height: 1280
2148
+ }
2149
+ },
2150
+ capabilities: ["touch"],
2151
+ "user-agent": "",
2152
+ type: "notebook",
2153
+ modes: [{
2154
+ title: "default",
2155
+ orientation: "horizontal"
2156
+ }]
2157
+ },
2158
+ {
2159
+ "show-by-default": !1,
2160
+ title: S(b.laptopWithHiDPIScreen),
2161
+ screen: {
2162
+ horizontal: {
2163
+ width: 1440,
2164
+ height: 900
2165
+ },
2166
+ "device-pixel-ratio": 2,
2167
+ vertical: {
2168
+ width: 900,
2169
+ height: 1440
2170
+ }
2171
+ },
2172
+ capabilities: [],
2173
+ "user-agent": "",
2174
+ type: "notebook",
2175
+ modes: [{
2176
+ title: "default",
2177
+ orientation: "horizontal"
2178
+ }]
2179
+ },
2180
+ {
2181
+ "show-by-default": !1,
2182
+ title: S(b.laptopWithMDPIScreen),
2183
+ screen: {
2184
+ horizontal: {
2185
+ width: 1280,
2186
+ height: 800
2187
+ },
2188
+ "device-pixel-ratio": 1,
2189
+ vertical: {
2190
+ width: 800,
2191
+ height: 1280
2192
+ }
2193
+ },
2194
+ capabilities: [],
2195
+ "user-agent": "",
2196
+ type: "notebook",
2197
+ modes: [{
2198
+ title: "default",
2199
+ orientation: "horizontal"
2200
+ }]
2201
+ },
2202
+ {
2203
+ "show-by-default": !1,
2204
+ title: "Moto G4",
2205
+ screen: {
2206
+ horizontal: {
2207
+ outline: {
2208
+ image: "@url(optimized/MotoG4-landscape.avif)",
2209
+ insets: {
2210
+ left: 91,
2211
+ top: 30,
2212
+ right: 74,
2213
+ bottom: 30
2214
+ }
2215
+ },
2216
+ width: 640,
2217
+ height: 360
2218
+ },
2219
+ "device-pixel-ratio": 3,
2220
+ vertical: {
2221
+ outline: {
2222
+ image: "@url(optimized/MotoG4-portrait.avif)",
2223
+ insets: {
2224
+ left: 30,
2225
+ top: 91,
2226
+ right: 30,
2227
+ bottom: 74
2228
+ }
2229
+ },
2230
+ width: 360,
2231
+ height: 640
2232
+ }
2233
+ },
2234
+ capabilities: ["touch", "mobile"],
2235
+ "user-agent": "Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
2236
+ "user-agent-metadata": {
2237
+ platform: "Android",
2238
+ platformVersion: "6.0.1",
2239
+ architecture: "",
2240
+ model: "Moto G (4)",
2241
+ mobile: !0
2242
+ },
2243
+ type: "phone"
2244
+ },
2245
+ {
2246
+ "show-by-default": !1,
2247
+ title: "Moto G Power",
2248
+ screen: {
2249
+ "device-pixel-ratio": 1.75,
2250
+ horizontal: {
2251
+ width: 823,
2252
+ height: 412
2253
+ },
2254
+ vertical: {
2255
+ width: 412,
2256
+ height: 823
2257
+ }
2258
+ },
2259
+ capabilities: ["touch", "mobile"],
2260
+ "user-agent": "Mozilla/5.0 (Linux; Android 11; moto g power (2022)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36",
2261
+ "user-agent-metadata": {
2262
+ platform: "Android",
2263
+ platformVersion: "11",
2264
+ architecture: "",
2265
+ model: "moto g power (2022)",
2266
+ mobile: !0
2267
+ },
2268
+ type: "phone"
2269
+ },
2270
+ {
2271
+ order: 200,
2272
+ "show-by-default": !1,
2273
+ title: "Facebook on Android",
2274
+ screen: {
2275
+ horizontal: {
2276
+ width: 892,
2277
+ height: 412
2278
+ },
2279
+ "device-pixel-ratio": 3.5,
2280
+ vertical: {
2281
+ width: 412,
2282
+ height: 892
2283
+ }
2284
+ },
2285
+ capabilities: ["touch", "mobile"],
2286
+ "user-agent": "Mozilla/5.0 (Linux; Android 12; Pixel 6 Build/SQ3A.220705.004; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/%s Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/407.0.0.0.65;]",
2287
+ "user-agent-metadata": {
2288
+ platform: "Android",
2289
+ platformVersion: "12",
2290
+ architecture: "",
2291
+ model: "Pixel 6",
2292
+ mobile: !0
2293
+ },
2294
+ type: "phone"
2295
+ }
2296
+ ], I = {
2297
+ widthCannotBeEmpty: "Width cannot be empty.",
2298
+ widthMustBeANumber: "Width must be a number.",
2299
+ widthMustBeLessThanOrEqualToS: "Width must be less than or equal to {PH1}.",
2300
+ widthMustBeGreaterThanOrEqualToS: "Width must be greater than or equal to {PH1}.",
2301
+ heightCannotBeEmpty: "Height cannot be empty.",
2302
+ heightMustBeANumber: "Height must be a number.",
2303
+ heightMustBeLessThanOrEqualToS: "Height must be less than or equal to {PH1}.",
2304
+ heightMustBeGreaterThanOrEqualTo: "Height must be greater than or equal to {PH1}.",
2305
+ devicePixelRatioMustBeANumberOr: "Device pixel ratio must be a number or blank.",
2306
+ devicePixelRatioMustBeLessThanOr: "Device pixel ratio must be less than or equal to {PH1}.",
2307
+ devicePixelRatioMustBeGreater: "Device pixel ratio must be greater than or equal to {PH1}."
2308
+ }, L = o("models/emulation/DeviceModeModel.ts", I), R = n.bind(void 0, L), z, B = class t extends e {
2309
+ #e;
2310
+ #t;
2311
+ #n;
2312
+ #r;
2313
+ #i;
2314
+ #a;
2315
+ #o;
2316
+ #s;
2317
+ #c;
2318
+ #l;
2319
+ #u;
2320
+ #d;
2321
+ #f;
2322
+ #p;
2323
+ #m;
2324
+ #h;
2325
+ #g;
2326
+ #_;
2327
+ #v;
2328
+ #y;
2329
+ #b;
2330
+ #x;
2331
+ #S;
2332
+ #C;
2333
+ #w;
2334
+ #T;
2335
+ constructor() {
2336
+ super(), this.#e = new H(0, 0, 1, 1), this.#t = new H(0, 0, 1, 1), this.#n = new y(1, 1), this.#r = new y(1, 1), this.#i = !1, this.#a = new y(1, 1), this.#o = globalThis.devicePixelRatio, this.#s = "Desktop", this.#c = r.instance().createSetting("emulation.device-scale", 1), this.#c.get() || this.#c.set(1), this.#c.addChangeListener(this.scaleSettingChanged, this), this.#l = 1, this.#u = r.instance().createSetting("emulation.device-width", 400), this.#u.get() < 50 && this.#u.set(50), this.#u.get() > 9999 && this.#u.set(K), this.#u.addChangeListener(this.widthSettingChanged, this), this.#d = r.instance().createSetting("emulation.device-height", 0), this.#d.get() && this.#d.get() < 50 && this.#d.set(50), this.#d.get() > 9999 && this.#d.set(K), this.#d.addChangeListener(this.heightSettingChanged, this), this.#f = r.instance().createSetting("emulation.device-ua", "Mobile"), this.#f.addChangeListener(this.uaSettingChanged, this), this.#p = r.instance().createSetting("emulation.device-scale-factor", 0), this.#p.addChangeListener(this.deviceScaleFactorSettingChanged, this), this.#m = r.instance().moduleSetting("emulation.show-device-outline"), this.#m.addChangeListener(this.deviceOutlineSettingChanged, this), this.#h = r.instance().createSetting("emulation.toolbar-controls-enabled", !0, i.SESSION), this.#g = "None", this.#_ = null, this.#v = null, this.#y = 1, this.#b = !1, this.#x = !1, this.#S = null, this.#C = null, this.#T = !1, c.instance().observeModels(s, this);
2337
+ }
2338
+ static instance(e) {
2339
+ return (!z || e?.forceNew) && (z = new t()), z;
2340
+ }
2341
+ static tryInstance(e) {
2342
+ try {
2343
+ return this.instance(e);
2344
+ } catch {
2345
+ return null;
2346
+ }
2347
+ }
2348
+ dispose() {
2349
+ c.instance().unobserveModels(s, this);
2350
+ }
2351
+ static widthValidator(e) {
2352
+ let t = !1, n;
2353
+ return e ? /^[\d]+$/.test(e) ? Number(e) > 9999 ? n = R(I.widthMustBeLessThanOrEqualToS, { PH1: K }) : Number(e) < 50 ? n = R(I.widthMustBeGreaterThanOrEqualToS, { PH1: 50 }) : t = !0 : n = R(I.widthMustBeANumber) : n = R(I.widthCannotBeEmpty), {
2354
+ valid: t,
2355
+ errorMessage: n
2356
+ };
2357
+ }
2358
+ static heightValidator(e) {
2359
+ let t = !1, n;
2360
+ return e ? /^[\d]+$/.test(e) ? Number(e) > 9999 ? n = R(I.heightMustBeLessThanOrEqualToS, { PH1: K }) : Number(e) < 50 ? n = R(I.heightMustBeGreaterThanOrEqualTo, { PH1: 50 }) : t = !0 : n = R(I.heightMustBeANumber) : n = R(I.heightCannotBeEmpty), {
2361
+ valid: t,
2362
+ errorMessage: n
2363
+ };
2364
+ }
2365
+ static scaleValidator(e) {
2366
+ let t = !1, n, r = Number(e.trim());
2367
+ return e ? Number.isNaN(r) ? n = R(I.devicePixelRatioMustBeANumberOr) : Number(e) > 10 ? n = R(I.devicePixelRatioMustBeLessThanOr, { PH1: 10 }) : Number(e) < 0 ? n = R(I.devicePixelRatioMustBeGreater, { PH1: 0 }) : t = !0 : t = !0, {
2368
+ valid: t,
2369
+ errorMessage: n
2370
+ };
2371
+ }
2372
+ get scaleSettingInternal() {
2373
+ return this.#c;
2374
+ }
2375
+ setAvailableSize(e, t) {
2376
+ this.#n = e, this.#r = t, this.#i = !0, this.calculateAndEmulate(!1);
2377
+ }
2378
+ emulate(e, t, n, r) {
2379
+ let i = this.#g !== e || this.#_ !== t || this.#v !== n;
2380
+ if (this.#g = e, e === "Device" && t && n) {
2381
+ if (console.assert(!!t && !!n, "Must pass device and mode for device emulation"), this.#v = n, this.#_ = t, this.#i) {
2382
+ let e = t.orientationByName(n.orientation);
2383
+ this.#c.set(r || this.calculateFitScale(e.width, e.height, this.currentOutline(), this.currentInsets()));
2384
+ }
2385
+ } else this.#_ = null, this.#v = null;
2386
+ e !== "None" && _.actionTaken(g.DeviceModeEnabled), this.calculateAndEmulate(i);
2387
+ }
2388
+ setWidth(e) {
2389
+ let t = Math.min(K, this.preferredScaledWidth());
2390
+ e = Math.max(Math.min(e, t), 1), this.#u.set(e);
2391
+ }
2392
+ setWidthAndScaleToFit(e) {
2393
+ e = Math.max(Math.min(e, K), 1), this.#c.set(this.calculateFitScale(e, this.#d.get())), this.#u.set(e);
2394
+ }
2395
+ setHeight(e) {
2396
+ let t = Math.min(K, this.preferredScaledHeight());
2397
+ e = Math.max(Math.min(e, t), 0), e === this.preferredScaledHeight() && (e = 0), this.#d.set(e);
2398
+ }
2399
+ setHeightAndScaleToFit(e) {
2400
+ e = Math.max(Math.min(e, K), 0), this.#c.set(this.calculateFitScale(this.#u.get(), e)), this.#d.set(e);
2401
+ }
2402
+ setScale(e) {
2403
+ this.#c.set(e);
2404
+ }
2405
+ device() {
2406
+ return this.#_;
2407
+ }
2408
+ mode() {
2409
+ return this.#v;
2410
+ }
2411
+ type() {
2412
+ return this.#g;
2413
+ }
2414
+ screenImage() {
2415
+ return this.#_ && this.#v ? this.#_.modeImage(this.#v) : "";
2416
+ }
2417
+ outlineImage() {
2418
+ return this.#_ && this.#v && this.#m.get() ? this.#_.outlineImage(this.#v) : "";
2419
+ }
2420
+ outlineRect() {
2421
+ return this.#w || null;
2422
+ }
2423
+ screenRect() {
2424
+ return this.#e;
2425
+ }
2426
+ visiblePageRect() {
2427
+ return this.#t;
2428
+ }
2429
+ scale() {
2430
+ return this.#l;
2431
+ }
2432
+ fitScale() {
2433
+ return this.#y;
2434
+ }
2435
+ appliedDeviceSize() {
2436
+ return this.#a;
2437
+ }
2438
+ appliedDeviceScaleFactor() {
2439
+ return this.#o;
2440
+ }
2441
+ appliedUserAgentType() {
2442
+ return this.#s;
2443
+ }
2444
+ isFullHeight() {
2445
+ return !this.#d.get();
2446
+ }
2447
+ isMobile() {
2448
+ switch (this.#g) {
2449
+ case "Device": return this.#_ ? this.#_.mobile() : !1;
2450
+ case "None": return !1;
2451
+ case "Responsive": return this.#f.get() === "Mobile" || this.#f.get() === "Mobile (no touch)";
2452
+ }
2453
+ return !1;
2454
+ }
2455
+ enabledSetting() {
2456
+ return r.instance().createSetting("emulation.show-device-mode", !1);
2457
+ }
2458
+ scaleSetting() {
2459
+ return this.#c;
2460
+ }
2461
+ uaSetting() {
2462
+ return this.#f;
2463
+ }
2464
+ deviceScaleFactorSetting() {
2465
+ return this.#p;
2466
+ }
2467
+ deviceOutlineSetting() {
2468
+ return this.#m;
2469
+ }
2470
+ toolbarControlsEnabledSetting() {
2471
+ return this.#h;
2472
+ }
2473
+ reset() {
2474
+ this.#p.set(0), this.#c.set(1), this.setWidth(400), this.setHeight(0), this.#f.set("Mobile");
2475
+ }
2476
+ modelAdded(e) {
2477
+ if (e.target() === c.instance().primaryPageTarget() && e.supportsDeviceEmulation()) {
2478
+ if (this.#S = e, this.#C) {
2479
+ let e = this.#C;
2480
+ this.#C = null, e();
2481
+ }
2482
+ e.addEventListener(f.SCREEN_ORIENTATION_LOCK_CHANGED, this.onScreenOrientationLockChanged, this);
2483
+ let t = e.target().model(u);
2484
+ t && (t.addEventListener(l.FrameResized, this.onFrameChange, this), t.addEventListener(l.FrameNavigated, this.onFrameChange, this));
2485
+ } else e.emulateTouch(this.#b, this.#x);
2486
+ }
2487
+ modelRemoved(e) {
2488
+ this.#S === e && (e.removeEventListener(f.SCREEN_ORIENTATION_LOCK_CHANGED, this.onScreenOrientationLockChanged, this), this.#S = null, this.#T = !1, this.dispatchEventToListeners("Updated"));
2489
+ }
2490
+ inspectedURL() {
2491
+ return this.#S ? this.#S.target().inspectedURL() : null;
2492
+ }
2493
+ onFrameChange() {
2494
+ let e = this.#S ? this.#S.overlayModel() : null;
2495
+ e && this.showHingeIfApplicable(e);
2496
+ }
2497
+ onScreenOrientationLockChanged(e) {
2498
+ this.#T = e.data.locked, e.data.locked && e.data.orientation && this.applyOrientationLock(e.data.orientation), this.dispatchEventToListeners("Updated");
2499
+ }
2500
+ applyOrientationLock(e) {
2501
+ let t = e.type === d.ScreenOrientationType.LandscapePrimary || e.type === d.ScreenOrientationType.LandscapeSecondary;
2502
+ if (this.#g === "Device" && this.#_ && this.#v) {
2503
+ if (t !== (this.#v.orientation === "horizontal" || this.#v.orientation === "horizontal-spanned")) {
2504
+ let e = this.#_.getRotationPartner(this.#v);
2505
+ e && this.emulate(this.#g, this.#_, e);
2506
+ }
2507
+ } else if (this.#g === "Responsive") {
2508
+ let e = this.appliedDeviceSize();
2509
+ t !== e.width > e.height && this.setSizeAndScaleToFit(e.height, e.width);
2510
+ }
2511
+ }
2512
+ isScreenOrientationLocked() {
2513
+ return this.#T;
2514
+ }
2515
+ scaleSettingChanged() {
2516
+ this.calculateAndEmulate(!1);
2517
+ }
2518
+ widthSettingChanged() {
2519
+ this.calculateAndEmulate(!1);
2520
+ }
2521
+ heightSettingChanged() {
2522
+ this.calculateAndEmulate(!1);
2523
+ }
2524
+ uaSettingChanged() {
2525
+ this.calculateAndEmulate(!0);
2526
+ }
2527
+ deviceScaleFactorSettingChanged() {
2528
+ this.calculateAndEmulate(!1);
2529
+ }
2530
+ deviceOutlineSettingChanged() {
2531
+ this.calculateAndEmulate(!1);
2532
+ }
2533
+ preferredScaledWidth() {
2534
+ return Math.floor(this.#r.width / (this.#c.get() || 1));
2535
+ }
2536
+ preferredScaledHeight() {
2537
+ return Math.floor(this.#r.height / (this.#c.get() || 1));
2538
+ }
2539
+ currentOutline() {
2540
+ let e = new V(0, 0, 0, 0);
2541
+ if (this.#g !== "Device" || !this.#_ || !this.#v) return e;
2542
+ let t = this.#_.orientationByName(this.#v.orientation);
2543
+ return this.#m.get() && (e = t.outlineInsets || e), e;
2544
+ }
2545
+ currentInsets() {
2546
+ return this.#g !== "Device" || !this.#v ? new V(0, 0, 0, 0) : this.#v.insets;
2547
+ }
2548
+ getScreenOrientationType() {
2549
+ if (!this.#v) throw Error("Mode required to get orientation type.");
2550
+ switch (this.#v.orientation) {
2551
+ case O:
2552
+ case E: return d.ScreenOrientationType.PortraitPrimary;
2553
+ case D:
2554
+ case T:
2555
+ default: return d.ScreenOrientationType.LandscapePrimary;
2556
+ }
2557
+ }
2558
+ calculateAndEmulate(e) {
2559
+ this.#S || (this.#C = this.calculateAndEmulate.bind(this, e));
2560
+ let n = this.isMobile(), r = this.#S ? this.#S.overlayModel() : null;
2561
+ if (r && this.showHingeIfApplicable(r), this.#g === "Device" && this.#_ && this.#v) {
2562
+ let t = this.#_.orientationByName(this.#v.orientation), r = this.currentOutline(), i = this.currentInsets();
2563
+ this.#y = this.calculateFitScale(t.width, t.height, r, i), n ? this.#s = this.#_.touch() ? "Mobile" : "Mobile (no touch)" : this.#s = this.#_.touch() ? "Desktop (touch)" : "Desktop", this.applyDeviceMetrics(new y(t.width, t.height), i, r, this.#c.get(), this.#_.deviceScaleFactor, n, this.getScreenOrientationType(), e), this.applyUserAgent(this.#_.userAgent, this.#_.userAgentMetadata), this.applyTouch(this.#_.touch(), n);
2564
+ } else if (this.#g === "None") this.#y = this.calculateFitScale(this.#n.width, this.#n.height), this.#s = "Desktop", this.applyDeviceMetrics(this.#n, new V(0, 0, 0, 0), new V(0, 0, 0, 0), 1, 0, n, null, e), this.applyUserAgent("", null), this.applyTouch(!1, !1);
2565
+ else if (this.#g === "Responsive") {
2566
+ let r = this.#u.get();
2567
+ (!r || r > this.preferredScaledWidth()) && (r = this.preferredScaledWidth());
2568
+ let i = this.#d.get();
2569
+ (!i || i > this.preferredScaledHeight()) && (i = this.preferredScaledHeight());
2570
+ let a = n ? 2 : 0;
2571
+ this.#y = this.calculateFitScale(this.#u.get(), this.#d.get()), this.#s = this.#f.get(), this.applyDeviceMetrics(new y(r, i), new V(0, 0, 0, 0), new V(0, 0, 0, 0), this.#c.get(), this.#p.get() || a, n, i >= r ? d.ScreenOrientationType.PortraitPrimary : d.ScreenOrientationType.LandscapePrimary, e), this.applyUserAgent(n ? t.defaultMobileUserAgent() : "", n ? t.defaultMobileUserAgentMetadata() : null), this.applyTouch(this.#f.get() === "Desktop (touch)" || this.#f.get() === "Mobile", this.#f.get() === "Mobile");
2572
+ }
2573
+ r && r.setShowViewportSizeOnResize(this.#g === "None"), this.dispatchEventToListeners("Updated");
2574
+ }
2575
+ calculateFitScale(e, t, n, r) {
2576
+ let i = n ? n.left + n.right : 0, a = n ? n.top + n.bottom : 0, o = r ? r.left + r.right : 0, s = r ? r.top + r.bottom : 0, c = Math.min(e ? this.#r.width / (e + i) : 1, t ? this.#r.height / (t + a) : 1);
2577
+ c = Math.min(Math.floor(c * 100), 100);
2578
+ let l = c;
2579
+ for (; l > c * .7;) {
2580
+ let n = !0;
2581
+ if (e && (n &&= Number.isInteger((e - o) * l / 100)), t && (n &&= Number.isInteger((t - s) * l / 100)), n) return l / 100;
2582
+ --l;
2583
+ }
2584
+ return c / 100;
2585
+ }
2586
+ setSizeAndScaleToFit(e, t) {
2587
+ this.#c.set(this.calculateFitScale(e, t)), this.setWidth(e), this.setHeight(t);
2588
+ }
2589
+ applyUserAgent(e, t) {
2590
+ m.instance().setUserAgentOverride(e, e ? t : null);
2591
+ }
2592
+ applyDeviceMetrics(e, t, n, r, i, a, o, s) {
2593
+ e.width = Math.max(1, Math.floor(e.width)), e.height = Math.max(1, Math.floor(e.height));
2594
+ let c = e.width - t.left - t.right, l = e.height - t.top - t.bottom, u = t.left, f = t.top, p = o === d.ScreenOrientationType.LandscapePrimary ? 90 : 0;
2595
+ this.#a = e, this.#o = i || window.devicePixelRatio, this.#e = new H(Math.max(0, (this.#n.width - e.width * r) / 2), n.top * r, e.width * r, e.height * r), this.#w = new H(this.#e.left - n.left * r, 0, (n.left + e.width + n.right) * r, (n.top + e.height + n.bottom) * r), this.#t = new H(u * r, f * r, Math.min(c * r, this.#n.width - this.#e.left - u * r), Math.min(l * r, this.#n.height - this.#e.top - f * r)), this.#l = r;
2596
+ let m = this.getDisplayFeature();
2597
+ if (m || (r === 1 && this.#n.width >= e.width && this.#n.height >= e.height && (c = 0, l = 0), this.#t.width === c * r && this.#t.height === l * r && Number.isInteger(c * r) && Number.isInteger(l * r) && (c = 0, l = 0)), this.#S) if (s && this.#S.resetPageScaleFactor(), c || l || a || i || r !== 1 || o || m) {
2598
+ let t = {
2599
+ width: c,
2600
+ height: l,
2601
+ deviceScaleFactor: i,
2602
+ mobile: a,
2603
+ scale: r,
2604
+ screenWidth: e.width,
2605
+ screenHeight: e.height,
2606
+ positionX: u,
2607
+ positionY: f,
2608
+ dontSetVisibleSize: !0
2609
+ };
2610
+ m ? (t.displayFeature = m, t.devicePosture = { type: d.DevicePostureType.Folded }) : t.devicePosture = { type: d.DevicePostureType.Continuous }, o && (t.screenOrientation = {
2611
+ type: o,
2612
+ angle: p
2613
+ }), this.#S.emulateDevice(t);
2614
+ } else this.#S.emulateDevice(null);
2615
+ }
2616
+ exitHingeMode() {
2617
+ let e = this.#S ? this.#S.overlayModel() : null;
2618
+ e && e.showHingeForDualScreen(null);
2619
+ }
2620
+ async captureScreenshot(e, t) {
2621
+ let n = this.#S ? this.#S.target().model(p) : null;
2622
+ if (!n) return null;
2623
+ let r;
2624
+ r = t ? h.FROM_CLIP : e ? h.FULLPAGE : h.FROM_VIEWPORT;
2625
+ let i = this.#S ? this.#S.overlayModel() : null;
2626
+ if (i && i.setShowViewportSizeOnResize(!1), this.#S && this.#_ && this.#v) {
2627
+ let e = this.#_.orientationByName(this.#v.orientation), t = {
2628
+ width: e.width,
2629
+ height: e.height,
2630
+ deviceScaleFactor: this.#_.deviceScaleFactor,
2631
+ mobile: this.isMobile()
2632
+ }, n = this.getDisplayFeature();
2633
+ n && (t.displayFeature = n), await this.#S.emulateDevice(t);
2634
+ }
2635
+ try {
2636
+ return await n.captureScreenshot(v.CaptureScreenshotRequestFormat.Png, 100, r, t);
2637
+ } finally {
2638
+ await this.#S?.emulateDevice(null), i?.setShowViewportSizeOnResize(this.#g === "None"), this.calculateAndEmulate(!1);
2639
+ }
2640
+ }
2641
+ applyTouch(e, t) {
2642
+ this.#b = e, this.#x = t;
2643
+ for (let n of c.instance().models(s)) n.emulateTouch(e, t);
2644
+ }
2645
+ showHingeIfApplicable(e) {
2646
+ let t = this.#_ && this.#v ? this.#_.orientationByName(this.#v.orientation) : null;
2647
+ if (t?.hinge) {
2648
+ e.showHingeForDualScreen(t.hinge);
2649
+ return;
2650
+ }
2651
+ e.showHingeForDualScreen(null);
2652
+ }
2653
+ getDisplayFeatureOrientation() {
2654
+ if (!this.#v) throw Error("Mode required to get display feature orientation.");
2655
+ switch (this.#v.orientation) {
2656
+ case O:
2657
+ case E: return d.DisplayFeatureOrientation.Vertical;
2658
+ case D:
2659
+ case T:
2660
+ default: return d.DisplayFeatureOrientation.Horizontal;
2661
+ }
2662
+ }
2663
+ getDisplayFeature() {
2664
+ if (!this.#_ || !this.#v || this.#v.orientation !== "vertical-spanned" && this.#v.orientation !== "horizontal-spanned") return null;
2665
+ let e = this.#_.orientationByName(this.#v.orientation);
2666
+ if (!e?.hinge) return null;
2667
+ let t = e.hinge;
2668
+ return {
2669
+ orientation: this.getDisplayFeatureOrientation(),
2670
+ offset: this.#v.orientation === "vertical-spanned" ? t.x : t.y,
2671
+ maskLength: this.#v.orientation === "vertical-spanned" ? t.width : t.height
2672
+ };
2673
+ }
2674
+ static getDynamicMobileUA() {
2675
+ let e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth() >= 9, r = n ? t - 2010 : t - 2011, i = n ? t - 2016 : t - 2017;
2676
+ return {
2677
+ userAgent: `Mozilla/5.0 (Linux; Android ${r}; Pixel ${i}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/%s Mobile Safari/537.36`,
2678
+ metadata: {
2679
+ platform: "Android",
2680
+ platformVersion: r.toString(),
2681
+ architecture: "",
2682
+ model: `Pixel ${i}`,
2683
+ mobile: !0
2684
+ }
2685
+ };
2686
+ }
2687
+ static defaultMobileUserAgent() {
2688
+ return m.patchUserAgentWithChromeVersion(t.getDynamicMobileUA().userAgent);
2689
+ }
2690
+ static defaultMobileUserAgentMetadata() {
2691
+ return t.getDynamicMobileUA().metadata;
2692
+ }
2693
+ }, V = class {
2694
+ left;
2695
+ top;
2696
+ right;
2697
+ bottom;
2698
+ constructor(e, t, n, r) {
2699
+ this.left = e, this.top = t, this.right = n, this.bottom = r;
2700
+ }
2701
+ isEqual(e) {
2702
+ return e !== null && this.left === e.left && this.top === e.top && this.right === e.right && this.bottom === e.bottom;
2703
+ }
2704
+ }, H = class e {
2705
+ left;
2706
+ top;
2707
+ width;
2708
+ height;
2709
+ constructor(e, t, n, r) {
2710
+ this.left = e, this.top = t, this.width = n, this.height = r;
2711
+ }
2712
+ isEqual(e) {
2713
+ return e !== null && this.left === e.left && this.top === e.top && this.width === e.width && this.height === e.height;
2714
+ }
2715
+ scale(t) {
2716
+ return new e(this.left * t, this.top * t, this.width * t, this.height * t);
2717
+ }
2718
+ relativeTo(t) {
2719
+ return new e(this.left - t.left, this.top - t.top, this.width, this.height);
2720
+ }
2721
+ rebaseTo(t) {
2722
+ return new e(this.left + t.left, this.top + t.top, this.width, this.height);
2723
+ }
2724
+ }, U = /* @__PURE__ */ function(e) {
2725
+ return e.UPDATED = "Updated", e;
2726
+ }({}), W = /* @__PURE__ */ function(e) {
2727
+ return e.None = "None", e.Responsive = "Responsive", e.Device = "Device", e;
2728
+ }({}), G = /* @__PURE__ */ function(e) {
2729
+ return e.MOBILE = "Mobile", e.MOBILE_NO_TOUCH = "Mobile (no touch)", e.DESKTOP = "Desktop", e.DESKTOP_TOUCH = "Desktop (touch)", e;
2730
+ }({}), K = 9999;
2731
+ //#endregion
2732
+ export { W as a, w as c, T as d, D as f, K as i, N as l, O as m, U as n, G as o, E as p, V as r, A as s, B as t, P as u };