@vinena/knobs 0.0.0-stage → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (487) hide show
  1. package/CHANGELOG.md +224 -0
  2. package/LICENSE +21 -0
  3. package/README.md +110 -2
  4. package/THIRD_PARTY_NOTICES.md +429 -0
  5. package/dist/bezels/duo-fold/fold-000.webp +0 -0
  6. package/dist/bezels/duo-fold/fold-001.webp +0 -0
  7. package/dist/bezels/duo-fold/fold-002.webp +0 -0
  8. package/dist/bezels/duo-fold/fold-003.webp +0 -0
  9. package/dist/bezels/duo-fold/fold-004.webp +0 -0
  10. package/dist/bezels/duo-fold/fold-005.webp +0 -0
  11. package/dist/bezels/duo-fold/fold-006.webp +0 -0
  12. package/dist/bezels/duo-fold/fold-007.webp +0 -0
  13. package/dist/bezels/duo-fold/fold-008.webp +0 -0
  14. package/dist/bezels/duo-fold/fold-009.webp +0 -0
  15. package/dist/bezels/duo-fold/fold-010.webp +0 -0
  16. package/dist/bezels/duo-fold/fold-011.webp +0 -0
  17. package/dist/bezels/duo-fold/fold-012.webp +0 -0
  18. package/dist/bezels/duo-fold/fold-013.webp +0 -0
  19. package/dist/bezels/duo-fold/fold-014.webp +0 -0
  20. package/dist/bezels/duo-fold/fold-015.webp +0 -0
  21. package/dist/bezels/duo-fold/fold-016.webp +0 -0
  22. package/dist/bezels/duo-fold/fold-017.webp +0 -0
  23. package/dist/bezels/duo-fold/fold-018.webp +0 -0
  24. package/dist/bezels/duo-fold/fold-019.webp +0 -0
  25. package/dist/bezels/duo-fold/fold-020.webp +0 -0
  26. package/dist/bezels/duo-fold/fold-021.webp +0 -0
  27. package/dist/bezels/duo-fold/fold-022.webp +0 -0
  28. package/dist/bezels/duo-fold/fold-023.webp +0 -0
  29. package/dist/bezels/duo-fold/fold-024.webp +0 -0
  30. package/dist/bezels/duo-fold/fold-025.webp +0 -0
  31. package/dist/bezels/duo-fold/fold-026.webp +0 -0
  32. package/dist/bezels/duo-fold/fold-027.webp +0 -0
  33. package/dist/bezels/duo-fold/fold-028.webp +0 -0
  34. package/dist/bezels/duo-fold/fold-029.webp +0 -0
  35. package/dist/bezels/duo-fold/fold-030.webp +0 -0
  36. package/dist/bezels/duo-fold/fold-031.webp +0 -0
  37. package/dist/bezels/duo-fold/fold-032.webp +0 -0
  38. package/dist/bezels/duo-fold/fold-033.webp +0 -0
  39. package/dist/bezels/duo-fold/fold-034.webp +0 -0
  40. package/dist/bezels/duo-fold/fold-035.webp +0 -0
  41. package/dist/bezels/duo-fold/fold-036.webp +0 -0
  42. package/dist/bezels/duo-fold/fold-037.webp +0 -0
  43. package/dist/bezels/duo-fold/fold-038.webp +0 -0
  44. package/dist/bezels/duo-fold/fold-039.webp +0 -0
  45. package/dist/bezels/duo-fold/fold-040.webp +0 -0
  46. package/dist/bezels/duo-fold/fold-041.webp +0 -0
  47. package/dist/bezels/duo-fold/fold-042.webp +0 -0
  48. package/dist/bezels/duo-fold/fold-043.webp +0 -0
  49. package/dist/bezels/duo-fold/fold-044.webp +0 -0
  50. package/dist/bezels/duo-fold/fold-045.webp +0 -0
  51. package/dist/bezels/duo-fold/fold-046.webp +0 -0
  52. package/dist/bezels/duo-fold/fold-047.webp +0 -0
  53. package/dist/bezels/duo-fold/fold-048.webp +0 -0
  54. package/dist/bezels/duo-fold/fold-049.webp +0 -0
  55. package/dist/bezels/duo-fold/fold-050.webp +0 -0
  56. package/dist/bezels/duo-fold/fold-051.webp +0 -0
  57. package/dist/bezels/duo-fold/fold-052.webp +0 -0
  58. package/dist/bezels/duo-fold/fold-053.webp +0 -0
  59. package/dist/bezels/duo-fold/fold-054.webp +0 -0
  60. package/dist/bezels/duo-fold/fold-055.webp +0 -0
  61. package/dist/bezels/duo-fold/fold-056.webp +0 -0
  62. package/dist/bezels/duo-fold/fold-057.webp +0 -0
  63. package/dist/bezels/duo-fold/fold-058.webp +0 -0
  64. package/dist/bezels/duo-fold/fold-059.webp +0 -0
  65. package/dist/bezels/duo-fold/fold-060.webp +0 -0
  66. package/dist/bezels/duo-fold/fold-061.webp +0 -0
  67. package/dist/bezels/duo-fold/fold-062.webp +0 -0
  68. package/dist/bezels/duo-fold/fold-063.webp +0 -0
  69. package/dist/bezels/duo-fold/fold-064.webp +0 -0
  70. package/dist/bezels/duo-fold/fold-065.webp +0 -0
  71. package/dist/bezels/duo-fold/fold-066.webp +0 -0
  72. package/dist/bezels/duo-fold/fold-067.webp +0 -0
  73. package/dist/bezels/duo-fold/fold-068.webp +0 -0
  74. package/dist/bezels/duo-fold/fold-069.webp +0 -0
  75. package/dist/bezels/duo-fold/fold-070.webp +0 -0
  76. package/dist/bezels/duo-fold/fold-071.webp +0 -0
  77. package/dist/bezels/duo-fold/fold-072.webp +0 -0
  78. package/dist/bezels/duo-fold/fold-073.webp +0 -0
  79. package/dist/bezels/duo-fold/fold-074.webp +0 -0
  80. package/dist/bezels/duo-fold/fold-075.webp +0 -0
  81. package/dist/bezels/duo-fold/fold-076.webp +0 -0
  82. package/dist/bezels/duo-fold/fold-077.webp +0 -0
  83. package/dist/bezels/duo-fold/fold-078.webp +0 -0
  84. package/dist/bezels/duo-fold/fold-079.webp +0 -0
  85. package/dist/bezels/duo-fold/fold-080.webp +0 -0
  86. package/dist/bezels/duo-fold/fold-081.webp +0 -0
  87. package/dist/bezels/duo-fold/fold-082.webp +0 -0
  88. package/dist/bezels/duo-fold/fold-083.webp +0 -0
  89. package/dist/bezels/duo-fold/fold-084.webp +0 -0
  90. package/dist/bezels/duo-fold/fold-085.webp +0 -0
  91. package/dist/bezels/duo-fold/fold-086.webp +0 -0
  92. package/dist/bezels/duo-fold/fold-087.webp +0 -0
  93. package/dist/bezels/duo-fold/fold-088.webp +0 -0
  94. package/dist/bezels/duo-fold/fold-089.webp +0 -0
  95. package/dist/bezels/duo-fold/fold-090.webp +0 -0
  96. package/dist/bezels/duo-fold/fold-091.webp +0 -0
  97. package/dist/bezels/duo-fold/fold-092.webp +0 -0
  98. package/dist/bezels/duo-fold/fold-093.webp +0 -0
  99. package/dist/bezels/duo-fold/fold-094.webp +0 -0
  100. package/dist/bezels/duo-fold/fold-095.webp +0 -0
  101. package/dist/bezels/duo-fold/fold-096.webp +0 -0
  102. package/dist/bezels/duo-fold/fold-097.webp +0 -0
  103. package/dist/bezels/duo-fold/fold-098.webp +0 -0
  104. package/dist/bezels/duo-fold/fold-099.webp +0 -0
  105. package/dist/bezels/duo-fold/fold-100.webp +0 -0
  106. package/dist/bezels/duo-fold/fold-101.webp +0 -0
  107. package/dist/bezels/duo-fold/fold-102.webp +0 -0
  108. package/dist/bezels/duo-fold/fold-103.webp +0 -0
  109. package/dist/bezels/duo-fold/fold-104.webp +0 -0
  110. package/dist/bezels/duo-fold/fold-105.webp +0 -0
  111. package/dist/bezels/duo-fold/fold-106.webp +0 -0
  112. package/dist/bezels/duo-fold/fold-107.webp +0 -0
  113. package/dist/bezels/duo-fold/fold-108.webp +0 -0
  114. package/dist/bezels/duo-fold/fold-109.webp +0 -0
  115. package/dist/bezels/duo-fold/fold-110.webp +0 -0
  116. package/dist/bezels/duo-fold/fold-111.webp +0 -0
  117. package/dist/bezels/duo-fold/fold-112.webp +0 -0
  118. package/dist/bezels/duo-fold/fold-113.webp +0 -0
  119. package/dist/bezels/duo-fold/fold-114.webp +0 -0
  120. package/dist/bezels/duo-fold/fold-115.webp +0 -0
  121. package/dist/bezels/duo-fold/fold-116.webp +0 -0
  122. package/dist/bezels/duo-fold/fold-117.webp +0 -0
  123. package/dist/bezels/duo-fold/fold-118.webp +0 -0
  124. package/dist/bezels/duo-fold/fold-119.webp +0 -0
  125. package/dist/bezels/duo-fold/fold-120.webp +0 -0
  126. package/dist/bezels/duo-fold/fold-121.webp +0 -0
  127. package/dist/bezels/duo-fold/fold-122.webp +0 -0
  128. package/dist/bezels/duo-fold/fold-123.webp +0 -0
  129. package/dist/bezels/duo-fold/fold-124.webp +0 -0
  130. package/dist/bezels/duo-fold/fold-125.webp +0 -0
  131. package/dist/bezels/duo-fold/fold-126.webp +0 -0
  132. package/dist/bezels/duo-fold/fold-127.webp +0 -0
  133. package/dist/bezels/duo-fold/fold-128.webp +0 -0
  134. package/dist/bezels/duo-fold/fold-129.webp +0 -0
  135. package/dist/bezels/duo-fold/fold-130.webp +0 -0
  136. package/dist/bezels/duo-fold/fold-131.webp +0 -0
  137. package/dist/bezels/duo-fold/fold-132.webp +0 -0
  138. package/dist/bezels/duo-fold/fold-133.webp +0 -0
  139. package/dist/bezels/duo-fold/fold-134.webp +0 -0
  140. package/dist/bezels/duo-fold/fold-135.webp +0 -0
  141. package/dist/bezels/duo-fold/fold-136.webp +0 -0
  142. package/dist/bezels/duo-fold/fold-137.webp +0 -0
  143. package/dist/bezels/duo-fold/fold-138.webp +0 -0
  144. package/dist/bezels/duo-fold/fold-139.webp +0 -0
  145. package/dist/bezels/duo-fold/fold-140.webp +0 -0
  146. package/dist/bezels/duo-fold/fold-141.webp +0 -0
  147. package/dist/bezels/duo-fold/fold-142.webp +0 -0
  148. package/dist/bezels/duo-fold/fold-143.webp +0 -0
  149. package/dist/bezels/duo-fold/fold-144.webp +0 -0
  150. package/dist/bezels/duo-fold/fold-145.webp +0 -0
  151. package/dist/bezels/duo-fold/fold-146.webp +0 -0
  152. package/dist/bezels/duo-fold/fold-147.webp +0 -0
  153. package/dist/bezels/duo-fold/fold-148.webp +0 -0
  154. package/dist/bezels/duo-fold/fold-149.webp +0 -0
  155. package/dist/bezels/duo-fold/fold-150.webp +0 -0
  156. package/dist/bezels/duo-fold/fold-151.webp +0 -0
  157. package/dist/bezels/duo-fold/fold-152.webp +0 -0
  158. package/dist/bezels/duo-fold/fold-153.webp +0 -0
  159. package/dist/bezels/duo-fold/fold-154.webp +0 -0
  160. package/dist/bezels/duo-fold/fold-155.webp +0 -0
  161. package/dist/bezels/duo-fold/fold-156.webp +0 -0
  162. package/dist/bezels/duo-fold/fold-157.webp +0 -0
  163. package/dist/bezels/duo-fold/fold-158.webp +0 -0
  164. package/dist/bezels/duo-fold/fold-159.webp +0 -0
  165. package/dist/bezels/duo-fold/fold-160.webp +0 -0
  166. package/dist/bezels/duo-fold/fold-161.webp +0 -0
  167. package/dist/bezels/duo-fold/fold-162.webp +0 -0
  168. package/dist/bezels/duo-fold/fold-163.webp +0 -0
  169. package/dist/bezels/duo-fold/fold-164.webp +0 -0
  170. package/dist/bezels/duo-fold/fold-165.webp +0 -0
  171. package/dist/bezels/duo-fold/fold-166.webp +0 -0
  172. package/dist/bezels/duo-fold/fold-167.webp +0 -0
  173. package/dist/bezels/duo-fold/fold-168.webp +0 -0
  174. package/dist/bezels/duo-fold/fold-169.webp +0 -0
  175. package/dist/bezels/duo-fold/fold-170.webp +0 -0
  176. package/dist/bezels/duo-fold/fold-171.webp +0 -0
  177. package/dist/bezels/duo-fold/fold-172.webp +0 -0
  178. package/dist/bezels/duo-fold/fold-173.webp +0 -0
  179. package/dist/bezels/duo-fold/fold-174.webp +0 -0
  180. package/dist/bezels/duo-fold/fold-175.webp +0 -0
  181. package/dist/bezels/duo-fold/fold-176.webp +0 -0
  182. package/dist/bezels/duo-fold/fold-177.webp +0 -0
  183. package/dist/bezels/duo-fold/fold-178.webp +0 -0
  184. package/dist/bezels/duo-fold/fold-179.webp +0 -0
  185. package/dist/bezels/duo-fold/fold-180.webp +0 -0
  186. package/dist/bezels/duo-fold/still-000.webp +0 -0
  187. package/dist/bezels/duo-fold/still-161.webp +0 -0
  188. package/dist/bezels/duo-fold/still-162.webp +0 -0
  189. package/dist/bezels/duo-fold/still-163.webp +0 -0
  190. package/dist/bezels/duo-fold/still-164.webp +0 -0
  191. package/dist/bezels/duo-fold/still-165.webp +0 -0
  192. package/dist/bezels/duo-fold/still-166.webp +0 -0
  193. package/dist/bezels/duo-fold/still-167.webp +0 -0
  194. package/dist/bezels/duo-fold/still-168.webp +0 -0
  195. package/dist/bezels/duo-fold/still-169.webp +0 -0
  196. package/dist/bezels/duo-fold/still-170.webp +0 -0
  197. package/dist/bezels/duo-fold/still-171.webp +0 -0
  198. package/dist/bezels/duo-fold/still-172.webp +0 -0
  199. package/dist/bezels/duo-fold/still-173.webp +0 -0
  200. package/dist/bezels/duo-fold/still-174.webp +0 -0
  201. package/dist/bezels/duo-fold/still-175.webp +0 -0
  202. package/dist/bezels/duo-fold/still-176.webp +0 -0
  203. package/dist/bezels/duo-fold/still-177.webp +0 -0
  204. package/dist/bezels/duo-fold/still-178.webp +0 -0
  205. package/dist/bezels/duo-fold/still-179.webp +0 -0
  206. package/dist/bezels/duo-fold/still-180.webp +0 -0
  207. package/dist/bezels/iphone-16-plus.webp +0 -0
  208. package/dist/bezels/iphone-16-pro-max.webp +0 -0
  209. package/dist/bezels/iphone-16-pro.webp +0 -0
  210. package/dist/bezels/iphone-16.webp +0 -0
  211. package/dist/bezels/iphone-17-pro-max.webp +0 -0
  212. package/dist/bezels/iphone-17-pro.webp +0 -0
  213. package/dist/bezels/iphone-17.webp +0 -0
  214. package/dist/bezels/iphone-18-pro-max.webp +0 -0
  215. package/dist/bezels/iphone-18-pro.webp +0 -0
  216. package/dist/bezels/iphone-air.webp +0 -0
  217. package/dist/bezels/iphone-duo-inner-open-landscape.webp +0 -0
  218. package/dist/bezels/iphone-duo-inner-open-portrait.webp +0 -0
  219. package/dist/bezels/iphone-duo-outer-closed.webp +0 -0
  220. package/dist/bezels/iphone-se.webp +0 -0
  221. package/dist/bezels/pixel-10-pro-xl.webp +0 -0
  222. package/dist/bezels/pixel-10-pro.webp +0 -0
  223. package/dist/bezels/pixel-10.webp +0 -0
  224. package/dist/bezels/pixel-10a.webp +0 -0
  225. package/dist/bezels/pixel-9-pro-xl.webp +0 -0
  226. package/dist/bezels/pixel-9-pro.webp +0 -0
  227. package/dist/bezels/pixel-9.webp +0 -0
  228. package/dist/early.d.ts +1 -0
  229. package/dist/early.global.js +8 -0
  230. package/dist/elementsview-6g274ptr.js +2873 -0
  231. package/dist/elementsview-jnkbhzkj.js +2873 -0
  232. package/dist/elementsview-pkzp9kc6.js +2874 -0
  233. package/dist/elementsview-tf4qzmtw.js +2874 -0
  234. package/dist/engine/address.d.ts +31 -0
  235. package/dist/engine/animations.d.ts +13 -0
  236. package/dist/engine/barshot.d.ts +48 -0
  237. package/dist/engine/bezels.d.ts +140 -0
  238. package/dist/engine/bezelurls.d.ts +5 -0
  239. package/dist/engine/browserdraw.d.ts +57 -0
  240. package/dist/engine/browserkit.d.ts +59 -0
  241. package/dist/engine/browserui.d.ts +177 -0
  242. package/dist/engine/check.d.ts +8 -0
  243. package/dist/engine/chromedraw.d.ts +17 -0
  244. package/dist/engine/clock.d.ts +91 -0
  245. package/dist/engine/color.d.ts +37 -0
  246. package/dist/engine/describe.d.ts +49 -0
  247. package/dist/engine/devices.d.ts +96 -0
  248. package/dist/engine/dock.d.ts +53 -0
  249. package/dist/engine/endroom.d.ts +21 -0
  250. package/dist/engine/fit.d.ts +75 -0
  251. package/dist/engine/fold.d.ts +562 -0
  252. package/dist/engine/foldframes.d.ts +98 -0
  253. package/dist/engine/foldgl.d.ts +151 -0
  254. package/dist/engine/foldhand.d.ts +23 -0
  255. package/dist/engine/foldlook.d.ts +49 -0
  256. package/dist/engine/foldpage.d.ts +167 -0
  257. package/dist/engine/foldrun.d.ts +98 -0
  258. package/dist/engine/frame.d.ts +142 -0
  259. package/dist/engine/frameglide.d.ts +71 -0
  260. package/dist/engine/framekit.d.ts +7 -0
  261. package/dist/engine/frames.d.ts +42 -0
  262. package/dist/engine/fresh.d.ts +59 -0
  263. package/dist/engine/geo.d.ts +58 -0
  264. package/dist/engine/header.d.ts +16 -0
  265. package/dist/engine/identity.d.ts +27 -0
  266. package/dist/engine/index.d.ts +58 -0
  267. package/dist/engine/intl.d.ts +23 -0
  268. package/dist/engine/locale.d.ts +86 -0
  269. package/dist/engine/mat.d.ts +64 -0
  270. package/dist/engine/matchmedia.d.ts +25 -0
  271. package/dist/engine/matcolors.d.ts +45 -0
  272. package/dist/engine/matsplash.d.ts +81 -0
  273. package/dist/engine/media.d.ts +55 -0
  274. package/dist/engine/mock.d.ts +65 -0
  275. package/dist/engine/mockdata.d.ts +42 -0
  276. package/dist/engine/mockdraw.d.ts +21 -0
  277. package/dist/engine/morph.d.ts +214 -0
  278. package/dist/engine/morphrun.d.ts +49 -0
  279. package/dist/engine/native.d.ts +129 -0
  280. package/dist/engine/network.d.ts +8 -0
  281. package/dist/engine/notice.d.ts +15 -0
  282. package/dist/engine/objectfit.d.ts +35 -0
  283. package/dist/engine/outlines.d.ts +2 -0
  284. package/dist/engine/overflow.d.ts +11 -0
  285. package/dist/engine/owninline.d.ts +16 -0
  286. package/dist/engine/pagefonts.d.ts +21 -0
  287. package/dist/engine/pageshot.d.ts +127 -0
  288. package/dist/engine/placeholder.d.ts +89 -0
  289. package/dist/engine/pseudo.d.ts +15 -0
  290. package/dist/engine/ready.d.ts +9 -0
  291. package/dist/engine/reload.d.ts +35 -0
  292. package/dist/engine/remount.d.ts +30 -0
  293. package/dist/engine/replay.d.ts +7 -0
  294. package/dist/engine/safaridraw.d.ts +22 -0
  295. package/dist/engine/scrollbars.d.ts +17 -0
  296. package/dist/engine/scrollkeep.d.ts +124 -0
  297. package/dist/engine/spacing.d.ts +2 -0
  298. package/dist/engine/speed.d.ts +11 -0
  299. package/dist/engine/store.d.ts +68 -0
  300. package/dist/engine/stored.d.ts +17 -0
  301. package/dist/engine/style.d.ts +27 -0
  302. package/dist/engine/system.d.ts +15 -0
  303. package/dist/engine/text.d.ts +53 -0
  304. package/dist/engine/time.d.ts +32 -0
  305. package/dist/engine/touch.d.ts +20 -0
  306. package/dist/engine/touchdot.d.ts +71 -0
  307. package/dist/engine/touchmark.d.ts +27 -0
  308. package/dist/engine/touchpointer.d.ts +113 -0
  309. package/dist/engine/tree.d.ts +9 -0
  310. package/dist/engine/turnrun.d.ts +74 -0
  311. package/dist/engine/ua.d.ts +55 -0
  312. package/dist/engine/underneath.d.ts +7 -0
  313. package/dist/engine/viewportcss.d.ts +7 -0
  314. package/dist/engine/vision.d.ts +3 -0
  315. package/dist/engine/width.d.ts +56 -0
  316. package/dist/engine/zoom.d.ts +33 -0
  317. package/dist/framekit-095qevka.js +8838 -0
  318. package/dist/framekit-3n7p79ht.js +8839 -0
  319. package/dist/framekit-g96t6nmq.js +8838 -0
  320. package/dist/framekit-q5aad770.js +8839 -0
  321. package/dist/global.d.ts +1 -0
  322. package/dist/grab/boxmodel.d.ts +109 -0
  323. package/dist/grab/boxtext.d.ts +17 -0
  324. package/dist/grab/card.d.ts +45 -0
  325. package/dist/grab/cardread.d.ts +22 -0
  326. package/dist/grab/cardview.d.ts +18 -0
  327. package/dist/grab/clipboard.d.ts +8 -0
  328. package/dist/grab/colors.d.ts +31 -0
  329. package/dist/grab/colorvalue.d.ts +40 -0
  330. package/dist/grab/context.d.ts +25 -0
  331. package/dist/grab/control.d.ts +37 -0
  332. package/dist/grab/copy.d.ts +7 -0
  333. package/dist/grab/dwell.d.ts +29 -0
  334. package/dist/grab/fiber.d.ts +17 -0
  335. package/dist/grab/fontused.d.ts +23 -0
  336. package/dist/grab/hit.d.ts +19 -0
  337. package/dist/grab/hook.d.ts +7 -0
  338. package/dist/grab/index.d.ts +9 -0
  339. package/dist/grab/inspect.d.ts +31 -0
  340. package/dist/grab/keys.d.ts +84 -0
  341. package/dist/grab/locate.d.ts +63 -0
  342. package/dist/grab/mode.d.ts +56 -0
  343. package/dist/grab/navigate.d.ts +21 -0
  344. package/dist/grab/outline.d.ts +16 -0
  345. package/dist/grab/overlay.d.ts +135 -0
  346. package/dist/grab/paint.d.ts +7 -0
  347. package/dist/grab/paths.d.ts +27 -0
  348. package/dist/grab/picks.d.ts +9 -0
  349. package/dist/grab/place.d.ts +25 -0
  350. package/dist/grab/preview.d.ts +12 -0
  351. package/dist/grab/selector.d.ts +15 -0
  352. package/dist/grab/source.d.ts +68 -0
  353. package/dist/grab/stack.d.ts +49 -0
  354. package/dist/grab/theme.d.ts +85 -0
  355. package/dist/grab/types.d.ts +52 -0
  356. package/dist/host.d.ts +7 -0
  357. package/dist/index-0casarhy.js +324 -0
  358. package/dist/index-2d6wvs8h.js +528 -0
  359. package/dist/index-33x9hxe3.js +4563 -0
  360. package/dist/index-5baxvd3v.js +4424 -0
  361. package/dist/index-5d6qzte3.js +357 -0
  362. package/dist/index-64rd634h.js +686 -0
  363. package/dist/index-78r0f8pw.js +27 -0
  364. package/dist/index-d0cjxjsm.js +21 -0
  365. package/dist/index-dvr4x91q.js +4800 -0
  366. package/dist/index-hw56t3zy.js +4800 -0
  367. package/dist/index-k015tb6c.js +357 -0
  368. package/dist/index-ke6v7919.js +4801 -0
  369. package/dist/index-kzsb9drs.js +4801 -0
  370. package/dist/index-peh33xjv.js +346 -0
  371. package/dist/index-qxye1j73.js +528 -0
  372. package/dist/index-z5ytnj01.js +4563 -0
  373. package/dist/index-ztnjefrh.js +23 -0
  374. package/dist/index-zvze25nf.js +686 -0
  375. package/dist/index.d.ts +116 -0
  376. package/dist/index.global.js +2655 -0
  377. package/dist/index.js +9262 -0
  378. package/dist/instance.d.ts +29 -0
  379. package/dist/react-4kbj1t4h.js +687 -0
  380. package/dist/react-65tgdbs8.js +22 -0
  381. package/dist/react-71a9ypex.js +529 -0
  382. package/dist/react-adky72h9.js +29 -0
  383. package/dist/react-carf84xv.js +4420 -0
  384. package/dist/react-eygws6cx.js +358 -0
  385. package/dist/react-h9w04skh.js +25 -0
  386. package/dist/react-mv9y20jy.js +358 -0
  387. package/dist/react-pdvseef0.js +325 -0
  388. package/dist/react-qv0nykcv.js +4564 -0
  389. package/dist/react-sq9pkw4k.js +687 -0
  390. package/dist/react-vjm88w4t.js +4564 -0
  391. package/dist/react-xxfpfddf.js +347 -0
  392. package/dist/react-znfrjqk8.js +529 -0
  393. package/dist/react.d.ts +6 -0
  394. package/dist/react.js +9255 -0
  395. package/dist/requests/body.d.ts +44 -0
  396. package/dist/requests/eventsource.d.ts +14 -0
  397. package/dist/requests/fetch.d.ts +14 -0
  398. package/dist/requests/index.d.ts +35 -0
  399. package/dist/requests/patch.d.ts +17 -0
  400. package/dist/requests/quiet.d.ts +12 -0
  401. package/dist/requests/record.d.ts +40 -0
  402. package/dist/requests/resource.d.ts +28 -0
  403. package/dist/requests/shared.d.ts +34 -0
  404. package/dist/requests/stack.d.ts +7 -0
  405. package/dist/requests/store.d.ts +37 -0
  406. package/dist/requests/types.d.ts +140 -0
  407. package/dist/requests/xhr.d.ts +16 -0
  408. package/dist/storage/cache.d.ts +32 -0
  409. package/dist/storage/clear.d.ts +35 -0
  410. package/dist/storage/cookies.d.ts +71 -0
  411. package/dist/storage/format.d.ts +53 -0
  412. package/dist/storage/idb.d.ts +62 -0
  413. package/dist/storage/onload.d.ts +47 -0
  414. package/dist/storage/presets.d.ts +79 -0
  415. package/dist/storage/site.d.ts +51 -0
  416. package/dist/storage/web.d.ts +57 -0
  417. package/dist/storageview-j9d44f99.js +2729 -0
  418. package/dist/storageview-sb23henh.js +2729 -0
  419. package/dist/storageview-vdkbp6rt.js +2728 -0
  420. package/dist/storageview-vf8v8q8j.js +2728 -0
  421. package/dist/styles/cascade.d.ts +59 -0
  422. package/dist/styles/collect.d.ts +73 -0
  423. package/dist/styles/declarations.d.ts +30 -0
  424. package/dist/styles/index.d.ts +20 -0
  425. package/dist/styles/inherited.d.ts +5 -0
  426. package/dist/styles/match.d.ts +41 -0
  427. package/dist/styles/selector.d.ts +36 -0
  428. package/dist/styles/tree.d.ts +14 -0
  429. package/dist/styles/types.d.ts +117 -0
  430. package/dist/styles/varrefs.d.ts +35 -0
  431. package/dist/types.d.ts +221 -0
  432. package/dist/ui/actions.d.ts +26 -0
  433. package/dist/ui/bindings.d.ts +89 -0
  434. package/dist/ui/boxdiagram.d.ts +50 -0
  435. package/dist/ui/catalog.d.ts +195 -0
  436. package/dist/ui/colors.d.ts +51 -0
  437. package/dist/ui/column.d.ts +22 -0
  438. package/dist/ui/copytext.d.ts +6 -0
  439. package/dist/ui/deviceknobs.d.ts +20 -0
  440. package/dist/ui/dockslide.d.ts +100 -0
  441. package/dist/ui/dom.d.ts +68 -0
  442. package/dist/ui/domtree.d.ts +143 -0
  443. package/dist/ui/drag.d.ts +34 -0
  444. package/dist/ui/editors.d.ts +30 -0
  445. package/dist/ui/elementsview.d.ts +32 -0
  446. package/dist/ui/foldslider.d.ts +48 -0
  447. package/dist/ui/footer.d.ts +51 -0
  448. package/dist/ui/hold.d.ts +20 -0
  449. package/dist/ui/icons.d.ts +145 -0
  450. package/dist/ui/inspector.d.ts +59 -0
  451. package/dist/ui/keys.d.ts +180 -0
  452. package/dist/ui/kit.d.ts +336 -0
  453. package/dist/ui/knobs.d.ts +41 -0
  454. package/dist/ui/list.d.ts +68 -0
  455. package/dist/ui/palette.d.ts +59 -0
  456. package/dist/ui/pane.d.ts +151 -0
  457. package/dist/ui/panel.d.ts +56 -0
  458. package/dist/ui/pin.d.ts +28 -0
  459. package/dist/ui/place.d.ts +136 -0
  460. package/dist/ui/prefs.d.ts +53 -0
  461. package/dist/ui/radio.d.ts +37 -0
  462. package/dist/ui/requestdetail.d.ts +56 -0
  463. package/dist/ui/requestformat.d.ts +142 -0
  464. package/dist/ui/requestparts.d.ts +312 -0
  465. package/dist/ui/requests.d.ts +48 -0
  466. package/dist/ui/rows.d.ts +72 -0
  467. package/dist/ui/search.d.ts +29 -0
  468. package/dist/ui/settings.d.ts +69 -0
  469. package/dist/ui/size.d.ts +105 -0
  470. package/dist/ui/slide.d.ts +46 -0
  471. package/dist/ui/stage.d.ts +24 -0
  472. package/dist/ui/storageaction.d.ts +22 -0
  473. package/dist/ui/storagecookies.d.ts +5 -0
  474. package/dist/ui/storagedeep.d.ts +18 -0
  475. package/dist/ui/storageparts.d.ts +131 -0
  476. package/dist/ui/storagepresets.d.ts +19 -0
  477. package/dist/ui/storageview.d.ts +45 -0
  478. package/dist/ui/storageweb.d.ts +11 -0
  479. package/dist/ui/styles.d.ts +1 -0
  480. package/dist/ui/stylesapplied.d.ts +46 -0
  481. package/dist/ui/stylesformat.d.ts +78 -0
  482. package/dist/ui/stylesview.d.ts +118 -0
  483. package/dist/ui/swatches.d.ts +26 -0
  484. package/dist/ui/syntax.d.ts +34 -0
  485. package/dist/ui/tooltip.d.ts +64 -0
  486. package/package.json +60 -4
  487. package/skills/devknobs/SKILL.md +214 -0
@@ -0,0 +1,2655 @@
1
+ (()=>{var dw=Object.defineProperty;var lw=($)=>$;function iw($,j){this[$]=lw.bind(null,j)}var F5=($,j)=>{for(var J in j)dw($,J,{get:j[J],enumerable:!0,configurable:!0,set:iw.bind(j,J)})};var u=($,j)=>()=>($&&(j=$($=0)),j);function rw($){return typeof $==="object"&&$!==null&&Reflect.get($,"version")===2}function Z4($=globalThis){try{let j=Reflect.get($,G3);return rw(j)?j:null}catch{return null}}function NV($){if($)Reflect.set(globalThis,G3,$);else Reflect.deleteProperty(globalThis,G3)}function iU(){let $=Reflect.get(globalThis,G3);if(typeof $!=="object"||$===null)return;let j=Reflect.get($,"uninstall");try{if(typeof j==="function")j.call($)}catch{}Reflect.deleteProperty(globalThis,G3)}var lU=2,G3,Zj;var Xj=u(()=>{G3=Symbol.for("devknobs.requests"),Zj=Symbol.for("devknobs.quiet")});function Vj($,j){let J=Z4();if(!J)return fetch($,j);let Q={...j,[Zj]:!0};return J.quietly($,()=>fetch($,Q))}function rU($){Z4()?.hush($,!1)}function W3($){Z4()?.hush($,!0)}var z5=u(()=>{Xj()});var RV,D2;var sU=u(()=>{RV={"duo-fold/fold-000.webp":()=>new URL("./bezels/duo-fold/fold-000.webp","").href,"duo-fold/fold-001.webp":()=>new URL("./bezels/duo-fold/fold-001.webp","").href,"duo-fold/fold-002.webp":()=>new URL("./bezels/duo-fold/fold-002.webp","").href,"duo-fold/fold-003.webp":()=>new URL("./bezels/duo-fold/fold-003.webp","").href,"duo-fold/fold-004.webp":()=>new URL("./bezels/duo-fold/fold-004.webp","").href,"duo-fold/fold-005.webp":()=>new URL("./bezels/duo-fold/fold-005.webp","").href,"duo-fold/fold-006.webp":()=>new URL("./bezels/duo-fold/fold-006.webp","").href,"duo-fold/fold-007.webp":()=>new URL("./bezels/duo-fold/fold-007.webp","").href,"duo-fold/fold-008.webp":()=>new URL("./bezels/duo-fold/fold-008.webp","").href,"duo-fold/fold-009.webp":()=>new URL("./bezels/duo-fold/fold-009.webp","").href,"duo-fold/fold-010.webp":()=>new URL("./bezels/duo-fold/fold-010.webp","").href,"duo-fold/fold-011.webp":()=>new URL("./bezels/duo-fold/fold-011.webp","").href,"duo-fold/fold-012.webp":()=>new URL("./bezels/duo-fold/fold-012.webp","").href,"duo-fold/fold-013.webp":()=>new URL("./bezels/duo-fold/fold-013.webp","").href,"duo-fold/fold-014.webp":()=>new URL("./bezels/duo-fold/fold-014.webp","").href,"duo-fold/fold-015.webp":()=>new URL("./bezels/duo-fold/fold-015.webp","").href,"duo-fold/fold-016.webp":()=>new URL("./bezels/duo-fold/fold-016.webp","").href,"duo-fold/fold-017.webp":()=>new URL("./bezels/duo-fold/fold-017.webp","").href,"duo-fold/fold-018.webp":()=>new URL("./bezels/duo-fold/fold-018.webp","").href,"duo-fold/fold-019.webp":()=>new URL("./bezels/duo-fold/fold-019.webp","").href,"duo-fold/fold-020.webp":()=>new URL("./bezels/duo-fold/fold-020.webp","").href,"duo-fold/fold-021.webp":()=>new URL("./bezels/duo-fold/fold-021.webp","").href,"duo-fold/fold-022.webp":()=>new URL("./bezels/duo-fold/fold-022.webp","").href,"duo-fold/fold-023.webp":()=>new URL("./bezels/duo-fold/fold-023.webp","").href,"duo-fold/fold-024.webp":()=>new URL("./bezels/duo-fold/fold-024.webp","").href,"duo-fold/fold-025.webp":()=>new URL("./bezels/duo-fold/fold-025.webp","").href,"duo-fold/fold-026.webp":()=>new URL("./bezels/duo-fold/fold-026.webp","").href,"duo-fold/fold-027.webp":()=>new URL("./bezels/duo-fold/fold-027.webp","").href,"duo-fold/fold-028.webp":()=>new URL("./bezels/duo-fold/fold-028.webp","").href,"duo-fold/fold-029.webp":()=>new URL("./bezels/duo-fold/fold-029.webp","").href,"duo-fold/fold-030.webp":()=>new URL("./bezels/duo-fold/fold-030.webp","").href,"duo-fold/fold-031.webp":()=>new URL("./bezels/duo-fold/fold-031.webp","").href,"duo-fold/fold-032.webp":()=>new URL("./bezels/duo-fold/fold-032.webp","").href,"duo-fold/fold-033.webp":()=>new URL("./bezels/duo-fold/fold-033.webp","").href,"duo-fold/fold-034.webp":()=>new URL("./bezels/duo-fold/fold-034.webp","").href,"duo-fold/fold-035.webp":()=>new URL("./bezels/duo-fold/fold-035.webp","").href,"duo-fold/fold-036.webp":()=>new URL("./bezels/duo-fold/fold-036.webp","").href,"duo-fold/fold-037.webp":()=>new URL("./bezels/duo-fold/fold-037.webp","").href,"duo-fold/fold-038.webp":()=>new URL("./bezels/duo-fold/fold-038.webp","").href,"duo-fold/fold-039.webp":()=>new URL("./bezels/duo-fold/fold-039.webp","").href,"duo-fold/fold-040.webp":()=>new URL("./bezels/duo-fold/fold-040.webp","").href,"duo-fold/fold-041.webp":()=>new URL("./bezels/duo-fold/fold-041.webp","").href,"duo-fold/fold-042.webp":()=>new URL("./bezels/duo-fold/fold-042.webp","").href,"duo-fold/fold-043.webp":()=>new URL("./bezels/duo-fold/fold-043.webp","").href,"duo-fold/fold-044.webp":()=>new URL("./bezels/duo-fold/fold-044.webp","").href,"duo-fold/fold-045.webp":()=>new URL("./bezels/duo-fold/fold-045.webp","").href,"duo-fold/fold-046.webp":()=>new URL("./bezels/duo-fold/fold-046.webp","").href,"duo-fold/fold-047.webp":()=>new URL("./bezels/duo-fold/fold-047.webp","").href,"duo-fold/fold-048.webp":()=>new URL("./bezels/duo-fold/fold-048.webp","").href,"duo-fold/fold-049.webp":()=>new URL("./bezels/duo-fold/fold-049.webp","").href,"duo-fold/fold-050.webp":()=>new URL("./bezels/duo-fold/fold-050.webp","").href,"duo-fold/fold-051.webp":()=>new URL("./bezels/duo-fold/fold-051.webp","").href,"duo-fold/fold-052.webp":()=>new URL("./bezels/duo-fold/fold-052.webp","").href,"duo-fold/fold-053.webp":()=>new URL("./bezels/duo-fold/fold-053.webp","").href,"duo-fold/fold-054.webp":()=>new URL("./bezels/duo-fold/fold-054.webp","").href,"duo-fold/fold-055.webp":()=>new URL("./bezels/duo-fold/fold-055.webp","").href,"duo-fold/fold-056.webp":()=>new URL("./bezels/duo-fold/fold-056.webp","").href,"duo-fold/fold-057.webp":()=>new URL("./bezels/duo-fold/fold-057.webp","").href,"duo-fold/fold-058.webp":()=>new URL("./bezels/duo-fold/fold-058.webp","").href,"duo-fold/fold-059.webp":()=>new URL("./bezels/duo-fold/fold-059.webp","").href,"duo-fold/fold-060.webp":()=>new URL("./bezels/duo-fold/fold-060.webp","").href,"duo-fold/fold-061.webp":()=>new URL("./bezels/duo-fold/fold-061.webp","").href,"duo-fold/fold-062.webp":()=>new URL("./bezels/duo-fold/fold-062.webp","").href,"duo-fold/fold-063.webp":()=>new URL("./bezels/duo-fold/fold-063.webp","").href,"duo-fold/fold-064.webp":()=>new URL("./bezels/duo-fold/fold-064.webp","").href,"duo-fold/fold-065.webp":()=>new URL("./bezels/duo-fold/fold-065.webp","").href,"duo-fold/fold-066.webp":()=>new URL("./bezels/duo-fold/fold-066.webp","").href,"duo-fold/fold-067.webp":()=>new URL("./bezels/duo-fold/fold-067.webp","").href,"duo-fold/fold-068.webp":()=>new URL("./bezels/duo-fold/fold-068.webp","").href,"duo-fold/fold-069.webp":()=>new URL("./bezels/duo-fold/fold-069.webp","").href,"duo-fold/fold-070.webp":()=>new URL("./bezels/duo-fold/fold-070.webp","").href,"duo-fold/fold-071.webp":()=>new URL("./bezels/duo-fold/fold-071.webp","").href,"duo-fold/fold-072.webp":()=>new URL("./bezels/duo-fold/fold-072.webp","").href,"duo-fold/fold-073.webp":()=>new URL("./bezels/duo-fold/fold-073.webp","").href,"duo-fold/fold-074.webp":()=>new URL("./bezels/duo-fold/fold-074.webp","").href,"duo-fold/fold-075.webp":()=>new URL("./bezels/duo-fold/fold-075.webp","").href,"duo-fold/fold-076.webp":()=>new URL("./bezels/duo-fold/fold-076.webp","").href,"duo-fold/fold-077.webp":()=>new URL("./bezels/duo-fold/fold-077.webp","").href,"duo-fold/fold-078.webp":()=>new URL("./bezels/duo-fold/fold-078.webp","").href,"duo-fold/fold-079.webp":()=>new URL("./bezels/duo-fold/fold-079.webp","").href,"duo-fold/fold-080.webp":()=>new URL("./bezels/duo-fold/fold-080.webp","").href,"duo-fold/fold-081.webp":()=>new URL("./bezels/duo-fold/fold-081.webp","").href,"duo-fold/fold-082.webp":()=>new URL("./bezels/duo-fold/fold-082.webp","").href,"duo-fold/fold-083.webp":()=>new URL("./bezels/duo-fold/fold-083.webp","").href,"duo-fold/fold-084.webp":()=>new URL("./bezels/duo-fold/fold-084.webp","").href,"duo-fold/fold-085.webp":()=>new URL("./bezels/duo-fold/fold-085.webp","").href,"duo-fold/fold-086.webp":()=>new URL("./bezels/duo-fold/fold-086.webp","").href,"duo-fold/fold-087.webp":()=>new URL("./bezels/duo-fold/fold-087.webp","").href,"duo-fold/fold-088.webp":()=>new URL("./bezels/duo-fold/fold-088.webp","").href,"duo-fold/fold-089.webp":()=>new URL("./bezels/duo-fold/fold-089.webp","").href,"duo-fold/fold-090.webp":()=>new URL("./bezels/duo-fold/fold-090.webp","").href,"duo-fold/fold-091.webp":()=>new URL("./bezels/duo-fold/fold-091.webp","").href,"duo-fold/fold-092.webp":()=>new URL("./bezels/duo-fold/fold-092.webp","").href,"duo-fold/fold-093.webp":()=>new URL("./bezels/duo-fold/fold-093.webp","").href,"duo-fold/fold-094.webp":()=>new URL("./bezels/duo-fold/fold-094.webp","").href,"duo-fold/fold-095.webp":()=>new URL("./bezels/duo-fold/fold-095.webp","").href,"duo-fold/fold-096.webp":()=>new URL("./bezels/duo-fold/fold-096.webp","").href,"duo-fold/fold-097.webp":()=>new URL("./bezels/duo-fold/fold-097.webp","").href,"duo-fold/fold-098.webp":()=>new URL("./bezels/duo-fold/fold-098.webp","").href,"duo-fold/fold-099.webp":()=>new URL("./bezels/duo-fold/fold-099.webp","").href,"duo-fold/fold-100.webp":()=>new URL("./bezels/duo-fold/fold-100.webp","").href,"duo-fold/fold-101.webp":()=>new URL("./bezels/duo-fold/fold-101.webp","").href,"duo-fold/fold-102.webp":()=>new URL("./bezels/duo-fold/fold-102.webp","").href,"duo-fold/fold-103.webp":()=>new URL("./bezels/duo-fold/fold-103.webp","").href,"duo-fold/fold-104.webp":()=>new URL("./bezels/duo-fold/fold-104.webp","").href,"duo-fold/fold-105.webp":()=>new URL("./bezels/duo-fold/fold-105.webp","").href,"duo-fold/fold-106.webp":()=>new URL("./bezels/duo-fold/fold-106.webp","").href,"duo-fold/fold-107.webp":()=>new URL("./bezels/duo-fold/fold-107.webp","").href,"duo-fold/fold-108.webp":()=>new URL("./bezels/duo-fold/fold-108.webp","").href,"duo-fold/fold-109.webp":()=>new URL("./bezels/duo-fold/fold-109.webp","").href,"duo-fold/fold-110.webp":()=>new URL("./bezels/duo-fold/fold-110.webp","").href,"duo-fold/fold-111.webp":()=>new URL("./bezels/duo-fold/fold-111.webp","").href,"duo-fold/fold-112.webp":()=>new URL("./bezels/duo-fold/fold-112.webp","").href,"duo-fold/fold-113.webp":()=>new URL("./bezels/duo-fold/fold-113.webp","").href,"duo-fold/fold-114.webp":()=>new URL("./bezels/duo-fold/fold-114.webp","").href,"duo-fold/fold-115.webp":()=>new URL("./bezels/duo-fold/fold-115.webp","").href,"duo-fold/fold-116.webp":()=>new URL("./bezels/duo-fold/fold-116.webp","").href,"duo-fold/fold-117.webp":()=>new URL("./bezels/duo-fold/fold-117.webp","").href,"duo-fold/fold-118.webp":()=>new URL("./bezels/duo-fold/fold-118.webp","").href,"duo-fold/fold-119.webp":()=>new URL("./bezels/duo-fold/fold-119.webp","").href,"duo-fold/fold-120.webp":()=>new URL("./bezels/duo-fold/fold-120.webp","").href,"duo-fold/fold-121.webp":()=>new URL("./bezels/duo-fold/fold-121.webp","").href,"duo-fold/fold-122.webp":()=>new URL("./bezels/duo-fold/fold-122.webp","").href,"duo-fold/fold-123.webp":()=>new URL("./bezels/duo-fold/fold-123.webp","").href,"duo-fold/fold-124.webp":()=>new URL("./bezels/duo-fold/fold-124.webp","").href,"duo-fold/fold-125.webp":()=>new URL("./bezels/duo-fold/fold-125.webp","").href,"duo-fold/fold-126.webp":()=>new URL("./bezels/duo-fold/fold-126.webp","").href,"duo-fold/fold-127.webp":()=>new URL("./bezels/duo-fold/fold-127.webp","").href,"duo-fold/fold-128.webp":()=>new URL("./bezels/duo-fold/fold-128.webp","").href,"duo-fold/fold-129.webp":()=>new URL("./bezels/duo-fold/fold-129.webp","").href,"duo-fold/fold-130.webp":()=>new URL("./bezels/duo-fold/fold-130.webp","").href,"duo-fold/fold-131.webp":()=>new URL("./bezels/duo-fold/fold-131.webp","").href,"duo-fold/fold-132.webp":()=>new URL("./bezels/duo-fold/fold-132.webp","").href,"duo-fold/fold-133.webp":()=>new URL("./bezels/duo-fold/fold-133.webp","").href,"duo-fold/fold-134.webp":()=>new URL("./bezels/duo-fold/fold-134.webp","").href,"duo-fold/fold-135.webp":()=>new URL("./bezels/duo-fold/fold-135.webp","").href,"duo-fold/fold-136.webp":()=>new URL("./bezels/duo-fold/fold-136.webp","").href,"duo-fold/fold-137.webp":()=>new URL("./bezels/duo-fold/fold-137.webp","").href,"duo-fold/fold-138.webp":()=>new URL("./bezels/duo-fold/fold-138.webp","").href,"duo-fold/fold-139.webp":()=>new URL("./bezels/duo-fold/fold-139.webp","").href,"duo-fold/fold-140.webp":()=>new URL("./bezels/duo-fold/fold-140.webp","").href,"duo-fold/fold-141.webp":()=>new URL("./bezels/duo-fold/fold-141.webp","").href,"duo-fold/fold-142.webp":()=>new URL("./bezels/duo-fold/fold-142.webp","").href,"duo-fold/fold-143.webp":()=>new URL("./bezels/duo-fold/fold-143.webp","").href,"duo-fold/fold-144.webp":()=>new URL("./bezels/duo-fold/fold-144.webp","").href,"duo-fold/fold-145.webp":()=>new URL("./bezels/duo-fold/fold-145.webp","").href,"duo-fold/fold-146.webp":()=>new URL("./bezels/duo-fold/fold-146.webp","").href,"duo-fold/fold-147.webp":()=>new URL("./bezels/duo-fold/fold-147.webp","").href,"duo-fold/fold-148.webp":()=>new URL("./bezels/duo-fold/fold-148.webp","").href,"duo-fold/fold-149.webp":()=>new URL("./bezels/duo-fold/fold-149.webp","").href,"duo-fold/fold-150.webp":()=>new URL("./bezels/duo-fold/fold-150.webp","").href,"duo-fold/fold-151.webp":()=>new URL("./bezels/duo-fold/fold-151.webp","").href,"duo-fold/fold-152.webp":()=>new URL("./bezels/duo-fold/fold-152.webp","").href,"duo-fold/fold-153.webp":()=>new URL("./bezels/duo-fold/fold-153.webp","").href,"duo-fold/fold-154.webp":()=>new URL("./bezels/duo-fold/fold-154.webp","").href,"duo-fold/fold-155.webp":()=>new URL("./bezels/duo-fold/fold-155.webp","").href,"duo-fold/fold-156.webp":()=>new URL("./bezels/duo-fold/fold-156.webp","").href,"duo-fold/fold-157.webp":()=>new URL("./bezels/duo-fold/fold-157.webp","").href,"duo-fold/fold-158.webp":()=>new URL("./bezels/duo-fold/fold-158.webp","").href,"duo-fold/fold-159.webp":()=>new URL("./bezels/duo-fold/fold-159.webp","").href,"duo-fold/fold-160.webp":()=>new URL("./bezels/duo-fold/fold-160.webp","").href,"duo-fold/fold-161.webp":()=>new URL("./bezels/duo-fold/fold-161.webp","").href,"duo-fold/fold-162.webp":()=>new URL("./bezels/duo-fold/fold-162.webp","").href,"duo-fold/fold-163.webp":()=>new URL("./bezels/duo-fold/fold-163.webp","").href,"duo-fold/fold-164.webp":()=>new URL("./bezels/duo-fold/fold-164.webp","").href,"duo-fold/fold-165.webp":()=>new URL("./bezels/duo-fold/fold-165.webp","").href,"duo-fold/fold-166.webp":()=>new URL("./bezels/duo-fold/fold-166.webp","").href,"duo-fold/fold-167.webp":()=>new URL("./bezels/duo-fold/fold-167.webp","").href,"duo-fold/fold-168.webp":()=>new URL("./bezels/duo-fold/fold-168.webp","").href,"duo-fold/fold-169.webp":()=>new URL("./bezels/duo-fold/fold-169.webp","").href,"duo-fold/fold-170.webp":()=>new URL("./bezels/duo-fold/fold-170.webp","").href,"duo-fold/fold-171.webp":()=>new URL("./bezels/duo-fold/fold-171.webp","").href,"duo-fold/fold-172.webp":()=>new URL("./bezels/duo-fold/fold-172.webp","").href,"duo-fold/fold-173.webp":()=>new URL("./bezels/duo-fold/fold-173.webp","").href,"duo-fold/fold-174.webp":()=>new URL("./bezels/duo-fold/fold-174.webp","").href,"duo-fold/fold-175.webp":()=>new URL("./bezels/duo-fold/fold-175.webp","").href,"duo-fold/fold-176.webp":()=>new URL("./bezels/duo-fold/fold-176.webp","").href,"duo-fold/fold-177.webp":()=>new URL("./bezels/duo-fold/fold-177.webp","").href,"duo-fold/fold-178.webp":()=>new URL("./bezels/duo-fold/fold-178.webp","").href,"duo-fold/fold-179.webp":()=>new URL("./bezels/duo-fold/fold-179.webp","").href,"duo-fold/fold-180.webp":()=>new URL("./bezels/duo-fold/fold-180.webp","").href,"duo-fold/still-000.webp":()=>new URL("./bezels/duo-fold/still-000.webp","").href,"duo-fold/still-161.webp":()=>new URL("./bezels/duo-fold/still-161.webp","").href,"duo-fold/still-162.webp":()=>new URL("./bezels/duo-fold/still-162.webp","").href,"duo-fold/still-163.webp":()=>new URL("./bezels/duo-fold/still-163.webp","").href,"duo-fold/still-164.webp":()=>new URL("./bezels/duo-fold/still-164.webp","").href,"duo-fold/still-165.webp":()=>new URL("./bezels/duo-fold/still-165.webp","").href,"duo-fold/still-166.webp":()=>new URL("./bezels/duo-fold/still-166.webp","").href,"duo-fold/still-167.webp":()=>new URL("./bezels/duo-fold/still-167.webp","").href,"duo-fold/still-168.webp":()=>new URL("./bezels/duo-fold/still-168.webp","").href,"duo-fold/still-169.webp":()=>new URL("./bezels/duo-fold/still-169.webp","").href,"duo-fold/still-170.webp":()=>new URL("./bezels/duo-fold/still-170.webp","").href,"duo-fold/still-171.webp":()=>new URL("./bezels/duo-fold/still-171.webp","").href,"duo-fold/still-172.webp":()=>new URL("./bezels/duo-fold/still-172.webp","").href,"duo-fold/still-173.webp":()=>new URL("./bezels/duo-fold/still-173.webp","").href,"duo-fold/still-174.webp":()=>new URL("./bezels/duo-fold/still-174.webp","").href,"duo-fold/still-175.webp":()=>new URL("./bezels/duo-fold/still-175.webp","").href,"duo-fold/still-176.webp":()=>new URL("./bezels/duo-fold/still-176.webp","").href,"duo-fold/still-177.webp":()=>new URL("./bezels/duo-fold/still-177.webp","").href,"duo-fold/still-178.webp":()=>new URL("./bezels/duo-fold/still-178.webp","").href,"duo-fold/still-179.webp":()=>new URL("./bezels/duo-fold/still-179.webp","").href,"duo-fold/still-180.webp":()=>new URL("./bezels/duo-fold/still-180.webp","").href,"iphone-16-plus.webp":()=>new URL("./bezels/iphone-16-plus.webp","").href,"iphone-16-pro-max.webp":()=>new URL("./bezels/iphone-16-pro-max.webp","").href,"iphone-16-pro.webp":()=>new URL("./bezels/iphone-16-pro.webp","").href,"iphone-16.webp":()=>new URL("./bezels/iphone-16.webp","").href,"iphone-17-pro-max.webp":()=>new URL("./bezels/iphone-17-pro-max.webp","").href,"iphone-17-pro.webp":()=>new URL("./bezels/iphone-17-pro.webp","").href,"iphone-17.webp":()=>new URL("./bezels/iphone-17.webp","").href,"iphone-18-pro-max.webp":()=>new URL("./bezels/iphone-18-pro-max.webp","").href,"iphone-18-pro.webp":()=>new URL("./bezels/iphone-18-pro.webp","").href,"iphone-air.webp":()=>new URL("./bezels/iphone-air.webp","").href,"iphone-duo-inner-open-landscape.webp":()=>new URL("./bezels/iphone-duo-inner-open-landscape.webp","").href,"iphone-duo-inner-open-portrait.webp":()=>new URL("./bezels/iphone-duo-inner-open-portrait.webp","").href,"iphone-duo-outer-closed.webp":()=>new URL("./bezels/iphone-duo-outer-closed.webp","").href,"iphone-se.webp":()=>new URL("./bezels/iphone-se.webp","").href,"pixel-10-pro-xl.webp":()=>new URL("./bezels/pixel-10-pro-xl.webp","").href,"pixel-10-pro.webp":()=>new URL("./bezels/pixel-10-pro.webp","").href,"pixel-10.webp":()=>new URL("./bezels/pixel-10.webp","").href,"pixel-10a.webp":()=>new URL("./bezels/pixel-10a.webp","").href,"pixel-9-pro-xl.webp":()=>new URL("./bezels/pixel-9-pro-xl.webp","").href,"pixel-9-pro.webp":()=>new URL("./bezels/pixel-9-pro.webp","").href,"pixel-9.webp":()=>new URL("./bezels/pixel-9.webp","").href},D2={open:[133.5,377.45,2853,2005.12],scale:0.5,frames:[{deg:0,file:"duo-fold/fold-000.webp",box:[70,314,1624,2446],pieces:[[0,52,60,128,4,4],[0,180,60,128,72,4],[0,308,60,128,140,4],[0,436,60,128,208,4],[0,564,60,128,276,4],[0,692,60,128,344,4],[0,820,60,128,412,4],[0,948,60,64,480,4],[15,1012,762,54,4,140],[17,0,760,52,4,202]],inner:[[133.5,377.45],[1560,377.45],[1560,2382.57],[133.5,2382.57]],cover:[[1518.25,376.21],[137.3,376.21],[137.3,2383.8],[1518.25,2383.8]],still:0},{deg:1,file:"duo-fold/fold-001.webp",box:[64,312,1624,2448],pieces:[[0,48,67,128,4,4],[0,176,67,128,79,4],[0,304,67,128,154,4],[0,432,67,128,229,4],[0,560,67,128,304,4],[0,688,67,128,379,4],[0,816,67,128,454,4],[0,944,67,76,529,4],[20,0,760,48,4,140],[21,1020,759,48,4,196]],inner:[[129.09,374.25],[1559.96,377.41],[1559.96,2382.6],[129.09,2385.76]],cover:[[1516.54,376.11],[131.28,373.02],[131.28,2386.99],[1516.54,2383.89]],still:0},{deg:2,file:"duo-fold/fold-002.webp",box:[60,308,1624,2452],pieces:[[0,48,68,128,4,4],[0,176,68,128,80,4],[0,304,68,128,156,4],[0,432,68,128,232,4],[0,560,68,128,308,4],[0,688,68,128,384,4],[0,816,68,128,460,4],[0,944,68,80,536,4],[19,0,763,48,4,140],[19,1024,763,48,4,196]],inner:[[125.1,371.04],[1559.93,377.37],[1559.93,2382.64],[125.1,2388.97]],cover:[[1514.85,376.01],[125.66,369.81],[125.66,2390.2],[1514.85,2383.99]],still:0},{deg:3,file:"duo-fold/fold-003.webp",box:[54,306,1624,2454],pieces:[[0,48,72,128,4,4],[0,176,72,128,84,4],[0,304,72,128,164,4],[0,432,72,128,244,4],[0,560,72,128,324,4],[0,688,72,128,404,4],[0,816,72,128,484,4],[0,944,72,84,564,4],[19,0,766,48,4,140],[22,1028,763,46,4,196]],inner:[[121.52,367.81],[1559.9,377.34],[1559.9,2382.67],[121.52,2392.2]],cover:[[1513.16,375.91],[120.43,366.57],[120.43,2393.43],[1513.16,2384.1]],still:0},{deg:4,file:"duo-fold/fold-004.webp",box:[50,302,1624,2458],pieces:[[0,48,72,128,4,4],[0,176,72,128,84,4],[0,304,72,128,164,4],[0,432,72,128,244,4],[0,560,72,128,324,4],[0,688,72,128,404,4],[0,816,72,128,484,4],[0,944,72,88,564,4],[19,0,768,48,4,140],[21,1032,766,46,4,196]],inner:[[118.36,364.57],[1559.87,377.3],[1559.87,2382.71],[118.36,2395.45]],cover:[[1511.49,375.8],[115.61,363.32],[115.61,2396.69],[1511.49,2384.2]],still:0},{deg:5,file:"duo-fold/fold-005.webp",box:[46,300,1624,2460],pieces:[[0,56,59,128,4,4],[0,184,59,128,71,4],[0,312,59,128,138,4],[0,440,59,128,205,4],[0,568,59,128,272,4],[0,696,59,128,339,4],[0,824,59,128,406,4],[0,952,59,72,473,4],[14,0,775,56,4,140],[14,1024,775,56,4,204]],inner:[[115.63,361.3],[1559.86,377.27],[1559.86,2382.74],[115.63,2398.71]],cover:[[1509.83,375.69],[111.2,360.04],[111.2,2399.97],[1509.83,2384.31]],still:0},{deg:6,file:"duo-fold/fold-006.webp",box:[42,296,1624,2464],pieces:[[0,48,72,128,4,4],[0,176,72,128,84,4],[0,304,72,128,164,4],[0,432,72,128,244,4],[0,560,72,128,324,4],[0,688,72,128,404,4],[0,816,72,128,484,4],[0,944,72,92,564,4],[20,0,771,48,4,140],[20,1036,771,48,4,196]],inner:[[113.33,358.02],[1559.84,377.23],[1559.84,2382.78],[113.33,2401.99]],cover:[[1508.19,375.58],[107.2,356.74],[107.2,2403.27],[1508.19,2384.43]],still:0},{deg:7,file:"duo-fold/fold-007.webp",box:[40,294,1624,2466],pieces:[[0,48,69,128,4,4],[0,176,69,128,81,4],[0,304,69,128,158,4],[0,432,69,128,235,4],[0,560,69,128,312,4],[0,688,69,128,389,4],[0,816,69,128,466,4],[0,944,69,92,543,4],[18,1036,774,50,4,140],[19,0,773,48,4,198]],inner:[[111.46,354.72],[1559.83,377.2],[1559.83,2382.81],[111.46,2405.29]],cover:[[1506.56,375.46],[103.63,353.43],[103.63,2406.58],[1506.56,2384.54]],still:0},{deg:8,file:"duo-fold/fold-008.webp",box:[38,290,1624,2470],pieces:[[0,56,60,128,4,4],[0,184,60,128,72,4],[0,312,60,128,140,4],[0,440,60,128,208,4],[0,568,60,128,276,4],[0,696,60,128,344,4],[0,824,60,128,412,4],[0,952,60,80,480,4],[13,1032,780,58,4,140],[15,0,778,56,4,206]],inner:[[110.03,351.41],[1559.83,377.16],[1559.83,2382.85],[110.03,2408.6]],cover:[[1504.95,375.34],[100.48,350.09],[100.48,2409.92],[1504.95,2384.67]],still:0},{deg:9,file:"duo-fold/fold-009.webp",box:[36,288,1624,2472],pieces:[[0,48,72,128,4,4],[0,176,72,128,84,4],[0,304,72,128,164,4],[0,432,72,128,244,4],[0,560,72,128,324,4],[0,688,72,128,404,4],[0,816,72,128,484,4],[0,944,72,100,564,4],[19,0,775,48,4,140],[19,1044,775,48,4,196]],inner:[[109.05,348.09],[1559.83,377.13],[1559.83,2382.88],[109.05,2411.92]],cover:[[1503.36,375.22],[97.76,346.74],[97.76,2413.27],[1503.36,2384.79]],still:0},{deg:10,file:"duo-fold/fold-010.webp",box:[34,284,1624,2476],pieces:[[0,52,68,128,4,4],[0,180,68,128,80,4],[0,308,68,128,156,4],[0,436,68,128,232,4],[0,564,68,128,308,4],[0,692,68,128,384,4],[0,820,68,128,460,4],[0,948,68,96,536,4],[17,0,778,52,4,140],[17,1044,778,52,4,200]],inner:[[108.52,344.75],[1559.83,377.09],[1559.83,2382.92],[108.52,2415.26]],cover:[[1501.78,375.09],[95.48,343.37],[95.48,2416.64],[1501.78,2384.92]],still:0},{deg:11,file:"duo-fold/fold-011.webp",box:[32,282,1624,2478],pieces:[[0,52,70,128,4,4],[0,180,70,128,82,4],[0,308,70,128,160,4],[0,436,70,128,238,4],[0,564,70,128,316,4],[0,692,70,128,394,4],[0,820,70,128,472,4],[0,948,70,100,550,4],[17,0,779,52,4,140],[18,1048,778,50,4,200]],inner:[[108.44,341.4],[1559.84,377.05],[1559.84,2382.96],[108.44,2418.61]],cover:[[1500.22,374.96],[93.64,339.98],[93.64,2420.02],[1500.22,2385.05]],still:0},{deg:12,file:"duo-fold/fold-012.webp",box:[32,278,1624,2482],pieces:[[0,52,67,128,4,4],[0,180,67,128,79,4],[0,308,67,128,154,4],[0,436,67,128,229,4],[0,564,67,128,304,4],[0,692,67,128,379,4],[0,820,67,128,454,4],[0,948,67,100,529,4],[15,1048,781,54,4,140],[17,0,779,52,4,202]],inner:[[108.82,338.04],[1559.86,377.02],[1559.86,2382.99],[108.82,2421.97]],cover:[[1498.67,374.82],[92.25,336.58],[92.25,2423.42],[1498.67,2385.19]],still:0},{deg:13,file:"duo-fold/fold-013.webp",box:[32,274,1624,2486],pieces:[[0,56,68,128,4,4],[0,184,68,128,80,4],[0,312,68,128,156,4],[0,440,68,128,232,4],[0,568,68,128,308,4],[0,696,68,128,384,4],[0,824,68,128,460,4],[0,952,68,100,536,4],[14,0,782,56,4,140],[16,1052,780,54,4,204]],inner:[[109.66,334.68],[1559.88,376.98],[1559.88,2383.03],[109.66,2425.34]],cover:[[1497.15,374.68],[91.31,333.17],[91.31,2426.84],[1497.15,2385.33]],still:0},{deg:14,file:"duo-fold/fold-014.webp",box:[32,272,1624,2488],pieces:[[0,56,66,128,4,4],[0,184,66,128,78,4],[0,312,66,128,152,4],[0,440,66,128,226,4],[0,568,66,128,300,4],[0,696,66,128,374,4],[0,824,66,128,448,4],[0,952,66,100,522,4],[14,0,782,56,4,140],[15,1052,781,56,4,204]],inner:[[110.98,331.3],[1559.9,376.95],[1559.9,2383.06],[110.98,2428.71]],cover:[[1495.64,374.54],[90.82,329.74],[90.82,2430.26],[1495.64,2385.47]],still:0},{deg:15,file:"duo-fold/fold-015.webp",box:[32,268,1624,2492],pieces:[[0,60,63,128,4,4],[0,188,63,128,75,4],[0,316,63,128,146,4],[0,444,63,128,217,4],[0,572,63,128,288,4],[0,700,63,128,359,4],[0,828,63,128,430,4],[0,956,63,96,501,4],[12,0,784,60,4,140],[13,1052,783,60,4,208]],inner:[[112.76,327.92],[1559.93,376.91],[1559.93,2383.1],[112.76,2432.1]],cover:[[1494.15,374.39],[90.8,326.31],[90.8,2433.7],[1494.15,2385.61]],still:0},{deg:16,file:"duo-fold/fold-016.webp",box:[34,266,1624,2494],pieces:[[0,60,63,128,4,4],[0,188,63,128,75,4],[0,316,63,128,146,4],[0,444,63,128,217,4],[0,572,63,128,288,4],[0,700,63,128,359,4],[0,828,63,128,430,4],[0,956,63,96,501,4],[11,1052,784,62,4,140],[12,0,783,60,4,210]],inner:[[115.02,324.53],[1559.97,376.88],[1559.97,2383.13],[115.02,2435.49]],cover:[[1492.69,374.25],[91.24,322.86],[91.24,2437.15],[1492.69,2385.76]],still:0},{deg:17,file:"duo-fold/fold-017.webp",box:[36,262,1624,2498],pieces:[[0,60,64,128,4,4],[0,188,64,128,76,4],[0,316,64,128,148,4],[0,444,64,128,220,4],[0,572,64,128,292,4],[0,700,64,128,364,4],[0,828,64,128,436,4],[0,956,64,100,508,4],[11,1056,783,62,4,140],[12,0,782,60,4,210]],inner:[[117.75,321.13],[1560,376.84],[1560,2383.17],[117.75,2438.88]],cover:[[1491.24,374.09],[92.15,319.4],[92.15,2440.61],[1491.24,2385.91]],still:0},{deg:18,file:"duo-fold/fold-018.webp",box:[38,260,1624,2500],pieces:[[0,64,61,128,4,4],[0,192,61,128,73,4],[0,320,61,128,142,4],[0,448,61,128,211,4],[0,576,61,128,280,4],[0,704,61,128,349,4],[0,832,61,128,418,4],[0,960,61,96,487,4],[10,0,783,64,4,140],[10,1056,783,64,4,212]],inner:[[120.97,317.73],[1560.05,376.81],[1560.05,2383.2],[120.97,2442.28]],cover:[[1489.81,373.94],[93.53,315.93],[93.53,2444.08],[1489.81,2386.07]],still:0},{deg:19,file:"duo-fold/fold-019.webp",box:[40,256,1624,2504],pieces:[[0,64,62,128,4,4],[0,192,62,128,74,4],[0,320,62,128,144,4],[0,448,62,128,214,4],[0,576,62,128,284,4],[0,704,62,128,354,4],[0,832,62,128,424,4],[0,960,62,100,494,4],[10,0,782,64,4,140],[10,1060,782,64,4,212]],inner:[[124.68,314.33],[1560.1,376.77],[1560.1,2383.24],[124.68,2445.68]],cover:[[1488.4,373.78],[95.4,312.46],[95.4,2447.55],[1488.4,2386.23]],still:0},{deg:20,file:"duo-fold/fold-020.webp",box:[44,252,1624,2508],pieces:[[0,68,60,128,4,4],[0,196,60,128,72,4],[0,324,60,128,140,4],[0,452,60,128,208,4],[0,580,60,128,276,4],[0,708,60,128,344,4],[0,836,60,128,412,4],[0,964,60,96,480,4],[8,0,782,68,4,140],[8,1060,782,68,4,216]],inner:[[128.88,310.93],[1560.15,376.74],[1560.15,2383.27],[128.88,2449.09]],cover:[[1487.01,373.62],[97.74,308.98],[97.74,2451.03],[1487.01,2386.39]],still:0},{deg:21,file:"duo-fold/fold-021.webp",box:[48,250,1624,2510],pieces:[[0,68,60,128,4,4],[0,196,60,128,72,4],[0,324,60,128,140,4],[0,452,60,128,208,4],[0,580,60,128,276,4],[0,708,60,128,344,4],[0,836,60,128,412,4],[0,964,60,96,480,4],[7,1060,781,70,4,140],[8,0,780,68,4,218]],inner:[[133.57,307.52],[1560.21,376.7],[1560.21,2383.31],[133.57,2452.49]],cover:[[1485.65,373.45],[100.57,305.49],[100.57,2454.52],[1485.65,2386.56]],still:0},{deg:22,file:"duo-fold/fold-022.webp",box:[52,246,1624,2514],pieces:[[0,68,60,128,4,4],[0,196,60,128,72,4],[0,324,60,128,140,4],[0,452,60,128,208,4],[0,580,60,128,276,4],[0,708,60,128,344,4],[0,836,60,128,412,4],[0,964,60,100,480,4],[8,1064,778,70,4,140],[8,0,778,68,4,218]],inner:[[138.75,304.12],[1560.27,376.67],[1560.27,2383.34],[138.75,2455.89]],cover:[[1484.31,373.28],[103.89,302],[103.89,2458.01],[1484.31,2386.72]],still:0},{deg:23,file:"duo-fold/fold-023.webp",box:[56,244,1624,2516],pieces:[[0,72,59,128,4,4],[0,200,59,128,71,4],[0,328,59,128,138,4],[0,456,59,128,205,4],[0,584,59,128,272,4],[0,712,59,128,339,4],[0,840,59,128,406,4],[0,968,59,96,473,4],[7,0,777,72,4,140],[7,1064,777,72,4,220]],inner:[[144.44,300.72],[1560.34,376.63],[1560.34,2383.38],[144.44,2459.29]],cover:[[1482.98,373.11],[107.71,298.51],[107.71,2461.5],[1482.98,2386.89]],still:0},{deg:24,file:"duo-fold/fold-024.webp",box:[60,240,1624,2520],pieces:[[0,72,60,128,4,4],[0,200,60,128,72,4],[0,328,60,128,140,4],[0,456,60,128,208,4],[0,584,60,128,276,4],[0,712,60,128,344,4],[0,840,60,128,412,4],[0,968,60,100,480,4],[8,0,774,72,4,140],[8,1068,774,72,4,220]],inner:[[150.62,297.32],[1560.41,376.6],[1560.41,2383.41],[150.62,2462.69]],cover:[[1481.69,372.94],[112.02,295.01],[112.02,2465],[1481.69,2387.07]],still:0},{deg:25,file:"duo-fold/fold-025.webp",box:[66,236,1624,2524],pieces:[[0,76,58,128,4,4],[0,204,58,128,70,4],[0,332,58,128,136,4],[0,460,58,128,202,4],[0,588,58,128,268,4],[0,716,58,128,334,4],[0,844,58,128,400,4],[0,972,58,96,466,4],[6,0,773,76,4,140],[6,1068,773,76,4,224]],inner:[[157.31,293.93],[1560.49,376.56],[1560.49,2383.45],[157.31,2466.08]],cover:[[1480.41,372.76],[116.83,291.52],[116.83,2468.49],[1480.41,2387.25]],still:0},{deg:26,file:"duo-fold/fold-026.webp",box:[72,234,1624,2526],pieces:[[0,76,60,128,4,4],[0,204,60,128,72,4],[0,332,60,128,140,4],[0,460,60,128,208,4],[0,588,60,128,276,4],[0,716,60,128,344,4],[0,844,60,128,412,4],[0,972,60,100,480,4],[6,0,770,76,4,140],[7,1072,769,74,4,224]],inner:[[164.5,290.55],[1560.57,376.53],[1560.57,2383.48],[164.5,2469.47]],cover:[[1479.16,372.58],[122.15,288.02],[122.15,2471.99],[1479.16,2387.42]],still:0},{deg:27,file:"duo-fold/fold-027.webp",box:[80,230,1624,2530],pieces:[[0,76,59,128,4,4],[0,204,59,128,71,4],[0,332,59,128,138,4],[0,460,59,128,205,4],[0,588,59,128,272,4],[0,716,59,128,339,4],[0,844,59,128,406,4],[0,972,59,100,473,4],[5,1072,767,78,4,140],[6,0,766,76,4,226]],inner:[[172.21,287.17],[1560.66,376.5],[1560.66,2383.52],[172.21,2472.84]],cover:[[1477.93,372.4],[127.97,284.53],[127.97,2475.48],[1477.93,2387.61]],still:0},{deg:28,file:"duo-fold/fold-028.webp",box:[86,228,1624,2532],pieces:[[0,80,58,128,4,4],[0,208,58,128,70,4],[0,336,58,128,136,4],[0,464,58,128,202,4],[0,592,58,128,268,4],[0,720,58,128,334,4],[0,848,58,128,400,4],[0,976,58,96,466,4],[5,0,764,80,4,140],[5,1072,764,80,4,228]],inner:[[180.42,283.8],[1560.75,376.46],[1560.75,2383.55],[180.42,2476.21]],cover:[[1476.73,372.21],[134.3,281.04],[134.3,2478.96],[1476.73,2387.79]],still:0},{deg:29,file:"duo-fold/fold-029.webp",box:[94,224,1624,2536],pieces:[[0,80,58,128,4,4],[0,208,58,128,70,4],[0,336,58,128,136,4],[0,464,58,128,202,4],[0,592,58,128,268,4],[0,720,58,128,334,4],[0,848,58,128,400,4],[0,976,58,100,466,4],[5,0,760,80,4,140],[5,1076,760,80,4,228]],inner:[[189.14,280.44],[1560.85,376.43],[1560.85,2383.58],[189.14,2479.57]],cover:[[1475.55,372.03],[141.14,277.56],[141.14,2482.45],[1475.55,2387.98]],still:0},{deg:30,file:"duo-fold/fold-030.webp",box:[102,222,1624,2538],pieces:[[0,80,59,128,4,4],[0,208,59,128,71,4],[0,336,59,128,138,4],[0,464,59,128,205,4],[0,592,59,128,272,4],[0,720,59,128,339,4],[0,848,59,128,406,4],[0,976,59,100,473,4],[4,1076,757,82,4,140],[5,0,756,80,4,230]],inner:[[198.38,277.09],[1560.95,376.39],[1560.95,2383.62],[198.38,2482.92]],cover:[[1474.4,371.84],[148.49,274.08],[148.49,2485.92],[1474.4,2388.17]],still:0},{deg:31,file:"duo-fold/fold-031.webp",box:[110,218,1624,2542],pieces:[[0,84,59,128,4,4],[0,212,59,128,71,4],[0,340,59,128,138,4],[0,468,59,128,205,4],[0,596,59,128,272,4],[0,724,59,128,339,4],[0,852,59,128,406,4],[0,980,59,100,473,4],[4,0,753,84,4,140],[4,1080,753,82,4,232]],inner:[[208.13,273.76],[1561.05,376.36],[1561.05,2383.65],[208.13,2486.25]],cover:[[1473.27,371.64],[156.36,270.62],[156.36,2489.39],[1473.27,2388.36]],still:0},{deg:32,file:"duo-fold/fold-032.webp",box:[120,214,1624,2546],pieces:[[0,84,58,128,4,4],[0,212,58,128,70,4],[0,340,58,128,136,4],[0,468,58,128,202,4],[0,596,58,128,268,4],[0,724,58,128,334,4],[0,852,58,128,400,4],[0,980,58,100,466,4],[3,1080,749,86,4,140],[4,0,748,84,4,234]],inner:[[218.39,270.44],[1561.16,376.33],[1561.16,2383.68],[218.39,2489.57]],cover:[[1472.17,371.45],[164.75,267.16],[164.75,2492.85],[1472.17,2388.56]],still:0},{deg:33,file:"duo-fold/fold-033.webp",box:[130,212,1624,2548],pieces:[[0,88,57,128,4,4],[0,216,57,128,69,4],[0,344,57,128,134,4],[0,472,57,128,199,4],[0,600,57,128,264,4],[0,728,57,128,329,4],[0,856,57,128,394,4],[0,984,57,96,459,4],[2,0,745,88,4,140],[2,1080,745,88,4,236]],inner:[[229.17,267.14],[1561.27,376.3],[1561.27,2383.71],[229.17,2492.88]],cover:[[1471.09,371.25],[173.65,263.71],[173.65,2496.3],[1471.09,2388.76]],still:0},{deg:34,file:"duo-fold/fold-034.webp",box:[140,208,1624,2552],pieces:[[0,88,58,128,4,4],[0,216,58,128,70,4],[0,344,58,128,136,4],[0,472,58,128,202,4],[0,600,58,128,268,4],[0,728,58,128,334,4],[0,856,58,128,400,4],[0,984,58,100,466,4],[3,0,739,88,4,140],[3,1084,739,88,4,236]],inner:[[240.46,263.85],[1561.39,376.26],[1561.39,2383.75],[240.46,2496.16]],cover:[[1470.04,371.05],[183.08,260.27],[183.08,2499.74],[1470.04,2388.96]],still:0},{deg:35,file:"duo-fold/fold-035.webp",box:[150,206,1624,2554],pieces:[[0,88,59,128,4,4],[0,216,59,128,71,4],[0,344,59,128,138,4],[0,472,59,128,205,4],[0,600,59,128,272,4],[0,728,59,128,339,4],[0,856,59,128,406,4],[0,984,59,100,473,4],[2,1084,735,90,4,140],[3,0,734,88,4,238]],inner:[[252.27,260.58],[1561.51,376.23],[1561.51,2383.78],[252.27,2499.43]],cover:[[1469.02,370.84],[193.03,256.85],[193.03,2503.16],[1469.02,2389.16]],still:0},{deg:36,file:"duo-fold/fold-036.webp",box:[162,202,1624,2558],pieces:[[0,92,59,128,4,4],[0,220,59,128,71,4],[0,348,59,128,138,4],[0,476,59,128,205,4],[0,604,59,128,272,4],[0,732,59,128,339,4],[0,860,59,128,406,4],[0,988,59,100,473,4],[2,0,729,92,4,140],[2,1088,729,90,4,240]],inner:[[264.59,257.34],[1561.64,376.2],[1561.64,2383.81],[264.59,2502.67]],cover:[[1468.03,370.64],[203.5,253.44],[203.5,2506.57],[1468.03,2389.37]],still:0},{deg:37,file:"duo-fold/fold-037.webp",box:[174,200,1624,2560],pieces:[[0,92,58,128,4,4],[0,220,58,128,70,4],[0,348,58,128,136,4],[0,476,58,128,202,4],[0,604,58,128,268,4],[0,732,58,128,334,4],[0,860,58,128,400,4],[0,988,58,100,466,4],[2,0,723,92,4,140],[1,1088,724,92,4,240]],inner:[[277.43,254.11],[1561.77,376.17],[1561.77,2383.84],[277.43,2505.9]],cover:[[1467.06,370.43],[214.49,250.05],[214.49,2509.96],[1467.06,2389.58]],still:0},{deg:38,file:"duo-fold/fold-038.webp",box:[186,196,1624,2564],pieces:[[0,96,58,128,4,4],[0,224,58,128,70,4],[0,352,58,128,136,4],[0,480,58,128,202,4],[0,608,58,128,268,4],[0,736,58,128,334,4],[0,864,58,128,400,4],[1,0,718,96,4,140],[1,1088,718,96,4,244],[0,992,58,96,4,348]],inner:[[290.78,250.91],[1561.91,376.14],[1561.91,2383.87],[290.78,2509.1]],cover:[[1466.12,370.22],[226.01,246.68],[226.01,2513.33],[1466.12,2389.79]],still:0},{deg:39,file:"duo-fold/fold-039.webp",box:[198,194,1624,2566],pieces:[[0,96,59,128,4,4],[0,224,59,128,71,4],[0,352,59,128,138,4],[0,480,59,128,205,4],[0,608,59,128,272,4],[0,736,59,128,339,4],[0,864,59,128,406,4],[0,992,59,100,473,4],[1,0,712,96,4,140],[2,1092,711,94,4,244]],inner:[[304.64,247.74],[1562.05,376.11],[1562.05,2383.9],[304.64,2512.27]],cover:[[1465.21,370.01],[238.05,243.33],[238.05,2516.68],[1465.21,2390]],still:0},{deg:40,file:"duo-fold/fold-040.webp",box:[212,190,1624,2570],pieces:[[0,96,59,128,4,4],[0,224,59,128,71,4],[0,352,59,128,138,4],[0,480,59,128,205,4],[0,608,59,128,272,4],[0,736,59,128,339,4],[0,864,59,128,406,4],[0,992,59,100,473,4],[1,1092,705,98,4,140],[1,0,705,96,4,246]],inner:[[319.01,244.59],[1562.19,376.08],[1562.19,2383.94],[319.01,2515.42]],cover:[[1464.32,369.8],[250.61,239.99],[250.61,2520.01],[1464.32,2390.21]],still:0},{deg:41,file:"duo-fold/fold-041.webp",box:[226,188,1624,2572],pieces:[[0,100,59,128,4,4],[0,228,59,128,71,4],[0,356,59,128,138,4],[0,484,59,128,205,4],[0,612,59,128,272,4],[0,740,59,128,339,4],[0,868,59,128,406,4],[0,0,699,100,4,140],[0,1092,699,100,4,248],[0,996,59,96,4,356]],inner:[[333.9,241.47],[1562.34,376.05],[1562.34,2383.97],[333.9,2518.54]],cover:[[1463.47,369.58],[263.69,236.68],[263.69,2523.32],[1463.47,2390.43]],still:0},{deg:42,file:"duo-fold/fold-042.webp",box:[240,184,1624,2576],pieces:[[0,100,60,128,4,4],[0,228,60,128,72,4],[0,356,60,128,140,4],[0,484,60,128,208,4],[0,612,60,128,276,4],[0,740,60,128,344,4],[0,868,60,128,412,4],[1,0,691,100,4,140],[1,1096,691,100,4,248],[0,996,60,100,4,356]],inner:[[349.28,238.38],[1562.49,376.02],[1562.49,2384],[349.28,2521.63]],cover:[[1462.64,369.36],[277.29,233.4],[277.29,2526.61],[1462.64,2390.65]],still:0},{deg:43,file:"duo-fold/fold-043.webp",box:[256,182,1624,2578],pieces:[[0,100,60,128,4,4],[0,228,60,128,72,4],[0,356,60,128,140,4],[0,484,60,128,208,4],[0,612,60,128,276,4],[0,740,60,128,344,4],[0,868,60,128,412,4],[0,1096,684,102,4,140],[0,0,684,100,4,250],[0,996,60,100,4,358]],inner:[[365.18,235.32],[1562.65,375.99],[1562.65,2384.02],[365.18,2524.69]],cover:[[1461.84,369.14],[291.42,230.14],[291.42,2529.87],[1461.84,2390.87]],still:0},{deg:44,file:"duo-fold/fold-044.webp",box:[270,178,1624,2582],pieces:[[0,104,60,128,4,4],[0,232,60,128,72,4],[0,360,60,128,140,4],[0,488,60,128,208,4],[0,616,60,128,276,4],[0,744,60,128,344,4],[0,872,60,128,412,4],[0,0,677,104,4,140],[1,1100,676,102,4,252],[0,1000,60,100,4,362]],inner:[[381.57,232.3],[1562.81,375.96],[1562.81,2384.05],[381.57,2527.72]],cover:[[1461.07,368.92],[306.06,226.91],[306.06,2533.1],[1461.07,2391.09]],still:0},{deg:45,file:"duo-fold/fold-045.webp",box:[286,176,1624,2584],pieces:[[0,104,61,128,4,4],[0,232,61,128,73,4],[0,360,61,128,142,4],[0,488,61,128,211,4],[0,616,61,128,280,4],[0,744,61,128,349,4],[0,872,61,128,418,4],[0,0,669,104,4,140],[0,1100,669,104,4,252],[0,1000,61,100,4,364]],inner:[[398.46,229.31],[1562.97,375.93],[1562.97,2384.08],[398.46,2530.71]],cover:[[1460.34,368.7],[321.22,223.71],[321.22,2536.3],[1460.34,2391.31]],still:0},{deg:46,file:"duo-fold/fold-046.webp",box:[302,172,1624,2588],pieces:[[0,108,61,128,4,4],[0,236,61,128,73,4],[0,364,61,128,142,4],[0,492,61,128,211,4],[0,620,61,128,280,4],[0,748,61,128,349,4],[0,876,61,128,418,4],[0,0,661,108,4,140],[0,1100,661,108,4,256],[0,1004,61,96,4,372]],inner:[[415.84,226.35],[1563.14,375.9],[1563.14,2384.11],[415.84,2533.66]],cover:[[1459.63,368.47],[336.89,220.54],[336.89,2539.47],[1459.63,2391.54]],still:0},{deg:47,file:"duo-fold/fold-047.webp",box:[320,170,1624,2590],pieces:[[0,108,61,128,4,4],[0,236,61,128,73,4],[0,364,61,128,142,4],[0,492,61,128,211,4],[0,620,61,128,280,4],[0,748,61,128,349,4],[0,876,61,128,418,4],[0,0,652,108,4,140],[0,1104,652,106,4,256],[0,1004,61,100,4,370]],inner:[[433.72,223.43],[1563.31,375.87],[1563.31,2384.14],[433.72,2536.58]],cover:[[1458.95,368.25],[353.08,217.4],[353.08,2542.61],[1458.95,2391.76]],still:0},{deg:48,file:"duo-fold/fold-048.webp",box:[338,168,1624,2592],pieces:[[0,108,61,128,4,4],[0,236,61,128,73,4],[0,364,61,128,142,4],[0,492,61,128,211,4],[0,620,61,128,280,4],[0,748,61,128,349,4],[0,876,61,128,418,4],[0,0,643,108,4,140],[0,1104,643,108,4,256],[0,1004,61,100,4,372]],inner:[[452.08,220.56],[1563.49,375.84],[1563.49,2384.17],[452.08,2539.46]],cover:[[1458.3,368.02],[369.77,214.3],[369.77,2545.71],[1458.3,2391.99]],still:0},{deg:49,file:"duo-fold/fold-049.webp",box:[356,164,1624,2596],pieces:[[0,112,61,128,4,4],[0,240,61,128,73,4],[0,368,61,128,142,4],[0,496,61,128,211,4],[0,624,61,128,280,4],[0,752,61,128,349,4],[0,880,61,128,418,4],[0,0,634,112,4,140],[0,1104,634,112,4,260],[0,1008,61,96,4,380]],inner:[[470.93,217.72],[1563.67,375.82],[1563.67,2384.19],[470.93,2542.29]],cover:[[1457.68,367.79],[386.97,211.23],[386.97,2548.78],[1457.68,2392.22]],still:0},{deg:50,file:"duo-fold/fold-050.webp",box:[374,162,1624,2598],pieces:[[0,112,62,128,4,4],[0,240,62,128,74,4],[0,368,62,128,144,4],[0,496,62,128,214,4],[0,624,62,128,284,4],[0,752,62,128,354,4],[0,880,62,128,424,4],[0,0,625,112,4,140],[0,1108,625,110,4,260],[0,1008,62,100,4,378]],inner:[[490.25,214.92],[1563.85,375.79],[1563.85,2384.22],[490.25,2545.09]],cover:[[1457.1,367.56],[404.67,208.2],[404.67,2551.81],[1457.1,2392.45]],still:0},{deg:51,file:"duo-fold/fold-051.webp",box:[394,158,1624,2602],pieces:[[0,112,62,128,4,4],[0,240,62,128,74,4],[0,368,62,128,144,4],[0,496,62,128,214,4],[0,624,62,128,284,4],[0,752,62,128,354,4],[0,880,62,128,424,4],[0,1108,615,114,4,140],[0,0,615,112,4,262],[0,1008,62,100,4,382]],inner:[[510.04,212.17],[1564.04,375.76],[1564.04,2384.25],[510.04,2547.84]],cover:[[1456.54,367.32],[422.87,205.2],[422.87,2554.8],[1456.54,2392.68]],still:0},{deg:52,file:"duo-fold/fold-052.webp",box:[412,156,1624,2604],pieces:[[0,116,62,128,4,4],[0,244,62,128,74,4],[0,372,62,128,144,4],[0,500,62,128,214,4],[0,628,62,128,284,4],[0,756,62,128,354,4],[0,884,62,128,424,4],[0,0,606,116,4,140],[0,1108,606,116,4,264],[0,1012,62,96,4,388]],inner:[[530.3,209.47],[1564.23,375.74],[1564.23,2384.27],[530.3,2550.54]],cover:[[1456.02,367.09],[441.56,202.25],[441.56,2557.75],[1456.02,2392.92]],still:0},{deg:53,file:"duo-fold/fold-053.webp",box:[432,154,1624,2606],pieces:[[0,116,63,128,4,4],[0,244,63,128,75,4],[0,372,63,128,146,4],[0,500,63,128,217,4],[0,628,63,128,288,4],[0,756,63,128,359,4],[0,884,63,128,430,4],[0,0,596,116,4,140],[0,1112,596,114,4,264],[0,1012,63,100,4,386]],inner:[[551.01,206.81],[1564.43,375.71],[1564.43,2384.3],[551.01,2553.2]],cover:[[1455.52,366.86],[460.74,199.34],[460.74,2560.66],[1455.52,2393.15]],still:0},{deg:54,file:"duo-fold/fold-054.webp",box:[454,152,1624,2608],pieces:[[0,116,62,128,4,4],[0,244,62,128,74,4],[0,372,62,128,144,4],[0,500,62,128,214,4],[0,628,62,128,284,4],[0,756,62,128,354,4],[0,884,62,128,424,4],[0,0,585,116,4,140],[0,1112,585,116,4,264],[0,1012,62,100,4,388]],inner:[[572.18,204.2],[1564.62,375.69],[1564.62,2384.33],[572.18,2555.81]],cover:[[1455.06,366.62],[480.41,196.48],[480.41,2563.53],[1455.06,2393.39]],still:0},{deg:55,file:"duo-fold/fold-055.webp",box:[474,148,1624,2612],pieces:[[0,120,63,128,4,4],[0,248,63,128,75,4],[0,376,63,128,146,4],[0,504,63,128,217,4],[0,632,63,128,288,4],[0,760,63,128,359,4],[0,888,63,128,430,4],[0,0,575,120,4,140],[0,1112,575,120,4,268],[0,1016,63,96,4,396]],inner:[[593.8,201.64],[1564.83,375.66],[1564.83,2384.35],[593.8,2558.37]],cover:[[1454.63,366.38],[500.55,193.66],[500.55,2566.35],[1454.63,2393.62]],still:0},{deg:56,file:"duo-fold/fold-056.webp",box:[496,146,1624,2614],pieces:[[0,120,63,128,4,4],[0,248,63,128,75,4],[0,376,63,128,146,4],[0,504,63,128,217,4],[0,632,63,128,288,4],[0,760,63,128,359,4],[0,888,63,128,430,4],[0,0,564,120,4,140],[0,1116,564,118,4,268],[0,1016,63,100,4,394]],inner:[[615.86,199.14],[1565.03,375.64],[1565.03,2384.37],[615.86,2560.87]],cover:[[1454.23,366.14],[521.17,190.89],[521.17,2569.12],[1454.23,2393.86]],still:0},{deg:57,file:"duo-fold/fold-057.webp",box:[518,144,1624,2616],pieces:[[0,120,63,128,4,4],[0,248,63,128,75,4],[0,376,63,128,146,4],[0,504,63,128,217,4],[0,632,63,128,288,4],[0,760,63,128,359,4],[0,888,63,128,430,4],[0,0,553,120,4,140],[0,1116,553,120,4,268],[0,1016,63,100,4,396]],inner:[[638.35,196.68],[1565.24,375.61],[1565.24,2384.4],[638.35,2563.33]],cover:[[1453.87,365.91],[542.25,188.17],[542.25,2571.84],[1453.87,2394.1]],still:0},{deg:58,file:"duo-fold/fold-058.webp",box:[540,142,1624,2618],pieces:[[0,120,64,128,4,4],[0,248,64,128,76,4],[0,376,64,128,148,4],[0,504,64,128,220,4],[0,632,64,128,292,4],[0,760,64,128,364,4],[0,888,64,128,436,4],[0,1116,542,122,4,140],[0,0,542,120,4,270],[0,1016,64,100,4,398]],inner:[[661.26,194.29],[1565.45,375.59],[1565.45,2384.42],[661.26,2565.73]],cover:[[1453.53,365.67],[563.79,185.49],[563.79,2574.52],[1453.53,2394.34]],still:0},{deg:59,file:"duo-fold/fold-059.webp",box:[564,140,1624,2620],pieces:[[0,124,63,128,4,4],[0,252,63,128,75,4],[0,380,63,128,146,4],[0,508,63,128,217,4],[0,636,63,128,288,4],[0,764,63,128,359,4],[0,892,63,128,430,4],[0,0,530,124,4,140],[0,1116,530,124,4,272],[0,1020,63,96,4,404]],inner:[[684.59,191.94],[1565.66,375.57],[1565.66,2384.44],[684.59,2568.07]],cover:[[1453.23,365.42],[585.79,182.87],[585.79,2577.14],[1453.23,2394.58]],still:0},{deg:60,file:"duo-fold/fold-060.webp",box:[586,136,1624,2624],pieces:[[0,124,64,128,4,4],[0,252,64,128,76,4],[0,380,64,128,148,4],[0,508,64,128,220,4],[0,636,64,128,292,4],[0,764,64,128,364,4],[0,892,64,128,436,4],[0,0,519,124,4,140],[0,1120,519,124,4,272],[0,1020,64,100,4,404]],inner:[[708.33,189.66],[1565.88,375.54],[1565.88,2384.47],[708.33,2570.35]],cover:[[1452.96,365.18],[608.23,180.3],[608.23,2579.7],[1452.96,2394.82]],still:0},{deg:61,file:"duo-fold/fold-061.webp",box:[610,134,1624,2626],pieces:[[0,124,64,128,4,4],[0,252,64,128,76,4],[0,380,64,128,148,4],[0,508,64,128,220,4],[0,636,64,128,292,4],[0,764,64,128,364,4],[0,892,64,128,436,4],[0,1120,507,126,4,140],[0,0,507,124,4,274],[0,1020,64,100,4,406]],inner:[[732.47,187.43],[1566.1,375.52],[1566.1,2384.49],[732.47,2572.58]],cover:[[1452.72,364.94],[631.11,177.79],[631.11,2582.22],[1452.72,2395.07]],still:0},{deg:62,file:"duo-fold/fold-062.webp",box:[634,132,1624,2628],pieces:[[0,0,495,128,4,4],[0,1120,495,128,4,140],[0,128,64,128,4,276],[0,256,64,128,76,276],[0,384,64,128,148,276],[0,512,64,128,220,276],[0,640,64,128,292,276],[0,768,64,128,364,276],[0,896,64,128,4,412],[0,1024,64,96,76,412]],inner:[[756.99,185.27],[1566.32,375.5],[1566.32,2384.51],[756.99,2574.74]],cover:[[1452.52,364.7],[654.42,175.34],[654.42,2584.67],[1452.52,2395.31]],still:0},{deg:63,file:"duo-fold/fold-063.webp",box:[658,130,1624,2630],pieces:[[0,0,483,128,4,4],[0,1120,483,128,4,140],[0,132,63,128,4,276],[0,260,63,128,75,276],[0,388,63,128,146,276],[0,516,63,128,217,276],[0,644,63,128,288,276],[0,772,63,128,359,276],[0,900,63,128,4,412],[0,1028,63,92,75,412],[0,128,483,4,4,548],[0,1248,483,2,4,560]],inner:[[781.9,183.17],[1566.55,375.48],[1566.55,2384.53],[781.9,2576.85]],cover:[[1452.35,364.46],[678.15,172.94],[678.15,2587.07],[1452.35,2395.55]],still:0},{deg:64,file:"duo-fold/fold-064.webp",box:[684,128,1624,2632],pieces:[[0,0,470,128,4,4],[0,1124,470,128,4,140],[0,128,64,128,4,276],[0,256,64,128,76,276],[0,384,64,128,148,276],[0,512,64,128,220,276],[0,640,64,128,292,276],[0,768,64,128,364,276],[0,896,64,128,4,412],[0,1024,64,100,76,412]],inner:[[807.17,181.13],[1566.78,375.46],[1566.78,2384.55],[807.17,2578.89]],cover:[[1452.21,364.21],[702.3,170.6],[702.3,2589.41],[1452.21,2395.79]],still:0},{deg:65,file:"duo-fold/fold-065.webp",box:[710,126,1624,2634],pieces:[[0,0,457,128,4,4],[0,1124,457,128,4,140],[0,128,64,128,4,276],[0,256,64,128,76,276],[0,384,64,128,148,276],[0,512,64,128,220,276],[0,640,64,128,292,276],[0,768,64,128,364,276],[0,896,64,128,4,412],[0,1024,64,100,76,412],[0,1252,457,2,4,548]],inner:[[832.8,179.15],[1567.01,375.44],[1567.01,2384.57],[832.8,2580.86]],cover:[[1452.1,363.97],[726.84,168.32],[726.84,2591.68],[1452.1,2396.04]],still:0},{deg:66,file:"duo-fold/fold-066.webp",box:[736,124,1624,2636],pieces:[[0,0,444,128,4,4],[0,1124,444,128,4,140],[0,132,64,128,4,276],[0,260,64,128,76,276],[0,388,64,128,148,276],[0,516,64,128,220,276],[0,644,64,128,292,276],[0,772,64,128,364,276],[0,900,64,128,4,412],[0,1028,64,96,76,412],[0,128,444,4,4,548],[0,1252,444,4,4,560]],inner:[[858.79,177.24],[1567.25,375.42],[1567.25,2384.59],[858.79,2582.77]],cover:[[1452.03,363.73],[751.79,166.11],[751.79,2593.9],[1452.03,2396.28]],still:0},{deg:67,file:"duo-fold/fold-067.webp",box:[762,122,1624,2638],pieces:[[0,0,431,128,4,4],[0,1128,431,128,4,140],[0,132,64,128,4,276],[0,260,64,128,76,276],[0,388,64,128,148,276],[0,516,64,128,220,276],[0,644,64,128,292,276],[0,772,64,128,364,276],[0,900,64,128,4,412],[0,1028,64,100,76,412],[0,128,431,4,4,548],[0,1256,431,2,4,560]],inner:[[885.11,175.4],[1567.48,375.4],[1567.48,2384.61],[885.11,2584.61]],cover:[[1451.99,363.48],[777.11,163.96],[777.11,2596.05],[1451.99,2396.53]],still:0},{deg:68,file:"duo-fold/fold-068.webp",box:[788,120,1624,2640],pieces:[[0,0,418,128,4,4],[0,1128,418,128,4,140],[0,132,63,128,4,276],[0,260,63,128,75,276],[0,388,63,128,146,276],[0,516,63,128,217,276],[0,644,63,128,288,276],[0,772,63,128,359,276],[0,900,63,128,4,412],[0,1028,63,100,75,412],[0,128,418,4,4,548],[0,1256,418,4,4,560]],inner:[[911.75,173.63],[1567.72,375.38],[1567.72,2384.63],[911.75,2586.39]],cover:[[1451.98,363.24],[802.81,161.87],[802.81,2598.13],[1451.98,2396.77]],still:0},{deg:69,file:"duo-fold/fold-069.webp",box:[814,118,1624,2640],pieces:[[0,0,405,128,4,4],[0,1128,405,128,4,140],[0,132,65,128,4,276],[0,260,65,128,77,276],[0,388,65,128,150,276],[0,516,65,128,223,276],[0,644,65,128,296,276],[0,772,65,128,369,276],[0,900,65,128,4,412],[0,1028,65,100,77,412],[0,1256,405,5,4,548],[0,128,405,4,4,561]],inner:[[938.71,171.92],[1567.97,375.36],[1567.97,2384.65],[938.71,2588.09]],cover:[[1452,362.99],[828.88,159.86],[828.88,2600.15],[1452,2397.02]],still:0},{deg:70,file:"duo-fold/fold-070.webp",box:[842,118,1624,2642],pieces:[[0,0,391,128,4,4],[0,1128,391,128,4,140],[0,132,65,128,4,276],[0,260,65,128,77,276],[0,388,65,128,150,276],[0,516,65,128,223,276],[0,644,65,128,296,276],[0,772,65,128,369,276],[0,900,65,128,4,412],[0,1028,65,100,77,412],[0,1256,391,6,4,548],[0,128,391,4,4,562]],inner:[[965.98,170.29],[1568.21,375.35],[1568.21,2384.66],[965.98,2589.73]],cover:[[1452.06,362.75],[855.3,157.91],[855.3,2602.1],[1452.06,2397.26]],still:0},{deg:71,file:"duo-fold/fold-071.webp",box:[870,116,1624,2644],pieces:[[0,0,377,128,4,4],[0,1128,377,128,4,140],[0,136,65,128,4,276],[0,264,65,128,77,276],[0,392,65,128,150,276],[0,520,65,128,223,276],[0,648,65,128,296,276],[0,776,65,128,369,276],[0,904,65,128,4,412],[0,1032,65,96,77,412],[0,128,377,8,4,548],[0,1256,377,8,4,564]],inner:[[993.53,168.72],[1568.46,375.33],[1568.46,2384.68],[993.53,2591.29]],cover:[[1452.15,362.5],[882.05,156.03],[882.05,2603.98],[1452.15,2397.5]],still:0},{deg:72,file:"duo-fold/fold-072.webp",box:[898,114,1624,2646],pieces:[[0,0,363,128,4,4],[0,1132,363,128,4,140],[0,136,65,128,4,276],[0,264,65,128,77,276],[0,392,65,128,150,276],[0,520,65,128,223,276],[0,648,65,128,296,276],[0,776,65,128,4,412],[0,904,65,128,77,412],[0,1032,65,100,150,412],[0,128,363,8,4,548],[0,1260,363,6,4,564]],inner:[[1021.36,167.23],[1568.71,375.31],[1568.71,2384.7],[1021.36,2592.78]],cover:[[1452.27,362.26],[909.14,154.21],[909.14,2605.79],[1452.27,2397.75]],still:0},{deg:73,file:"duo-fold/fold-073.webp",box:[926,112,1624,2648],pieces:[[0,0,349,128,4,4],[0,1132,349,128,4,140],[0,136,65,128,361,140],[0,264,65,128,4,276],[0,392,65,128,77,276],[0,520,65,128,150,276],[0,648,65,128,223,276],[0,776,65,128,296,276],[0,904,65,128,4,412],[0,1032,65,100,77,412],[0,128,349,8,4,548],[0,1260,349,8,4,564]],inner:[[1049.46,165.82],[1568.96,375.3],[1568.96,2384.71],[1049.46,2594.2]],cover:[[1452.43,362.02],[936.55,152.48],[936.55,2607.53],[1452.43,2397.99]],still:0},{deg:74,file:"duo-fold/fold-074.webp",box:[954,112,1624,2648],pieces:[[0,0,335,128,4,4],[0,1132,335,128,4,140],[0,136,63,128,347,140],[0,264,63,128,4,276],[0,392,63,128,75,276],[0,520,63,128,146,276],[0,648,63,128,217,276],[0,776,63,128,288,276],[0,904,63,128,4,412],[0,1032,63,100,75,412],[0,128,335,8,4,548],[0,1260,335,8,4,564]],inner:[[1077.81,164.48],[1569.21,375.28],[1569.21,2384.73],[1077.81,2595.54]],cover:[[1452.62,361.77],[964.26,150.81],[964.26,2609.2],[1452.62,2398.23]],still:0},{deg:75,file:"duo-fold/fold-075.webp",box:[982,110,1624,2650],pieces:[[0,0,321,128,4,4],[0,1128,321,128,4,140],[0,140,64,128,333,140],[0,268,64,128,4,276],[0,396,64,128,76,276],[0,524,64,128,148,276],[0,652,64,128,220,276],[0,780,64,128,292,276],[0,908,64,128,4,412],[0,1036,64,92,76,412],[0,1256,321,14,4,548],[0,128,321,12,4,570]],inner:[[1106.4,163.21],[1569.47,375.27],[1569.47,2384.74],[1106.4,2596.8]],cover:[[1452.84,361.53],[992.27,149.22],[992.27,2610.79],[1452.84,2398.48]],still:0},{deg:76,file:"duo-fold/fold-076.webp",box:[1012,108,1624,2652],pieces:[[0,0,306,128,4,4],[0,1132,306,128,4,140],[0,140,65,128,318,140],[0,268,65,128,4,276],[0,396,65,128,77,276],[0,524,65,128,150,276],[0,652,65,128,223,276],[0,780,65,128,296,276],[0,908,65,128,4,412],[0,1036,65,96,77,412],[0,128,306,12,4,548],[0,1260,306,12,4,568]],inner:[[1135.22,162.02],[1569.72,375.25],[1569.72,2384.76],[1135.22,2597.99]],cover:[[1453.1,361.29],[1020.55,147.7],[1020.55,2612.31],[1453.1,2398.72]],still:0},{deg:77,file:"duo-fold/fold-077.webp",box:[1040,108,1624,2652],pieces:[[0,0,292,128,4,4],[0,1132,292,128,4,140],[0,140,66,128,304,140],[0,268,66,128,4,276],[0,396,66,128,78,276],[0,524,66,128,152,276],[0,652,66,128,226,276],[0,780,66,128,300,276],[0,908,66,128,4,412],[0,1036,66,96,78,412],[0,128,292,12,4,548],[0,1260,292,12,4,568]],inner:[[1164.24,160.91],[1569.98,375.24],[1569.98,2384.77],[1164.24,2599.1]],cover:[[1453.39,361.05],[1049.1,146.26],[1049.1,2613.75],[1453.39,2398.96]],still:0},{deg:78,file:"duo-fold/fold-078.webp",box:[1070,106,1624,2654],pieces:[[0,0,277,128,4,4],[0,1136,277,128,4,140],[0,140,64,128,289,140],[0,268,64,128,4,276],[0,396,64,128,76,276],[0,524,64,128,148,276],[0,652,64,128,220,276],[0,780,64,128,292,276],[0,908,64,128,4,412],[0,1036,64,100,76,412],[0,128,277,12,4,548],[0,1264,277,10,4,568]],inner:[[1193.47,159.87],[1570.24,375.23],[1570.24,2384.78],[1193.47,2600.14]],cover:[[1453.71,360.8],[1077.91,144.9],[1077.91,2615.11],[1453.71,2399.2]],still:0},{deg:79,file:"duo-fold/fold-079.webp",box:[1100,106,1624,2654],pieces:[[0,0,262,128,4,4],[0,1136,262,128,4,140],[0,140,64,128,274,140],[0,268,64,128,4,276],[0,396,64,128,76,276],[0,524,64,128,148,276],[0,652,64,128,220,276],[0,780,64,128,292,276],[0,908,64,128,4,412],[0,1036,64,100,76,412],[0,128,262,12,4,548],[0,1264,262,10,4,568]],inner:[[1222.87,158.92],[1570.51,375.22],[1570.51,2384.79],[1222.87,2601.09]],cover:[[1454.06,360.56],[1106.96,143.61],[1106.96,2616.4],[1454.06,2399.44]],still:0},{deg:80,file:"duo-fold/fold-080.webp",box:[1130,104,1624,2656],pieces:[[0,0,247,128,4,4],[0,1136,247,128,4,140],[0,140,64,128,259,140],[0,268,64,128,4,276],[0,396,64,128,76,276],[0,524,64,128,148,276],[0,652,64,128,220,276],[0,780,64,128,292,276],[0,908,64,128,4,412],[0,1036,64,100,76,412],[0,128,247,12,4,548],[0,1264,247,12,4,568]],inner:[[1252.45,158.04],[1570.77,375.2],[1570.77,2384.81],[1252.45,2601.97]],cover:[[1454.45,360.32],[1136.23,142.41],[1136.23,2617.6],[1454.45,2399.68]],still:0},{deg:81,file:"duo-fold/fold-081.webp",box:[1160,104,1624,2656],pieces:[[0,0,232,128,4,4],[0,1136,232,128,4,140],[0,140,64,128,244,140],[0,268,64,128,316,140],[0,396,64,128,4,276],[0,524,64,128,76,276],[0,652,64,128,148,276],[0,780,64,128,220,276],[0,908,64,128,292,276],[0,1036,64,100,4,412],[0,128,232,12,76,412],[0,1264,232,12,4,520]],inner:[[1282.18,157.25],[1571.04,375.19],[1571.04,2384.82],[1282.18,2602.77]],cover:[[1454.86,360.08],[1165.72,141.28],[1165.72,2618.73],[1454.86,2399.92]],still:0},{deg:82,file:"duo-fold/fold-082.webp",box:[1190,102,1624,2658],pieces:[[0,0,217,128,4,4],[0,1136,217,128,4,140],[0,140,64,128,229,140],[0,268,64,128,301,140],[0,396,64,128,4,276],[0,524,64,128,76,276],[0,652,64,128,148,276],[0,780,64,128,220,276],[0,908,64,128,292,276],[0,1036,64,100,4,412],[0,1264,217,14,76,412],[0,128,217,12,4,520]],inner:[[1312.05,156.53],[1571.31,375.18],[1571.31,2384.83],[1312.05,2603.48]],cover:[[1455.31,359.85],[1195.41,140.23],[1195.41,2619.78],[1455.31,2400.16]],still:0},{deg:83,file:"duo-fold/fold-083.webp",box:[1222,102,1624,2658],pieces:[[0,0,201,128,4,4],[0,1136,201,128,4,140],[0,140,63,128,213,140],[0,268,63,128,284,140],[0,396,63,128,4,276],[0,524,63,128,75,276],[0,652,63,128,146,276],[0,780,63,128,217,276],[0,908,63,128,288,276],[0,1036,63,100,4,412],[0,1264,201,14,75,412],[0,128,201,12,4,520]],inner:[[1342.05,155.9],[1571.57,375.17],[1571.57,2384.84],[1342.05,2604.12]],cover:[[1455.8,359.61],[1225.27,139.27],[1225.27,2620.74],[1455.8,2400.4]],still:0},{deg:84,file:"duo-fold/fold-084.webp",box:[1252,102,1624,2658],pieces:[[0,0,186,128,4,4],[0,1136,186,128,4,140],[0,140,63,128,198,140],[0,268,63,128,269,140],[0,396,63,128,4,276],[0,524,63,128,75,276],[0,652,63,128,146,276],[0,780,63,128,217,276],[0,908,63,128,288,276],[0,1036,63,100,4,412],[0,1264,186,14,75,412],[0,128,186,12,4,520]],inner:[[1372.16,155.35],[1571.84,375.16],[1571.84,2384.85],[1372.16,2604.67]],cover:[[1456.31,359.37],[1255.31,138.39],[1255.31,2621.62],[1456.31,2400.63]],still:0},{deg:85,file:"duo-fold/fold-085.webp",box:[1282,100,1624,2660],pieces:[[0,0,171,128,4,4],[0,1136,171,128,183,4],[0,144,65,128,4,140],[0,272,65,128,77,140],[0,400,65,128,150,140],[0,528,65,128,223,140],[0,656,65,128,296,140],[0,784,65,128,4,276],[0,912,65,128,77,276],[0,1040,65,96,150,276],[0,128,171,16,4,412],[0,1264,171,16,183,412]],inner:[[1402.36,154.87],[1572.12,375.16],[1572.12,2384.86],[1402.36,2605.14]],cover:[[1456.86,359.14],[1285.5,137.59],[1285.5,2622.42],[1456.86,2400.87]],still:0},{deg:86,file:"duo-fold/fold-086.webp",box:[1314,100,1624,2660],pieces:[[0,0,155,128,4,4],[0,1136,155,128,167,4],[0,144,64,128,4,140],[0,272,64,128,76,140],[0,400,64,128,148,140],[0,528,64,128,220,140],[0,656,64,128,4,276],[0,784,64,128,76,276],[0,912,64,128,148,276],[0,1040,64,96,220,276],[0,128,155,16,4,412],[0,1264,155,16,167,412]],inner:[[1432.64,154.49],[1572.39,375.15],[1572.39,2384.86],[1432.64,2605.53]],cover:[[1457.44,358.9],[1315.84,136.87],[1315.84,2623.14],[1457.44,2401.1]],still:0},{deg:87,file:"duo-fold/fold-087.webp",box:[1344,100,1624,2660],pieces:[[0,0,140,128,4,4],[0,1136,140,128,152,4],[0,144,63,128,4,140],[0,272,63,128,75,140],[0,400,63,128,146,140],[0,528,63,128,217,140],[0,656,63,128,4,276],[0,784,63,128,75,276],[0,912,63,128,146,276],[0,1040,63,96,217,276],[0,128,140,16,4,412],[0,1264,140,16,152,412]],inner:[[1462.99,154.18],[1572.66,375.14],[1572.66,2384.87],[1462.99,2605.83]],cover:[[1458.05,358.67],[1346.29,136.24],[1346.29,2623.77],[1458.05,2401.33]],still:0},{deg:88,file:"duo-fold/fold-088.webp",box:[1376,100,1624,2660],pieces:[[0,0,124,128,4,4],[0,1136,124,128,136,4],[0,144,64,128,268,4],[0,272,64,128,4,140],[0,400,64,128,76,140],[0,528,64,128,148,140],[0,656,64,128,220,140],[0,784,64,128,4,276],[0,912,64,128,76,276],[0,1040,64,96,148,276],[0,128,124,16,4,412],[0,1264,124,16,136,412]],inner:[[1493.39,153.96],[1572.94,375.13],[1572.94,2384.88],[1493.39,2606.06]],cover:[[1458.69,358.44],[1376.85,135.69],[1376.85,2624.32],[1458.69,2401.57]],still:0},{deg:89,file:"duo-fold/fold-089.webp",box:[1406,100,1624,2660],pieces:[[0,0,109,128,4,4],[0,1136,109,128,121,4],[0,144,64,128,238,4],[0,272,64,128,4,140],[0,400,64,128,76,140],[0,528,64,128,148,140],[0,656,64,128,220,140],[0,784,64,128,4,276],[0,912,64,128,76,276],[0,1040,64,96,148,276],[0,128,109,16,220,276],[0,1264,109,16,4,412]],inner:[[1523.82,153.82],[1573.21,375.13],[1573.21,2384.88],[1523.82,2606.2]],cover:[[1459.36,358.21],[1407.51,135.22],[1407.51,2624.79],[1459.36,2401.8]],still:0},{deg:90,file:"duo-fold/fold-090.webp",box:[1438,98,1624,2662],pieces:[[0,0,93,128,4,4],[0,128,93,128,105,4],[0,256,93,128,206,4],[0,384,93,128,4,140],[0,512,93,128,105,140],[0,640,93,128,206,140],[0,768,93,128,4,276],[0,896,93,128,105,276],[0,1024,93,128,206,276],[0,1152,93,128,4,412],[0,1280,93,2,105,412]],inner:[[1554.26,153.76],[1573.49,375.12],[1573.49,2384.89],[1554.26,2606.25]],cover:[[1460.07,357.98],[1438.25,134.84],[1438.25,2625.17],[1460.07,2402.02]],still:0},{deg:91,file:"duo-fold/fold-091.webp",box:[1460,98,1624,2662],pieces:[[0,0,82,128,4,4],[0,128,82,128,94,4],[0,256,82,128,184,4],[0,384,82,128,4,140],[0,512,82,128,94,140],[0,640,82,128,184,140],[0,768,82,128,4,276],[0,896,82,128,94,276],[0,1024,82,128,184,276],[0,1152,82,128,4,412],[0,1280,82,2,94,412]],inner:[[1584.71,153.79],[1573.76,375.12],[1573.76,2384.89],[1584.71,2606.23]],cover:[[1460.8,357.76],[1469.04,134.55],[1469.04,2625.46],[1460.8,2402.25]],still:0},{deg:92,file:"duo-fold/fold-092.webp",box:[1460,98,1624,2662],pieces:[[0,0,82,128,4,4],[0,128,82,128,94,4],[0,256,82,128,184,4],[0,384,82,128,4,140],[0,512,82,128,94,140],[0,640,82,128,184,140],[0,768,82,128,4,276],[0,896,82,128,94,276],[0,1024,82,128,184,276],[0,1152,82,128,4,412],[0,1280,82,2,94,412]],inner:[[1615.15,153.89],[1574.04,375.11],[1574.04,2384.9],[1615.15,2606.12]],cover:[[1461.57,357.53],[1499.89,134.34],[1499.89,2625.67],[1461.57,2402.47]],still:0},{deg:93,file:"duo-fold/fold-093.webp",box:[1460,98,1654,2662],pieces:[[0,0,97,128,4,4],[0,128,97,128,109,4],[0,256,97,128,214,4],[0,384,97,128,4,140],[0,512,97,128,109,140],[0,640,97,128,214,140],[0,768,97,128,4,276],[0,896,97,128,109,276],[0,1024,97,128,214,276],[0,1152,97,128,4,412],[0,1280,97,2,109,412]],inner:[[1645.56,154.09],[1574.32,375.11],[1574.32,2384.9],[1645.56,2605.93]],cover:[[1462.36,357.31],[1530.76,134.21],[1530.76,2625.79],[1462.36,2402.7]],still:0},{deg:94,file:"duo-fold/fold-094.webp",box:[1460,98,1686,2662],pieces:[[0,0,113,128,4,4],[0,1152,113,128,125,4],[0,152,3,128,246,4],[0,280,3,128,257,4],[0,408,3,128,268,4],[0,536,3,128,279,4],[0,664,3,128,290,4],[0,792,3,128,301,4],[0,920,3,128,312,4],[48,152,65,128,4,140],[48,280,65,128,77,140],[48,408,65,128,150,140],[48,536,65,128,223,140],[48,664,65,128,4,276],[48,792,65,128,77,276],[48,920,65,128,150,276],[0,1048,3,104,223,276],[48,1048,65,104,234,276],[0,128,113,24,4,412],[0,1280,113,2,125,412]],inner:[[1675.93,154.36],[1574.6,375.11],[1574.6,2384.91],[1675.93,2605.65]],cover:[[1463.19,357.09],[1561.65,134.18],[1561.65,2625.83],[1463.19,2402.92]],still:0},{deg:95,file:"duo-fold/fold-095.webp",box:[1460,98,1718,2662],pieces:[[0,0,129,128,4,4],[0,1144,129,128,141,4],[0,152,3,128,278,4],[0,280,3,128,289,4],[0,408,3,128,300,4],[0,536,3,128,311,4],[0,664,3,128,322,4],[0,792,3,128,333,4],[0,920,3,128,344,4],[66,152,63,128,4,140],[66,280,63,128,75,140],[66,408,63,128,146,140],[66,536,63,128,217,140],[66,664,63,128,288,140],[66,792,63,128,4,276],[66,920,63,128,75,276],[0,1048,3,96,146,276],[66,1048,63,96,157,276],[0,128,129,24,228,276],[0,1272,129,10,4,412]],inner:[[1706.24,154.72],[1574.88,375.1],[1574.88,2384.91],[1706.24,2605.29]],cover:[[1464.05,356.87],[1592.54,134.22],[1592.54,2625.79],[1464.05,2403.14]],still:0},{deg:96,file:"duo-fold/fold-096.webp",box:[1462,100,1748,2660],pieces:[[0,0,143,128,4,4],[0,1152,143,128,155,4],[0,152,4,128,306,4],[0,280,4,128,318,4],[0,408,4,128,330,4],[0,536,4,128,342,4],[0,664,4,128,354,4],[0,792,4,128,4,140],[0,920,4,128,16,140],[78,152,65,128,28,140],[78,280,65,128,101,140],[78,408,65,128,174,140],[78,536,65,128,247,140],[78,664,65,128,4,276],[78,792,65,128,77,276],[78,920,65,128,150,276],[0,1048,4,104,223,276],[78,1048,65,104,235,276],[0,128,143,24,4,412]],inner:[[1736.47,155.16],[1575.16,375.1],[1575.16,2384.91],[1736.47,2604.86]],cover:[[1464.93,356.65],[1623.41,134.36],[1623.41,2625.65],[1464.93,2403.36]],still:0},{deg:97,file:"duo-fold/fold-097.webp",box:[1462,100,1780,2660],pieces:[[0,0,159,128,4,4],[0,1144,159,128,171,4],[0,152,3,128,338,4],[0,280,3,128,349,4],[0,408,3,128,360,4],[0,536,3,128,4,140],[0,664,3,128,15,140],[0,792,3,128,26,140],[0,920,3,128,37,140],[95,152,64,128,48,140],[95,280,64,128,120,140],[95,408,64,128,192,140],[95,536,64,128,264,140],[95,664,64,128,4,276],[95,792,64,128,76,276],[95,920,64,128,148,276],[0,1048,3,96,220,276],[95,1048,64,96,231,276],[0,128,159,24,4,412],[0,1272,159,8,171,412]],inner:[[1766.62,155.68],[1575.44,375.1],[1575.44,2384.91],[1766.62,2604.33]],cover:[[1465.85,356.44],[1654.25,134.57],[1654.25,2625.43],[1465.85,2403.57]],still:0},{deg:98,file:"duo-fold/fold-098.webp",box:[1462,100,1810,2660],pieces:[[0,0,174,128,4,4],[0,1152,174,128,186,4],[0,152,6,128,368,4],[0,280,6,128,4,140],[0,408,6,128,18,140],[0,536,6,128,32,140],[0,664,6,128,46,140],[0,792,6,128,60,140],[0,920,6,128,74,140],[109,152,65,128,88,140],[109,280,65,128,161,140],[109,408,65,128,234,140],[109,536,65,128,307,140],[109,664,65,128,4,276],[109,792,65,128,77,276],[109,920,65,128,150,276],[0,1048,6,104,223,276],[109,1048,65,104,237,276],[0,128,174,24,4,412]],inner:[[1796.66,156.28],[1575.71,375.1],[1575.71,2384.91],[1796.66,2603.73]],cover:[[1466.79,356.22],[1685.04,134.88],[1685.04,2625.13],[1466.79,2403.78]],still:0},{deg:99,file:"duo-fold/fold-099.webp",box:[1462,100,1842,2660],pieces:[[0,0,190,128,4,4],[0,1144,190,128,4,140],[0,152,4,128,202,140],[0,280,4,128,214,140],[0,408,4,128,226,140],[0,536,4,128,238,140],[0,664,4,128,250,140],[0,792,4,128,262,140],[0,920,4,128,274,140],[126,152,64,128,286,140],[126,280,64,128,4,276],[126,408,64,128,76,276],[126,536,64,128,148,276],[126,664,64,128,220,276],[126,792,64,128,292,276],[126,920,64,128,4,412],[0,1048,4,96,76,412],[126,1048,64,96,88,412],[0,128,190,24,160,412],[0,1272,190,8,4,548]],inner:[[1826.58,156.97],[1575.99,375.1],[1575.99,2384.91],[1826.58,2603.04]],cover:[[1467.77,356.01],[1715.77,135.27],[1715.77,2624.74],[1467.77,2404]],still:0},{deg:100,file:"duo-fold/fold-100.webp",box:[1464,100,1872,2660],pieces:[[0,0,204,128,4,4],[0,1152,204,128,4,140],[0,152,6,128,216,140],[0,280,6,128,230,140],[0,408,6,128,244,140],[0,536,6,128,258,140],[0,664,6,128,272,140],[0,792,6,128,286,140],[0,920,6,128,300,140],[140,152,64,128,314,140],[140,280,64,128,4,276],[140,408,64,128,76,276],[140,536,64,128,148,276],[140,664,64,128,220,276],[140,792,64,128,292,276],[140,920,64,128,4,412],[0,1048,6,104,76,412],[140,1048,64,104,90,412],[0,128,204,24,162,412]],inner:[[1856.36,157.73],[1576.27,375.1],[1576.27,2384.91],[1856.36,2602.28]],cover:[[1468.77,355.8],[1746.41,135.74],[1746.41,2624.27],[1468.77,2404.2]],still:0},{deg:101,file:"duo-fold/fold-101.webp",box:[1464,102,1902,2658],pieces:[[0,0,219,128,4,4],[0,1144,219,128,4,140],[0,152,4,128,231,140],[0,280,4,128,243,140],[0,408,4,128,255,140],[0,536,4,128,267,140],[0,664,4,128,279,140],[0,792,4,128,291,140],[0,920,4,128,303,140],[154,152,65,128,315,140],[154,280,65,128,4,276],[154,408,65,128,77,276],[154,536,65,128,150,276],[154,664,65,128,223,276],[154,792,65,128,296,276],[154,920,65,128,4,412],[0,1048,4,96,77,412],[154,1048,65,96,89,412],[0,128,219,24,162,412],[0,1272,219,6,4,548]],inner:[[1886,158.58],[1576.55,375.1],[1576.55,2384.91],[1886,2601.43]],cover:[[1469.8,355.6],[1776.97,136.3],[1776.97,2623.71],[1469.8,2404.41]],still:0},{deg:102,file:"duo-fold/fold-102.webp",box:[1464,102,1934,2658],pieces:[[0,0,235,128,4,4],[0,152,8,128,247,4],[0,280,8,128,263,4],[0,408,8,128,279,4],[0,536,8,128,295,4],[0,664,8,128,311,4],[0,792,8,128,327,4],[0,920,8,128,343,4],[169,152,66,128,4,140],[169,280,66,128,78,140],[169,408,66,128,152,140],[169,536,66,128,226,140],[169,664,66,128,300,140],[169,792,66,128,4,276],[169,920,66,128,78,276],[0,1152,235,126,152,276],[0,1048,8,104,395,276],[169,1048,66,104,4,412],[0,128,235,24,78,412]],inner:[[1915.47,159.51],[1576.83,375.1],[1576.83,2384.91],[1915.47,2600.51]],cover:[[1470.86,355.39],[1807.41,136.94],[1807.41,2623.07],[1470.86,2404.62]],still:0},{deg:103,file:"duo-fold/fold-103.webp",box:[1464,104,1964,2656],pieces:[[0,0,250,128,4,4],[0,1148,250,128,4,140],[0,152,7,128,262,140],[0,280,7,128,277,140],[0,408,7,128,292,140],[0,536,7,128,307,140],[0,664,7,128,322,140],[0,792,7,128,337,140],[0,920,7,128,352,140],[184,152,66,128,4,276],[184,280,66,128,78,276],[184,408,66,128,152,276],[184,536,66,128,226,276],[184,664,66,128,300,276],[184,792,66,128,4,412],[184,920,66,128,78,412],[0,1048,7,100,152,412],[184,1048,66,100,167,412],[0,128,250,24,4,548]],inner:[[1944.77,160.51],[1577.11,375.11],[1577.11,2384.91],[1944.77,2599.5]],cover:[[1471.95,355.19],[1837.73,137.67],[1837.73,2622.34],[1471.95,2404.82]],still:0},{deg:104,file:"duo-fold/fold-104.webp",box:[1464,104,1994,2656],pieces:[[0,0,265,128,4,4],[0,1144,265,128,4,140],[0,152,7,128,277,140],[0,280,7,128,292,140],[0,408,7,128,307,140],[0,536,7,128,322,140],[0,664,7,128,337,140],[0,792,7,128,352,140],[0,920,7,128,367,140],[201,152,64,128,4,276],[201,280,64,128,76,276],[201,408,64,128,148,276],[201,536,64,128,220,276],[201,664,64,128,292,276],[201,792,64,128,4,412],[201,920,64,128,76,412],[0,1048,7,96,148,412],[201,1048,64,96,163,412],[0,128,265,24,4,548],[0,1272,265,4,4,580]],inner:[[1973.87,161.59],[1577.39,375.11],[1577.39,2384.9],[1973.87,2598.42]],cover:[[1473.06,354.99],[1867.9,138.48],[1867.9,2621.53],[1473.06,2405.02]],still:0},{deg:105,file:"duo-fold/fold-105.webp",box:[1466,104,2024,2656],pieces:[[0,0,279,128,4,4],[0,1148,279,128,4,140],[0,152,7,128,291,140],[0,280,7,128,306,140],[0,408,7,128,321,140],[0,536,7,128,336,140],[0,664,7,128,351,140],[0,792,7,128,366,140],[0,920,7,128,381,140],[213,152,66,128,4,276],[213,280,66,128,78,276],[213,408,66,128,152,276],[213,536,66,128,226,276],[213,664,66,128,300,276],[213,792,66,128,4,412],[213,920,66,128,78,412],[0,1048,7,100,152,412],[213,1048,66,100,167,412],[0,128,279,24,4,548]],inner:[[2002.77,162.75],[1577.67,375.11],[1577.67,2384.9],[2002.77,2597.26]],cover:[[1474.2,354.79],[1897.92,139.37],[1897.92,2620.64],[1474.2,2405.21]],still:0},{deg:106,file:"duo-fold/fold-106.webp",box:[1466,106,2054,2654],pieces:[[0,0,294,128,4,4],[0,152,8,128,306,4],[0,280,8,128,322,4],[0,408,8,128,338,4],[0,536,8,128,354,4],[0,664,8,128,370,4],[0,792,8,128,386,4],[0,920,8,128,402,4],[228,152,66,128,4,140],[228,280,66,128,78,140],[228,408,66,128,152,140],[228,536,66,128,226,140],[228,664,66,128,300,140],[228,792,66,128,4,276],[228,920,66,128,78,276],[0,1148,294,126,4,412],[0,1048,8,100,306,412],[228,1048,66,100,322,412],[0,128,294,24,4,546]],inner:[[2031.44,163.99],[1577.94,375.12],[1577.94,2384.89],[2031.44,2596.02]],cover:[[1475.37,354.6],[1927.77,140.34],[1927.77,2619.67],[1475.37,2405.41]],still:0},{deg:107,file:"duo-fold/fold-107.webp",box:[1466,106,2082,2654],pieces:[[0,0,308,128,4,4],[0,1144,308,128,4,140],[0,152,8,128,320,140],[0,280,8,128,336,140],[0,408,8,128,352,140],[0,536,8,128,368,140],[0,664,8,128,384,140],[0,792,8,128,400,140],[0,920,8,128,416,140],[243,152,65,128,4,276],[243,280,65,128,77,276],[243,408,65,128,150,276],[243,536,65,128,223,276],[243,664,65,128,296,276],[243,792,65,128,369,276],[243,920,65,128,4,412],[0,1048,8,96,77,412],[243,1048,65,96,93,412],[0,128,308,24,4,548],[0,1272,308,2,4,580]],inner:[[2059.89,165.3],[1578.22,375.12],[1578.22,2384.89],[2059.89,2594.71]],cover:[[1476.57,354.41],[1957.44,141.4],[1957.44,2618.61],[1476.57,2405.6]],still:0},{deg:108,file:"duo-fold/fold-108.webp",box:[1468,108,2112,2652],pieces:[[0,0,322,128,4,4],[0,1144,322,128,4,140],[0,152,8,128,334,140],[0,280,8,128,350,140],[0,408,8,128,366,140],[0,536,8,128,382,140],[0,664,8,128,398,140],[0,792,8,128,414,140],[0,920,8,128,4,276],[257,152,65,128,20,276],[257,280,65,128,93,276],[257,408,65,128,166,276],[257,536,65,128,239,276],[257,664,65,128,312,276],[257,792,65,128,4,412],[257,920,65,128,77,412],[0,1048,8,96,150,412],[257,1048,65,96,166,412],[0,128,322,24,4,548]],inner:[[2088.08,166.69],[1578.5,375.13],[1578.5,2384.88],[2088.08,2593.32]],cover:[[1477.79,354.22],[1986.9,142.53],[1986.9,2617.48],[1477.79,2405.79]],still:0},{deg:109,file:"duo-fold/fold-109.webp",box:[1468,110,2140,2650],pieces:[[0,0,336,128,4,4],[0,1140,336,128,4,140],[0,152,8,128,348,140],[0,280,8,128,364,140],[0,408,8,128,380,140],[0,536,8,128,396,140],[0,664,8,128,412,140],[0,792,8,128,428,140],[0,920,8,128,4,276],[273,152,63,128,20,276],[273,280,63,128,91,276],[273,408,63,128,162,276],[273,536,63,128,233,276],[273,664,63,128,304,276],[273,792,63,128,375,276],[273,920,63,128,4,412],[0,1048,8,92,75,412],[273,1048,63,92,91,412],[0,128,336,24,4,548],[0,1268,336,2,4,580]],inner:[[2116.01,168.15],[1578.77,375.13],[1578.77,2384.88],[2116.01,2591.86]],cover:[[1479.04,354.03],[2016.15,143.75],[2016.15,2616.26],[1479.04,2405.98]],still:0},{deg:110,file:"duo-fold/fold-110.webp",box:[1468,110,2170,2650],pieces:[[0,0,351,128,4,4],[0,1136,351,128,4,140],[0,152,7,128,363,140],[0,280,7,128,378,140],[0,408,7,128,393,140],[0,536,7,128,408,140],[0,664,7,128,423,140],[0,792,7,128,438,140],[0,920,7,128,4,276],[286,152,65,128,19,276],[286,280,65,128,92,276],[286,408,65,128,165,276],[286,536,65,128,238,276],[286,664,65,128,311,276],[286,792,65,128,384,276],[286,920,65,128,4,412],[0,1048,7,88,77,412],[286,1048,65,88,92,412],[0,128,351,24,4,548],[0,1264,351,6,4,580]],inner:[[2143.68,169.69],[1579.05,375.14],[1579.05,2384.87],[2143.68,2590.32]],cover:[[1480.31,353.85],[2045.18,145.04],[2045.18,2614.97],[1480.31,2406.16]],still:0},{deg:111,file:"duo-fold/fold-111.webp",box:[1470,112,2198,2648],pieces:[[0,0,364,128,4,4],[0,1136,364,128,4,140],[0,152,7,128,376,140],[0,280,7,128,391,140],[0,408,7,128,406,140],[0,536,7,128,421,140],[0,664,7,128,436,140],[0,792,7,128,4,276],[0,920,7,128,19,276],[301,152,63,128,34,276],[301,280,63,128,105,276],[301,408,63,128,176,276],[301,536,63,128,247,276],[301,664,63,128,318,276],[301,792,63,128,389,276],[301,920,63,128,4,412],[0,1048,7,88,75,412],[301,1048,63,88,90,412],[0,128,364,24,4,548],[0,1264,364,4,4,580]],inner:[[2171.05,171.3],[1579.32,375.15],[1579.32,2384.86],[2171.05,2588.72]],cover:[[1481.61,353.67],[2073.96,146.41],[2073.96,2613.6],[1481.61,2406.34]],still:0},{deg:112,file:"duo-fold/fold-112.webp",box:[1470,114,2226,2646],pieces:[[0,0,378,128,4,4],[0,152,10,128,390,4],[0,280,10,128,408,4],[0,408,10,128,426,4],[0,536,10,128,444,4],[0,664,10,128,4,140],[0,792,10,128,22,140],[0,920,10,128,40,140],[315,152,63,128,58,140],[315,280,63,128,129,140],[315,408,63,128,200,140],[315,536,63,128,271,140],[315,664,63,128,342,140],[315,792,63,128,4,276],[315,920,63,128,75,276],[0,1144,378,122,4,412],[0,1048,10,96,390,412],[315,1048,63,96,4,542],[0,128,378,24,75,542]],inner:[[2198.13,172.97],[1579.59,375.16],[1579.59,2384.85],[2198.13,2587.04]],cover:[[1482.93,353.49],[2102.48,147.86],[2102.48,2612.15],[1482.93,2406.52]],still:0},{deg:113,file:"duo-fold/fold-113.webp",box:[1470,114,2252,2646],pieces:[[0,0,391,128,4,4],[0,1132,391,128,4,140],[0,152,8,128,403,140],[0,280,8,128,419,140],[0,408,8,128,435,140],[0,536,8,128,451,140],[0,664,8,128,4,276],[0,792,8,128,20,276],[0,920,8,128,36,276],[328,152,63,128,52,276],[328,280,63,128,123,276],[328,408,63,128,194,276],[328,536,63,128,265,276],[328,664,63,128,336,276],[328,792,63,128,4,412],[328,920,63,128,75,412],[0,1048,8,84,146,412],[328,1048,63,84,162,412],[0,128,391,24,4,548],[0,1260,391,6,4,580]],inner:[[2224.89,174.72],[1579.86,375.16],[1579.86,2384.85],[2224.89,2585.29]],cover:[[1484.27,353.32],[2130.74,149.38],[2130.74,2610.62],[1484.27,2406.69]],still:0},{deg:114,file:"duo-fold/fold-114.webp",box:[1472,116,2280,2644],pieces:[[0,0,404,128,4,4],[0,1136,404,128,4,140],[0,152,8,128,416,140],[0,280,8,128,432,140],[0,408,8,128,448,140],[0,536,8,128,4,276],[0,664,8,128,20,276],[0,792,8,128,36,276],[0,920,8,128,52,276],[341,152,63,128,68,276],[341,280,63,128,139,276],[341,408,63,128,210,276],[341,536,63,128,281,276],[341,664,63,128,352,276],[341,792,63,128,4,412],[341,920,63,128,75,412],[0,1048,8,88,146,412],[341,1048,63,88,162,412],[0,128,404,24,4,548]],inner:[[2251.34,176.54],[1580.13,375.17],[1580.13,2384.84],[2251.34,2583.47]],cover:[[1485.64,353.14],[2158.71,150.98],[2158.71,2609.02],[1485.64,2406.86]],still:0},{deg:115,file:"duo-fold/fold-115.webp",box:[1472,118,2308,2642],pieces:[[0,0,418,128,4,4],[0,152,10,128,430,4],[0,280,10,128,448,4],[0,408,10,128,4,140],[0,536,10,128,22,140],[0,664,10,128,40,140],[0,792,10,128,58,140],[0,920,10,128,76,140],[356,152,62,128,94,140],[356,280,62,128,164,140],[356,408,62,128,234,140],[356,536,62,128,304,140],[356,664,62,128,374,140],[356,792,62,128,4,276],[356,920,62,128,74,276],[0,1136,418,126,4,412],[0,1048,10,88,430,412],[356,1048,62,88,4,546],[0,128,418,24,4,642]],inner:[[2277.45,178.42],[1580.4,375.18],[1580.4,2384.83],[2277.45,2581.59]],cover:[[1487.04,352.98],[2186.39,152.66],[2186.39,2607.35],[1487.04,2407.03]],still:0},{deg:116,file:"duo-fold/fold-116.webp",box:[1474,120,2334,2640],pieces:[[0,0,430,128,4,4],[0,152,11,128,442,4],[0,280,11,128,4,140],[0,408,11,128,23,140],[0,536,11,128,42,140],[0,664,11,128,61,140],[0,792,11,128,80,140],[0,920,11,128,99,140],[367,152,63,128,118,140],[367,280,63,128,189,140],[367,408,63,128,260,140],[367,536,63,128,331,140],[367,664,63,128,402,140],[367,792,63,128,4,276],[367,920,63,128,75,276],[0,1140,430,120,4,412],[0,1048,11,92,442,412],[367,1048,63,92,4,540],[0,128,430,24,4,640]],inner:[[2303.21,180.37],[1580.67,375.19],[1580.67,2384.82],[2303.21,2579.64]],cover:[[1488.45,352.81],[2213.77,154.4],[2213.77,2605.6],[1488.45,2407.2]],still:0},{deg:117,file:"duo-fold/fold-117.webp",box:[1474,122,2360,2638],pieces:[[0,0,443,128,4,4],[0,148,12,128,455,4],[0,276,12,128,4,140],[0,404,12,128,24,140],[0,532,12,128,44,140],[0,660,12,128,64,140],[0,788,12,128,84,140],[0,916,12,128,104,140],[380,148,63,128,124,140],[380,276,63,128,195,140],[380,404,63,128,266,140],[380,532,63,128,337,140],[380,660,63,128,408,140],[380,788,63,128,4,276],[380,916,63,128,75,276],[0,1140,443,118,4,412],[0,1044,12,96,455,412],[380,1044,63,96,4,538],[0,128,443,20,4,642]],inner:[[2328.62,182.39],[1580.93,375.21],[1580.93,2384.81],[2328.62,2577.62]],cover:[[1489.89,352.65],[2240.82,156.22],[2240.82,2603.79],[1489.89,2407.36]],still:0},{deg:118,file:"duo-fold/fold-118.webp",box:[1476,124,2386,2636],pieces:[[0,0,455,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[393,148,62,128,144,140],[393,276,62,128,214,140],[393,404,62,128,284,140],[393,532,62,128,354,140],[393,660,62,128,4,276],[393,788,62,128,74,276],[393,916,62,128,144,276],[0,1140,455,116,4,412],[0,1044,12,96,4,536],[393,1044,62,96,24,536],[0,128,455,20,4,640]],inner:[[2353.67,184.47],[1581.2,375.22],[1581.2,2384.79],[2353.67,2575.54]],cover:[[1491.35,352.49],[2267.54,158.11],[2267.54,2601.9],[1491.35,2407.52]],still:0},{deg:119,file:"duo-fold/fold-119.webp",box:[1476,126,2412,2634],pieces:[[0,0,468,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[406,148,62,128,144,140],[406,276,62,128,214,140],[406,404,62,128,284,140],[406,532,62,128,354,140],[406,660,62,128,4,276],[406,788,62,128,74,276],[406,916,62,128,144,276],[0,1136,468,118,4,412],[0,1044,12,92,4,538],[406,1044,62,92,24,538],[0,128,468,20,4,638]],inner:[[2378.34,186.61],[1581.46,375.23],[1581.46,2384.78],[2378.34,2573.4]],cover:[[1492.83,352.34],[2293.92,160.07],[2293.92,2599.94],[1492.83,2407.67]],still:0},{deg:120,file:"duo-fold/fold-120.webp",box:[1476,128,2436,2632],pieces:[[0,0,480,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[419,148,61,128,144,140],[419,276,61,128,213,140],[419,404,61,128,282,140],[419,532,61,128,351,140],[419,660,61,128,420,140],[419,788,61,128,4,276],[419,916,61,128,73,276],[0,1132,480,120,4,412],[0,1044,12,88,4,540],[419,1044,61,88,24,540],[0,128,480,20,4,636]],inner:[[2402.62,188.81],[1581.72,375.24],[1581.72,2384.77],[2402.62,2571.2]],cover:[[1494.34,352.18],[2319.95,162.09],[2319.95,2597.91],[1494.34,2407.82]],still:0},{deg:121,file:"duo-fold/fold-121.webp",box:[1478,130,2462,2630],pieces:[[0,0,492,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[431,148,61,128,144,140],[431,276,61,128,213,140],[431,404,61,128,282,140],[431,532,61,128,351,140],[431,660,61,128,420,140],[431,788,61,128,4,276],[431,916,61,128,73,276],[0,1132,492,118,4,412],[0,1044,12,88,4,538],[431,1044,61,88,24,538],[0,128,492,20,4,634]],inner:[[2426.51,191.08],[1581.98,375.26],[1581.98,2384.75],[2426.51,2568.94]],cover:[[1495.86,352.04],[2345.61,164.19],[2345.61,2595.82],[1495.86,2407.97]],still:0},{deg:122,file:"duo-fold/fold-122.webp",box:[1478,132,2486,2628],pieces:[[0,0,504,128,4,4],[0,148,10,128,4,140],[0,276,10,128,22,140],[0,404,10,128,40,140],[0,532,10,128,58,140],[0,660,10,128,76,140],[0,788,10,128,94,140],[0,916,10,128,112,140],[444,148,60,128,130,140],[444,276,60,128,198,140],[444,404,60,128,266,140],[444,532,60,128,334,140],[444,660,60,128,402,140],[444,788,60,128,4,276],[444,916,60,128,72,276],[0,1128,504,120,4,412],[0,1044,10,84,4,540],[444,1044,60,84,22,540],[0,128,504,20,4,632]],inner:[[2449.99,193.4],[1582.23,375.27],[1582.23,2384.74],[2449.99,2566.62]],cover:[[1497.4,351.89],[2370.89,166.34],[2370.89,2593.67],[1497.4,2408.12]],still:0},{deg:123,file:"duo-fold/fold-123.webp",box:[1480,134,2510,2626],pieces:[[0,0,515,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[455,148,60,128,144,140],[455,276,60,128,212,140],[455,404,60,128,280,140],[455,532,60,128,348,140],[455,660,60,128,416,140],[455,788,60,128,4,276],[455,916,60,128,72,276],[0,1128,515,118,4,412],[0,1044,12,84,4,538],[455,1044,60,84,24,538],[0,128,515,20,4,630]],inner:[[2473.07,195.77],[1582.49,375.28],[1582.49,2384.73],[2473.07,2564.24]],cover:[[1498.97,351.75],[2395.8,168.56],[2395.8,2591.44],[1498.97,2408.26]],still:0},{deg:124,file:"duo-fold/fold-124.webp",box:[1480,136,2534,2624],pieces:[[0,0,527,128,4,4],[0,148,14,128,4,140],[0,276,14,128,26,140],[0,404,14,128,48,140],[0,532,14,128,70,140],[0,660,14,128,92,140],[0,788,14,128,114,140],[0,916,14,128,136,140],[467,148,60,128,158,140],[467,276,60,128,226,140],[467,404,60,128,294,140],[467,532,60,128,362,140],[467,660,60,128,430,140],[467,788,60,128,4,276],[467,916,60,128,72,276],[0,1132,527,112,4,412],[0,1044,14,88,4,532],[467,1044,60,88,26,532],[0,128,527,20,4,628]],inner:[[2495.72,198.21],[1582.74,375.3],[1582.74,2384.71],[2495.72,2561.81]],cover:[[1500.55,351.61],[2420.3,170.85],[2420.3,2589.16],[1500.55,2408.4]],still:0},{deg:125,file:"duo-fold/fold-125.webp",box:[1482,138,2558,2622],pieces:[[0,0,538,128,4,4],[0,148,11,128,4,140],[0,276,11,128,23,140],[0,404,11,128,42,140],[0,532,11,128,61,140],[0,660,11,128,80,140],[0,788,11,128,99,140],[0,916,11,128,118,140],[480,148,58,128,137,140],[480,276,58,128,203,140],[480,404,58,128,269,140],[480,532,58,128,335,140],[480,660,58,128,401,140],[480,788,58,128,467,140],[480,916,58,128,4,276],[0,1116,538,126,4,412],[0,1044,11,72,4,546],[480,1044,58,72,23,546],[0,128,538,20,4,626]],inner:[[2517.94,200.69],[1582.99,375.32],[1582.99,2384.7],[2517.94,2559.32]],cover:[[1502.15,351.48],[2444.4,173.19],[2444.4,2586.82],[1502.15,2408.53]],still:0},{deg:126,file:"duo-fold/fold-126.webp",box:[1482,140,2580,2620],pieces:[[0,0,549,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[490,148,59,128,144,140],[490,276,59,128,211,140],[490,404,59,128,278,140],[490,532,59,128,345,140],[490,660,59,128,412,140],[490,788,59,128,479,140],[490,916,59,128,4,276],[0,1124,549,116,4,412],[0,1044,12,80,4,536],[490,1044,59,80,24,536],[0,128,549,20,4,624]],inner:[[2539.72,203.23],[1583.24,375.33],[1583.24,2384.68],[2539.72,2556.78]],cover:[[1503.77,351.35],[2468.09,175.6],[2468.09,2584.41],[1503.77,2408.66]],still:0},{deg:127,file:"duo-fold/fold-127.webp",box:[1484,142,2602,2618],pieces:[[0,0,559,128,4,4],[0,148,12,128,4,140],[0,276,12,128,24,140],[0,404,12,128,44,140],[0,532,12,128,64,140],[0,660,12,128,84,140],[0,788,12,128,104,140],[0,916,12,128,124,140],[500,148,59,128,144,140],[500,276,59,128,211,140],[500,404,59,128,278,140],[500,532,59,128,345,140],[500,660,59,128,412,140],[500,788,59,128,479,140],[500,916,59,128,4,276],[0,1124,559,114,4,412],[0,1044,12,80,4,534],[500,1044,59,80,24,534],[0,128,559,20,4,622]],inner:[[2561.06,205.82],[1583.49,375.35],[1583.49,2384.66],[2561.06,2554.19]],cover:[[1505.41,351.22],[2491.35,178.06],[2491.35,2581.95],[1505.41,2408.79]],still:0},{deg:128,file:"duo-fold/fold-128.webp",box:[1486,144,2624,2616],pieces:[[0,0,569,128,4,4],[0,148,14,128,4,140],[0,276,14,128,26,140],[0,404,14,128,48,140],[0,532,14,128,70,140],[0,660,14,128,92,140],[0,788,14,128,114,140],[0,916,14,128,136,140],[510,148,59,128,158,140],[510,276,59,128,225,140],[510,404,59,128,292,140],[510,532,59,128,359,140],[510,660,59,128,426,140],[510,788,59,128,493,140],[510,916,59,128,4,276],[0,1128,569,108,4,412],[0,1044,14,84,4,528],[510,1044,59,84,26,528],[0,128,569,20,4,620]],inner:[[2581.95,208.46],[1583.73,375.37],[1583.73,2384.64],[2581.95,2551.55]],cover:[[1507.06,351.1],[2514.19,180.58],[2514.19,2579.43],[1507.06,2408.91]],still:0},{deg:129,file:"duo-fold/fold-129.webp",box:[1486,148,2646,2612],pieces:[[0,0,580,128,4,4],[0,148,16,128,4,140],[0,276,16,128,28,140],[0,404,16,128,52,140],[0,532,16,128,76,140],[0,660,16,128,100,140],[0,788,16,128,124,140],[0,916,16,128,148,140],[521,148,59,128,172,140],[521,276,59,128,239,140],[521,404,59,128,306,140],[521,532,59,128,373,140],[521,660,59,128,440,140],[521,788,59,128,507,140],[521,916,59,128,4,276],[0,1128,580,104,4,412],[0,1044,16,84,4,524],[521,1044,59,84,28,524],[0,128,580,20,4,616]],inner:[[2602.38,211.15],[1583.97,375.38],[1583.97,2384.63],[2602.38,2548.86]],cover:[[1508.74,350.98],[2536.58,183.15],[2536.58,2576.86],[1508.74,2409.03]],still:0},{deg:130,file:"duo-fold/fold-130.webp",box:[1488,150,2666,2610],pieces:[[0,0,589,128,4,4],[0,148,14,128,4,140],[0,276,14,128,26,140],[0,404,14,128,48,140],[0,532,14,128,70,140],[0,660,14,128,92,140],[0,788,14,128,114,140],[0,916,14,128,136,140],[532,148,57,128,158,140],[532,276,57,128,223,140],[532,404,57,128,288,140],[532,532,57,128,353,140],[532,660,57,128,418,140],[532,788,57,128,483,140],[532,916,57,128,4,276],[0,1120,589,110,4,412],[0,1044,14,76,4,530],[532,1044,57,76,26,530],[0,128,589,20,4,614]],inner:[[2622.35,213.88],[1584.21,375.4],[1584.21,2384.61],[2622.35,2546.13]],cover:[[1510.42,350.86],[2558.53,185.78],[2558.53,2574.23],[1510.42,2409.15]],still:0},{deg:131,file:"duo-fold/fold-131.webp",box:[1488,152,2688,2608],pieces:[[0,0,600,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[542,144,58,128,172,140],[542,272,58,128,238,140],[542,400,58,128,304,140],[542,528,58,128,370,140],[542,656,58,128,436,140],[542,784,58,128,502,140],[542,912,58,128,4,276],[0,1124,599,104,4,412],[0,1040,16,84,4,524],[542,1040,58,84,28,524],[0,128,600,16,4,616]],inner:[[2641.85,216.66],[1584.45,375.42],[1584.45,2384.59],[2641.85,2543.35]],cover:[[1512.13,350.75],[2580.02,188.45],[2580.02,2571.55],[1512.13,2409.26]],still:0},{deg:132,file:"duo-fold/fold-132.webp",box:[1490,154,2708,2606],pieces:[[0,0,609,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[551,144,58,128,172,140],[551,272,58,128,238,140],[551,400,58,128,304,140],[551,528,58,128,370,140],[551,656,58,128,436,140],[551,784,58,128,502,140],[551,912,58,128,4,276],[0,1124,608,102,4,412],[0,1040,16,84,4,522],[551,1040,58,84,28,522],[0,128,609,16,4,614]],inner:[[2660.87,219.48],[1584.68,375.44],[1584.68,2384.57],[2660.87,2540.53]],cover:[[1513.85,350.64],[2601.06,191.18],[2601.06,2568.83],[1513.85,2409.36]],still:0},{deg:133,file:"duo-fold/fold-133.webp",box:[1490,158,2726,2602],pieces:[[0,0,618,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[561,144,57,128,172,140],[561,272,57,128,237,140],[561,400,57,128,302,140],[561,528,57,128,367,140],[561,656,57,128,432,140],[561,784,57,128,497,140],[561,912,57,128,562,140],[0,1120,618,102,4,276],[0,1040,16,80,4,386],[561,1040,57,80,28,386],[0,128,618,16,4,474]],inner:[[2679.42,222.34],[1584.91,375.46],[1584.91,2384.55],[2679.42,2537.67]],cover:[[1515.58,350.54],[2621.62,193.96],[2621.62,2566.05],[1515.58,2409.47]],still:0},{deg:134,file:"duo-fold/fold-134.webp",box:[1492,160,2746,2600],pieces:[[0,0,627,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[570,144,57,128,172,140],[570,272,57,128,237,140],[570,400,57,128,302,140],[570,528,57,128,367,140],[570,656,57,128,432,140],[570,784,57,128,497,140],[570,912,57,128,562,140],[0,1120,626,100,4,276],[0,1040,16,80,4,384],[570,1040,57,80,28,384],[0,128,627,16,4,472]],inner:[[2697.48,225.25],[1585.14,375.48],[1585.14,2384.53],[2697.48,2534.77]],cover:[[1517.33,350.44],[2641.71,196.78],[2641.71,2563.22],[1517.33,2409.57]],still:0},{deg:135,file:"duo-fold/fold-135.webp",box:[1494,162,2764,2598],pieces:[[0,0,635,128,4,4],[0,144,15,128,4,140],[0,272,15,128,27,140],[0,400,15,128,50,140],[0,528,15,128,73,140],[0,656,15,128,96,140],[0,784,15,128,119,140],[0,912,15,128,142,140],[579,144,56,128,165,140],[579,272,56,128,229,140],[579,400,56,128,293,140],[579,528,56,128,357,140],[579,656,56,128,421,140],[579,784,56,128,485,140],[579,912,56,128,549,140],[0,1116,634,102,4,276],[0,1040,15,76,4,386],[579,1040,56,76,27,386],[0,128,635,16,4,470]],inner:[[2715.05,228.19],[1585.36,375.5],[1585.36,2384.51],[2715.05,2531.83]],cover:[[1519.09,350.34],[2661.33,199.65],[2661.33,2560.36],[1519.09,2409.66]],still:0},{deg:136,file:"duo-fold/fold-136.webp",box:[1494,166,2782,2594],pieces:[[0,0,644,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[589,144,55,128,172,140],[589,272,55,128,235,140],[589,400,55,128,298,140],[589,528,55,128,361,140],[589,656,55,128,424,140],[589,784,55,128,487,140],[589,912,55,128,550,140],[0,1112,644,102,4,276],[0,1040,16,72,4,386],[589,1040,55,72,28,386],[0,128,644,16,4,466]],inner:[[2732.13,231.17],[1585.59,375.52],[1585.59,2384.49],[2732.13,2528.85]],cover:[[1520.86,350.25],[2680.46,202.57],[2680.46,2557.44],[1520.86,2409.76]],still:0},{deg:137,file:"duo-fold/fold-137.webp",box:[1496,168,2800,2592],pieces:[[0,0,652,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[597,144,55,128,172,140],[597,272,55,128,235,140],[597,400,55,128,298,140],[597,528,55,128,361,140],[597,656,55,128,424,140],[597,784,55,128,487,140],[597,912,55,128,550,140],[0,1112,651,100,4,276],[0,1040,16,72,4,384],[597,1040,55,72,28,384],[0,128,652,16,4,464]],inner:[[2748.71,234.18],[1585.81,375.55],[1585.81,2384.46],[2748.71,2525.83]],cover:[[1522.65,350.16],[2699.1,205.52],[2699.1,2554.49],[1522.65,2409.84]],still:0},{deg:138,file:"duo-fold/fold-138.webp",box:[1496,172,2816,2588],pieces:[[0,0,660,128,4,4],[0,144,19,128,4,140],[0,272,19,128,31,140],[0,400,19,128,58,140],[0,528,19,128,85,140],[0,656,19,128,112,140],[0,784,19,128,139,140],[0,912,19,128,166,140],[604,144,56,128,193,140],[604,272,56,128,257,140],[604,400,56,128,321,140],[604,528,56,128,385,140],[604,656,56,128,449,140],[604,784,56,128,513,140],[604,912,56,128,577,140],[0,1116,658,92,4,276],[0,1040,19,76,4,376],[604,1040,56,76,31,376],[0,128,660,16,4,460]],inner:[[2764.79,237.22],[1586.02,375.57],[1586.02,2384.44],[2764.79,2522.79]],cover:[[1524.44,350.08],[2717.24,208.52],[2717.24,2551.49],[1524.44,2409.93]],still:0},{deg:139,file:"duo-fold/fold-139.webp",box:[1498,174,2832,2586],pieces:[[0,0,667,128,4,4],[0,144,18,128,4,140],[0,272,18,128,30,140],[0,400,18,128,56,140],[0,528,18,128,82,140],[0,656,18,128,108,140],[0,784,18,128,134,140],[0,912,18,128,160,140],[612,144,55,128,186,140],[612,272,55,128,249,140],[612,400,55,128,312,140],[612,528,55,128,375,140],[612,656,55,128,438,140],[612,784,55,128,501,140],[612,912,55,128,564,140],[0,1112,666,94,4,276],[0,1040,18,72,4,378],[612,1040,55,72,30,378],[0,128,667,16,4,458]],inner:[[2780.37,240.3],[1586.24,375.59],[1586.24,2384.42],[2780.37,2519.71]],cover:[[1526.25,350],[2734.89,211.55],[2734.89,2548.45],[1526.25,2410.01]],still:0},{deg:140,file:"duo-fold/fold-140.webp",box:[1500,176,2848,2584],pieces:[[0,0,674,128,4,4],[0,144,15,128,4,140],[0,272,15,128,27,140],[0,400,15,128,50,140],[0,528,15,128,73,140],[0,656,15,128,96,140],[0,784,15,128,119,140],[0,912,15,128,142,140],[621,144,53,128,165,140],[621,272,53,128,226,140],[621,400,53,128,287,140],[621,528,53,128,348,140],[621,656,53,128,409,140],[621,784,53,128,470,140],[621,912,53,128,531,140],[0,1104,674,100,4,276],[0,1040,15,64,4,384],[621,1040,53,64,27,384],[0,128,674,16,4,456]],inner:[[2795.44,243.41],[1586.45,375.62],[1586.45,2384.4],[2795.44,2516.6]],cover:[[1528.07,349.93],[2752.04,214.63],[2752.04,2545.38],[1528.07,2410.08]],still:0},{deg:141,file:"duo-fold/fold-141.webp",box:[1500,180,2864,2580],pieces:[[0,0,682,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[629,144,53,128,172,140],[629,272,53,128,233,140],[629,400,53,128,294,140],[629,528,53,128,355,140],[629,656,53,128,416,140],[629,784,53,128,477,140],[629,912,53,128,538,140],[0,1104,681,96,4,276],[0,1040,16,64,4,380],[629,1040,53,64,28,380],[0,128,682,16,4,452]],inner:[[2810,246.55],[1586.65,375.64],[1586.65,2384.37],[2810,2513.46]],cover:[[1529.9,349.86],[2768.67,217.73],[2768.67,2542.27],[1529.9,2410.15]],still:0},{deg:142,file:"duo-fold/fold-142.webp",box:[1502,182,2880,2578],pieces:[[0,0,689,128,4,4],[0,144,16,128,4,140],[0,272,16,128,28,140],[0,400,16,128,52,140],[0,528,16,128,76,140],[0,656,16,128,100,140],[0,784,16,128,124,140],[0,912,16,128,148,140],[636,144,53,128,172,140],[636,272,53,128,233,140],[636,400,53,128,294,140],[636,528,53,128,355,140],[636,656,53,128,416,140],[636,784,53,128,477,140],[636,912,53,128,538,140],[0,1100,687,98,4,276],[0,1040,16,60,4,382],[636,1040,53,60,28,382],[0,128,689,16,4,450]],inner:[[2824.06,249.71],[1586.86,375.66],[1586.86,2384.35],[2824.06,2510.3]],cover:[[1531.74,349.79],[2784.8,220.88],[2784.8,2539.13],[1531.74,2410.22]],still:0},{deg:143,file:"duo-fold/fold-143.webp",box:[1504,186,2894,2574],pieces:[[0,0,695,128,4,4],[0,140,19,128,4,140],[0,268,19,128,31,140],[0,396,19,128,58,140],[0,524,19,128,85,140],[0,652,19,128,112,140],[0,780,19,128,139,140],[0,908,19,128,166,140],[640,140,55,128,193,140],[640,268,55,128,256,140],[640,396,55,128,319,140],[640,524,55,128,382,140],[640,652,55,128,445,140],[640,780,55,128,508,140],[640,908,55,128,571,140],[0,1108,691,86,4,276],[0,1036,19,72,4,370],[640,1036,55,72,31,370],[0,128,695,12,4,450]],inner:[[2837.6,252.91],[1587.06,375.69],[1587.06,2384.32],[2837.6,2507.11]],cover:[[1533.59,349.73],[2800.42,224.05],[2800.42,2535.96],[1533.59,2410.28]],still:0},{deg:144,file:"duo-fold/fold-144.webp",box:[1504,188,2908,2572],pieces:[[0,0,702,128,4,4],[0,140,16,128,4,140],[0,268,16,128,28,140],[0,396,16,128,52,140],[0,524,16,128,76,140],[0,652,16,128,100,140],[0,780,16,128,124,140],[0,908,16,128,148,140],[649,140,53,128,172,140],[649,268,53,128,233,140],[649,396,53,128,294,140],[649,524,53,128,355,140],[649,652,53,128,416,140],[649,780,53,128,477,140],[649,908,53,128,538,140],[0,1100,699,92,4,276],[0,1036,16,64,4,376],[649,1036,53,64,28,376],[0,128,702,12,4,448]],inner:[[2850.63,256.12],[1587.25,375.71],[1587.25,2384.3],[2850.63,2503.89]],cover:[[1535.45,349.67],[2815.53,227.25],[2815.53,2532.75],[1535.45,2410.34]],still:0},{deg:145,file:"duo-fold/fold-145.webp",box:[1504,192,2920,2568],pieces:[[0,0,708,128,4,4],[0,140,20,128,4,140],[0,268,20,128,32,140],[0,396,20,128,60,140],[0,524,20,128,88,140],[0,652,20,128,116,140],[0,780,20,128,144,140],[0,908,20,128,172,140],[654,140,54,128,200,140],[654,268,54,128,262,140],[654,396,54,128,324,140],[654,524,54,128,386,140],[654,652,54,128,448,140],[654,780,54,128,510,140],[654,908,54,128,572,140],[0,1104,704,84,4,276],[0,1036,20,68,4,368],[654,1036,54,68,32,368],[0,128,708,12,4,444]],inner:[[2863.15,259.36],[1587.45,375.74],[1587.45,2384.27],[2863.15,2500.65]],cover:[[1537.31,349.61],[2830.11,230.49],[2830.11,2529.52],[1537.31,2410.39]],still:0},{deg:146,file:"duo-fold/fold-146.webp",box:[1504,194,2934,2566],pieces:[[0,0,715,128,4,4],[0,140,20,128,4,140],[0,268,20,128,32,140],[0,396,20,128,60,140],[0,524,20,128,88,140],[0,652,20,128,116,140],[0,780,20,128,144,140],[0,908,20,128,172,140],[662,140,53,128,200,140],[662,268,53,128,261,140],[662,396,53,128,322,140],[662,524,53,128,383,140],[662,652,53,128,444,140],[662,780,53,128,505,140],[662,908,53,128,566,140],[0,1100,711,86,4,276],[0,1036,20,64,4,370],[662,1036,53,64,32,370],[0,128,715,12,4,442]],inner:[[2875.15,262.62],[1587.64,375.77],[1587.64,2384.25],[2875.15,2497.39]],cover:[[1539.18,349.56],[2844.18,233.75],[2844.18,2526.26],[1539.18,2410.44]],still:0},{deg:147,file:"duo-fold/fold-147.webp",box:[1504,198,2946,2562],pieces:[[0,0,721,128,4,4],[0,140,21,128,4,140],[0,268,21,128,33,140],[0,396,21,128,62,140],[0,524,21,128,91,140],[0,652,21,128,120,140],[0,780,21,128,149,140],[0,908,21,128,178,140],[669,140,52,128,207,140],[669,268,52,128,267,140],[669,396,52,128,327,140],[669,524,52,128,387,140],[669,652,52,128,447,140],[669,780,52,128,507,140],[669,908,52,128,567,140],[0,1096,717,86,4,276],[0,1036,21,60,4,370],[669,1036,52,60,33,370],[0,128,721,12,4,438]],inner:[[2886.64,265.9],[1587.82,375.79],[1587.82,2384.22],[2886.64,2494.12]],cover:[[1541.06,349.52],[2857.73,237.04],[2857.73,2522.97],[1541.06,2410.49]],still:0},{deg:148,file:"duo-fold/fold-148.webp",box:[1506,200,2958,2560],pieces:[[0,0,726,128,4,4],[0,140,22,128,4,140],[0,268,22,128,34,140],[0,396,22,128,64,140],[0,524,22,128,94,140],[0,652,22,128,124,140],[0,780,22,128,154,140],[0,908,22,128,184,140],[672,140,54,128,214,140],[672,268,54,128,276,140],[672,396,54,128,338,140],[672,524,54,128,400,140],[672,652,54,128,462,140],[672,780,54,128,524,140],[672,908,54,128,586,140],[0,1100,720,80,4,276],[0,1036,22,64,4,364],[672,1036,54,64,34,364],[0,128,726,12,4,436]],inner:[[2897.61,269.19],[1588,375.82],[1588,2384.19],[2897.61,2490.82]],cover:[[1542.95,349.48],[2870.76,240.35],[2870.76,2519.66],[1542.95,2410.53]],still:0},{deg:149,file:"duo-fold/fold-149.webp",box:[1506,204,2968,2556],pieces:[[0,0,731,128,4,4],[0,140,22,128,4,140],[0,268,22,128,34,140],[0,396,22,128,64,140],[0,524,22,128,94,140],[0,652,22,128,124,140],[0,780,22,128,154,140],[0,908,22,128,184,140],[680,140,51,128,214,140],[680,268,51,128,273,140],[680,396,51,128,332,140],[680,524,51,128,391,140],[680,652,51,128,450,140],[680,780,51,128,509,140],[680,908,51,128,568,140],[0,1092,727,84,4,276],[0,1036,22,56,4,368],[680,1036,51,56,34,368],[0,128,731,12,4,432]],inner:[[2908.07,272.51],[1588.18,375.85],[1588.18,2384.16],[2908.07,2487.51]],cover:[[1544.84,349.44],[2883.26,243.68],[2883.26,2516.33],[1544.84,2410.57]],still:0},{deg:150,file:"duo-fold/fold-150.webp",box:[1506,206,2980,2554],pieces:[[0,0,737,128,4,4],[0,140,23,128,4,140],[0,268,23,128,35,140],[0,396,23,128,66,140],[0,524,23,128,97,140],[0,652,23,128,128,140],[0,780,23,128,159,140],[0,908,23,128,190,140],[685,140,52,128,221,140],[685,268,52,128,281,140],[685,396,52,128,341,140],[685,524,52,128,401,140],[685,652,52,128,461,140],[685,780,52,128,521,140],[685,908,52,128,581,140],[0,1092,732,82,4,276],[0,1036,23,56,4,366],[685,1036,52,56,35,366],[0,128,737,12,4,430]],inner:[[2918.01,275.84],[1588.36,375.87],[1588.36,2384.14],[2918.01,2484.18]],cover:[[1546.73,349.41],[2895.25,247.04],[2895.25,2512.97],[1546.73,2410.6]],still:0},{deg:151,file:"duo-fold/fold-151.webp",box:[1506,210,2990,2550],pieces:[[0,0,742,128,4,4],[0,140,24,128,4,140],[0,268,24,128,36,140],[0,396,24,128,68,140],[0,524,24,128,100,140],[0,652,24,128,132,140],[0,780,24,128,164,140],[0,908,24,128,196,140],[689,140,53,128,228,140],[689,268,53,128,289,140],[689,396,53,128,350,140],[689,524,53,128,411,140],[689,652,53,128,472,140],[689,780,53,128,533,140],[689,908,53,128,594,140],[0,1092,736,78,4,276],[0,1036,24,56,4,362],[689,1036,53,56,36,362],[0,128,742,12,4,426]],inner:[[2927.44,279.18],[1588.53,375.9],[1588.53,2384.11],[2927.44,2480.83]],cover:[[1548.63,349.38],[2906.71,250.41],[2906.71,2509.6],[1548.63,2410.63]],still:0},{deg:152,file:"duo-fold/fold-152.webp",box:[1506,212,3000,2548],pieces:[[0,0,747,128,4,4],[0,140,28,128,4,140],[0,268,28,128,40,140],[0,396,28,128,76,140],[0,524,28,128,112,140],[0,652,28,128,148,140],[0,780,28,128,184,140],[0,908,28,128,220,140],[692,140,55,128,256,140],[692,268,55,128,319,140],[692,396,55,128,382,140],[692,524,55,128,445,140],[692,652,55,128,508,140],[692,780,55,128,571,140],[692,908,55,128,634,140],[0,1096,739,72,4,276],[0,1036,28,60,4,356],[692,1036,55,60,40,356],[0,128,747,12,4,424]],inner:[[2936.36,282.53],[1588.69,375.93],[1588.69,2384.08],[2936.36,2477.48]],cover:[[1550.53,349.36],[2917.64,253.8],[2917.64,2506.2],[1550.53,2410.65]],still:0},{deg:153,file:"duo-fold/fold-153.webp",box:[1506,216,3008,2544],pieces:[[0,0,751,128,4,4],[0,140,27,128,4,140],[0,268,27,128,39,140],[0,396,27,128,74,140],[0,524,27,128,109,140],[0,652,27,128,144,140],[0,780,27,128,179,140],[0,908,27,128,214,140],[697,140,54,128,249,140],[697,268,54,128,311,140],[697,396,54,128,373,140],[697,524,54,128,435,140],[697,652,54,128,497,140],[697,780,54,128,559,140],[697,908,54,128,621,140],[0,1092,743,72,4,276],[0,1036,27,56,4,356],[697,1036,54,56,39,356],[0,128,751,12,4,420]],inner:[[2944.76,285.9],[1588.86,375.96],[1588.86,2384.05],[2944.76,2474.11]],cover:[[1552.44,349.34],[2928.06,257.21],[2928.06,2502.79],[1552.44,2410.67]],still:0},{deg:154,file:"duo-fold/fold-154.webp",box:[1508,218,3018,2542],pieces:[[0,0,755,128,4,4],[0,140,28,128,4,140],[0,268,28,128,40,140],[0,396,28,128,76,140],[0,524,28,128,112,140],[0,652,28,128,148,140],[0,780,28,128,184,140],[0,908,28,128,220,140],[700,140,55,128,256,140],[700,268,55,128,319,140],[700,396,55,128,382,140],[700,524,55,128,445,140],[700,652,55,128,508,140],[700,780,55,128,571,140],[700,908,55,128,634,140],[0,1092,746,70,4,276],[0,1036,28,56,4,354],[700,1036,55,56,40,354],[0,128,755,12,4,418]],inner:[[2952.65,289.27],[1589.02,375.99],[1589.02,2384.02],[2952.65,2470.74]],cover:[[1554.35,349.32],[2937.95,260.64],[2937.95,2499.37],[1554.35,2410.69]],still:0},{deg:155,file:"duo-fold/fold-155.webp",box:[1508,222,3026,2538],pieces:[[0,0,759,128,4,4],[0,136,28,128,4,140],[0,264,28,128,40,140],[0,392,28,128,76,140],[0,520,28,128,112,140],[0,648,28,128,148,140],[0,776,28,128,184,140],[0,904,28,128,220,140],[705,136,54,128,256,140],[705,264,54,128,318,140],[705,392,54,128,380,140],[705,520,54,128,442,140],[705,648,54,128,504,140],[705,776,54,128,566,140],[705,904,54,128,628,140],[0,1088,750,70,4,276],[0,1032,28,56,4,354],[705,1032,54,56,40,354],[0,128,759,8,4,418]],inner:[[2960.04,292.66],[1589.17,376.02],[1589.17,2383.99],[2960.04,2467.36]],cover:[[1556.26,349.31],[2947.32,264.08],[2947.32,2495.93],[1556.26,2410.7]],still:0},{deg:156,file:"duo-fold/fold-156.webp",box:[1508,226,3032,2534],pieces:[[0,0,762,128,4,4],[0,136,28,128,4,140],[0,264,28,128,40,140],[0,392,28,128,76,140],[0,520,28,128,112,140],[0,648,28,128,148,140],[0,776,28,128,184,140],[0,904,28,128,220,140],[709,136,53,128,256,140],[709,264,53,128,317,140],[709,392,53,128,378,140],[709,520,53,128,439,140],[709,648,53,128,500,140],[709,776,53,128,561,140],[709,904,53,128,622,140],[0,1084,754,70,4,276],[0,1032,28,52,4,354],[709,1032,53,52,40,354],[0,128,762,8,4,414]],inner:[[2966.92,296.04],[1589.32,376.05],[1589.32,2383.96],[2966.92,2463.97]],cover:[[1558.17,349.3],[2956.17,267.53],[2956.17,2492.48],[1558.17,2410.7]],still:0},{deg:157,file:"duo-fold/fold-157.webp",box:[1508,228,3040,2532],pieces:[[0,0,766,128,4,4],[0,136,27,128,4,140],[0,264,27,128,39,140],[0,392,27,128,74,140],[0,520,27,128,109,140],[0,648,27,128,144,140],[0,776,27,128,179,140],[0,904,27,128,214,140],[716,136,50,128,249,140],[716,264,50,128,307,140],[716,392,50,128,365,140],[716,520,50,128,423,140],[716,648,50,128,481,140],[716,776,50,128,539,140],[716,904,50,128,597,140],[0,1076,760,76,4,276],[0,1032,27,44,4,360],[716,1032,50,44,39,360],[0,128,766,8,4,412]],inner:[[2973.29,299.44],[1589.47,376.08],[1589.47,2383.93],[2973.29,2460.57]],cover:[[1560.08,349.3],[2964.5,270.99],[2964.5,2489.02],[1560.08,2410.71]],still:0},{deg:158,file:"duo-fold/fold-158.webp",box:[1510,232,3046,2528],pieces:[[0,0,768,128,4,4],[0,136,27,128,4,140],[0,264,27,128,39,140],[0,392,27,128,74,140],[0,520,27,128,109,140],[0,648,27,128,144,140],[0,776,27,128,179,140],[0,904,27,128,214,140],[717,136,51,128,249,140],[717,264,51,128,308,140],[717,392,51,128,367,140],[717,520,51,128,426,140],[717,648,51,128,485,140],[717,776,51,128,544,140],[717,904,51,128,603,140],[0,1076,761,72,4,276],[0,1032,27,44,4,356],[717,1032,51,44,39,356],[0,128,768,8,4,408]],inner:[[2979.17,302.84],[1589.61,376.11],[1589.61,2383.9],[2979.17,2457.17]],cover:[[1561.99,349.3],[2972.32,274.46],[2972.32,2485.55],[1561.99,2410.7]],still:0},{deg:159,file:"duo-fold/fold-159.webp",box:[1510,234,3052,2526],pieces:[[0,0,771,128,4,4],[0,136,28,128,4,140],[0,264,28,128,40,140],[0,392,28,128,76,140],[0,520,28,128,112,140],[0,648,28,128,148,140],[0,776,28,128,184,140],[0,904,28,128,220,140],[720,136,51,128,256,140],[720,264,51,128,315,140],[720,392,51,128,374,140],[720,520,51,128,433,140],[720,648,51,128,492,140],[720,776,51,128,551,140],[720,904,51,128,610,140],[0,1076,763,70,4,276],[0,1032,28,44,4,354],[720,1032,51,44,40,354],[0,128,771,8,4,406]],inner:[[2984.54,306.24],[1589.75,376.14],[1589.75,2383.87],[2984.54,2453.77]],cover:[[1563.9,349.31],[2979.62,277.93],[2979.62,2482.08],[1563.9,2410.7]],still:0},{deg:160,file:"duo-fold/fold-160.webp",box:[1510,238,3058,2522],pieces:[[0,0,774,128,4,4],[0,136,29,128,4,140],[0,264,29,128,41,140],[0,392,29,128,78,140],[0,520,29,128,115,140],[0,648,29,128,152,140],[0,776,29,128,189,140],[0,904,29,128,226,140],[721,136,53,128,263,140],[721,264,53,128,324,140],[721,392,53,128,385,140],[721,520,53,128,446,140],[721,648,53,128,507,140],[721,776,53,128,568,140],[721,904,53,128,629,140],[0,1076,765,66,4,276],[0,1032,29,44,4,350],[721,1032,53,44,41,350],[0,128,774,8,4,402]],inner:[[2989.41,309.64],[1589.89,376.17],[1589.89,2383.84],[2989.41,2450.37]],cover:[[1565.81,349.32],[2986.4,281.42],[2986.4,2478.59],[1565.81,2410.69]],still:0},{deg:161,file:"duo-fold/fold-161.webp",box:[1510,242,3064,2518],pieces:[[0,0,777,128,4,4],[0,136,30,128,4,140],[0,264,30,128,42,140],[0,392,30,128,80,140],[0,520,30,128,118,140],[0,648,30,128,156,140],[0,776,30,128,194,140],[0,904,30,128,232,140],[724,136,53,128,270,140],[724,264,53,128,331,140],[724,392,53,128,392,140],[724,520,53,128,453,140],[724,648,53,128,514,140],[724,776,53,128,575,140],[724,904,53,128,636,140],[0,1072,767,66,4,276],[0,1032,30,40,4,350],[724,1032,53,40,42,350],[0,128,777,8,4,398]],inner:[[2993.8,313.05],[1590.02,376.2],[1590.02,2383.81],[2993.8,2446.96]],cover:[[1567.72,349.34],[2992.68,284.9],[2992.68,2475.1],[1567.72,2410.67]],still:1},{deg:162,file:"duo-fold/fold-162.webp",box:[1512,244,3068,2516],pieces:[[0,0,778,128,4,4],[0,136,30,128,4,140],[0,264,30,128,42,140],[0,392,30,128,80,140],[0,520,30,128,118,140],[0,648,30,128,156,140],[0,776,30,128,194,140],[0,904,30,128,232,140],[725,136,53,128,270,140],[725,264,53,128,331,140],[725,392,53,128,392,140],[725,520,53,128,453,140],[725,648,53,128,514,140],[725,776,53,128,575,140],[725,904,53,128,636,140],[0,1072,768,64,4,276],[0,1032,30,40,4,348],[725,1032,53,40,42,348],[0,128,778,8,4,396]],inner:[[2997.69,316.45],[1590.14,376.24],[1590.14,2383.78],[2997.69,2443.56]],cover:[[1569.62,349.36],[2998.45,288.4],[2998.45,2471.61],[1569.62,2410.65]],still:2},{deg:163,file:"duo-fold/fold-163.webp",box:[1512,248,3072,2512],pieces:[[0,0,780,128,4,4],[0,136,31,128,4,140],[0,264,31,128,43,140],[0,392,31,128,82,140],[0,520,31,128,121,140],[0,648,31,128,160,140],[0,776,31,128,199,140],[0,904,31,128,238,140],[725,136,55,128,277,140],[725,264,55,128,340,140],[725,392,55,128,403,140],[725,520,55,128,466,140],[725,648,55,128,529,140],[725,776,55,128,592,140],[725,904,55,128,655,140],[0,1072,767,60,4,276],[0,1032,31,40,4,344],[725,1032,55,40,43,344],[0,128,780,8,4,392]],inner:[[3001.09,319.85],[1590.26,376.27],[1590.26,2383.74],[3001.09,2440.16]],cover:[[1571.52,349.38],[3003.71,291.89],[3003.71,2468.12],[1571.52,2410.63]],still:3},{deg:164,file:"duo-fold/fold-164.webp",box:[1512,250,3076,2510],pieces:[[0,0,782,128,4,4],[0,136,31,128,4,140],[0,264,31,128,43,140],[0,392,31,128,82,140],[0,520,31,128,121,140],[0,648,31,128,160,140],[0,776,31,128,199,140],[0,904,31,128,238,140],[728,136,54,128,277,140],[728,264,54,128,339,140],[728,392,54,128,401,140],[728,520,54,128,463,140],[728,648,54,128,525,140],[728,776,54,128,587,140],[728,904,54,128,649,140],[0,1068,771,62,4,276],[0,1032,31,36,4,346],[728,1032,54,36,43,346],[0,128,782,8,4,390]],inner:[[3004.01,323.25],[1590.38,376.3],[1590.38,2383.71],[3004.01,2436.77]],cover:[[1573.42,349.41],[3008.46,295.38],[3008.46,2464.62],[1573.42,2410.6]],still:4},{deg:165,file:"duo-fold/fold-165.webp",box:[1512,254,3080,2506],pieces:[[0,0,784,128,4,4],[0,132,34,128,4,140],[0,260,34,128,46,140],[0,388,34,128,88,140],[0,516,34,128,130,140],[0,644,34,128,172,140],[0,772,34,128,214,140],[0,900,34,128,256,140],[728,132,56,128,298,140],[728,260,56,128,362,140],[728,388,56,128,426,140],[728,516,56,128,490,140],[728,644,56,128,554,140],[728,772,56,128,618,140],[728,900,56,128,682,140],[0,1068,770,58,4,276],[0,1028,34,40,4,342],[728,1028,56,40,46,342],[0,128,784,4,4,390]],inner:[[3006.45,326.64],[1590.49,376.33],[1590.49,2383.68],[3006.45,2433.37]],cover:[[1575.32,349.44],[3012.72,298.88],[3012.72,2461.13],[1575.32,2410.56]],still:5},{deg:166,file:"duo-fold/fold-166.webp",box:[1514,256,3082,2504],pieces:[[0,0,784,128,4,4],[0,136,34,128,4,140],[0,264,34,128,46,140],[0,392,34,128,88,140],[0,520,34,128,130,140],[0,648,34,128,172,140],[0,776,34,128,214,140],[0,904,34,128,256,140],[732,136,52,128,298,140],[732,264,52,128,358,140],[732,392,52,128,418,140],[732,520,52,128,478,140],[732,648,52,128,538,140],[732,776,52,128,598,140],[732,904,52,128,658,140],[0,1060,773,64,4,276],[0,1032,34,28,4,348],[732,1032,52,28,46,348],[0,128,784,8,4,384]],inner:[[3008.41,330.02],[1590.6,376.37],[1590.6,2383.65],[3008.41,2429.99]],cover:[[1577.21,349.48],[3016.48,302.37],[3016.48,2457.64],[1577.21,2410.53]],still:6},{deg:167,file:"duo-fold/fold-167.webp",box:[1514,260,3084,2500],pieces:[[0,0,785,128,4,4],[0,132,35,128,4,140],[0,260,35,128,47,140],[0,388,35,128,90,140],[0,516,35,128,133,140],[0,644,35,128,176,140],[0,772,35,128,219,140],[0,900,35,128,262,140],[732,132,53,128,305,140],[732,260,53,128,366,140],[732,388,53,128,427,140],[732,516,53,128,488,140],[732,644,53,128,549,140],[732,772,53,128,610,140],[732,900,53,128,671,140],[0,1060,773,60,4,276],[0,1028,35,32,4,344],[732,1028,53,32,47,344],[0,128,785,4,4,384]],inner:[[3009.9,333.4],[1590.7,376.4],[1590.7,2383.61],[3009.9,2426.61]],cover:[[1579.09,349.52],[3019.75,305.86],[3019.75,2454.15],[1579.09,2410.49]],still:7},{deg:168,file:"duo-fold/fold-168.webp",box:[1514,264,3086,2496],pieces:[[0,0,786,128,4,4],[0,132,36,128,4,140],[0,260,36,128,48,140],[0,388,36,128,92,140],[0,516,36,128,136,140],[0,644,36,128,180,140],[0,772,36,128,224,140],[0,900,36,128,268,140],[736,132,50,128,312,140],[736,260,50,128,370,140],[736,388,50,128,428,140],[736,516,50,128,486,140],[736,644,50,128,544,140],[736,772,50,128,602,140],[736,900,50,128,660,140],[0,1052,776,64,4,276],[0,1028,36,24,4,348],[736,1028,50,24,48,348],[0,128,786,4,4,380]],inner:[[3010.92,336.78],[1590.8,376.43],[1590.8,2383.58],[3010.92,2423.24]],cover:[[1580.97,349.57],[3022.53,309.35],[3022.53,2450.66],[1580.97,2410.44]],still:8},{deg:169,file:"duo-fold/fold-169.webp",box:[1516,266,3088,2494],pieces:[[0,0,786,128,4,4],[0,132,36,128,4,140],[0,260,36,128,48,140],[0,388,36,128,92,140],[0,516,36,128,136,140],[0,644,36,128,180,140],[0,772,36,128,224,140],[0,900,36,128,268,140],[728,132,58,128,312,140],[728,260,58,128,378,140],[728,388,58,128,444,140],[728,516,58,128,510,140],[728,644,58,128,576,140],[728,772,58,128,642,140],[728,900,58,128,708,140],[0,1060,770,54,4,276],[0,1028,36,32,4,338],[728,1028,58,32,48,338],[0,128,786,4,4,378]],inner:[[3011.47,340.14],[1590.89,376.47],[1590.89,2383.55],[3011.47,2419.87]],cover:[[1582.84,349.62],[3024.83,312.83],[3024.83,2447.18],[1582.84,2410.39]],still:9},{deg:170,file:"duo-fold/fold-170.webp",box:[1516,270,3088,2490],pieces:[[0,0,786,128,4,4],[0,132,37,128,4,140],[0,260,37,128,49,140],[0,388,37,128,94,140],[0,516,37,128,139,140],[0,644,37,128,184,140],[0,772,37,128,229,140],[0,900,37,128,274,140],[736,132,50,128,319,140],[736,260,50,128,377,140],[736,388,50,128,435,140],[736,516,50,128,493,140],[736,644,50,128,551,140],[736,772,50,128,609,140],[736,900,50,128,667,140],[0,1048,775,62,4,276],[0,1028,37,20,4,346],[736,1028,50,20,49,346],[0,128,786,4,4,374]],inner:[[3011.57,343.49],[1590.98,376.5],[1590.98,2383.51],[3011.57,2416.52]],cover:[[1584.7,349.67],[3026.64,316.3],[3026.64,2443.71],[1584.7,2410.34]],still:10},{deg:171,file:"duo-fold/fold-171.webp",box:[1516,272,3088,2488],pieces:[[0,0,786,128,4,4],[0,132,38,128,4,140],[0,260,38,128,50,140],[0,388,38,128,96,140],[0,516,38,128,142,140],[0,644,38,128,188,140],[0,772,38,128,234,140],[0,900,38,128,280,140],[740,132,46,128,326,140],[740,260,46,128,380,140],[740,388,46,128,434,140],[740,516,46,128,488,140],[740,644,46,128,542,140],[740,772,46,128,596,140],[740,900,46,128,650,140],[0,1040,777,68,4,276],[0,1028,38,12,4,352],[740,1028,46,12,50,352],[0,128,786,4,4,372]],inner:[[3011.2,346.83],[1591.07,376.53],[1591.07,2383.48],[3011.2,2413.18]],cover:[[1586.56,349.73],[3027.97,319.77],[3027.97,2440.24],[1586.56,2410.28]],still:11},{deg:172,file:"duo-fold/fold-172.webp",box:[1518,276,3088,2484],pieces:[[0,0,785,128,4,4],[0,132,38,128,4,140],[0,260,38,128,50,140],[0,388,38,128,96,140],[0,516,38,128,142,140],[0,644,38,128,188,140],[0,772,38,128,234,140],[0,900,38,128,280,140],[740,132,45,128,326,140],[740,260,45,128,379,140],[740,388,45,128,432,140],[740,516,45,128,485,140],[740,644,45,128,538,140],[740,772,45,128,591,140],[740,900,45,128,644,140],[0,1036,776,68,4,276],[0,1028,38,8,4,352],[740,1028,45,8,50,352],[0,128,785,4,4,368]],inner:[[3010.39,350.16],[1591.15,376.57],[1591.15,2383.44],[3010.39,2409.85]],cover:[[1588.41,349.79],[3028.83,323.23],[3028.83,2436.78],[1588.41,2410.21]],still:12},{deg:173,file:"duo-fold/fold-173.webp",box:[1518,278,3088,2482],pieces:[[0,0,785,128,4,4],[0,132,37,128,4,140],[0,260,37,128,49,140],[0,388,37,128,94,140],[0,516,37,128,139,140],[0,644,37,128,184,140],[0,772,37,128,229,140],[0,900,37,128,274,140],[736,132,49,128,319,140],[736,260,49,128,376,140],[736,388,49,128,433,140],[736,516,49,128,490,140],[736,644,49,128,547,140],[736,772,49,128,604,140],[736,900,49,128,661,140],[0,1040,773,62,4,276],[0,1028,37,12,4,346],[736,1028,49,12,49,346],[0,128,785,4,4,366]],inner:[[3009.13,353.48],[1591.22,376.6],[1591.22,2383.41],[3009.13,2406.53]],cover:[[1590.25,349.86],[3029.22,326.67],[3029.22,2433.33],[1590.25,2410.15]],still:13},{deg:174,file:"duo-fold/fold-174.webp",box:[1520,282,3086,2478],pieces:[[0,0,783,128,4,4],[0,132,37,128,4,140],[0,260,37,128,49,140],[0,388,37,128,94,140],[0,516,37,128,139,140],[0,644,37,128,184,140],[0,772,37,128,229,140],[0,900,37,128,274,140],[732,132,51,128,319,140],[732,260,51,128,378,140],[732,388,51,128,437,140],[732,516,51,128,496,140],[732,644,51,128,555,140],[732,772,51,128,614,140],[732,900,51,128,673,140],[0,1040,769,58,4,276],[0,1028,37,12,4,342],[732,1028,51,12,49,342],[0,128,783,4,4,362]],inner:[[3007.43,356.78],[1591.3,376.64],[1591.3,2383.37],[3007.43,2403.23]],cover:[[1592.08,349.93],[3029.15,330.11],[3029.15,2429.9],[1592.08,2410.07]],still:14},{deg:175,file:"duo-fold/fold-175.webp",box:[1520,284,3084,2476],pieces:[[0,0,782,128,4,4],[0,132,38,128,4,140],[0,260,38,128,50,140],[0,388,38,128,96,140],[0,516,38,128,142,140],[0,644,38,128,188,140],[0,772,38,128,234,140],[0,900,38,128,280,140],[736,132,46,128,326,140],[736,260,46,128,380,140],[736,388,46,128,434,140],[736,516,46,128,488,140],[736,644,46,128,542,140],[736,772,46,128,596,140],[736,900,46,128,650,140],[0,1032,771,64,4,276],[0,128,782,4,4,348],[0,1028,38,4,4,360],[736,1028,46,4,50,360]],inner:[[3005.29,360.07],[1591.36,376.67],[1591.36,2383.34],[3005.29,2399.95]],cover:[[1593.89,350.01],[3028.61,333.54],[3028.61,2426.47],[1593.89,2410]],still:15},{deg:176,file:"duo-fold/fold-176.webp",box:[1520,288,3082,2472],pieces:[[0,0,781,128,4,4],[0,132,39,128,4,140],[0,260,39,128,51,140],[0,388,39,128,98,140],[0,516,39,128,145,140],[0,644,39,128,192,140],[0,772,39,128,239,140],[0,900,39,128,286,140],[736,132,45,128,333,140],[736,260,45,128,386,140],[736,388,45,128,439,140],[736,516,45,128,492,140],[736,644,45,128,545,140],[736,772,45,128,598,140],[736,900,45,128,651,140],[0,1028,771,64,4,276],[0,128,781,4,4,348]],inner:[[3002.72,363.34],[1591.42,376.71],[1591.42,2383.31],[3002.72,2396.67]],cover:[[1595.7,350.09],[3027.62,336.95],[3027.62,2423.06],[1595.7,2409.92]],still:16},{deg:177,file:"duo-fold/fold-177.webp",box:[1522,290,3080,2470],pieces:[[0,0,779,128,4,4],[0,132,38,128,4,140],[0,260,38,128,50,140],[0,388,38,128,96,140],[0,516,38,128,142,140],[0,644,38,128,188,140],[0,772,38,128,234,140],[0,900,38,128,280,140],[732,132,47,128,326,140],[732,260,47,128,381,140],[732,388,47,128,436,140],[732,516,47,128,491,140],[732,644,47,128,546,140],[732,772,47,128,601,140],[732,900,47,128,656,140],[0,1028,767,62,4,276],[0,128,779,4,4,346]],inner:[[2999.72,366.59],[1591.48,376.74],[1591.48,2383.27],[2999.72,2393.42]],cover:[[1597.5,350.17],[3026.18,340.35],[3026.18,2419.66],[1597.5,2409.84]],still:17},{deg:178,file:"duo-fold/fold-178.webp",box:[1522,294,3076,2466],pieces:[[0,0,777,128,4,4],[0,132,41,128,4,140],[0,260,41,128,53,140],[0,388,41,128,102,140],[0,516,41,128,151,140],[0,644,41,128,200,140],[0,772,41,128,249,140],[732,132,45,128,298,140],[732,260,45,128,351,140],[732,388,45,128,404,140],[732,516,45,128,457,140],[732,644,45,128,510,140],[732,772,45,128,563,140],[0,900,41,124,616,140],[732,900,45,124,665,140],[0,1024,766,62,4,276],[0,128,777,4,4,346]],inner:[[2996.3,369.83],[1591.53,376.78],[1591.53,2383.24],[2996.3,2390.18]],cover:[[1599.28,350.26],[3024.3,343.73],[3024.3,2416.28],[1599.28,2409.75]],still:18},{deg:179,file:"duo-fold/fold-179.webp",box:[1524,296,3074,2464],pieces:[[0,32,43,128,4,4],[0,160,43,128,55,4],[0,288,43,128,106,4],[0,416,43,128,157,4],[0,544,43,128,208,4],[0,672,43,128,259,4],[0,800,43,128,310,4],[646,32,129,128,361,4],[646,160,129,128,498,4],[646,288,129,128,4,140],[646,416,129,128,141,140],[646,544,129,128,278,140],[646,672,129,128,415,140],[646,800,129,128,552,140],[0,928,43,124,689,140],[646,928,129,124,4,276],[0,0,741,32,4,408],[0,1052,741,32,4,448]],inner:[[2992.46,373.05],[1591.58,376.81],[1591.58,2383.2],[2992.46,2386.96]],cover:[[1601.06,350.35],[3021.97,347.1],[3021.97,2412.91],[1601.06,2409.66]],still:19},{deg:180,file:"duo-fold/fold-180.webp",box:[1524,300,3070,2460],pieces:[[0,28,47,128,4,4],[0,156,47,128,59,4],[0,284,47,128,114,4],[0,412,47,128,169,4],[0,540,47,128,224,4],[0,668,47,128,279,4],[0,796,47,128,334,4],[0,924,47,128,389,4],[645,28,128,128,444,4],[645,156,128,128,580,4],[645,284,128,128,4,140],[645,412,128,128,140,140],[645,540,128,128,276,140],[645,668,128,128,412,140],[645,796,128,128,548,140],[645,924,128,128,4,276],[0,0,734,28,4,412],[0,1052,735,28,4,448]],inner:[[2988.21,376.25],[1591.62,376.85],[1591.62,2383.17],[2988.21,2383.77]],cover:[[1602.82,350.45],[3019.21,350.45],[3019.21,2409.56],[1602.82,2409.56]],still:20}],stills:[{file:"duo-fold/still-000.webp",box:[1560,306,3058,2446],pieces:[[677,52,72,128,4,4],[677,180,72,128,84,4],[677,308,72,128,164,4],[677,436,72,128,244,4],[677,564,72,128,324,4],[677,692,72,128,404,4],[677,820,72,128,484,4],[677,948,72,76,564,4],[0,0,725,52,4,140],[0,1024,724,46,4,200]]},{file:"duo-fold/still-161.webp",box:[1560,306,3058,2446],pieces:[[685,56,64,128,4,4],[685,184,64,128,76,4],[685,312,64,128,148,4],[685,440,64,128,220,4],[685,568,64,128,292,4],[685,696,64,128,364,4],[685,824,64,128,436,4],[685,952,64,64,508,4],[0,0,727,56,4,140],[0,1016,730,54,4,204]]},{file:"duo-fold/still-162.webp",box:[1560,306,3058,2446],pieces:[[677,52,72,128,4,4],[677,180,72,128,84,4],[677,308,72,128,164,4],[677,436,72,128,244,4],[677,564,72,128,324,4],[677,692,72,128,404,4],[677,820,72,128,484,4],[677,948,72,76,564,4],[0,0,725,52,4,140],[0,1024,725,46,4,200]]},{file:"duo-fold/still-163.webp",box:[1560,306,3060,2446],pieces:[[676,52,74,128,4,4],[676,180,74,128,86,4],[676,308,74,128,168,4],[676,436,74,128,250,4],[676,564,74,128,332,4],[676,692,74,128,414,4],[676,820,74,128,496,4],[676,948,74,76,578,4],[0,0,727,52,4,140],[0,1024,724,46,4,200]]},{file:"duo-fold/still-164.webp",box:[1560,304,3060,2448],pieces:[[684,56,66,128,4,4],[684,184,66,128,78,4],[684,312,66,128,152,4],[684,440,66,128,226,4],[684,568,66,128,300,4],[684,696,66,128,374,4],[684,824,66,128,448,4],[684,952,66,68,522,4],[0,0,728,56,4,140],[0,1020,729,52,4,204]]},{file:"duo-fold/still-165.webp",box:[1560,304,3062,2448],pieces:[[680,52,71,128,4,4],[680,180,71,128,83,4],[680,308,71,128,162,4],[680,436,71,128,241,4],[680,564,71,128,320,4],[680,692,71,128,399,4],[680,820,71,128,478,4],[680,948,71,76,557,4],[0,0,727,52,4,140],[0,1024,727,48,4,200]]},{file:"duo-fold/still-166.webp",box:[1560,302,3062,2448],pieces:[[678,52,73,128,4,4],[678,180,73,128,85,4],[678,308,73,128,166,4],[678,436,73,128,247,4],[678,564,73,128,328,4],[678,692,73,128,409,4],[678,820,73,128,490,4],[678,948,73,80,571,4],[0,0,727,52,4,140],[0,1028,726,45,4,200]]},{file:"duo-fold/still-167.webp",box:[1560,302,3064,2450],pieces:[[680,52,72,128,4,4],[680,180,72,128,84,4],[680,308,72,128,164,4],[680,436,72,128,244,4],[680,564,72,128,324,4],[680,692,72,128,404,4],[680,820,72,128,484,4],[680,948,72,76,564,4],[0,0,728,52,4,140],[0,1024,730,50,4,200]]},{file:"duo-fold/still-168.webp",box:[1560,300,3066,2450],pieces:[[680,52,73,128,4,4],[680,180,73,128,85,4],[680,308,73,128,166,4],[680,436,73,128,247,4],[680,564,73,128,328,4],[680,692,73,128,409,4],[680,820,73,128,490,4],[680,948,73,80,571,4],[0,0,729,52,4,140],[0,1028,729,47,4,200]]},{file:"duo-fold/still-169.webp",box:[1560,300,3066,2452],pieces:[[682,52,71,128,4,4],[682,180,71,128,83,4],[682,308,71,128,162,4],[682,436,71,128,241,4],[682,564,71,128,320,4],[682,692,71,128,399,4],[682,820,71,128,478,4],[682,948,71,80,557,4],[0,0,730,52,4,140],[0,1028,730,48,4,200]]},{file:"duo-fold/still-170.webp",box:[1560,298,3068,2454],pieces:[[692,60,62,128,4,4],[692,188,62,128,74,4],[692,316,62,128,144,4],[692,444,62,128,214,4],[692,572,62,128,284,4],[692,700,62,128,354,4],[692,828,62,128,424,4],[692,956,62,68,494,4],[0,0,735,60,4,140],[0,1024,734,54,4,208]]},{file:"duo-fold/still-171.webp",box:[1560,298,3070,2454],pieces:[[682,52,73,128,4,4],[682,180,73,128,85,4],[682,308,73,128,166,4],[682,436,73,128,247,4],[682,564,73,128,328,4],[682,692,73,128,409,4],[682,820,73,128,490,4],[682,948,73,84,571,4],[0,0,730,52,4,140],[0,1032,730,46,4,200]]},{file:"duo-fold/still-172.webp",box:[1560,296,3072,2456],pieces:[[690,56,66,128,4,4],[690,184,66,128,78,4],[690,312,66,128,152,4],[690,440,66,128,226,4],[690,568,66,128,300,4],[690,696,66,128,374,4],[690,824,66,128,448,4],[690,952,66,76,522,4],[0,0,733,56,4,140],[0,1028,734,52,4,204]]},{file:"duo-fold/still-173.webp",box:[1560,296,3072,2456],pieces:[[684,52,72,128,4,4],[684,180,72,128,84,4],[684,308,72,128,164,4],[684,436,72,128,244,4],[684,564,72,128,324,4],[684,692,72,128,404,4],[684,820,72,128,484,4],[684,948,72,84,564,4],[0,0,731,52,4,140],[0,1032,733,48,4,200]]},{file:"duo-fold/still-174.webp",box:[1560,294,3074,2458],pieces:[[684,52,73,128,4,4],[684,180,73,128,85,4],[684,308,73,128,166,4],[684,436,73,128,247,4],[684,564,73,128,328,4],[684,692,73,128,409,4],[684,820,73,128,490,4],[684,948,73,84,571,4],[0,0,733,52,4,140],[0,1032,734,50,4,200]]},{file:"duo-fold/still-175.webp",box:[1560,294,3074,2458],pieces:[[684,52,73,128,4,4],[684,180,73,128,85,4],[684,308,73,128,166,4],[684,436,73,128,247,4],[684,564,73,128,328,4],[684,692,73,128,409,4],[684,820,73,128,490,4],[684,948,73,88,571,4],[0,0,734,52,4,140],[0,1036,732,46,4,200]]},{file:"duo-fold/still-176.webp",box:[1560,294,3076,2458],pieces:[[685,52,73,128,4,4],[685,180,73,128,85,4],[685,308,73,128,166,4],[685,436,73,128,247,4],[685,564,73,128,328,4],[685,692,73,128,409,4],[685,820,73,128,490,4],[685,948,73,88,571,4],[0,0,734,52,4,140],[0,1036,733,46,4,200]]},{file:"duo-fold/still-177.webp",box:[1560,292,3076,2460],pieces:[[698,60,60,128,4,4],[698,188,60,128,72,4],[698,316,60,128,140,4],[698,444,60,128,208,4],[698,572,60,128,276,4],[698,700,60,128,344,4],[698,828,60,128,412,4],[698,956,60,72,480,4],[0,0,738,60,4,140],[0,1028,740,56,4,208]]},{file:"duo-fold/still-178.webp",box:[1560,292,3078,2460],pieces:[[693,56,66,128,4,4],[693,184,66,128,78,4],[693,312,66,128,152,4],[693,440,66,128,226,4],[693,568,66,128,300,4],[693,696,66,128,374,4],[693,824,66,128,448,4],[693,952,66,80,522,4],[0,0,736,56,4,140],[0,1032,737,52,4,204]]},{file:"duo-fold/still-179.webp",box:[1560,292,3078,2460],pieces:[[692,56,67,128,4,4],[692,184,67,128,79,4],[692,312,67,128,154,4],[692,440,67,128,229,4],[692,568,67,128,304,4],[692,696,67,128,379,4],[692,824,67,128,454,4],[692,952,67,80,529,4],[0,0,738,56,4,140],[0,1032,738,52,4,204]]},{file:"duo-fold/still-180.webp",box:[1560,292,3078,2460],pieces:[[688,52,71,128,4,4],[688,180,71,128,83,4],[688,308,71,128,162,4],[688,436,71,128,241,4],[688,564,71,128,320,4],[688,692,71,128,399,4],[688,820,71,128,478,4],[688,948,71,88,557,4],[0,0,734,52,4,140],[0,1036,734,48,4,200]]}]}});function L2($){return $==="open"?1:0}function n0($){return b4.find((j)=>j.id===$)}function z1($,j="closed"){let J=n0($),Q=J?.postures?.[j];return J&&Q?{...J,...Q}:J}function u2($,j){return z1($,j)?.id??$}function oU($){for(let j of b4){let J=f4.find((Q)=>j.postures?.[Q].id===$);if(J)return{device:j.id,posture:J}}return}function Yj($){return sw.find((j)=>j.id===$)}function w4($){return n0($)?.touch===!0}function nU($){return $.kind==="phone"||$.kind==="tablet"}function tU($){return $==="portrait"?"landscape":"portrait"}function aU($){return $.usual??($.width>$.height?"landscape":"portrait")}function q2($,j){let J=Math.max($.width,$.height),Q=Math.min($.width,$.height);return j==="landscape"?{width:J,height:Q}:{width:Q,height:J}}function eU($,j){return{...$,ua:{preset:j,...$.ua}}}function nw($,j){let J=n0($.device);if(!J||j.ua!==void 0||$.ua.preset!==J.ua)return j;return{...j,ua:{preset:"system"}}}function aw($,j){let{posture:J}=j;if(!(j.device===void 0||j.device===$.device)||J===void 0||J===$.posture)return null;let Z=z1($.device,$.posture),X=z1($.device,J);if(!Z||!X||!n0($.device)?.postures)return null;let V=j.orientation??tU($.orientation),Y=$.dpr===Z.dpr?X.dpr:$.dpr,q={...q2(X,V),dpr:Y,...j,orientation:V};return $.ua.preset===Z.ua?eU(q,X.ua):q}function $H($,j){let J=aw($,j);if(J)return J;let Q=j.device===void 0?void 0:n0(j.device),Z=Q&&z1(Q.id,j.posture??$.posture);if(Z){let C=z1($.device,$.posture),G=C!==void 0&&nU(C)&&$.orientation!==aU(C),W=aU(Z),K=j.orientation??(G&&nU(Z)?tU(W):W),H=q2(Z,K);return eU({...H,dpr:Z.dpr,...j,orientation:K},Z.ua)}let X=j.device===void 0?j:nw($,j),{width:V,height:Y}=$;if(X.orientation!==void 0&&X.orientation!==$.orientation&&typeof V==="number"&&typeof Y==="number")return{width:Y,height:V,...X};return X}function jH($){let{width:j,height:J}=$,Q=typeof j==="number"&&typeof J==="number",Z=Q&&j>J?"landscape":"portrait",X=z1($.device,$.posture),Y=X!==void 0&&Q&&(j===X.width&&J===X.height||j===X.height&&J===X.width)?$.device:"none",q=n0(Y)?.postures?$.posture:"closed";if(Z===$.orientation&&q===$.posture&&Y===$.device)return $;return{...$,orientation:Z,posture:q,device:Y}}var f4,b4,sw;var W1=u(()=>{f4=["closed","open"];b4=[{id:"iphone-18-pro",label:"iPhone 18 Pro",width:402,height:874,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-18-pro-max",label:"iPhone 18 Pro Max",width:440,height:956,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-duo",label:"iPhone Duo",width:466,height:678,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone",postures:{closed:{id:"iphone-duo-closed",label:"iPhone Duo (closed)"},open:{id:"iphone-duo-open",label:"iPhone Duo (open)",width:669,height:951,usual:"landscape",clockwise:!0}}},{id:"iphone-air",label:"iPhone Air",width:420,height:912,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-17",label:"iPhone 17",width:402,height:874,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-17-pro",label:"iPhone 17 Pro",width:402,height:874,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-17-pro-max",label:"iPhone 17 Pro Max",width:440,height:956,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-16",label:"iPhone 16",width:393,height:852,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-16-plus",label:"iPhone 16 Plus",width:430,height:932,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-16-pro",label:"iPhone 16 Pro",width:402,height:874,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-16-pro-max",label:"iPhone 16 Pro Max",width:440,height:956,dpr:3,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"iphone-se",label:"iPhone SE",width:375,height:667,dpr:2,ua:"iphone-safari",touch:!0,kind:"phone"},{id:"pixel-10",label:"Pixel 10",width:412,height:924,dpr:2.625,ua:"android-chrome",touch:!0,kind:"phone"},{id:"pixel-10-pro",label:"Pixel 10 Pro",width:427,height:952,dpr:3,ua:"android-chrome",touch:!0,kind:"phone"},{id:"pixel-10-pro-xl",label:"Pixel 10 Pro XL",width:448,height:998,dpr:3,ua:"android-chrome",touch:!0,kind:"phone"},{id:"pixel-10a",label:"Pixel 10a",width:412,height:924,dpr:2.625,ua:"android-chrome",touch:!0,kind:"phone"},{id:"pixel-9",label:"Pixel 9",width:412,height:924,dpr:2.625,ua:"android-chrome",touch:!0,kind:"phone"},{id:"pixel-9-pro",label:"Pixel 9 Pro",width:427,height:952,dpr:3,ua:"android-chrome",touch:!0,kind:"phone"},{id:"pixel-9-pro-xl",label:"Pixel 9 Pro XL",width:448,height:998,dpr:3,ua:"android-chrome",touch:!0,kind:"phone"},{id:"ipad-mini",label:"iPad mini",width:744,height:1133,dpr:2,ua:"ipad-safari",touch:!0,kind:"tablet"},{id:"ipad-air-11",label:"iPad Air 11",width:820,height:1180,dpr:2,ua:"ipad-safari",touch:!0,kind:"tablet"},{id:"ipad-pro-13",label:"iPad Pro 13",width:1032,height:1376,dpr:2,ua:"ipad-safari",touch:!0,kind:"tablet"},{id:"macbook-air-13",label:"MacBook Air 13",width:1470,height:956,dpr:2,ua:"mac-safari",touch:!1,kind:"laptop"},{id:"laptop",label:"laptop",width:1366,height:768,dpr:1,ua:"windows-chrome",touch:!1,kind:"laptop"},{id:"desktop",label:"desktop",width:1920,height:1080,dpr:1,ua:"windows-chrome",touch:!1,kind:"desktop"}];sw=b4.flatMap(($)=>{let{postures:j}=$;return j?f4.map((J)=>({...$,...j[J]})):[$]})});var JH,k0;var qj=u(()=>{JH={blurMost:48,blurHinge:0,blurRise:2,blurAngle:90,blurStand:1.5,blurHold:0,blurEase:0,edgeHinge:0.3,edgeFree:1,edgeReach:1.5,blurSpread:0.5,darkMost:0,darkPower:3,darkFrom:0.25,darkBand:0.05,darkBroad:0.5,wipeShade:0,farShade:0,grain:1},k0={...JH}});var P5=u(()=>{W1();qj()});function C2($){let j=/^(-?\d*\.?\d+(?:e-?\d+)?)px$/.exec($.trim());return j?Number(j[1]):null}function AV($,j,J,Q){return{top:C2($)??0,right:C2(j)??0,bottom:C2(J)??0,left:C2(Q)??0}}function Kj($){let j={top:C2($.top),right:C2($.right),bottom:C2($.bottom),left:C2($.left)},J=$.position!=="static"&&q8.some((Q)=>j[Q]!==null);return{margin:AV($.marginTop,$.marginRight,$.marginBottom,$.marginLeft),border:AV($.borderTopWidth,$.borderRightWidth,$.borderBottomWidth,$.borderLeftWidth),padding:AV($.paddingTop,$.paddingRight,$.paddingBottom,$.paddingLeft),offsets:J?j:null,boxSizing:$.boxSizing,display:$.display,position:$.position}}function QH($,j,J){let{border:Q,padding:Z}=$,X=(V,Y,q)=>{let C=C2(V);if(C===null)return Math.max(0,Y-q);return $.boxSizing==="border-box"?Math.max(0,C-q):C};return{width:X(j.width,J.width,Q.left+Q.right+Z.left+Z.right),height:X(j.height,J.height,Q.top+Q.bottom+Z.top+Z.bottom)}}function ZH($,j){if($==="contents"||$==="none")return!1;return j.width>0||j.height>0}function TV($,j){let J=Math.max(0,$.width-j.left-j.right),Q=Math.max(0,$.height-j.top-j.bottom);return{x:Math.min($.x+j.left,$.x+$.width),y:Math.min($.y+j.top,$.y+$.height),width:J,height:Q}}function ow($,j){let{margin:J}=j,Q={top:-Math.max(0,J.top),right:-Math.max(0,J.right),bottom:-Math.max(0,J.bottom),left:-Math.max(0,J.left)},Z=TV($,j.border);return{margin:TV($,Q),border:$,padding:Z,content:TV(Z,j.padding)}}function Cj($){let j=$.x+$.width,J=$.y+$.height;return[{x:$.x,y:$.y},{x:j,y:$.y},{x:j,y:J},{x:$.x,y:J}]}function XH($,j){let J=ow($,j);return{margin:Cj(J.margin),border:Cj(J.border),padding:Cj(J.padding),content:Cj(J.content)}}function Gj($){if(typeof $!=="object"||$===null)return!1;let j=Reflect.get($,"x"),J=Reflect.get($,"y");return typeof j==="number"&&typeof J==="number"&&Number.isFinite(j+J)}function VH($){if(typeof $!=="object"||$===null)return null;if(Reflect.get($,"length")!==1)return null;let j=Reflect.get($,0);if(typeof j!=="object"||j===null)return null;let J=["p1","p2","p3","p4"].map((Y)=>Reflect.get(j,Y)),[Q,Z,X,V]=J;if(!Gj(Q)||!Gj(Z)||!Gj(X)||!Gj(V))return null;return[{x:Q.x,y:Q.y},{x:Z.x,y:Z.y},{x:X.x,y:X.y},{x:V.x,y:V.y}]}function YH($,j){let[J,Q,Z,X]=$,V=Math.abs(J.y-Q.y)<_5&&Math.abs(Q.x-Z.x)<_5&&Math.abs(Z.y-X.y)<_5&&Math.abs(X.x-J.x)<_5;if(!V||!j)return V;return Math.abs(Math.abs(Q.x-J.x)-j.width)<_5&&Math.abs(Math.abs(X.y-J.y)-j.height)<_5}function qH($,j){let J=j.x-Math.min(...$.border.map((X)=>X.x)),Q=j.y-Math.min(...$.border.map((X)=>X.y)),Z=(X)=>[{x:X[0].x+J,y:X[0].y+Q},{x:X[1].x+J,y:X[1].y+Q},{x:X[2].x+J,y:X[2].y+Q},{x:X[3].x+J,y:X[3].y+Q}];return{margin:Z($.margin),border:Z($.border),padding:Z($.padding),content:Z($.content)}}function SV($,j){return(j?[...$,$[0]]:$).map((Q)=>`${Math.round(Q.x*100)/100}px ${Math.round(Q.y*100)/100}px`).join(", ")}function Wj($,j){if(!j)return`polygon(${SV($,!1)})`;return`polygon(evenodd, ${SV($,!0)}, ${SV(j,!0)})`}function CH($){return{margin:Wj($.margin,$.border),border:Wj($.border,$.padding),padding:Wj($.padding,$.content),content:Wj($.content,null)}}var H6,q8,_5=0.5;var C8=u(()=>{H6=["margin","border","padding","content"],q8=["top","right","bottom","left"]});function r0(){return L1.now()}function KH($,j){if($.mode==="frozen")return $.at;if($.mode==="offset")return Math.floor($.at+(j-$.since)*$.speed);return j}function BH($,j,J=r0()){if(!j)return $;let Q={...$,...j};if(j.since!==void 0&&j.since!==$.since)return Q;if(j.at!==void 0&&j.since===void 0)return{...Q,since:J};let Z=(X)=>j[X]!==void 0&&j[X]!==$[X];if(Z("mode")||Z("speed"))return{...Q,at:KH($,J),since:J};return Q}function OV($){M6.clock=$&&$.mode!=="system"?{...$}:null}function UH(){return M6.clock!==null}function X4(){return M6.clock?KH(M6.clock,r0()):r0()}function HH($,j){return new Proxy($,{construct(J,Q,Z){if(Q.length===0&&M6.clock)return Reflect.construct(J,[X4()],Z);return Reflect.construct(J,j?j.args(Q):Q,Z)},apply(J,Q,Z){if(!M6.clock&&!j?.on())return Reflect.apply(J,Q,Z);return String(new L1(X4()))},get(J,Q,Z){if(Q==="now")return X4;if(Q==="parse"&&j)return j.parse;return Reflect.get(J,Q,Z)}})}function zH(){return globalThis.Temporal?.Now}function PH($,j,J){return function(Q){let Z=J(Q),X=globalThis.Temporal;if(!M6.clock||!X?.Instant)return j.call(this,Z);let V=X.Instant.fromEpochMilliseconds(X4()),Y=X.Now?.timeZoneId,q=typeof Y==="function"?Y.call(X.Now):void 0;return MH[$](V,Z??q)}}function _H(){let $=globalThis,j=$[GH];$[GH]=null,j?.release()}var Bj=0.001,Uj=1e6,WH,tw,M6,L1,MH,FH,GH;var t1=u(()=>{WH=[{label:"+1h",ms:3600000},{label:"+1d",ms:86400000},{label:"+2d",ms:172800000},{label:"+1w",ms:604800000},{label:"+30d",ms:2592000000}],tw=Symbol.for("devknobs.clock"),M6=globalThis[tw]??={Date,clock:null},L1=M6.Date;MH={instant:($)=>$,zonedDateTimeISO:($,j)=>$.toZonedDateTimeISO(j),plainDateTimeISO:($,j)=>$.toZonedDateTimeISO(j).toPlainDateTime(),plainDateISO:($,j)=>$.toZonedDateTimeISO(j).toPlainDate(),plainTimeISO:($,j)=>$.toZonedDateTimeISO(j).toPlainTime()},FH=Object.keys(MH);GH=Symbol.for("devknobs.early.clock")});function V4($,j,J){let[Q=0,Z=0,X=0]=[$,j,J].map((V)=>{let Y=V/255;return Y<=0.03928?Y/12.92:((Y+0.055)/1.055)**2.4});return 0.2126*Q+0.7152*Z+0.0722*X}function EV($,j){return $.endsWith("%")?Number.parseFloat($)/100*j:Number.parseFloat($)}function G8($){let j=/^(rgba?|color)\(\s*(srgb\s+)?([^)]+)\)$/i.exec($.trim());if(!j)return null;let J=j[1]?.toLowerCase()==="color";if(J!==Boolean(j[2]))return null;let Q=(j[3]??"").split(/[\s,/]+/).filter(Boolean);if(Q.length<3||Q.length>4)return null;let Z=J?255:1,[X,V,Y]=Q.slice(0,3).map((C)=>C.endsWith("%")?EV(C,255):EV(C,1)*Z),q=Q[3]===void 0?1:EV(Q[3],1);if(X===void 0||V===void 0||Y===void 0)return null;if([X,V,Y,q].some((C)=>!Number.isFinite(C)))return null;return{red:X,green:V,blue:Y,alpha:q}}function k1($){return typeof $==="string"&&/^#[0-9a-f]{6}$/.test($)}function xV($){let j=(J)=>Math.min(255,Math.max(0,Math.round(J))).toString(16).padStart(2,"0");return`#${j($.red)}${j($.green)}${j($.blue)}`}function fV($){let J=/^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec($.trim())?.[1];if(!J)return null;let Q=J.length===3?Array.from(J,(Y)=>Y+Y):J.match(/../g),[Z=0,X=0,V=0]=(Q??[]).map((Y)=>Number.parseInt(Y,16));return{red:Z,green:X,blue:V,alpha:1}}function LH($){let j=$.trim(),J=fV(j.startsWith("#")?j:`#${j}`)??G8(j);if(!J||J.alpha!==1)return null;return[J.red,J.green,J.blue].every((Z)=>Z>=0&&Z<=255)?xV(J):null}function ew($,j){return(Math.max($,j)+0.05)/(Math.min($,j)+0.05)}function IH($,j,J){let Q=(Z,X)=>Z+(X-Z)*J;return{red:Q($.red,j.red),green:Q($.green,j.green),blue:Q($.blue,j.blue),alpha:1}}function NH($,j){let J=(X)=>{let V=V4(X.red,X.green,X.blue);return Math.min(...j.map((Y)=>ew(V,V4(Y.red,Y.green,Y.blue))))},Q=IH($,$k,DH),Z=IH($,jk,DH);return J(Q)>=J(Z)?Q:Z}var $k,jk,DH=0.9;var m2=u(()=>{$k={red:255,green:255,blue:255,alpha:1},jk={red:0,green:0,blue:0,alpha:1}});function Jk($){if(typeof $!=="object"||$===null)return 0;let j=Reflect.get($,"v");return typeof j==="number"&&Number.isInteger(j)&&j>=0?j:0}function P1($,j){return Jk($)>j}function q1($,j){return{v:j,...$}}function wV($){try{return new URLSearchParams($).getAll(Hj).includes(AH)}catch{return!1}}function Xk($){if($===Hj)return!0;return $.startsWith(`${Hj}:`)&&!$.startsWith(Zk)}function Vk($){if(!$)return 0;try{let j=JSON.parse($);if(typeof j!=="object"||j===null||P1(j,TH))return 0;let J=Reflect.get(j,"at");return typeof J==="number"?J:0}catch{return 0}}function Yk(){try{let $=window.sessionStorage,j=r0()-Vk($.getItem(Mj));if($.removeItem(Mj),j>=0&&j<Qk)return;let J=[];for(let Q=0;Q<$.length;Q++){let Z=$.key(Q);if(Z!==null&&Xk(Z))J.push(Z)}for(let Q of J)$.removeItem(Q)}catch{}}function qk(){try{window.sessionStorage.removeItem(Mj)}catch{}}function Ck(){try{let $=window.frameElement;if($)return $.hasAttribute(bV)}catch{}return window.name===K3&&wV(window.location?.search??"")}function e1(){if(typeof window>"u")return!1;let $=Reflect.get(window,RH);if(typeof $==="boolean")return $;let j=!1;try{if(_1())j=Ck();else if(j=wV(window.location?.search??""),j)Yk();else qk()}catch{j=!1}return Reflect.set(window,RH,j),j}function E0($){try{if(typeof window>"u")return null;if($==="session")return e1(),window.sessionStorage??null;return e1()?null:window.localStorage??null}catch{return null}}function SH($,j){let J=(Q)=>Q.split("#",1)[0];return J($)!==J(j)}function Gk($,j){try{let V=new URL($);if(V.origin!==j||wV(V.search))return $}catch{return $}let J=$.indexOf("#"),Q=J<0?$:$.slice(0,J),Z=J<0?"":$.slice(J),X=!Q.includes("?")?"?":Q.endsWith("?")||Q.endsWith("&")?"":"&";return`${Q}${X}${Hj}=${AH}${Z}`}function Fj($){return e1()?Gk($,window.location.origin):$}function zj(){if(!e1()||_1())return;try{let $=q1({at:r0()},TH);window.sessionStorage.setItem(Mj,JSON.stringify($))}catch{}}var Hj="devknobs",AH="fresh",bV="data-devknobs-fresh",Mj="devknobs:fresh-reload",TH=1,Qk=1e4,Zk="devknobs:locale-",RH;var G2=u(()=>{t1();K1();RH=Symbol.for("devknobs.fresh")});function Bk($){return D5.find((j)=>j.id===$)}function xH($){let j=[],J=(Q,Z)=>{if(Math.abs(Q)<=90&&Math.abs(Z)<=180)j.push({lat:Q,lng:Z})};for(let Q of["trkpt","rtept","wpt"]){for(let[,Z=""]of $.matchAll(new RegExp(`<${Q}\\b([^>]*)>`,"gi"))){let X=/\blat\s*=\s*["']([^"']*)["']/i.exec(Z)?.[1]??"",V=/\blon\s*=\s*["']([^"']*)["']/i.exec(Z)?.[1]??"";J(parseFloat(X),parseFloat(V))}if(j.length>0)return j}for(let Q of $.split(/[\n;]+/)){let Z=/(-?\d+(?:\.\d+)?)\s*[,\s]\s*(-?\d+(?:\.\d+)?)/.exec(Q);if(Z)J(Number(Z[1]),Number(Z[2]))}return j}function Y4($){return $*Math.PI/180}function Uk($,j){let J=Math.sin(Y4(j.lat-$.lat)/2),Q=Math.sin(Y4(j.lng-$.lng)/2),Z=J*J+Math.cos(Y4($.lat))*Math.cos(Y4(j.lat))*Q*Q;return 2*Kk*Math.asin(Math.min(1,Math.sqrt(Z)))}function OH($,j){let J=Y4(j.lng-$.lng),Q=Math.sin(J)*Math.cos(Y4(j.lat)),Z=Math.cos(Y4($.lat))*Math.sin(Y4(j.lat))-Math.sin(Y4($.lat))*Math.cos(Y4(j.lat))*Math.cos(J);return(Math.atan2(Q,Z)*180/Math.PI+360)%360}function Hk($,j){let J=$.slice(1).map((Y,q)=>Uk($[q],Y)),Q=J.reduce((Y,q)=>Y+q,0),Z=$[0]??{lat:0,lng:0};if(!(Q>0))return{...Z,heading:NaN};let X=(j%Q+Q)%Q,V=0;for(let[Y,q]of J.entries()){if(q===0)continue;if(V=Y,X>q){X-=q;continue}let C=$[Y],G=$[Y+1],W=X/q;return{lat:C.lat+(G.lat-C.lat)*W,lng:C.lng+(G.lng-C.lng)*W,heading:OH(C,G)}}return{...$[V+1],heading:OH($[V],$[V+1])}}function F3($){let j=$.accuracy>0?$.accuracy:gV;if($.preset==="custom")return{lat:$.lat,lng:$.lng,accuracy:j,timeZone:$.timeZone};if($.preset==="route"){let[Q]=xH($.route);if(!Q)return null;return{lat:Q.lat,lng:Q.lng,accuracy:j,timeZone:$.timeZone}}let J=Bk($.preset);if(!J)return null;return{lat:J.lat,lng:J.lng,accuracy:j,timeZone:J.timeZone}}function zk($){let j=typeof GeolocationPositionError==="function"?GeolocationPositionError.prototype:Object.prototype;return Object.create(j,{code:{value:$,enumerable:!0},message:{value:Fk[$],enumerable:!0},PERMISSION_DENIED:{value:1},POSITION_UNAVAILABLE:{value:2},TIMEOUT:{value:3}})}function _k(){let $=hV,{lat:j,lng:J}=$,Q=null,Z=null;if(F6){let X=Hk(F6.points,F6.speed*(r0()-F6.start)/1000);({lat:j,lng:J}=X),Z=F6.speed,Q=Z>0?X.heading:NaN}return{coords:{latitude:j,longitude:J,accuracy:$.accuracy,altitude:null,altitudeAccuracy:null,heading:Q,speed:Z},timestamp:Date.now()}}function Ik($){let j=$?.maximumAge??0;if(W8&&Date.now()-W8.timestamp<=j)return W8;if($?.timeout===0)return null;return W8=_k(),W8}function vV($,j){let J=(X,V)=>{setTimeout(()=>{if(j===void 0||H3.has(j))V()},X)},Q=(X,V=0)=>{J(V,()=>$.error?.(zk(X)))};if(K8==="timeout"){let X=$.options?.timeout;if(typeof X==="number"&&X>=0&&Number.isFinite(X))Q(kV.timeout,X);return}if(K8!=="none"){Q(kV[K8]);return}let Z=Ik($.options);if(Z)J(0,()=>$.success(Z));else Q(kV.timeout)}function Dk(){let $=navigator.geolocation;if(!$)return;if(!U3)U3={getCurrentPosition:$.getCurrentPosition,watchPosition:$.watchPosition,clearWatch:$.clearWatch},Pj={getCurrentPosition:Object.getOwnPropertyDescriptor($,"getCurrentPosition"),watchPosition:Object.getOwnPropertyDescriptor($,"watchPosition"),clearWatch:Object.getOwnPropertyDescriptor($,"clearWatch")};$.getCurrentPosition=(j,J,Q)=>{vV({success:j,error:J,options:Q})},$.watchPosition=(j,J,Q)=>{let Z=++Pk;return H3.set(Z,{success:j,error:J,options:Q}),vV({success:j,error:J,options:Q},Z),Z},$.clearWatch=(j)=>{if(H3.delete(j))return;U3?.clearWatch.call($,j)}}function Lk(){let $=navigator.geolocation;if(!$||!U3||!Pj)return;for(let[j,J]of Object.entries(Pj))if(J)Object.defineProperty($,j,J);else delete $[j];U3=null,Pj=null}function Nk(){return K8==="denied"?"denied":"granted"}function Rk($){if(!I5.has($)){let j=Object.getPrototypeOf($);Object.defineProperty($,"state",{configurable:!0,get:()=>M3?Nk():Reflect.get(j,"state",$)})}return I5.set($,$.state),$}function fH(){for(let[$,j]of I5){let J=$.state;if(J===j)continue;I5.set($,J),$.dispatchEvent(new Event("change"))}}function Ak(){let $=navigator.permissions;if(!$||M3)return;let j=$.query;M3=j,_j=Object.getOwnPropertyDescriptor($,"query"),$.query=(J)=>{let Q=j.call($,J);return J?.name==="geolocation"?Q.then(Rk):Q}}function Tk(){let $=navigator.permissions;if(!$||!M3)return;if(_j)Object.defineProperty($,"query",_j);else Reflect.deleteProperty($,"query");M3=null,_j=void 0;for(let j of I5.keys())Reflect.deleteProperty(j,"state");fH(),I5.clear()}function bH(){W8=null;for(let[$,j]of H3)vV(j,$)}function wH(){let $=F6!==null&&K8==="none";if($&&!B3)B3=setInterval(bH,Wk);if(!$&&B3)clearInterval(B3),B3=null}function kH($){let j=F3($),J=$.error;if(!j&&J==="none"){uV();return}let Q=$.preset==="route"?[$.route,$.speed]:null,Z=JSON.stringify([j,J,Q]),X=Z!==yV;if(hV=j,K8=J,yV=Z,Dk(),Ak(),!X)return;F6=Q&&j?{points:xH($.route),speed:Math.max(0,$.speed)/3.6,start:r0()}:null,wH(),bH(),fH()}function uV(){hV=null,K8="none",yV="",W8=null,F6=null,wH(),H3.clear(),Tk(),Lk()}var D5,gV=20,EH=40,Wk=1000,Kk=6371008.8,Mk=1e6,kV,Fk,hV=null,K8="none",yV="",W8=null,F6=null,B3=null,H3,Pk,Pj=null,U3=null,M3=null,_j,I5;var B8=u(()=>{t1();D5=[{id:"antalya",label:"Antalya",lat:36.8969,lng:30.7133,timeZone:"Europe/Istanbul"},{id:"istanbul",label:"Istanbul",lat:41.0082,lng:28.9784,timeZone:"Europe/Istanbul"},{id:"berlin",label:"Berlin",lat:52.52,lng:13.405,timeZone:"Europe/Berlin"},{id:"london",label:"London",lat:51.5074,lng:-0.1278,timeZone:"Europe/London"},{id:"new-york",label:"New York",lat:40.7128,lng:-74.006,timeZone:"America/New_York"},{id:"san-francisco",label:"San Francisco",lat:37.7749,lng:-122.4194,timeZone:"America/Los_Angeles"},{id:"tokyo",label:"Tokyo",lat:35.6762,lng:139.6503,timeZone:"Asia/Tokyo"},{id:"sydney",label:"Sydney",lat:-33.8688,lng:151.2093,timeZone:"Australia/Sydney"},{id:"sao-paulo",label:"Sao Paulo",lat:-23.5505,lng:-46.6333,timeZone:"America/Sao_Paulo"}];kV={denied:1,unavailable:2,timeout:3},Fk={1:"User denied Geolocation",2:"Position update is unavailable",3:"Timeout expired"};H3=new Map,Pk=Mk,I5=new Map});function mV($){return Math.min(Math.max($,0.25),4)}function z6($){return`${Math.round($*100)}%`}function vH($,j){if(j>0)return yH.find((Q)=>Q>$+0.001)??4;return[...yH].reverse().find((Q)=>Q<$-0.001)??0.25}function gH($,j){let J=Math.min(Math.max(j,-10),10);return mV($*Math.exp(-J/100))}function hH($,j,J,Q){let Z=Q.scale/J.scale;return{x:Q.origin.x+(j.x+$.x-J.origin.x)*Z-$.x,y:Q.origin.y+(j.y+$.y-J.origin.y)*Z-$.y}}var L5,Ij=0.25,Dj=4,yH;var z3=u(()=>{L5=[0.5,0.75,1,1.25,1.5],yH=[0.25,0.33,0.5,0.67,0.75,0.8,0.9,1,1.1,1.25,1.5,1.75,2,2.5,3,4]});function _6($){return typeof $==="object"&&$!==null?$:{}}function I1($,j,J){return j.includes($)?$:J}function mH($,j,J){return k1($)?$:I1($,j,J)}function P6($,j){return typeof $==="string"?$:j}function p2($,j){return typeof $==="number"&&Number.isFinite($)?$:j}function N2($,j){return typeof $==="boolean"?$:j}function P3($,j,J){if($===j)return j;if(typeof $==="number"&&Number.isFinite($)&&$>0)return $;return J}function pH($,j){return typeof $==="number"&&Number.isFinite($)&&$>=0?$:j}function xk($){if(!Array.isArray($))return[];let j=$.filter((J)=>typeof J==="string");return Array.from(new Set(j.map((J)=>Ok.get(J)??J)))}function cH($,j){if(!$)return null;try{let J=JSON.parse($);return P1(J,j)?null:J}catch{return null}}function dH($,j){let J=_6($),Q=Number.isFinite(p2(J.y,p2(J.top,Number.NaN)));return{side:I1(J.side,jY,j.side),y:p2(J.y,j.y),top:p2(J.top,p2(J.y,j.top)),edge:I1(J.edge,_3,Q?"none":j.edge),tab:I1(J.tab,_3,Q?"none":j.tab),docked:N2(J.docked,j.docked)}}function fk($){let{side:j,y:J,top:Q,edge:Z,tab:X,docked:V}=$.panel;return JSON.stringify(q1({side:j,y:J,top:Q,edge:Z,tab:X,docked:V},nH))}function ZY($,j){let J=dH(cH(j,nH),e.panel),Q=_6(cH($,rH)),Z=_6(Q.locale),X=_6(Q.geo),V=_6(Q.clock),Y=_6(Q.network),q=_6(Q.ua),C=_6(Q.panel),G=P6(Q.device,e.device),W=oU(G),K=P3(Q.zoom,"fit",e.zoom);return{scheme:I1(Q.scheme,pV,e.scheme),motion:I1(Q.motion,cV,e.motion),speed:pH(Q.speed,e.speed),contrast:I1(Q.contrast,dV,e.contrast),transparency:I1(Q.transparency,lV,e.transparency),locale:{lang:P6(Z.lang,e.locale.lang),dir:I1(Z.dir,iV,e.locale.dir)},pseudo:N2(Q.pseudo,e.pseudo),geo:{preset:P6(X.preset,e.geo.preset),lat:p2(X.lat,e.geo.lat),lng:p2(X.lng,e.geo.lng),accuracy:p2(X.accuracy,e.geo.accuracy),timeZone:P6(X.timeZone,e.geo.timeZone),error:I1(X.error,rV,e.geo.error),route:P6(X.route,e.geo.route),speed:p2(X.speed,e.geo.speed)},timeZone:P6(Q.timeZone,"")||e.timeZone,clock:{mode:I1(V.mode,sV,e.clock.mode),at:p2(V.at,e.clock.at),since:p2(V.since,e.clock.since),speed:pH(V.speed,e.clock.speed),header:N2(V.header,e.clock.header)},network:{online:I1(Y.online,nV,e.network.online),type:I1(Y.type,aV,e.network.type),saveData:I1(Y.saveData,oV,e.network.saveData)},text:P3(Q.text,"system",e.text),spacing:N2(Q.spacing,e.spacing),width:P3(Q.width,"full",e.width),height:P3(Q.height,"full",e.height),device:W?.device??(n0(G)?G:e.device),orientation:I1(Q.orientation,$Y,e.orientation),posture:W?.posture??I1(Q.posture,[...f4],e.posture),mock:N2(Q.mock,e.mock),touchPointer:N2(Q.touchPointer,e.touchPointer),browser:I1(Q.browser,eV,e.browser),bars:Q.browserMin===!0?"minimized":I1(Q.bars,tV,e.bars),edgeToEdge:N2(Q.edgeToEdge,e.edgeToEdge),frame:N2(Q.frame,e.frame),dpr:P3(Q.dpr,"system",e.dpr),zoom:K==="fit"?K:mV(K),mat:mH(Q.mat,Ek,"blue"),vision:I1(Q.vision,JY,e.vision),ua:{preset:P6(q.preset,e.ua.preset),custom:P6(q.custom,e.ua.custom)},overflow:N2(Q.overflow,e.overflow),outlines:N2(Q.outlines,e.outlines),grabColor:mH(Q.grabColor,QY,"auto"),panel:{open:N2(C.open,e.panel.open),...dH(C,J),handle:N2(C.handle,e.panel.handle),pinned:Q.panel===void 0?[...N5]:xk(C.pinned)}}}function aH($){return{...e,panel:{...$.panel,pinned:[...N5]}}}function I3($,j){let J=$H($,j);return jH({...$,...J,locale:{...$.locale,...J.locale},geo:{...$.geo,...J.geo},clock:BH($.clock,J.clock),network:{...$.network,...J.network},ua:{...$.ua,...J.ua},panel:{...$.panel,...J.panel}})}function lH($,j){try{return E0($)?.getItem(j)??null}catch{return null}}function oH(){return ZY(lH("session",iH),lH("local",sH))}function tH($){try{E0("session")?.setItem(iH,JSON.stringify(q1($,rH)))}catch{}}function eH($){try{E0("local")?.setItem(sH,fk($))}catch{}}var iH="devknobs",rH=2,sH="devknobs:place",nH=2,N5,uH=128,Ok,e,pV,cV,dV,lV,iV,rV,sV,nV,aV,oV,tV,eV,$Y,_3,jY,JY,Ek,QY;var q4=u(()=>{t1();m2();W1();G2();B8();z3();N5=["device","scheme","text","locale"],Ok=new Map([["speed","motion"],["pseudo","locale"],["timeZone","clock"],["ua","device"],["grabColor","debug"]]),e={scheme:"system",motion:"system",speed:1,contrast:"system",transparency:"system",locale:{lang:"system",dir:"system"},pseudo:!1,geo:{preset:"system",lat:0,lng:0,accuracy:gV,timeZone:"",error:"none",route:"",speed:EH},timeZone:"geo",clock:{mode:"system",at:0,since:0,speed:1,header:!1},network:{online:"system",type:"system",saveData:"system"},text:"system",spacing:!1,width:"full",height:"full",device:"none",orientation:"portrait",posture:"closed",mock:!0,touchPointer:!0,browser:"auto",bars:"auto",edgeToEdge:!0,frame:!1,dpr:"system",zoom:"fit",mat:"blue",vision:"none",ua:{preset:"system",custom:""},overflow:!1,outlines:!1,grabColor:"auto",panel:{open:!1,side:"right",y:uH,top:uH,edge:"none",tab:"top",docked:!1,handle:!0,pinned:[...N5]}},pV=["light","dark","system"],cV=["reduce","system"],dV=["more","system"],lV=["reduce","system"],iV=["ltr","rtl","system"],rV=["none","denied","unavailable","timeout"],sV=["system","offset","frozen"],nV=["offline","system"],aV=["slow-2g","2g","3g","4g","system"],oV=["on","off","system"],tV=["auto","expanded","minimized"],eV=["auto","compact","bottom","top","off"],$Y=["portrait","landscape"],_3=["top","bottom","none"],jY=["left","right"],JY=["none","protanopia","deuteranopia","tritanopia","achromatopsia","blur"],Ek=["blue","green","magenta","purple","red","graphite"],QY=["auto","blue","green","pink","orange","purple","cyan"]});function _1(){try{if(window.frameElement?.hasAttribute(VY))return!0}catch{}return window.name===K3}function $M($){if($==="system")return!1;try{return window.frameElement?.style.getPropertyValue("color-scheme")===$}catch{return!1}}function jM($){if(D3!==null)return D3;if(!$.isConnected)return!1;let j=document.createElement("iframe");j.style.cssText="position:absolute;width:0;height:0;border:0;visibility:hidden",$.appendChild(j);let J=(Q)=>{return j.style.colorScheme=Q,getComputedStyle(j).getPropertyValue("color-scheme"),j.contentWindow?.matchMedia(`(prefers-color-scheme: ${Q})`).matches===!0};try{D3=J("dark")&&J("light")}catch{D3=!1}return j.remove(),D3}function XY($){return typeof $==="number"&&$>0}function k4($){return XY($.width)||XY($.height)||$.frame||XY($.dpr)||$.vision!=="none"}function D1($){return k4($)||$.panel?.docked===!0}function U8($){return $.panel?.docked===!0&&!k4($)}function L3($){return D1({...$,frame:!1})}function QM($){if(!D1($))return $;return{...$,...T5,panel:{...$.panel,docked:!1}}}function $2($,j,J){if(j===null||$.source!==j||$.origin!==J)return null;let Q=$.data;if(typeof Q!=="object"||Q===null)return null;let Z=Q;if(Z.source!=="devknobs")return null;let X=Z.type;if(X==="state"){if(typeof Z.state!=="object"||Z.state===null)return null;let V=ZY(JSON.stringify(Z.state));return typeof Z.native==="boolean"?{source:"devknobs",type:X,state:V,native:Z.native}:{source:"devknobs",type:X,state:V}}if(X==="key"){let V=bk.find((Y)=>Y===Z.action);return V?{source:"devknobs",type:X,action:V}:null}if(X==="overflow"){let V=Z.count;if(typeof V!=="number"||!Number.isInteger(V)||V<0)return null;return{source:"devknobs",type:X,count:V}}if(X==="grab"||X==="inspect"){if(typeof Z.on!=="boolean")return null;let V=Z.scheme==="light"||Z.scheme==="dark"?Z.scheme:void 0;return V?{source:"devknobs",type:X,on:Z.on,scheme:V}:{source:"devknobs",type:X,on:Z.on}}if(X==="area"){let V=H6.find((Y)=>Y===Z.ring)??null;return V===null&&Z.ring!==null?null:{source:"devknobs",type:X,ring:V}}if(X==="leave"){let V=typeof Z.url==="string"?URL.parse(Z.url):null;return V&&(V.protocol==="https:"||V.protocol==="http:")?{source:"devknobs",type:X,url:V.href}:null}if(X==="ready"||X==="replay"||X==="picked"||X==="outline")return{source:"devknobs",type:X};return null}function ZM($,j){if($.navigationType==="traverse"||$.hashChange||$.downloadRequest!==null)return null;if(!$.cancelable||$.formData!==null)return null;let J=URL.parse($.destination.url);if(!J||J.origin===j)return null;if(J.protocol!=="https:"&&J.protocol!=="http:")return null;return J.href}function f1($,j){if(!$)return;try{$.location?.origin}catch{return}$.postMessage(j,"/")}var VY="data-devknobs-frame",K3="devknobs-frame",R5=120,A5=8192,Lj=0.25,Nj=5,bk,D3=null,T5,JM;var K1=u(()=>{C8();q4();bk=["toggle","close","replay","requests","reset","storage","search","zoom-in","zoom-out","zoom-fit"];T5={width:"full",height:"full",frame:!1,dpr:"system",vision:"none"},JM={...T5,device:"none",panel:{docked:!1}}});function Aj($){return`cubic-bezier(${$.join(", ")})`}function c2($,j){let[J,Q,Z,X]=$,V=(G,W,K)=>3*G*K*(1-K)**2+3*W*K**2*(1-K)+K**3,Y=Math.min(1,Math.max(0,j));if(Y===0||Y===1)return Y;let q=0,C=1;for(let G=0;G<30;G++){let W=(q+C)/2;if(V(J,Z,W)<Y)q=W;else C=W}return V(Q,X,(q+C)/2)}function g0($,j,J){return $+(j-$)*J}function yk($,j,J){return{x:g0($.x,j.x,J),y:g0($.y,j.y,J),width:g0($.width,j.width,J),height:g0($.height,j.height,J)}}function VM($,j,J,Q){let Z=Q>0?c2(wk,J/Q):1;if(Z===1)return j;let[X,V,Y,q]=$.radius,[C,G,W,K]=j.radius,H=[g0(X,C,Z),g0(V,G,Z),g0(Y,W,Z),g0(q,K,Z)];return{...yk($,j,Z),radius:H}}function YY($,j){return Math.abs($.x-j.x)<0.5&&Math.abs($.y-j.y)<0.5&&Math.abs($.width-j.width)<0.5&&Math.abs($.height-j.height)<0.5}function Tj($,j){let J=(Q,Z)=>Math.abs(Q-j.radius[Z])<0.5;return YY($,j)&&$.radius.every(J)}function YM($){return{x:-1,y:-1,width:$.width+2,height:$.height+2,radius:[0,0,0,0]}}function qM($){return{...$,radius:[Rj,Rj,Rj,Rj]}}function W2($){return Math.round($*100)/100}function qY($,j){let[J,Q,Z,X]=j.map((G)=>Math.max(0,G)),V=(G,W)=>W>0?G/W:1,Y=Math.min(1,V($.width,J+Q),V($.height,Q+Z),V($.width,Z+X),V($.height,X+J)),q=Math.max(0,Math.min($.width,$.height)/2),C=(G)=>Math.min(G*Y,q);return[C(J),C(Q),C(Z),C(X)]}function CM($){let j=($.split("/")[0]??"").trim().split(/\s+/).map((V)=>Number.parseFloat(V)||0),[J=0,Q=J,Z=J,X=Q]=j;return[J,Q,Z,X]}function GM($){let{x:j,y:J,width:Q,height:Z}=$,[X,V,Y,q]=qY($,$.radius),C=(W,K,H)=>`A${W2(W)} ${W2(W)} 0 0 1 ${W2(K)} ${W2(H)}`,G=[`M${W2(j+X)} ${W2(J)}`,`H${W2(j+Q-V)}`,C(V,j+Q,J+V),`V${W2(J+Z-Y)}`,C(Y,j+Q-Y,J+Z),`H${W2(j+q)}`,C(q,j,J+Z-q),`V${W2(J+X)}`,C(X,j+X,J),"Z"].join("");return`path(evenodd, "M${-N3} ${-N3}H${N3}V${N3}H${-N3}Z${G}")`}function Sj($){return{x:$.x+$.width/2,y:$.y+$.height/2,angle:0,scale:1}}function CY($,j,J){return{...Sj(j),angle:J,scale:(j.width+j.height)/($.width+$.height)}}function WM($,j,J,Q){let Z=Q>0?J/Q:1,X=j>$?(Z-XM)/(1-XM):Z;return g0($,j,c2(y4,X))}function KM($,j,J,Q){let Z=Q>0?c2(kk,J/Q):1;return{x:g0($.x,j.x,Z),y:g0($.y,j.y,Z),angle:g0($.angle,j.angle,Z),scale:g0($.scale,j.scale,Z)}}function vk($,j,J){let Q=j.angle*Math.PI/180,Z=(J.x-$.x-$.width/2)*j.scale,X=(J.y-$.y-$.height/2)*j.scale;return{x:j.x+Z*Math.cos(Q)-X*Math.sin(Q),y:j.y+Z*Math.sin(Q)+X*Math.cos(Q)}}function BM($,j,J,Q){let Z=vk($,j,J);return`translate(${W2(Z.x-J.x)}px, ${W2(Z.y-J.y)}px) rotate(${W2(j.angle*1000)/1000}deg) scale(${j.scale*Q})`}function Oj($,j){let[J,Q,Z]=$.split("|"),[X,V,Y]=j.split("|");if(!J||!Q||!V||J!==X||Q===V||Z!==Y)return 0;let q=z1(J,Z==="open"?"open":"closed")?.clockwise===!0;return V==="landscape"===q?90:-90}function UM($,j){let[J,Q,Z]=$.split("|"),[X,V,Y]=j.split("|");return Boolean(Z&&Y)&&J===X&&Z!==Y&&Q!==V}function Ej($){if(!D1($))return"closed";let j=n0($.device);if(!j)return"frame";let J=`${$.device}|${$.orientation}`;return j.postures?`${J}|${$.posture}`:J}function HM($,j){if($===j)return!1;let J=(Q)=>Q==="closed"||Q==="frame";return!(J($)&&J(j))}function MM($,j){let J=[];if(j==="open"){let Z={...$.content>0?{content:0}:{},...$.veil<1?{veil:1}:{}};if($.content>0||$.veil<1)J.push({kind:"fade",...Z,time:j2.out});if(!$.covered)J.push({kind:"cover"});if($.open)J.push({kind:"mat",to:"round",time:j2.round});return J.push({kind:"layout"},{kind:"mat",to:"screen",time:j2.mat},{kind:"wait"},{kind:"fade",content:1,time:j2.in},{kind:"end"}),J}let Q=$.veil;if($.content>0)J.push({kind:"fade",content:0,...Q<1?{veil:1}:{},time:j2.out}),Q=1;if(!$.open)J.push({kind:"mat",to:"round",time:j2.mat},{kind:"mat",to:"window",time:j2.round});if(J.push({kind:"release"}),Q>0)J.push({kind:"fade",veil:0,time:j2.in});return J.push({kind:"end"}),J}function FM($,j){let J=0,Q=!0;return{steps:$,target:j,at:()=>J,rest:()=>$.slice(J),live:()=>Q,cancel(){Q=!1},async run(Z){while(Q&&J<$.length){let X=$[J];if(X)await Z(X);if(!Q)return;J++}Q=!1}}}var j2,Rj=20,wk,y4,kk,N3=1e5,XM=0.6;var v4=u(()=>{W1();K1();j2={out:140,mat:280,round:110,in:180,turn:400,uncover:160,wait:1200},wk=[0.32,0.72,0,1],y4=[0,0,0.58,1],kk=[0.42,0,0.58,1]});function fj($,j){let{position:J,velocity:Q}=$,Z=R2.step,X=J-j;if(X===0)return{position:J,velocity:0};let V=Math.abs(X),Y=j===0||j===1;if(!Y||V>R2.reach){let B=Q+(-R2.stiffness*X-R2.damping*Q)*Z,z=J+B*Z;return!Y&&Math.abs(z-j)<R2.rest&&Math.abs(B)<R2.rest?{position:j,velocity:0}:{position:z,velocity:B}}let q=-Math.sign(X),C=R2.reach*R2.reach/10,G=j===1?R2.pull.open:R2.pull.shut,W=Math.abs(Q)*q+q*G*(C/(V*V))*Z,K=J+W*Z;return Math.sign(K-j)!==Math.sign(X)?{position:j,velocity:0}:{position:K,velocity:W}}function MY($,j,J=1){let Q=J*A3/zM,Z=j-$.position;if(Math.abs(Z)-Q<R2.rest)return{position:j,velocity:0};let X=Math.sign(Z);return{position:$.position+X*Q,velocity:X*1000/zM}}function TM($,j,J,Q=fj){let Z=$;for(let X=0;X<J&&!S3(Z,j);X++)Z=Q(Z,j);return Z}function SM($,j,J=1){let Q=Math.floor($/A3+J)-j;if(Q<=GY)return{steps:Q,dropped:0};return{steps:GY,dropped:(Q-GY)*A3}}function S3($,j){return $.position===j&&$.velocity===0}function OM($,j,J){return $&&j||J>=hk}function J2($){return Math.round($*100)/100}function T3($){return Math.round($*1000)/1000}function Q2($){return Math.min(1,Math.max(0,$))}function KY($){return $.body??{...$.size,inset:{top:0,right:0,bottom:0,left:0}}}function PM($){let{inset:j}=KY($),J=$.size.width>0?$.screen.width/$.size.width:1;return{x:$.screen.x-j.left*J,y:$.screen.y-j.top*J,scale:J}}function EM($,j,J){let Q=KY($),Z=KY(j),X={x:Z.inset.left+j.size.width/2,y:Z.inset.top+j.size.height/2},V={x:Q.inset.left+$.size.width/2,y:Q.inset.top+$.size.height/2},{width:Y,height:q}=Z,C=J?{x:X.x,y:X.y-V.y,width:Q.width,height:Q.height}:{x:X.x-V.x,y:X.y-Q.height,width:Q.width,height:Q.height},G=PM($),W={inner:X,outer:J?{x:0,y:V.y}:{x:V.x,y:Q.height}};return{across:J,open:{width:Y,height:q},shut:C,hinge:J?X.x:X.y,clip:J?`inset(0 ${J2(Y-X.x-1)}px 0 0)`:`inset(${J2(X.y-1)}px 0 0 0)`,origins:{inner:`${J2(W.inner.x)}px ${J2(W.inner.y)}px`,outer:`${J2(W.outer.x)}px ${J2(W.outer.y)}px`},pivots:W,folded:{x:G.x-C.x*G.scale,y:G.y-C.y*G.scale,scale:G.scale},unfolded:PM(j),depth:gk*(J?j.size.width:j.size.height)}}function xM($,j){let J=180*(1-j),{folded:Q,unfolded:Z}=$,X=$.across?"rotateY":"rotateX",V=`perspective(${J2($.depth)}px)`,Y=(q)=>`${V} ${X}(${J2(q)}deg)`;return{place:{x:g0(Q.x,Z.x,j),y:g0(Q.y,Z.y,j),scale:g0(Q.scale,Z.scale,j)},inner:J<90?Y(J):null,outer:J<90?null:Y(J-180),lift:J2(Math.sin(J*Math.PI/180)),degrees:J2(J<90?J:J-180)}}function PY($,j,J,Q,Z){let X=J*Math.PI/180,V=$.x-j.x,Y=$.y-j.y,C=1/(1-(Q?-V*Math.sin(X):Y*Math.sin(X))/Z);return Q?{x:j.x+V*Math.cos(X)*C,y:j.y+Y*C}:{x:j.x+V*C,y:j.y+Y*Math.cos(X)*C}}function fM($,j,J,Q,Z){let[X,V]=Q?[$.x,$.x+$.width]:[$.y,$.y+$.height],Y=Q?j.x:j.y,q=Math.abs(X-Y)>Math.abs(V-Y)?X:V;if(q===Y)return 1;let C=PY(Q?{x:q,y:j.y}:{x:j.x,y:q},j,J,Q,Z);return Q2(((Q?C.x:C.y)-Y)/(q-Y))}function _Y($){return 1-$.deg/180}function bM($,j,J){let Q=uk(j,IY($,J)),Z=Q===null?null:$.frames[Q];return Z?{at:Q,open:_Y(Z)}:{at:null,open:J}}function IY($,j){let J=180*(1-j),Q=0;return $.frames.forEach((Z,X)=>{if(Math.abs(Z.deg-J)<Math.abs(($.frames[Q]?.deg??0)-J)-0.000000001)Q=X}),Q}function uk($,j){for(let J=0;J<$.length;J++){if($[j-J])return j-J;if($[j+J])return j+J}return null}function wM($,j,J){let Q=WY+mk,Z=j-(J<0?Q:WY),X=j+(J>0?Q:WY);return[Math.max(0,Z),Math.min($-1,X)]}function kM($){return $>0?1:-1}function bj($,j){return["inner","cover"].find((Q)=>Math.sign(yM(Q==="inner"?j.inner:j.cover))===pk($,Q))??null}function O3($,j){let J=j==="inner"?$.inner:$.cover;if($.deg%180!==0)return J;let{x:Q,y:Z,width:X,height:V}=DY(J);return[[Q,Z],[Q+X,Z],[Q+X,Z+V],[Q,Z+V]]}function pk($,j){let J=j==="inner"?$.frames[0]:$.frames.at(-1);return J?Math.sign(yM(O3(J,j))):0}function yM($){return $.reduce((j,[J,Q],Z)=>{let[X,V]=$[(Z+1)%4]??[J,Q];return j+J*V-X*Q},0)/2}function DY($){let j=$.map(([X])=>X),J=$.map(([,X])=>X),Q=Math.min(...j),Z=Math.min(...J);return{x:Q,y:Z,width:Math.max(...j)-Q,height:Math.max(...J)-Z}}function _M($,j,J){let Q=J?j.width/$.width:j.height/$.width,Z=J?j.height/$.height:j.width/$.height,X={x:($.x+$.width/2)*Q,y:($.y+$.height/2)*Z},V=J?X:{x:X.y,y:-X.x};return{wide:Q,tall:Z,x:j.x+j.width/2-V.x,y:j.y+j.height/2-V.y}}function vM($,j,J,Q,Z){let X=BY($,j,J,Q,Z),V=(W)=>Math.round(W*1e6)/1e6,Y=V(X.wide),q=V(X.tall),C=J2(X.x),G=J2(X.y);return j.across?`matrix(${Y}, 0, 0, ${q}, ${C}, ${G})`:`matrix(0, ${-Y}, ${q}, 0, ${C}, ${G})`}function BY($,j,J,Q,Z){let[X,V,Y,q]=$.open,C=$.frames.at(-1),G=_M({x:X,y:V,width:Y,height:q},J,j.across),W=C?_M(DY(C.cover),Q,j.across):G;return{wide:g0(W.wide,G.wide,Z),tall:g0(W.tall,G.tall,Z),x:g0(W.x,G.x,Z),y:g0(W.y,G.y,Z)}}function gM($,j,J,Q,Z,X){let V=BY($,j,J,Q,Z),Y=BY($,j,J,Q,L2(X)),q=j.across?V.wide/Y.wide:V.tall/Y.tall,C=j.across?V.tall/Y.tall:V.wide/Y.wide;return{wide:q,tall:C,x:V.x-q*Y.x,y:V.y-C*Y.y}}function hM($,j){let[J,Q,Z,X]=$;return j?$:[Q,Z,X,J]}function ck($){let[[j,J],[Q,Z],[X,V],[Y,q]]=$,C=(j*Z-Q*J+Q*V-X*Z+X*q-Y*V+Y*J-j*q)/2;if(Math.abs(C)<1)return null;let G=Q-X,W=Y-X,K=Z-V,H=q-V,B=j-Q+X-Y,z=J-Z+V-q,M=G*H-W*K,U=(B*H-W*z)/M,F=(G*z-B*K)/M;return[Q-j+U*Q,Y-j+F*Y,j,Z-J+U*Z,q-J+F*q,J,U,F,1]}function uM($,j){let J=ck(j);if(!J||$.width<=0||$.height<=0)return null;let[Q,Z,X,V,Y,q,C,G,W]=J;return({x:K,y:H})=>{let B=(K-$.x)/$.width,z=(H-$.y)/$.height,M=C*B+G*z+W;return{x:(Q*B+Z*z+X)/M,y:(V*B+Y*z+q)/M}}}function wj($,j,J){if(j==="inner"){let[X,V,Y,q]=$.open;return{x:X,y:V,width:Y/2,height:q}}let Q=$.frames.at(-1);return{...DY(Q?Q.cover:J),x:J[0][0]}}function kj($,j,J){if(j!=="inner")return $;let Q=J.x+J.width,[Z,[,X],[,V],Y]=$;return[Z,[Q,X],[Q,V],Y]}function mM($,j,J){let[Q,Z]=j==="inner"?[$[0],$[3]]:[$[1],$[2]];return{top:Math.max(0,J.y-Q[1]),bottom:Math.max(0,Z[1]-(J.y+J.height))}}function pM($,j,J){let Q=(q)=>Math.round(q*1e6)/1e6,{x:Z,y:X,width:V,height:Y}=j;if(J)return`matrix(${Q(V/$.width)}, 0, 0, ${Q(Y/$.height)}, ${Q(Z)}, ${Q(X)})`;return`matrix(0, ${Q(Y/$.width)}, ${Q(-V/$.height)}, 0, ${Q(Z+V)}, ${Q(X)})`}function E3($,j,J){let{x:Q,y:Z,width:X,height:V}=$,[Y,q,C,G]=qY($,j),W=(z,M)=>{let U=J({x:z,y:M});return`${J2(U.x)} ${J2(U.y)}`},K=(z,M,U,F)=>{if(z<=0)return`L${W(F.x,F.y)}`;let P=(D)=>W(D.x+(F.x-D.x)*IM,D.y+(F.y-D.y)*IM);return`L${W(M.x,M.y)}C${P(M)} ${P(U)} ${W(U.x,U.y)}`},H=Q+X,B=Z+V;return[`M${W(Q+Y,Z)}`,K(q,{x:H-q,y:Z},{x:H,y:Z+q},{x:H,y:Z}),K(C,{x:H,y:B-C},{x:H-C,y:B},{x:H,y:B}),K(G,{x:Q+G,y:B},{x:Q,y:B-G},{x:Q,y:B}),K(Y,{x:Q,y:Z+Y},{x:Q+Y,y:Z},{x:Q,y:Z}),"Z"].join("")}function C4($,j,J){let Q=Q2((J-$)/(j-$));return Q*Q*(3-2*Q)}function cM($,j){return $==="inner"?Q2(1.2*(1-j)):Q2(1-2*Math.abs(j-0.5))/2}function dM($,j){if($==="cover")return 1;return j<0.3333333333333333?0.15+0.3*j:0.25+1.125*(j-0.3333333333333333)}function H8($,j){return $==="inner"?0.5-j/2:j}function ik($,j,J){let{at:Q,shade:Z}=yj[$];return 1-Q2(C4(Z[0],Z[1],Math.abs(j-Q))*J*k0.wipeShade)}function lM($,j,J){let{at:Q,blur:Z}=yj[$];return(Math.abs(j-Q)-Z[0])/(Z[1]-Z[0])*J*2.5/0.75}function rk($,j,J){return Math.min(1.3333333333333333,Math.max(0,lM($,j,J)))}function sk($){return C4(1.3,0.9,$)**2}function nk($,j,J){if($==="cover")return 1;return g0(1,C4(0.05,0.5,j),Q2(k0.farShade*C4(0,0.55,J)))}function vj($){return k0.darkMost*Q2(1-2*Math.abs($-0.5))**k0.darkPower}function ak($){let{darkFrom:j,darkBand:J,darkBroad:Q}=k0;return Q*C4(j,1,$)+(1-Q)*C4(1-J,1,$)}function ok($,j){return vj(j)*ak($)}function iM($,j){if(!hj()||vj($)<=0||j<=0)return[];return HY((J)=>ok(J/j,$),j)}function DM($){return k0.blurEase>=0.5?C4(0,1,$):Q2($)**k0.blurStand}function LY($,j="inner"){let J=k0.blurAngle/180,Q=J>0?$/J:1,Z=J<1?(1-$)/(1-J):1,[X,V]=j==="inner"?[Z,Q]:[Q,Z];if(X<=1)return k0.blurMost*DM(X);return k0.blurMost*g0(DM(V),1,k0.blurHold)}function UY($){return k0.blurHinge+(1-k0.blurHinge)*Q2($)**k0.blurRise}function LM($){if(k0.blurHinge>=1)return 0;return Q2(($-k0.blurHinge)/(1-k0.blurHinge))**(1/k0.blurRise)}function xj($){return Q2($)**(1/lk)}function gj($,j){return T3(1-xj(C4(0.1,1,dM($,j))))}function RM($){return Math.round($*1e5)/1e5}function AM($,j){let[J,Q,Z]=[$[j-1],$[j],$[j+1]];if(!J||!Q||!Z)return 0;let X=(Q[1]-J[1])/(Q[0]-J[0]),V=(Z[1]-Q[1])/(Z[0]-Q[0]);return Math.abs(V-X)/Math.max(ek,1-Q[1])}function HY($,j=1){let J=(Z)=>[RM(Z),RM($(Z))];if(!(j>0))return[J(0)];let Q=Array.from({length:NM+1},(Z,X)=>J(j*X/NM));for(let Z=0;Z<$y;Z++){let X=[],V=jy-Q.length;if(Q.forEach((Y,q)=>{let C=Q[q-1],G=C&&Y[0]-C[0]>Jy;if(C&&G&&V>0&&Math.max(AM(Q,q-1),AM(Q,q))>tk)X.push(J((C[0]+Y[0])/2)),V--;X.push(Y)}),X.length===Q.length)break;Q=X}return Q}function S5($=k0.blurMost,j=Qy){if(!($>R3))return[R3];let J=Math.ceil(Math.log2($/R3)-0.000000001),Q=Math.min(J,Math.max(1,j-1)),Z=Q<J?($/R3)**(1/Q):2;return[...Array.from({length:Q},(V,Y)=>R3*Z**Y),$]}function Xy($,j,J){return J>$?Q2(Math.log2(J/$)/Math.log2(j/$)):0}function Vy($,j,J,Q){if(J<=$)return null;let Z=J*UY(0),X=LM(Math.max($,Z)/J),V=LM(Math.min(j,J)/J),Y=V>X?Zy:1;return{stops:Array.from({length:Y+1},(C,G)=>{let W=X+(V-X)*G/Y,K=G===0?Math.max($,Z):G===Y?Math.min(j,J):J*UY(W);return[T3(W*Q),T3(Xy($,j,K))]})}}function hj(){return!0}function RY(){return!0}function AY($,j,J=1){let Q=C4(0.1,1,dM($,j)),Z=cM($,j);if(!hj()||Z<=0)return[Q,0,0,0];let X=lM($,H8($,J),Z)>0.9,V=$==="inner"?Q2(k0.farShade*C4(0,0.55,Z)):0;return[Q,Z*k0.wipeShade,X?Z*2.5/0.75:0,V]}function rM($,j,J=1){let[Q,Z,X,V]=AY($,j,J),Y=cM($,j),q=Z>0?HY((G)=>1-xj(Q*ik($,H8($,G),Y))):[[0,T3(1-xj(Q))]],C=X>0||V>0?HY((G)=>{let W=H8($,G);return 1-xj(sk(rk($,W,Y))*nk($,W,Y))},J):[[0,0]];return{turned:q,flat:C}}function sM($,j=1,J="inner"){let Q=RY()?LY($,J):0,Z=S5();return Z.slice(1).map((X,V)=>Vy(Z[V]??X,X,Q,j))}function nM($,j,J=FY){return T3(Q2(j==="open"?($-(1-J))/J:(J-$)/J))}var R2,A3,GY=3,zM=500,gk=2.75,FY=0.08,zY=150,hk=150,WY=10,mk=10,IM=0.5523,yj,dk=1.12,lk=2.2,NY,tk=0.1,ek=0.2,NM=16,$y=4,jy=64,Jy=0.005,R3=2,Qy=8,Zy=6;var M8=u(()=>{W1();qj();P5();v4();R2={stiffness:(2*Math.PI/0.75)**2,damping:3.4*Math.PI/0.75,step:0.016666666666666666,reach:0.08,pull:{shut:30,open:20},rest:0.0001},A3=R2.step*1000;yj={inner:{at:1,shade:[0.5,1],blur:[0.45,1],texture:2853},cover:{at:0,shade:[0,1],blur:[0,0.9],texture:1398}};NY=(dk-1)/2});function $1($,j,J,Q){return{top:$,right:j,bottom:J,left:Q}}function d2($,j,J,Q,Z){return{kind:$,x:j,y:J,width:Q,height:Z}}function K2($,j,J,Q){return{kind:$,x:j-Q/2,y:J-Q/2,width:Q,height:Q}}function mj($){return[c0(280.7,106.9),c0($,103.3,1)]}var s0=($,j)=>({side:"left",at:$,length:j}),c0=($,j,J)=>({side:"right",at:$,length:j,out:J}),I6=($,j,J)=>({side:"top",at:$,length:j,out:J}),uj,pj;var TY=u(()=>{uj=[s0(185,41.7),s0(257.4,67.6),s0(343.2,67.6)];pj={"iphone-18-pro":{bezel:$1(15.7,16,15.7,15.7),screenRadius:62,bodyRadius:77.7,out:3,front:[d2("sensor",154,14.3,94,36.1)],buttons:[s0(186,41.7),s0(258.3,67.7),s0(344,68),c0(281.7,107,2.7)]},"iphone-18-pro-max":{bezel:$1(15.3,15.3,15,15.3),screenRadius:62,bodyRadius:77.3,out:2.7,front:[d2("sensor",173.2,14.5,93.6,35.8)],buttons:[s0(186.3,41.7),s0(258.7,67.7),s0(344.3,67.7),c0(282,106.7)]},"iphone-duo-closed":{bezel:$1(16.3,16,16,25.7),screenRadius:[8,59,59,8],bodyRadius:[10,75,75,10],out:2.7,front:[K2("sensor",418.35,47.75,36.3)],buttons:[c0(202.7,112.7),I6(235,65.7,2.3),I6(316,65.7,2.3)]},"iphone-duo-open":{bezel:$1(20.3,20.7,20.7,20.7),screenRadius:55,bodyRadius:75.7,out:2.7,front:[],buttons:[s0(134.3,57),s0(206.3,65.7),I6(202.3,112.7)]},"iphone-air":{bezel:$1(15.3,15.3,15.3,15.3),screenRadius:62,bodyRadius:77.3,out:2.7,front:[d2("sensor",147.8,20.4,124.6,36)],buttons:[s0(185,41.7),s0(257.3,67.7),s0(343,67.7),c0(280.7,106.7,3)]},"iphone-17":{bezel:$1(14.3,14.7,14.3,14.7),screenRadius:62,bodyRadius:76.7,out:3,front:[d2("sensor",138.8,14.3,124.5,35.9)],buttons:[s0(185,41.7),s0(257.3,67.7),s0(342.7,68),c0(280.3,107,2.7)]},"iphone-17-pro":{bezel:$1(15.7,16,15.7,15.7),screenRadius:62,bodyRadius:77.7,out:3,front:[d2("sensor",138.8,14.4,124.4,35.8)],buttons:[s0(186,41.7),s0(258.3,67.7),s0(344,67.7),c0(281.7,107,2.7)]},"iphone-17-pro-max":{bezel:$1(15.3,15.3,15,15.3),screenRadius:62,bodyRadius:77.3,out:2.7,front:[d2("sensor",157.8,14.5,124.4,35.8)],buttons:[s0(186.3,41.7),s0(258.7,67.7),s0(344.3,67.7),c0(282,106.7)]},"iphone-16":{bezel:$1(19.7,19.7,19.8,19.7),screenRadius:55,bodyRadius:75.5,out:2.7,front:[d2("sensor",134,11.3,124.9,36.7)],buttons:[...uj,...mj(529.5)]},"iphone-16-plus":{bezel:$1(19.7,19.7,19.7,19.7),screenRadius:55,bodyRadius:75.5,out:2.7,front:[d2("sensor",152.3,11.3,125.4,36.7)],buttons:[...uj,...mj(608.5)]},"iphone-16-pro":{bezel:$1(14.7,14.7,14.4,14.7),screenRadius:62,bodyRadius:77.9,out:2.7,front:[d2("sensor",138.4,13.5,125.2,36.7)],buttons:[...uj,...mj(541.3)]},"iphone-16-pro-max":{bezel:$1(14.3,14.3,14.3,14.3),screenRadius:62,bodyRadius:77.9,out:2.7,front:[d2("sensor",157.3,14,125.4,36.7)],buttons:[...uj,...mj(622.4)]},"iphone-se":{bezel:$1(110.2,28.1,110.3,28.1),screenRadius:0,bodyRadius:65.6,out:2.6,front:[d2("slot",149.5,-55.4,76.1,7.7),K2("lens",119.3,-51.5,14),{...K2("home",187.5,718,69.9),key:60}],buttons:[s0(94.6,36),s0(187.5,68.1),s0(268.3,68.1),c0(188,68.1)]},"pixel-10":{bezel:$1(21,22.1,21.4,22.5),screenRadius:55,bodyRadius:77,out:3.1,front:[K2("sensor",205.6,33.9,29.7)],buttons:[c0(269.6,77),c0(389.3,134.2)]},"pixel-10-pro":{bezel:$1(20,20.7,17.3,19.7),screenRadius:59,bodyRadius:79,out:3,front:[K2("sensor",213.6,34.3,30.6)],buttons:[c0(276.4,78.4),c0(399.1,137)]},"pixel-10-pro-xl":{bezel:$1(18.3,20.3,18,20),screenRadius:52,bodyRadius:71,out:2.3,front:[K2("sensor",224,34.8,30.2)],buttons:[c0(280.5,77),c0(401.2,134.4)]},"pixel-10a":{bezel:$1(24,24.8,24,24.8),screenRadius:55,bodyRadius:79,out:3.1,front:[K2("sensor",205.2,33.3,30.5)],buttons:[c0(273,75.9),c0(393.1,132.7)]},"pixel-9":{bezel:$1(21.9,22.2,21.9,22.2),screenRadius:55,bodyRadius:77,out:2.5,front:[K2("sensor",205.5,33,32)],buttons:[c0(290,70),c0(385,135)]},"pixel-9-pro":{bezel:$1(20.3,20.3,19,20),screenRadius:58,bodyRadius:78,out:2.3,front:[K2("sensor",213.4,33.7,30.9)],buttons:[c0(269.7,77.7),c0(392.1,142.7)]},"pixel-9-pro-xl":{bezel:$1(18.7,19.3,17.3,19),screenRadius:57,bodyRadius:76,out:2.3,front:[K2("sensor",224,32.8,30.8)],buttons:[c0(274.1,75.7),c0(393.8,139.4)]},"ipad-mini":{bezel:$1(60.6,60.4,60.6,60.4),screenRadius:21.5,bodyRadius:77,out:2.5,front:[K2("lens",372,-35,16)],buttons:[I6(82.3,64.6),I6(159.7,64.6),I6(673.5,109.9)]},"ipad-air-11":{bezel:$1(53.5,53.9,53.5,53.9),screenRadius:18,bodyRadius:66.5,out:2.5,front:[K2("lens",850.5,540.6,16)],buttons:[I6(772.9,89),c0(75.1,52.3),c0(137.8,52.3)]},"ipad-pro-13":{bezel:$1(43.7,44,43.7,44),screenRadius:30,bodyRadius:74.8,out:2.5,front:[K2("lens",1051.6,688,13.9)],buttons:[I6(984.7,62.7),c0(74.3,52.3),c0(137,52.3)]}}});function aM($,j){return{kind:$,...j,radius:Math.min(j.width,j.height)/2}}function Yy($,j,J){let{side:Q,at:Z,length:X}=$;if(Q==="top"){let Y=J.y-j;return{kind:"button",x:J.x+Z,y:Y,width:X,height:2*j,radius:j}}return{kind:"button",x:Q==="left"?J.x-j:J.x+J.width-j,y:J.y+Z,width:2*j,height:X,radius:j}}function qy($){if($.key===void 0)return null;let j=($.width-$.key)/2;return{x:$.x+j,y:$.y+j,width:$.key,height:$.key}}function oM($,j,J,Q){let{x:Z,y:X}=$,V={width:$.height,height:$.width};return Q?{...$,...V,x:J-X-$.height,y:Z}:{...$,...V,x:X,y:j-Z-$.width}}function SY($,j=!1){return j?{top:$.left,right:$.top,bottom:$.right,left:$.bottom}:{top:$.right,right:$.bottom,bottom:$.left,left:$.top}}function cj($,j=!1){if(typeof $==="number")return $;let[J,Q,Z,X]=$;return j?[X,J,Q,Z]:[Q,Z,X,J]}function tM($,j){let J=j.inset.left-$.inset.left,Q=j.inset.top-$.inset.top,Z=(q)=>({...q,x:q.x+J,y:q.y+Q}),{width:X,height:V,inset:Y}=j;return{...$,width:X,height:V,inset:Y,body:Z($.body),parts:$.parts.map(Z)}}function O5($,j){let J=Yj($),Q=pj[$];if(!J||!Q)return null;let{bezel:Z,screenRadius:X,bodyRadius:V}=Q,Y=(P)=>P.out??Q.out,q=(P)=>Math.max(0,...Q.buttons.filter((D)=>D.side===P).map(Y)),C={top:q("top"),right:q("right"),left:q("left")},G=q2(J,"portrait"),W={top:Z.top+C.top,right:Z.right+C.right,bottom:Z.bottom,left:Z.left+C.left},K=G.width+W.left+W.right,H=G.height+W.top+W.bottom,B={x:C.left,y:C.top,width:G.width+Z.left+Z.right,height:G.height+Z.top+Z.bottom},z=({x:P,y:D,width:_,height:S})=>{return{x:W.left+P,y:W.top+D,width:_,height:S}},M=[...Q.buttons.map((P)=>Yy(P,Y(P),B)),...Q.front.flatMap((P)=>{let D=qy(P),_=aM(P.kind,z(P));return D?[_,aM("key",z(D))]:[_]})],U={width:K,height:H,inset:W,body:B,screenRadius:X,bodyRadius:V,parts:M};if(j==="portrait")return U;let F=J.clockwise===!0;return{...U,width:H,height:K,inset:SY(W,F),body:oM(B,K,H,F),screenRadius:cj(X,F),bodyRadius:cj(V,F),parts:U.parts.map((P)=>oM(P,K,H,F))}}var dj=u(()=>{W1();TY()});function jF($){OY=$}function JF($){let j=[],J=(Q)=>{try{let Z=Q();if(Z&&!j.includes(Z))j.push(Z)}catch{}};if(OY!==null)J(()=>new URL(`bezels/${$}`,OY??"").href);else if(RV[$])J(()=>RV[$]?.()),J(()=>new URL(`/node_modules/@vinena/knobs/dist/bezels/${$}`,location.href).href);for(let Q of j)rU(Q);return j}function Gy($,j){let[,,J,Q]=j.opening;return(J+Q)/($.width+$.height)}function x3($,j){let J=Cy[$],Q=Yj($);if(!J||!Q)return null;let Z=j==="landscape"?J.landscape:void 0,X=Z??J.portrait,V=j==="landscape"&&!Z,Y=q2(Q,Z?"landscape":"portrait"),q=Gy(Y,X),[C,G,W,K]=X.opening,[H,B,z,M]=X.body,U={x:C+(W-Y.width*q)/2,y:G+(K-Y.height*q)/2},F={top:(U.y-B)/q,right:(z-U.x)/q-Y.width,bottom:(M-U.y)/q-Y.height,left:(U.x-H)/q},P=(z-H)/q,D=(M-B)/q,_=V?SY(F):F,S=V?{width:D,height:P}:{width:P,height:D};return{...S,inset:_,body:{x:0,y:0,...S},screenRadius:V?cj(X.radius):X.radius,bodyRadius:0,parts:[],image:{file:X.file,x:-H/q,y:-B/q,width:X.size[0]/q,height:X.size[1]/q,turn:V?P:null}}}function lj($,j){let J=EY.get($);if(!J){let[Q="",...Z]=JF($);if(!Q||typeof Image>"u")return"failed";let X={state:"loading",url:Q,waiting:new Set};J=X,EY.set($,X);let V=(q)=>{X.state=q;let C=[...X.waiting];X.waiting.clear();for(let G of C)G()},Y=(q)=>{let C=new Image;C.onload=()=>{X.url=q,V("ready")},C.onerror=()=>{let G=Z.shift();if(G)Y(G);else V("failed")},C.src=q};Y(Q)}if(J.state==="loading")J.waiting.add(j);return J.state}function f3($){let j=EY.get($);return j?.state==="ready"?j.url:null}async function Wy($){let j=async(J)=>{for(let Q of JF(J)){let Z=new Image;if(await new Promise((V)=>{Z.onload=()=>V(!0),Z.onerror=()=>V(!1),Z.src=Q}))return Z}throw Error(`devknobs: ${J} did not load`)};return Promise.all($.map(j))}function By(){if(g4||!D2||typeof Image>"u"||typeof createImageBitmap!=="function")return;let $=[...D2.frames.map((J)=>J.file),...D2.stills.map((J)=>J.file)],j={state:"loading",images:[],bitmaps:$.map(()=>null),decoding:new Set,keep:null,release:null,held:!1,pending:!1,rest:null};g4=j,Wy($).then((J)=>{j.images=J,j.state="ready",fY(j)},()=>{j.state="failed"})}function xY($,j){let J=g4;if(!J||J.state!=="ready"||!D2)return;if(!J.held){if(J.release!==null)clearTimeout(J.release);J.release=null,J.held=!0,J.pending=!1}QF(J,D2,$,j)}function QF($,j,J,Q){let{frames:Z}=j,X=IY(j,J),V=new Map,Y=(G,W)=>V.set(G,Math.min(V.get(G)??1/0,W)),[q,C]=wM(Z.length,X,Q);for(let G=q;G<=C;G++)Y(Z.length+(Z[G]?.still??0),Math.abs(G-X)),Y(G,Math.abs(G-X)+0.5);$.keep=new Set(V.keys()),$.bitmaps.forEach((G,W)=>{if(!G||V.has(W))return;G.close(),$.bitmaps[W]=null});for(let[G]of[...V].sort((W,K)=>W[1]-K[1]))My($,G)}function Uy($){let j=g4;if(!j)return;j.rest=$,j.pending=!1,queueMicrotask(()=>fY(j))}function fY($){if($.rest===null||$.held||$.state!=="ready"||!D2)return;if($.release!==null)clearTimeout($.release);$.release=null,QF($,D2,$.rest,kM($.rest))}function Hy($,j){return $.keep?.has(j)??!1}function My($,j){let J=$.images[j];if(!J||$.bitmaps[j]||$.decoding.has(j))return;$.decoding.add(j),createImageBitmap(J).then((Q)=>{if($.decoding.delete(j),!Hy($,j)||$.bitmaps[j])Q.close();else $.bitmaps[j]=Q},()=>{if($.decoding.delete(j),$.state="failed",!$.held)E5()})}function E5($=0){let j=g4;if(!j)return;if(j.release!==null)clearTimeout(j.release);if(j.release=null,$>0){j.release=setTimeout(()=>E5(),$);return}if(j.rest=null,j.held){j.pending=!0;return}j.pending=!1,j.keep=null,j.bitmaps.forEach((J,Q)=>{J?.close(),j.bitmaps[Q]=null})}function bY($=!1){let j=g4;if(!j)return;j.held=!1;let J=$||j.pending||j.state!=="ready";if(J||j.rest===null)E5(J?0:Ky);else queueMicrotask(()=>fY(j))}function x5(){let $=g4;if(!D2||!$)return null;let j=D2.frames.length,J=$.bitmaps.slice(0,j),Q=$.bitmaps.slice(j);return D2.frames.some((X,V)=>J[V]&&Q[X.still])?{shots:D2,frames:J,stills:Q}:null}function ZF(){return g4!==null&&g4.state!=="failed"}function Fy($){if(!n0($.device)?.postures){E5();return}By();let j=x3(u2($.device,$.posture),$.orientation)?.image;if(j?.file.startsWith("iphone-duo-")&&f3(j.file))Uy(L2($.posture));else E5();let J=u2($.device,$.posture==="open"?"closed":"open"),Q=x3(J,$.orientation==="portrait"?"landscape":"portrait")?.image;if(Q)lj(Q.file,()=>{})}function XF($,j){if(!$.mock)return E5(),null;let J=u2($.device,$.posture),Q=O5(J,$.orientation),Z=x3(J,$.orientation);if(Fy($),!Z?.image)return Q;let X=lj(Z.image.file,j);if(X==="ready")return Z;return X==="loading"&&Q?tM(Q,Z):Q}var D6=62,eM=54,$F=53,Cy,OY=null,EY,g4=null,Ky=4000;var b3=u(()=>{z5();sU();W1();M8();dj();Cy={"iphone-18-pro":{portrait:{file:"iphone-18-pro.webp",size:[1350,2760],opening:[72,69,1206,2622],body:[16,22,1334,2738],cutout:[534,111.79,282.02,108.33],radius:D6}},"iphone-18-pro-max":{portrait:{file:"iphone-18-pro-max.webp",size:[1470,3000],opening:[75,66,1320,2868],body:[21,20,1449,2979],cutout:[594.67,109.55,280.91,107.44],radius:D6}},"iphone-duo-closed":{portrait:{file:"iphone-duo-outer-closed.webp",size:[1574,2194],opening:[88,80,1398,2034],body:[11,24,1542,2162],cutout:[1288.6,168.75,108.89,108.98],radius:[8,58,58,8]}},"iphone-duo-open":{portrait:{file:"iphone-duo-inner-open-portrait.webp",size:[2247,3093],opening:[120,120,2007,2853],body:[50,50,2189,3035],radius:$F},landscape:{file:"iphone-duo-inner-open-landscape.webp",size:[3093,2247],opening:[120,120,2853,2007],body:[58,50,3043,2189],radius:$F}},"iphone-air":{portrait:{file:"iphone-air.webp",size:[1380,2880],opening:[60,72,1260,2736],body:[6,26,1375,2854],cutout:[503.25,133.05,373.76,107.91],radius:D6}},"iphone-17":{portrait:{file:"iphone-17.webp",size:[1350,2760],opening:[72,69,1206,2622],body:[19,26,1330,2734],cutout:[488.37,111.95,373.49,107.58],radius:D6}},"iphone-17-pro":{portrait:{file:"iphone-17-pro.webp",size:[1350,2760],opening:[72,69,1206,2622],body:[16,22,1334,2738],cutout:[488.48,112.18,373.16,107.42],radius:D6}},"iphone-17-pro-max":{portrait:{file:"iphone-17-pro-max.webp",size:[1470,3000],opening:[75,66,1320,2868],body:[21,20,1449,2979],cutout:[548.52,109.57,373.07,107.28],radius:D6}},"iphone-16":{portrait:{file:"iphone-16.webp",size:[1359,2736],opening:[90,90,1179,2556],body:[23,31,1336,2705],cutout:[492.09,123.99,374.82,110.02],radius:eM}},"iphone-16-plus":{portrait:{file:"iphone-16-plus.webp",size:[1470,2970],opening:[90,87,1290,2796],body:[23,28,1447,2942],cutout:[547,121,376.05,110],radius:eM}},"iphone-16-pro":{portrait:{file:"iphone-16-pro.webp",size:[1350,2760],opening:[72,69,1206,2622],body:[21,25,1329,2735],cutout:[488.25,112.07,373.49,107.33],radius:D6}},"iphone-16-pro-max":{portrait:{file:"iphone-16-pro-max.webp",size:[1470,3000],opening:[75,66,1320,2868],body:[23,22,1447,2978],cutout:[548.05,109,373.9,107.98],radius:D6}},"iphone-se":{portrait:{file:"iphone-se.webp",size:[1536,3120],opening:[109,387,1320,2346],body:[0,0,1536,3119],radius:0}},"pixel-10":{portrait:{file:"pixel-10.webp",size:[1205,2535],opening:[59,55,1080,2424],body:[0,0,1205,2535],cutout:[559.13,105.06,77.96,77.93],radius:55}},"pixel-10-pro":{portrait:{file:"pixel-10-pro.webp",size:[1410,2968],opening:[59,60,1280,2856],body:[0,0,1410,2968],cutout:[653.66,117.05,91.8,91.89],radius:59}},"pixel-10-pro-xl":{portrait:{file:"pixel-10-pro-xl.webp",size:[1472,3111],opening:[60,55,1344,2992],body:[0,0,1472,3101],cutout:[686.41,113.94,90.67,90.58],radius:52}},"pixel-10a":{portrait:{file:"pixel-10a.webp",size:[1218,2553],opening:[65,64,1080,2424],body:[1,1,1217,2551],cutout:[562.3,112.19,81.94,78.28],radius:55}},"pixel-9":{portrait:{file:"pixel-9.webp",size:[1198,2531],opening:[55,58,1080,2424],body:[0,0,1198,2531],cutout:[554.1,101.98,82.13,82.11],radius:55}},"pixel-9-pro":{portrait:{file:"pixel-9-pro.webp",size:[1408,2974],opening:[60,61,1280,2856],body:[0,0,1408,2974],cutout:[654.07,115.62,92,93.16],radius:58}},"pixel-9-pro-xl":{portrait:{file:"pixel-9-pro-xl.webp",size:[1466,3101],opening:[57,56,1344,2992],body:[0,0,1466,3100],cutout:[682.72,108.15,92.21,92.29],radius:57}}};EY=new Map});function zy($,j){for(let J of["name","length",...Object.keys(j)]){let Q=Object.getOwnPropertyDescriptor(j,J);if(Q)Object.defineProperty($,J,Q)}Object.defineProperty($,"toString",{configurable:!0,writable:!0,value:()=>Function.prototype.toString.call(j)})}function G4($,j,J,Q){let Z=Reflect.get(j,J);if(typeof Z!=="function")return;let X=Object.hasOwn(j,J),V=Q(Z);if(zy(V,Z),Reflect.set(j,J,V))$.push({target:j,key:J,original:Z,value:V,own:X})}function VF($){for(let{target:j,key:J,original:Q,value:Z,own:X}of $.reverse()){if(Reflect.get(j,J)!==Z)continue;if(X)Reflect.set(j,J,Q);else Reflect.deleteProperty(j,J)}$.length=0}var wY=300,l2=65536,kY=200,YF=4096;function yY($){return Py.test($)}function L6($,j,J=l2){if($.length<=J){let X=new TextEncoder().encode($);if(X.length<=J)return{kind:"text",text:$,size:X.length,truncated:!1,type:j};return{kind:"text",text:new TextDecoder().decode(X.subarray(0,J)).replace(k3,""),size:X.length,truncated:!0,type:j}}let Q=new TextEncoder().encode($.slice(0,J)),Z=new TextDecoder().decode(Q.subarray(0,J));return{kind:"text",text:Q.length>J?Z.replace(k3,""):Z,size:null,truncated:!0,type:j}}function w3($,j,J){return{kind:$,text:"",size:j,truncated:!1,type:J}}function _y($,j){let J=[],Q=0;for(let[Z,X]of $){let V=typeof X==="string"?`${Z}=${X}`:`${Z}=(file ${X.name}, ${X.type||"no type"}, ${X.size} bytes)`;if(J.push(V),Q+=V.length+1,Q>j)break}return J.join(`
2
+ `)}function F8($,j){return typeof $==="function"&&j instanceof $}function ij($,j,J=l2){if($===void 0||$===null)return null;if(typeof $==="string")return L6($,j||"text/plain;charset=UTF-8",J);if(F8(globalThis.URLSearchParams,$))return L6(String($),j||"application/x-www-form-urlencoded;charset=UTF-8",J);if(F8(globalThis.FormData,$))return{...L6(_y($,J),j||"multipart/form-data",J),kind:"form",size:null};if(F8(globalThis.Blob,$))return w3("binary",$.size,j||$.type||"Blob");if(F8(globalThis.ArrayBuffer,$))return w3("binary",$.byteLength,j||"ArrayBuffer");if(ArrayBuffer.isView($))return w3("binary",$.byteLength,j||"ArrayBufferView");if(F8(globalThis.ReadableStream,$))return w3("stream",null,j);return null}function z8($,j,J){return w3($,j,J)}async function qF($,j,J=l2,Q=P8){if(!$.body){let G=await $.blob(),W=await G.slice(0,J).text(),K=G.size>J;return{record:{kind:"text",text:K?W.replace(k3,""):W,size:G.size,truncated:K,type:j},complete:!0}}let Z=$.body.getReader(),X=new TextDecoder,V="",Y=0,q=!1,C=setTimeout(()=>{q=!0,Z.cancel().catch(()=>{})},Q);try{for(;;){let{done:G,value:W}=await Z.read();if(G)break;let K=J-Y;if(W.byteLength>K)return V+=X.decode(W.subarray(0,K)),Z.cancel().catch(()=>{}),{record:{kind:"text",text:V.replace(k3,""),size:null,truncated:!0,type:j},complete:!1};V+=X.decode(W,{stream:!0}),Y+=W.byteLength}}finally{clearTimeout(C)}if(V+=X.decode(),q)return{record:{kind:"text",text:V.replace(k3,""),size:null,truncated:!0,timedOut:!0,type:j},complete:!1};return{record:{kind:"text",text:V,size:Y,truncated:!1,type:j},complete:!0}}var Py,k3,P8=2000;var f5=u(()=>{Py=/^text\/|[/+](json|xml|javascript|ecmascript|x-www-form-urlencoded|graphql|yaml)\b|\/svg/i;k3=/�+$/});function N6($){try{return new URL($,typeof document>"u"?void 0:document.baseURI).href}catch{return $}}function R6($,j){return $.find(([J])=>J.toLowerCase()===j)?.[1]??""}function vY($,j,J,Q,Z){return{id:$,kind:j,detail:j==="resource"||j==="navigation"?"light":"full",source:J,method:"",url:"",finalUrl:null,redirected:!1,state:"pending",status:null,statusText:"",error:null,requestHeaders:[],responseHeaders:[],requestBody:null,responseBody:null,contentType:"",sizes:null,timing:{start:Q.origin+Z,at:Z,response:null,end:null,duration:null},phases:null,messages:[],initiator:"",initiatorType:"",protocol:"",referrerPolicy:""}}function CF($,j,J,Q){return{active:Q,start(Z,X){let V=$.nextId();return $.put({...vY(V,Z,J,j,j.now()),method:X.method,url:X.url,requestHeaders:X.headers,requestBody:X.body,initiator:X.initiator,referrerPolicy:X.referrerPolicy??""}),V},set:(Z,X)=>$.update(Z,X),responded(Z,X){let V=$.get(Z)?.timing;if(!V)return;let Y=V.response??j.now()-V.at;$.update(Z,{...X,timing:{...V,response:Y}})},ended(Z,X){let V=$.get(Z)?.timing;if(!V)return;let Y=V.duration??j.now()-V.at;$.update(Z,{...X,timing:{...V,end:V.start+Y,duration:Y}})},message(Z,X){let V=$.get(Z)?.messages;if(!V)return;let{text:Y,truncated:q}=L6(X.data,"",YF),C={...X,data:Y,truncated:q,time:j.origin+j.now()};$.update(Z,{messages:[...V.slice(1-kY),C]})}}}var b5=u(()=>{f5()});function w5($,j){if(typeof $!=="string")return"";let J=$.split(`
3
+ `).map((Q)=>Q.trim()).filter((Q)=>Q!=="");if(J[0]!==void 0&&!Iy.test(J[0]))J.shift();return J.slice(j,j+12).join(`
4
+ `)}var Iy;var rj=u(()=>{Iy=/^at |@/});function GF($,j){let J=Reflect.get(globalThis,"EventSource");if(typeof J!=="function")return;let Q=new WeakMap,Z=EventTarget.prototype.addEventListener;function X(Y,q){let C=N6(Y.url),G=()=>j.start("eventsource",{method:"GET",url:C,headers:[],body:null,initiator:q}),W=(H,B)=>{Z.call(Y,H,(z)=>{try{B(z)}catch{}})},K={id:G(),open:!1,types:new Set,listen(H){if(K.types.has(H)||Dy.has(H))return;K.types.add(H),W(H,(B)=>{if(K.id===null)return;let z=Reflect.get(B,"data"),M=Reflect.get(B,"lastEventId");j.message(K.id,{type:B.type,data:String(z??""),id:typeof M==="string"?M:""})})}};Q.set(Y,K),K.listen("message"),W("open",()=>{if(K.id===null){if(!j.active())return;K.id=G()}K.open=!0,j.responded(K.id,{status:200,state:"ok",contentType:"text/event-stream"})}),W("error",()=>{if(K.id===null)return;j.ended(K.id,K.open?{}:{state:"failed",error:"EventSource failed to connect"}),K.id=null,K.open=!1})}G4($,globalThis,"EventSource",(Y)=>{function q(...C){if(!new.target)return Reflect.apply(Y,this,C);let G=Reflect.construct(Y,C,new.target);try{if(j.active())X(G,w5(Error().stack,1))}catch{}return G}return q.prototype=Y.prototype,q});let V=Reflect.get(J,"prototype");if(typeof V!=="object"||V===null)return;G4($,V,"addEventListener",()=>function(...Y){try{if(typeof Y[0]==="string")Q.get(this)?.listen(Y[0])}catch{}return Reflect.apply(Reflect.get(Object.getPrototypeOf(V),"addEventListener"),this,Y)}),G4($,V,"close",(Y)=>function(...q){try{let C=Q.get(this);if(C&&C.id!==null)j.ended(C.id,C.open?{}:{state:"aborted"}),C.id=null}catch{}return Y.apply(this,q)})}var Dy;var WF=u(()=>{b5();rj();Dy=new Set(["open","error"])});function Ly($){return typeof $==="object"&&$!==null&&"url"in $&&"method"in $&&"headers"in $&&"clone"in $}function y3($,j){return typeof $==="object"&&$!==null?Reflect.get($,j):void 0}function Ny($){try{return typeof $==="object"&&$!==null&&Reflect.get($,Zj)===!0}catch{return!1}}function KF($){let j=[];if(typeof $!=="object"||$===null)return j;if(F8(globalThis.Headers,$))$.forEach((J,Q)=>j.push([Q,J]));else if(Array.isArray($)){for(let J of $)if(Array.isArray(J)&&J.length>1)j.push([String(J[0]),String(J[1])])}else for(let[J,Q]of Object.entries($))j.push([J,String(Q)]);return j}function BF($){return $ instanceof Error?`${$.name}: ${$.message}`:String($)}function UF($){return typeof $==="object"&&$!==null&&Reflect.get($,"aborted")===!0}function Ry($,j,J){if(j==="GET"||j==="HEAD")return null;if($.body===null||$.bodyUsed)return null;return z8(yY(J)?"stream":"binary",null,J)}function Ay($,j){let J=Ly($)?$:null,Q=String(y3(j,"method")??J?.method??"GET").toUpperCase(),Z=y3(j,"headers"),X=KF(Z===void 0?J?.headers:Z),V=R6(X,"content-type"),Y=y3(j,"body"),q=J&&(Y===void 0||Y===null)?Ry(J,Q,V):null,C=ij(Y,V)??q,G=String(y3(j,"referrerPolicy")??J?.referrerPolicy??"");return{request:{method:Q,url:N6(J?J.url:String($)),headers:X,body:C,referrerPolicy:G},signal:y3(j,"signal")??J?.signal}}function Ty($){let j=Number.parseInt(R6($,"content-length"),10);return Number.isFinite(j)?j:null}function Sy($){return/^text\/event-stream\b/i.test($.trim())}function Oy($,j,J,Q,Z){let X=KF(J.headers),V=R6(X,"content-type"),Y=J.type==="opaque"||J.type==="opaqueredirect";if($.responded(j,{status:J.status,statusText:J.statusText,state:J.ok||Y?"ok":"failed",responseHeaders:X,contentType:V,redirected:J.redirected,finalUrl:J.url||null}),Y)$.set(j,{responseBody:z8("opaque",null,"")});else if(J.body===null)$.ended(j,{});else if(Sy(V))$.set(j,{responseBody:z8("stream",null,V)});else if(!yY(V))$.set(j,{responseBody:z8("binary",Ty(X),V)});else qF(J.clone(),V,void 0,Z).then(({record:q,complete:C})=>{let G=q.size===0?null:q;if(C)$.ended(j,{responseBody:G});else $.set(j,{responseBody:G})},(q)=>{$.ended(j,{state:UF(Q)?"aborted":"failed",error:BF(q)})})}function HF($,j,J=P8){return function(){let Z=arguments;if(!j.active()||Ny(Z[1]))return Reflect.apply($,this,Z);let X=null,V;try{let C=Ay(Z[0],Z[1]);V=C.signal,X=j.start("fetch",{...C.request,initiator:w5(Error().stack,1)})}catch{}let Y=Reflect.apply($,this,Z);if(X===null)return Y;let q=X;return Y.then((C)=>{try{Oy(j,q,C,V,J)}catch{}return C},(C)=>{try{j.ended(q,{state:UF(V)?"aborted":"failed",error:BF(C)})}catch{}throw C})}}var MF=u(()=>{f5();b5();Xj();rj()});function B1($,j){let J=Reflect.get($,j);return typeof J==="number"&&Number.isFinite(J)?J:0}function _8($,j){let J=Reflect.get($,j);return typeof J==="string"?J:""}function FF($){return $.split("#",1)[0]??$}function Ey($){try{return new URL($).origin}catch{return""}}function zF($,j){let J=B1($,"transferSize"),Q=B1($,"encodedBodySize"),Z=B1($,"decodedBodySize"),X=J+Q+Z===0&&Ey($.name)!==j;return{transfer:J,encoded:Q,decoded:Z,hidden:X}}function PF($){return{startTime:$.startTime,workerStart:B1($,"workerStart"),redirectStart:B1($,"redirectStart"),redirectEnd:B1($,"redirectEnd"),fetchStart:B1($,"fetchStart"),domainLookupStart:B1($,"domainLookupStart"),domainLookupEnd:B1($,"domainLookupEnd"),connectStart:B1($,"connectStart"),secureConnectionStart:B1($,"secureConnectionStart"),connectEnd:B1($,"connectEnd"),requestStart:B1($,"requestStart"),responseStart:B1($,"responseStart"),responseEnd:B1($,"responseEnd")||$.startTime+$.duration}}function _F($){return B1($,"responseStatus")||null}function IF($,j,J,Q,Z){let X=vY(j,$.entryType==="navigation"?"navigation":"resource",J,Q,$.startTime),V=_F($),Y=B1($,"responseEnd")||$.startTime+$.duration,q=B1($,"responseStart"),C=Math.max(0,Y-$.startTime);return{...X,url:$.name,state:V!==null&&V>=400?"failed":"ok",status:V,contentType:_8($,"contentType"),sizes:zF($,Z),timing:{...X.timing,response:q>0?Math.max(0,q-$.startTime):null,end:X.timing.start+C,duration:C},phases:PF($),initiatorType:_8($,"initiatorType")||$.entryType,protocol:_8($,"nextHopProtocol")}}function DF($,j,J){let Q=xy[_8(j,"initiatorType")];if(!Q)return null;let Z=FF(j.name),X=B1(j,"responseEnd")||j.startTime+j.duration,V=null;for(let Y of $){if(Y.kind!==Q||Y.source!==J||Y.sizes!==null)continue;let q=j.startTime-Y.timing.at;if(!(Q==="eventsource"&&q<=v3&&Y.timing.at<=X+v3)&&(q<-v3||q>gY)||FF(Y.url)!==Z)continue;if(!V||Math.abs(q)<Math.abs(j.startTime-V.timing.at))V=Y}return V}function LF($,j,J){let Q=B1(j,"responseEnd")||j.startTime+j.duration,Z=Math.max(0,Q-$.timing.at);return{sizes:zF(j,J),phases:PF(j),protocol:_8(j,"nextHopProtocol"),initiatorType:_8(j,"initiatorType"),status:$.status||_F(j),contentType:$.contentType||_8(j,"contentType"),timing:{...$.timing,end:$.timing.start+Z,duration:Z}}}var gY=250,v3=5,xy;var NF=u(()=>{b5();xy={fetch:"fetch",xmlhttprequest:"xhr",other:"eventsource"}});function by($){let j=setTimeout($,fy);return()=>clearTimeout(j)}function RF($){let j=$.schedule??by,J=[],Q=new Map,Z=new Set,X=new Set,V=null,Y=!1,q=Number.NEGATIVE_INFINITY,C=0;function G(){if(V?.(),V=null,X.size===0&&!Y)return;let H=[];for(let B of X){let z=Q.get(B);if(z)H.push(z)}X.clear(),Y=!1;for(let B of Array.from(Z))B(H)}function W(H){if(Z.size===0)return;if(H===null)Y=!0;else X.add(H);V??=j(G)}function K(H){if(H.timing.start<q)return;let B=Q.get(H.id);if(Q.set(H.id,H),B)J[J.lastIndexOf(B)]=H;else{let z=J.length;while(z>0&&(J[z-1]?.timing.start??0)>H.timing.start)z--;if(J.splice(z,0,H),J.length>wY){let M=J.shift();if(M)Q.delete(M.id);if(M===H)return}}W(H.id)}return{entries:()=>J,get:(H)=>Q.get(H),nextId:()=>`${$.seed}-${++C}`,put:K,update(H,B){let z=Q.get(H);if(z)K({...z,...B,id:H})},clear(){J=[],Q.clear(),X.clear(),q=$.now(),W(null)},subscribe(H){return Z.add(H),()=>{Z.delete(H)}},flush:G,close(){V?.(),V=null,J=[],Q.clear(),X.clear(),Z.clear()}}}var fy=50;var AF=()=>{};function ky($){let j=[];for(let J of $.split(/\r?\n/)){let Q=J.indexOf(":");if(Q>0)j.push([J.slice(0,Q).trim(),J.slice(Q+1).trim()])}return j}function TF($,j){let J=ky($.getAllResponseHeaders()??""),Q=$.responseURL||null;return{status:$.status,statusText:$.statusText,responseHeaders:J,contentType:R6(J,"content-type"),finalUrl:Q,redirected:Q!==null&&Q!==j.split("#",1)[0]}}function yy($){if(typeof $!=="object"||$===null)return null;let j=Reflect.get($,"byteLength")??Reflect.get($,"size");return typeof j==="number"?j:null}function vy($,j,J){let Q=$.responseType,Z;if(Q===""||Q==="text")Z=L6($.responseText,j);else if(Q!=="json")Z=z8("binary",yy($.response)??J,j||Q);else if(J!==null&&J>wy)Z={kind:"text",text:"",size:J,truncated:!0,type:j};else Z=L6(JSON.stringify($.response)??"",j);return Z.size===0?null:Z}function gy($,j,J,Q){let Z=null,X=null,V=!1,Y=null,q=()=>{$.removeEventListener("readystatechange",G,!0),$.removeEventListener("progress",W,!0);for(let B of SF)$.removeEventListener(B,K,!0);$.removeEventListener("loadend",H,!0)};function C(){V=!0,q();try{let B=TF($,J),z=$.status,M=Z??(z===0||z>=400?"failed":"ok"),U=Number.parseInt(R6(B.responseHeaders??[],"content-length"),10),F=Y??(Number.isFinite(U)?U:null),P=Z?null:vy($,B.contentType??"",F);Q.ended(j,{...B,status:z===0?null:z,state:M,error:X,responseBody:P})}catch{Q.ended(j,{state:Z??"failed",error:X})}}function G(){try{if($.readyState===2)Q.responded(j,TF($,J))}catch{}if($.readyState===4&&$.status!==0)C()}function W(B){let z=Reflect.get(B,"loaded");if(typeof z==="number")Y=z}function K(B){Z=B.type==="abort"?"aborted":"failed",X=B.type==="abort"?null:B.type}function H(B){if($.readyState!==4)return;W(B),C()}$.addEventListener("readystatechange",G,!0),$.addEventListener("progress",W,!0);for(let B of SF)$.addEventListener(B,K,!0);return $.addEventListener("loadend",H,!0),()=>{if(V)return;V=!0,q(),Q.ended(j,{state:"aborted"})}}function OF($,j){if(typeof XMLHttpRequest!=="function")return;let J=new WeakMap,Q=XMLHttpRequest.prototype;G4($,Q,"open",(Z)=>function(...X){let V=Z.apply(this,X);try{if(J.get(this)?.drop?.(),J.delete(this),j.active()){let Y=String(X[0]).toUpperCase();J.set(this,{method:Y,url:N6(String(X[1])),headers:[],drop:null})}}catch{}return V}),G4($,Q,"setRequestHeader",(Z)=>function(...X){let V=Z.apply(this,X);return J.get(this)?.headers.push([String(X[0]),String(X[1])]),V}),G4($,Q,"send",(Z)=>function(...X){let V=J.get(this);if(!V||!j.active())return Z.apply(this,X);let Y=null;try{let{method:q,url:C,headers:G}=V,W=ij(X[0],R6(G,"content-type")),K=w5(Error().stack,1);Y=j.start("xhr",{method:q,url:C,headers:[...G],body:W,initiator:K}),V.drop=gy(this,Y,C,j)}catch{}try{return Z.apply(this,X)}catch(q){if(V.drop?.(),V.drop=null,Y!==null)j.set(Y,{state:"failed",error:String(q)});throw q}})}var wy,SF;var EF=u(()=>{f5();b5();rj();wy=4*l2;SF=["error","abort","timeout"]});function uy(){let $=g3?g3.timeOrigin??r0()-xF():0;return{now:xF,origin:$}}function my($){return N6($).split("#",1)[0]??$}function py($){return{...$,source:"frame",requestHeaders:$.requestHeaders.map(([j,J])=>[j,J]),responseHeaders:$.responseHeaders.map(([j,J])=>[j,J]),requestBody:$.requestBody&&{...$.requestBody},responseBody:$.responseBody&&{...$.responseBody},sizes:$.sizes&&{...$.sizes},timing:{...$.timing},phases:$.phases&&{...$.phases},messages:$.messages.map((j)=>({...j}))}}function cy($){let{source:j,clock:J,origin:Q}=$,Z=`${j.charAt(0)}${Math.floor(J.origin).toString(36)}${Math.floor(Math.random()*46656).toString(36)}`,X=RF({seed:Z,now:()=>J.origin+J.now(),schedule:$.schedule}),V=[],Y=!0,q=0,C=new Set,G=[],W=CF(X,J,j,()=>Y&&q===0);function K(_,S){let f=my(_);if(f.startsWith("data:"))return;if(!S)C.add(f);else G=[...G.slice(1-hy),{url:f,at:J.now()}]}function H(_){if(C.has(_.name))return!0;let S=G.findIndex((f)=>{let L=_.startTime-f.at;return f.url===_.name&&L>=-v3&&L<=gY});if(S<0)return!1;return G.splice(S,1),!0}function B(_){try{if(H(_))return;let S=DF(X.entries(),_,j);if(S)X.update(S.id,LF(S,_,Q));else X.put(IF(_,X.nextId(),j,J,Q))}catch{}}function z(){if(typeof PerformanceObserver!=="function")return()=>{};let _=new PerformanceObserver((S)=>{if(Y)for(let f of S.getEntries())B(f)});for(let S of["navigation","resource"])try{_.observe({type:S,buffered:!0})}catch{}return()=>_.disconnect()}let M=null;function U(_){let S=$.above?.()??null;if(S)S.adopt(S===M?_:X.entries());M=S}function F(_){if(Reflect.get(_,"persisted")===!0)return;for(let S of[...X.entries()])if(S.state==="pending")X.update(S.id,{state:"aborted"});X.flush()}G4(V,globalThis,"fetch",(_)=>HF(_,W,$.readFor)),OF(V,W),GF(V,W);let P=z();if($.above)X.subscribe(U),globalThis.addEventListener?.("pagehide",F);let D={version:lU,store:X,quietly(_,S){K(_,!0),q++;try{return S()}finally{q--}},hush:K,adopt(_){for(let S of _)X.put(py(S))},uninstall(){if(Y=!1,VF(V),P(),globalThis.removeEventListener?.("pagehide",F),X.close(),Z4()===D)NV(null)}};return D}function dy(){try{return window.parent===window?null:Z4(window.parent)}catch{return null}}function fF(){if(Z4())return;iU();let $=typeof window<"u"&&_1(),j=typeof location>"u"?"":location.origin;NV(cy({source:$?"frame":"top",clock:uy(),origin:j,above:$?dy:void 0}))}function bF(){Z4()?.uninstall()}function wF(){return Z4()?.store??null}var hy=100,g3,xF;var hY=u(()=>{t1();K1();WF();MF();b5();NF();Xj();AF();EF();g3=typeof performance>"u"?null:performance,xF=g3?g3.now.bind(g3):r0});function dY($){return $.header&&$.mode!=="system"}function kF($){try{let{origin:j}=new URL($,document.baseURI);return j!=="null"&&j===location.origin}catch{return!1}}function cY(){return new L1(X4()).toISOString()}function yF($){return typeof $==="object"&&"url"in $&&"headers"in $}function iy($,j){if(yF($)&&j?.headers===void 0){let Q=new Request($);return Q.headers.set(pY,cY()),[Q,j]}let J=new Headers(j?.headers);return J.set(pY,cY()),[$,{...j,headers:J}]}function mY($,j,J){let Q=Reflect.get($,j);if(typeof Q!=="function")return;let Z=J(Q);if(Reflect.set($,j,Z))sj.push({target:$,key:j,original:Q,value:Z})}function ry(){if(sj.length>0)return;if(mY(globalThis,"fetch",(j)=>function(Q,Z){let X=yF(Q)?Q.url:String(Q);if(!h3||!kF(X))return j.call(this,Q,Z);let V=[Q,Z];try{V=iy(Q,Z)}catch{}return j.call(this,...V)}),typeof XMLHttpRequest!=="function")return;let $=XMLHttpRequest.prototype;mY($,"open",(j)=>function(...J){if(kF(String(J[1])))uY.add(this);else uY.delete(this);return j.apply(this,J)}),mY($,"send",(j)=>function(...J){if(h3&&uY.has(this))try{this.setRequestHeader(pY,cY())}catch{}return j.apply(this,J)})}function vF(){for(let{target:$,key:j,original:J,value:Q}of sj.reverse())if(Reflect.get($,j)===Q)Reflect.set($,j,J);sj=[]}function gF($){if(h3=dY($),h3)ry();else vF()}function hF(){h3=!1,vF()}var pY="x-devknobs-now",h3=!1,sj,uY;var lY=u(()=>{t1();sj=[],uY=new WeakSet});function ay(){let $=ny.map((J)=>({owner:Intl,key:J,index:0})),j=[[Number.prototype,"toLocaleString"],[typeof BigInt==="function"?BigInt.prototype:void 0,"toLocaleString"],[Array.prototype,"toLocaleString"],[Date.prototype,"toLocaleString"],[Date.prototype,"toLocaleDateString"],[Date.prototype,"toLocaleTimeString"]];for(let[J,Q]of j)if(J)$.push({owner:J,key:Q,index:0});return $.push({owner:String.prototype,key:"localeCompare",index:1}),$}function iY($){try{return Intl.getCanonicalLocales($)[0]??null}catch{return null}}function mF($,j,J){if(J===null)return $;let Q=$[j];if(Q!==void 0&&!(Array.isArray(Q)&&Q.length===0))return $;let Z=$.slice();return Z[j]=J,Z}function oj($){return typeof $==="function"&&pF.get($)||$}function oy($,j){let J=uF.get($);if(J)return J;let Q=new Proxy($,{apply:(Z,X,V)=>Reflect.apply(Z,X,mF(V,j,aj)),construct:(Z,X,V)=>Reflect.construct(Z,mF(X,j,aj),V)});return uF.set($,Q),pF.set(Q,$),Q}function ty($){let j=Object.getOwnPropertyDescriptor($.owner,$.key);if(!j||!("value"in j)||!j.configurable)return;let J={...$,descriptor:j,inner:j.value,get(){let Z=J.inner;return typeof Z==="function"?oy(Z,$.index):Z}};function Q(Z){if(this!==$.owner&&typeof this==="object"&&this!==null){Object.defineProperty(this,$.key,{configurable:!0,enumerable:!0,writable:!0,value:Z});return}J.inner=oj(Z)}Object.defineProperty($.owner,$.key,{configurable:!0,enumerable:j.enumerable,get:J.get,set:Q}),nj.push(J)}function ey($){if(Object.getOwnPropertyDescriptor($.owner,$.key)?.get!==$.get)return;Object.defineProperty($.owner,$.key,{...$.descriptor,value:$.inner})}function rY($){if(aj=$===null?null:iY($),aj===null){for(let j of nj)ey(j);nj.length=0;return}if(nj.length===0)for(let j of ay())ty(j)}var ny,aj=null,nj,uF,pF;var tj=u(()=>{ny=["Collator","DateTimeFormat","DisplayNames","DurationFormat","ListFormat","NumberFormat","PluralRules","RelativeTimeFormat","Segmenter"],nj=[],uF=new WeakMap,pF=new WeakMap});function dF($){if(typeof $!=="object"||$===null)return;let j=Reflect.get($,"path"),J=Reflect.get($,"x"),Q=Reflect.get($,"y");if(typeof j!=="string"||typeof J!=="number"||typeof Q!=="number")return;return Number.isFinite(J)&&Number.isFinite(Q)?{path:j,x:J,y:Q}:void 0}function lF($){if(!$)return null;let j;try{j=JSON.parse($)}catch{return null}if(typeof j!=="object"||j===null||P1(j,sY))return null;let J=Reflect.get(j,"at");if(typeof J!=="number")return null;let Q={at:J},Z=dF(Reflect.get(j,"page")),X=dF(Reflect.get(j,"frame"));if(Z)Q.page=Z;if(X)Q.frame=X;return Q}function iF($,j){let J=j-$;return!(J>=0&&J<$v)}function Zv($,j,J,Q){let Z={at:Q},X=j==="page"?"frame":"page",V=$&&!iF($.at,Q)?$[X]:void 0;if(V)Z[X]=V;if(J&&(J.x!==0||J.y!==0))Z[j]=J;return Z.page||Z.frame?Z:null}function Xv($,j,J,Q){if(!$||iF($.at,Q))return{place:null,rest:null};let Z=$[j],X=j==="page"?"frame":"page",V=$[X],Y=V?{at:$.at,[X]:V}:null;if(!Z||Z.path!==J)return{place:null,rest:Y};return{place:{x:Z.x,y:Z.y},rest:Y}}function Vv($,j){let{target:J}=$,Q=Math.abs(j.x-J.x)<=1&&Math.abs(j.y-J.y)<=1,Z=$.puts>=Qv;if(j.now-$.start>=Jv||$.loadedAt!==null&&j.now-$.loadedAt>=jv)return Q||Z?"done":"last";if(Z)return"done";if(Q)return"wait";return j.maxX>=J.x-1&&j.maxY>=J.y-1?"put":"wait"}function Yv($,j,J=r0){let Q={target:j,start:J(),loadedAt:null,puts:0},Z=!1,X=()=>{Z=!0;for(let Y of cF)$.removeEventListener(Y,X,!0)},V=()=>{if(Z)return;let Y=J();if(Q.loadedAt===null&&$.document.readyState==="complete")Q.loadedAt=Y;let q=$.document.documentElement,C=Vv(Q,{x:$.scrollX,y:$.scrollY,maxX:q?q.scrollWidth-q.clientWidth:0,maxY:q?q.scrollHeight-q.clientHeight:0,now:Y});if(C==="put"||C==="last")Q.puts++,$.scrollTo({left:j.x,top:j.y,behavior:"instant"});if(C==="last"||C==="done")X();else $.requestAnimationFrame(V)};for(let Y of cF)$.addEventListener(Y,X,!0);V()}function nY($){rF=$}function qv($){try{return $?{path:$.location.pathname,x:$.scrollX,y:$.scrollY}:null}catch{return null}}function h4($,j){try{let J=E0("session");if(!J)return;let Q=Zv(lF(J.getItem(k5)),j,qv($),r0());if(Q)J.setItem(k5,JSON.stringify(q1(Q,sY)));else J.removeItem(k5)}catch{}}function sF(){if(_1()){h4(window,"frame");return}h4(window,"page"),h4(rF?.()??null,"frame")}function nF(){if(typeof window>"u")return;let $=null;try{let j=E0("session"),J=j?.getItem(k5)??null;if(!j||J===null)return;let Q=_1()?"frame":"page",{place:Z,rest:X}=Xv(lF(J),Q,window.location.pathname,r0());if(X)j.setItem(k5,JSON.stringify(q1(X,sY)));else j.removeItem(k5);$=Z}catch{return}if($)Yv(window,$)}var k5="devknobs:scroll",sY=1,$v=1e4,jv=2000,Jv=1e4,Qv=20,cF,rF=null;var y5=u(()=>{t1();K1();G2();cF=["wheel","touchstart","keydown","mousedown"]});function Bv($){try{let j=new Intl.Locale($),Q=(typeof j.getTextInfo==="function"?j.getTextInfo():j.textInfo)?.direction;return Q==="ltr"||Q==="rtl"?Q:null}catch{return null}}function Uv($){let j=Bv($);if(j!==null)return j==="rtl";let J=$.toLowerCase().split("-")[0]??"";return Kv.has(J)}function oF($){if($.dir!=="system")return $.dir;return Uv($.lang)?"rtl":"ltr"}function Hv($){let j=$.split("-")[0];return j&&j!==$?[$,j]:[$]}function Mv($,j){for(let J of $.split(";")){let Q=J.indexOf("=");if(Q===-1)continue;if(J.slice(0,Q).trim()!==j)continue;return J.slice(Q+1).trim()}return null}function Fv(){if(typeof window>"u")return!1;if("__next_f"in window||"next"in window)return!0;return document.querySelector?.('script[src*="/_next/"]')!=null}function $J($){if($.kind==="cookie")return Mv(document.cookie,$.key);try{return E0($.kind)?.getItem($.key)??null}catch{return null}}function Zz($){return $.kind!=="cookie"&&E0($.kind)===null}function Xz($,j){if($.kind==="cookie"){document.cookie=j===null?`${$.key}=; max-age=0; path=/`:`${$.key}=${j}; path=/; SameSite=Lax`;return}try{let J=E0($.kind);if(j===null)J?.removeItem($.key);else J?.setItem($.key,j)}catch{}}function _v($){if(!$)return null;let j;try{j=JSON.parse($)}catch{return null}if(P1(j,jz))return null;let J=j;if(typeof J?.lang!=="string"||!Array.isArray(J.writes))return null;let Q=J.writes.filter((Z)=>Pv.includes(Z.kind)&&typeof Z.key==="string"&&typeof Z.value==="string"&&(Z.prior===null||typeof Z.prior==="string"));return{lang:J.lang,writes:Q}}function Qq(){try{return _v(E0("session")?.getItem(Jq)??null)}catch{return null}}function aY($){try{let j=E0("session");return j?.setItem(Jq,JSON.stringify(q1($,jz))),j!==null}catch{return!1}}function Vz(){try{E0("session")?.removeItem(Jq)}catch{}}function Iv($){if(!$)return 0;let j;try{j=JSON.parse($)}catch{return 0}if(typeof j==="number")return j;if(typeof j!=="object"||j===null||P1(j,Qz))return 0;let J=Reflect.get(j,"at");return typeof J==="number"?J:0}function Yz(){try{let $=E0("session");if(!$)return 1/0;let j=Iv($.getItem(Jz));if(!(j>0))return 0;return Math.min(aF,Math.max(0,j+aF-r0()))}catch{return 1/0}}function qz(){return Yz()>0}function Gz(){return Cz}function tF(){try{let $=q1({at:r0()},Qz),j=E0("session");if(!j)return!1;j.setItem(Jz,JSON.stringify($))}catch{return!1}return zj(),sF(),Cz=!0,window.location.reload(),!0}function Dv($){let j=!1,J=[];for(let Q of $.writes){if(Zz(Q)){J.push(Q);continue}if($J(Q)!==Q.value)continue;if(Xz(Q,Q.prior),$J(Q)===Q.prior)j=!0;else J.push(Q)}if(J.length===0)Vz();else if(!aY({lang:$.lang,writes:J}))return!1;return j}function Wz($){if(typeof document>"u")return!1;if(qz())return!1;let j=Qq();if($===null)return j!==null&&Dv(j)&&tF();if(j?.lang===$)return!1;let J=[],Q=!1;for(let Z of zv){let X=j?.writes.find((C)=>C.kind===Z.kind&&C.key===Z.key);if(X!==void 0&&Zz(Z)){J.push(X);continue}let V=$J(Z),Y=X!==void 0&&V===X.value;if(!Y&&!Z.used(V!==null))continue;if(V===$){if(Y)J.push(X);continue}Xz(Z,$);let q=Y?X.prior:V;if($J(Z)===$)J.push({kind:Z.kind,key:Z.key,prior:q,value:$}),Q=!0;else if(Y)J.push(X)}if(!Q){if(j&&J.length>0)aY({lang:j.lang,writes:J});else Vz();return!1}if(!aY({lang:$,writes:J}))return!1;return tF()}function Kz(){return u3!==0}function Zq(){if(!u3)return;window.clearTimeout(u3),u3=0}function Bz(){if(Zq(),Qq()===null)return;let $=Yz();if($===0)Wz(null);else if(Number.isFinite($))u3=window.setTimeout(Bz,$)}function v5($,j){let J=document.documentElement;if(J.getAttribute($)===j)return;if(j===null)J.removeAttribute($);else J.setAttribute($,j)}function Lv(){let $=r0();if($-eF>=1000)eF=$,$z=0;for(let j of["lang","dir"]){let J=$q[j];if(J===null||document.documentElement.getAttribute(j)===J)continue;if(++$z>Wv){I8?.disconnect(),I8=null;return}v5(j,J)}}function jq($,j){if($q.lang=$,$q.dir=j,$===null&&j===null){I8?.disconnect(),I8=null;return}if(I8||typeof MutationObserver>"u")return;I8=new MutationObserver(Lv),I8.observe(document.documentElement,{attributes:!0,attributeFilter:["lang","dir"]})}function Nv($){if(!p3)tY=Object.getOwnPropertyDescriptor(Navigator.prototype,"language"),eY=Object.getOwnPropertyDescriptor(Navigator.prototype,"languages"),p3=!0;let j=Object.freeze(Hv($));Object.defineProperty(Navigator.prototype,"language",{configurable:!0,get:()=>$}),Object.defineProperty(Navigator.prototype,"languages",{configurable:!0,get:()=>j})}function Rv(){if(!p3)return;if(tY)Object.defineProperty(Navigator.prototype,"language",tY);else Reflect.deleteProperty(Navigator.prototype,"language");if(eY)Object.defineProperty(Navigator.prototype,"languages",eY);else Reflect.deleteProperty(Navigator.prototype,"languages");p3=!1}function Mz($){if(!m3)Uz=document.documentElement.getAttribute("lang"),Hz=document.documentElement.getAttribute("dir"),m3=!0;if(!$.lang||$.lang==="system"){if(Xq(),$.dir!=="system")m3=!0,v5("dir",$.dir),jq(null,$.dir);Bz();return}if(Zq(),v5("lang",$.lang),v5("dir",oF($)),jq($.lang,oF($)),Nv($.lang),rY($.lang),window.dispatchEvent(new Event("languagechange")),$.lang!==oY&&Qq()?.lang!==$.lang){if(qz())return;Wz($.lang)}oY=$.lang}function Xq(){if(Zq(),oY=null,jq(null,null),rY(null),m3)v5("lang",Uz),v5("dir",Hz),m3=!1;if(p3)Rv(),window.dispatchEvent(new Event("languagechange"))}var c3,Gv="PARAGLIDE_LOCALE",Jq="devknobs:locale-stores",jz=1,Jz="devknobs:locale-reload",Qz=1,aF=5000,Wv=20,Kv,ej=($)=>$,zv,Pv,Cz=!1,u3=0,m3=!1,oY=null,Uz=null,Hz=null,tY,eY,p3=!1,$q,I8=null,eF=0,$z=0;var d3=u(()=>{t1();G2();tj();y5();c3=["en","en-US","tr","de","fr","es","ar","he","ja","zh-CN"],Kv=new Set(["ar","he","fa","ur"]);zv=[{library:"paraglide",kind:"cookie",key:Gv,used:()=>!0},{library:"paraglide",kind:"local",key:"PARAGLIDE_LOCALE",used:ej},{library:"i18next",kind:"local",key:"i18nextLng",used:ej},{library:"i18next",kind:"session",key:"i18nextLng",used:ej},{library:"i18next",kind:"cookie",key:"i18next",used:ej},{library:"next-intl",kind:"cookie",key:"NEXT_LOCALE",used:($)=>$||Fv()}],Pv=["cookie","local","session"];$q={lang:null,dir:null}});function g5(){return zz}function jJ($){return Fz.add($),$(zz),()=>Fz.delete($)}var zz=null,Fz;var h5=u(()=>{Fz=new Set});function _z($,j,J){for(let Q=$;Q<Pz.length;Q++){let Z=JJ.get(Pz[Q]);if(Z)return Z(j,(X)=>_z(Q+1,X,J))}return J.call(window,j)}function D8($){return(l3??window.matchMedia).call(window,$)}function QJ($,j){if(JJ.set($,j),u5)return;let J=window.matchMedia,Q=function(X){let V=String(X);return u5===Q?_z(0,V,J):J.call(window,V)};l3=J,u5=Q,window.matchMedia=Q}function ZJ($){if(JJ.delete($),JJ.size>0||!u5)return;if(window.matchMedia===u5&&l3)window.matchMedia=l3;u5=null,l3=null}function A2(){if(typeof window.matchMedia!=="function"||typeof Element>"u")return!0;if(typeof Element.prototype.animate!=="function")return!0;let $=g5();if($)return $.motion==="reduce";return D8("(prefers-reduced-motion: reduce)").matches}var Pz,JJ,l3=null,u5=null;var L8=u(()=>{h5();Pz=["text","media"],JJ=new Map});function Dz($){let j=Reflect.get($,Iz);return typeof j==="object"&&j!==null?j:null}function m5($,j,J){let Q=Dz($);if(J===null||J===""){if(Q)Reflect.deleteProperty(Q,j);return}if(Q)Reflect.set(Q,j,J);else Reflect.set($,Iz,{[j]:J})}function Lz($,j){let J=Dz($),Q=J?Reflect.get(J,j):null;return typeof Q==="string"?Q:null}var Iz;var XJ=u(()=>{Iz=Symbol.for("devknobs.inline")});function qJ($){return`${Number($.toFixed(4))}px`}function xv($,j){let J=Tv[$.trim().toLowerCase()];if(J!==void 0)return qJ(J*j);let Q=!1,Z=$.replace(Sv,(X,V,Y)=>{return Q=!0,qJ(Number(V)*j/(Y==="%"?100:1))});return Q?Z:null}function Nz($,j){return $.replace(Ov,(J,Q)=>qJ(Number(Q)*j))}function fv($,j){let J=$;for(let Q=0;Q<5&&J.includes("var(");Q++)J=J.replace(Ev,(Z,X,V)=>{return j(X).trim()||V?.trim()||"var()"});return J.includes("var(")?null:J}function bv($){let j=[],J=0,Q=0;for(let Z=0;Z<$.length;Z++){let X=$[Z];if(X==="("||X==="[")J++;else if(X===")"||X==="]")J--;else if(X===","&&J===0)j.push($.slice(Q,Z)),Q=Z+1}return j.push($.slice(Q)),j.map((Z)=>Z.trim()).filter((Z)=>Z.length>0)}function wv($){let j=0,J=0,Q=0,Z=$.replace(/:where\([^()]*\)/gi," ").replace(/\[[^\]]*\]/g,()=>{return J++," "}).replace(/:(?:is|not|has)\(/gi,"(").replace(/::?[\w-]+/g,(X)=>{if(X.startsWith("::"))Q++;else J++;return" "}).replace(/#[\w-]+/g,()=>{return j++," "}).replace(/\.[\w-]+/g,()=>{return J++," "});return Q+=(Z.match(/(?:^|[\s>+~(])[a-z][\w-]*/gi)??[]).length,j*1e6+J*1000+Q}function kv($){let{important:j,inline:J,layered:Q}=$;return[j?1:0,J?1:0,j===Q?1:0,$.specificity,$.order]}function yv($){let j=null,J=[];for(let Q of $){let Z=kv(Q),X=Z.findIndex((V,Y)=>V!==J[Y]);if(j===null||X>=0&&(Z[X]??0)>(J[X]??0))j=Q,J=Z}return j}function Az(){return[...Array.from(document.styleSheets),...document.adoptedStyleSheets??[]]}function CJ($){try{return $.cssRules}catch{return null}}function vv($){let j=new Set,J=(Q)=>{if(!Q)return;for(let Z of Array.from(Q)){let X=Z.styleSheet;if(X&&!j.has(X))j.add(X),J(CJ(X));if(typeof Z.media?.mediaText==="string")$(Z);let V=Z.cssRules;if(V&&V!==Q)J(V)}};for(let Q of Az()){if(j.has(Q))continue;j.add(Q),J(CJ(Q))}}function Tz(){vv(($)=>{let j=$.media.mediaText,J=VJ.get($),Q=J!==void 0&&j===J.written,Z=Q?J.original:j,X=W4===null?Z:Nz(Z,W4);if(X===Z&&!Q)return;if(X!==j)try{$.media.mediaText=X}catch{}if(W4===null)VJ.delete($);else VJ.set($,{original:Z,written:$.media.mediaText})})}function Cq($){let j=VJ.get($);return j&&$.media.mediaText===j.written?j.original:void 0}function Vq($){try{return window.matchMedia($).matches}catch{return!1}}function gv($){try{return CSS.supports($)}catch{return!1}}function hv(){let $=document.documentElement,j=[],J=0,Q=new Set,Z=(X,V,Y)=>{if(!X)return;for(let q of Array.from(X)){let C=q.constructor.name;if(C==="CSSStyleRule"){let G=q.style,W=G.getPropertyValue("font-size");if(!W)continue;let K=-1;for(let z of bv(q.selectorText))try{if($.matches(z))K=Math.max(K,wv(z))}catch{}if(K<0)continue;let H=G.getPropertyPriority("font-size")==="important",B={value:W,important:H,inline:!1,layered:V,specificity:K,order:J};j.push({declaration:B,conditions:Y}),J++}else if(C==="CSSImportRule"){let G=q;if(!G.styleSheet||Q.has(G.styleSheet))continue;Q.add(G.styleSheet);let W=G.media.mediaText,K=W?[...Y,()=>Vq(W)]:Y;Z(CJ(G.styleSheet),V||G.layerName!=null,K)}else if(C==="CSSMediaRule"){let G=q.media.mediaText;Z(q.cssRules,V,[...Y,()=>Vq(G)])}else if(C==="CSSSupportsRule"){let G=q.conditionText;Z(q.cssRules,V,[...Y,()=>gv(G)])}else if(C==="CSSLayerBlockRule")Z(q.cssRules,!0,Y)}};for(let X of Az()){if(Q.has(X))continue;if(Q.add(X),X.disabled)continue;let V=X.media.mediaText;Z(CJ(X),!1,V?[()=>Vq(V)]:[])}return j}function uv(){let $=hv();Rz=$.some((J)=>J.conditions.length>0);let j=$.filter((J)=>J.conditions.every((Q)=>Q())).map((J)=>J.declaration);if(p5.value)j.push({value:p5.value,important:p5.priority==="important",inline:!0,layered:!1,specificity:0,order:0});return yv(j)?.value??null}function mv(){let $=document.documentElement.style,j=$.getPropertyValue("font-size");if(A6!==null&&j===A6)return;p5={value:j,priority:$.getPropertyPriority("font-size")},A6=null,m5(document.documentElement,"font-size",null)}function Gq(){if(A6===null)return;let $=document.documentElement.style;if($.getPropertyValue("font-size")===A6)$.setProperty("font-size",p5.value,p5.priority);A6=null,m5(document.documentElement,"font-size",null)}function pv(){Gq();let $=document.documentElement,j=parseFloat(getComputedStyle($).fontSize);if(!(j>0))return Yq;let J=$.style,Q={value:J.getPropertyValue("font-size"),priority:J.getPropertyPriority("font-size")};J.setProperty("font-size","medium","important");let Z=parseFloat(getComputedStyle($).fontSize);return J.setProperty("font-size",Q.value,Q.priority),Z>0?j*Yq/Z:j}function cv(){if(W4===null)return;mv();let $=document.documentElement,j=uv(),Q=j===null?null:fv(j,(X)=>getComputedStyle($).getPropertyValue(X)),Z=Q===null?qJ(pv()*W4/Yq):xv(Q,W4);if(Z===null){Gq();return}$.style.setProperty("font-size",Z,"important"),A6=$.style.getPropertyValue("font-size"),m5($,"font-size",A6)}function Sz(){Tz(),cv()}function YJ(){if(c5)return;c5=requestAnimationFrame(()=>{c5=0,Sz()})}function Oz(){if(Rz)YJ()}function dv(){if(i3||typeof MutationObserver>"u")return;i3=new MutationObserver(($)=>{for(let j of $){let J=j.target;if(J.nodeName==="STYLE"&&!J.hasAttribute("data-devknobs"))YJ();for(let Q of Array.from(j.addedNodes)){let Z=Q.nodeName;if(Z!=="STYLE"&&Z!=="LINK")continue;if(Q.hasAttribute?.("data-devknobs"))continue;if(Z==="LINK")Q.addEventListener("load",YJ,{once:!0});YJ()}}}),i3.observe(document.documentElement,{childList:!0,subtree:!0}),window.addEventListener("resize",Oz)}function lv($,j){let J=W4===null?$:Nz($,W4),Q=j(J);if(J!==$)Object.defineProperty(Q,"media",{configurable:!0,value:$});return Q}function Ez($){if(typeof $!=="number"||!($>0)){Wq();return}qq=!0,W4=$,QJ("text",lv),dv(),Sz()}function Wq(){if(!qq)return;if(W4=null,i3?.disconnect(),i3=null,window.removeEventListener("resize",Oz),c5)cancelAnimationFrame(c5),c5=0;ZJ("text"),Tz(),Gq(),qq=!1}var GJ=6,WJ=72,Yq=16,Tv,Sv,Ov,Ev,W4=null,qq=!1,p5,A6=null,Rz=!1,i3=null,c5=0,VJ;var r3=u(()=>{L8();XJ();Tv={"xx-small":0.6,"x-small":0.75,small:0.8888888888888888,medium:1,large:1.2,"x-large":1.5,"xx-large":2,"xxx-large":3,larger:1.2,smaller:0.8333333333333334,initial:1,inherit:1,unset:1,revert:1,"revert-layer":1},Sv=/(?<![\w.-])(\d*\.?\d+)(rem|em|%)(?![\w-])/gi,Ov=/(?<![\w.-])(\d*\.?\d+)(rem|em)(?![\w-])/gi,Ev=/var\(\s*(--[\w-]+)\s*(?:,\s*([^()]*))?\)/g;p5={value:"",priority:""},VJ=new WeakMap});function yz($){return[...wz.map((j)=>[Fq[j],$[j]]),...kz.map(([j,J])=>[j,$.touch?J:"system"])]}function ov($){return new RegExp(`\\(\\s*${$}\\s*(?::\\s*([a-z-]+)\\s*)?\\)`,"gi")}function tv($,j){if($===void 0||$==="")return j!=="no-preference"&&j!=="none";return $.toLowerCase()===j}function ev($){let j=[],J=0,Q=0;for(let Z=0;Z<$.length;Z++){let X=$[Z];if(X==="(")J++;else if(X===")")J--;else if(X===","&&J===0)j.push($.slice(Q,Z)),Q=Z+1}return j.push($.slice(Q)),j.map((Z)=>Z.trim()).filter((Z)=>Z.length>0)}function $g($,j,J,Q){if(!j)return $;let Z=/^not\s/i.test($);if(Z?J:!J)return nv;return Z?sv:Q}function jg($,j,J){let Q=!1,Z=!0,X=$.replace(ov(j),(V,Y)=>{if(Q=!0,!tv(Y,J))Z=!1;return rv});return $g($,Q,Z,X)}function FJ($,j,J){if(J==="system")return $;if(!$.toLowerCase().includes(j))return $;let Q=ev($);if(Q.length===0)return $;return Q.map((Z)=>jg(Z,j,J)).join(", ")}function zq($,j){let J=$;for(let[Q,Z]of yz(j))J=FJ(J,Q,Z);return J}function Pq($){let j=$.toLowerCase();return av.some((J)=>j.includes(J))}function Iq($){return Uq.get($)??Cq($)??$.media.mediaText}function gz($,j,J){for(let Q=0;Q<$.length;Q++){let Z=$[Q];if(!Z)continue;let X=Z.styleSheet;if(X)hz(X,j,J);let V=Z.media;if(V&&typeof V.mediaText==="string")j(Z);let Y=Z.cssRules;if(Y&&Y!==$)gz(Y,j,J)}}function hz($,j,J){if(J.has($))return;J.add($);let Q=null;try{Q=$.cssRules}catch{return}if(Q)gz(Q,j,J)}function uz(){let $=new Set,j=[...Array.from(document.styleSheets),...document.adoptedStyleSheets??[]];for(let J of j)hz(J,(Q)=>{let Z=Q.media.mediaText,X=Uq.get(Q);if(X===void 0){if(X=Cq(Q)??Z,!Pq(X))return;Uq.set(Q,X)}let V=zq(X,N8);if(V===Z)return;try{Q.media.mediaText=V}catch{}},$)}function bz(){if(d5)return;d5=requestAnimationFrame(()=>{d5=0,uz()})}function Jg(){if(a3||typeof MutationObserver>"u")return;a3=new MutationObserver(($)=>{for(let j of $)for(let J of Array.from(j.addedNodes)){let Q=J.nodeName;if(Q!=="STYLE"&&Q!=="LINK")continue;if(J.hasAttribute?.("data-devknobs"))continue;if(Q==="LINK")J.addEventListener("load",bz,{once:!0});bz()}}),a3.observe(document.documentElement,{childList:!0,subtree:!0})}function mz(){return yz(N8).some(([,$])=>$!=="system")}function Qg($){try{let j=D8(zq($,N8));return HJ?HJ.call(j):j.matches}catch{return!1}}function pz(){for(let $ of Array.from(u4)){let j=$.deref();if(!j){u4.delete($);continue}let J=j.matches;if(J===l5.get(j))continue;l5.set(j,J),j.dispatchEvent(new MediaQueryListEvent("change",{media:j.media,matches:J}))}}function cz($){if(fz){fz($);return}if(!$.isTrusted)return;let j=$.currentTarget;if(!mz()){l5.set(j,$.matches);return}if($.stopImmediatePropagation(),Kq)return;Kq=!0,queueMicrotask(()=>{Kq=!1,pz()})}function BJ($){if(Hq.has($)||!UJ.has($))return;Hq.add($),l5.set($,$.matches),(_q??$.addEventListener).call($,"change",cz)}function Zg($,j){if(UJ.set($,j),l5.set($,$.matches),u4.add(new WeakRef($)),u4.size<xz)return;for(let J of u4)if(!J.deref())u4.delete(J);xz=Math.max(vz,u4.size*2)}function Vg(){let $=MediaQueryList.prototype;n3=new Map(Xg.map((X)=>[X,Object.getOwnPropertyDescriptor($,X)]));let j=$.addEventListener;_q=j,Object.defineProperty($,"addEventListener",{configurable:!0,writable:!0,value:function(...V){if(V[1]&&String(V[0])==="change")BJ(this);j.apply(this,V)}});let J=$.addListener;if(typeof J==="function")Object.defineProperty($,"addListener",{configurable:!0,writable:!0,value:function(...V){if(V[0])BJ(this);J.apply(this,V)}});let Q=n3.get("onchange"),Z=Q?.set;if(Q&&Z)Object.defineProperty($,"onchange",{...Q,set(X){if(X!==null&&X!==void 0)BJ(this);Z.call(this,X)}})}function Yg(){if(!n3)return;let $=MediaQueryList.prototype;for(let[j,J]of n3)if(J)Object.defineProperty($,j,J);else Reflect.deleteProperty($,j);n3=null,_q=null}function qg($,j){let J=j($);if(Pq($))Zg(J,$);return J}function Cg(){if(MJ)return;let $=window,j=$[Bq];$[Bq]=null;let J=j?.release(cz)??[];MJ=!0;for(let{list:X,query:V,heard:Y,guarded:q}of J)if(UJ.set(X,V),l5.set(X,Y),u4.add(new WeakRef(X)),q!==!1)Hq.add(X);QJ("media",qg),Vg();let Q=Object.getOwnPropertyDescriptor(MediaQueryList.prototype,"matches"),Z=Q?.get;if(!Q||!Z)return;KJ=Q,HJ=Z,Object.defineProperty(MediaQueryList.prototype,"matches",{configurable:!0,enumerable:Q.enumerable,get(){if(!mz())return Z.call(this);let X=UJ.get(this)??this.media;return Pq(X)?Qg(X):Z.call(this)}})}function Gg(){let $=document.documentElement;if(s3===null)s3=$.style.getPropertyValue("color-scheme");let j=N8.scheme==="system"?s3:N8.scheme;if(j)$.style.setProperty("color-scheme",j);else $.style.removeProperty("color-scheme");let J=N8.scheme!=="system"&&j!==s3;m5($,"color-scheme",J?$.style.getPropertyValue("color-scheme"):null)}function dz($){let j=$.matchMedia,J={...Mq,touch:!0};$.matchMedia=function(Z){return j.call($,zq(String(Z),J))}}function Dq($){N8=$,Cg(),Jg(),Gg(),uz(),pz()}function Wg(){Dq(Mq)}function Kg(){if(a3?.disconnect(),a3=null,d5)cancelAnimationFrame(d5),d5=0;if(MJ){if(ZJ("media"),Yg(),KJ)Object.defineProperty(MediaQueryList.prototype,"matches",KJ);KJ=null,HJ=null,MJ=!1}s3=null}function lz(){Wg();for(let $ of u4){let j=$.deref();if(j)BJ(j)}Kg(),Reflect.deleteProperty(window,Bq)}var Mq,rv="(min-width: 0px)",sv="all",nv="not all",Fq,wz,kz,av,Bq,Uq,u4,l5,UJ,Hq,vz=256,xz,N8,KJ=null,HJ=null,n3=null,_q=null,MJ=!1,Kq=!1,fz=null,a3=null,d5=0,s3=null,Xg;var o3=u(()=>{L8();XJ();r3();Mq={scheme:"system",motion:"system",contrast:"system",transparency:"system",touch:!1},Fq={scheme:"prefers-color-scheme",motion:"prefers-reduced-motion",contrast:"prefers-contrast",transparency:"prefers-reduced-transparency"},wz=Object.keys(Fq),kz=[["pointer","coarse"],["any-pointer","coarse"],["hover","none"],["any-hover","none"]],av=[...wz.map(($)=>Fq[$]),...kz.map(([$])=>$)];Bq=Symbol.for("devknobs.early"),Uq=new WeakMap,u4=new Set,l5=new WeakMap,UJ=new WeakMap,Hq=new WeakSet,xz=vz,N8=Mq;Xg=["addEventListener","addListener","onchange"]});function Rq($){if(Lq[$])return"safari";if(Nq[$])return"chrome";return null}function PJ($){let j=Rq($);return j?Ug[j]:[]}function O6($,j){let J=PJ($),Q=J[0];if(!Q)return null;return j!=="auto"&&J.includes(j)?j:Q}function U1($,j,J,Q){return{x:$,y:j,width:J,height:Q}}function i5($,j,J,Q,Z=!1){let{width:X,height:V}=q2($,j),Y=U1(0,0,X,V);if(!J||J==="off")return Y;let q=Lq[$.id];if(q){if(Z)return j==="landscape"?U1(q.side,0,X-2*q.side,V):U1(0,q.top,X,V-q.top);if(j==="landscape"){let U=Q?0:T6.landscape;return U1(q.side,U,X-2*q.side,V-U)}let B=q.top;if(J==="top"){let U=B+(Q?T6.topPill:T6.topBar),F=Q?V:V-T6.topBottom;return U1(0,U,X,F-U)}let z=q.faceId?T6.bottom:T6.bottomSe,M=Q?T6.pill:J==="bottom"?z:T6.compact;return U1(0,B,X,V-M-B)}let C=Nq[$.id];if(!C)return Y;let G=Q?0:R8.toolbar;if(j==="landscape"){let B=R8.landscapeTop+G;return U1(0,B,X,V-B)}let W=C.tall??V,K=Q?0:R8.chin,H=W-C.top-G-K;return U1(0,C.top+(J==="top"?G:0),X,H)}function nz($,j,J,Q,Z){if(!Z)return 0;let X=i5($,j,J,Q,!0),V=i5($,j,J,Q);return X.y+X.height-(V.y+V.height)}function S6($,j,J=[]){return{kind:$,...j,radius:Math.min(j.width,j.height)/2,marks:J}}function b1($,j,J){return{glyph:$,x:j,y:J}}function Mg($,j){let J=$.shapes.filter((V)=>V.kind!=="pill"&&V.y>j/2);if($.minimized||J.length===0){let V=[{at:0,alpha:0},{at:12,alpha:0.12},{at:24,alpha:0.35}];return{y:j-24,height:24,stops:V}}let Q=Math.min(...J.map((V)=>V.y))-40,Z=j-Q;return{y:Q,height:Z,stops:[[0,0],[0.33,0.06],[0.6,0.18],[0.8,0.33],[1,0.55]].map(([V,Y])=>({at:Math.round(V*Z),alpha:Y}))}}function Fg($,j){if($>=j)return null;let J=$+(iz[0]?.[0]??0),Q=iz.filter(([Z])=>$+Z<j).map(([Z,X])=>{return{at:$+Z-J,alpha:X}});return{y:J,height:j-J,stops:[...Q,{at:j-J,alpha:Hg}]}}function az($){let j=pj[$]?.front.find((J)=>J.kind==="sensor");if(!j)return null;return{x:j.x+j.width/2,y:j.y+j.height/2,width:j.width}}function sz($,j){return{kind:"pill",x:$/2,y:j,width:0,height:32,radius:16,marks:[],text:{x:$/2,y:j+16,size:A8.pill}}}function zJ($,j,J,Q){let Z=j.y+j.height/2;return{...S6($,j,[b1("page",j.x+J,Z),b1("reload",j.x+j.width-Q,Z)]),text:{x:j.x+j.width/2,y:Z,size:A8.field}}}function _g($,j,J,Q,Z){let{width:X,height:V}=q2($,J),Y={platform:"safari",layout:Q,screen:$,orientation:J,minimized:Z,status:null,shapes:[],chin:null,hairline:null,fade:null,edge:!1};if(J==="landscape"){if(Z)return Y;let H=j.side,B=10,z=(F,P)=>U1(F,B,P,44),M=z(X-H-10-132,132),U=B+22;return Y.shapes=[S6("glass",z(H+10,44),[b1("back",H+32,U)]),S6("glass",z(H+66,44),[b1("bookmarks",H+88,U)]),zJ("glass",z((X-318)/2,318),24,22),S6("glass",M,[b1("share",M.x+22,U),b1("plus",M.x+66,U),b1("tabs",M.x+110,U)])],Y}Y.status=Ig($.id,j,X);let q=i5($,J,Q,Z);Y.fade=Fg(q.y+q.height,V);let C=j.top;if(Z)return Y.shapes=[Q==="top"?sz(X,C):sz(X,V-46)],Y;if(Q==="compact"){let H=V-82,B=H+24;return Y.shapes=[S6("glass",U1(34,H,48,48),[b1("back",58,B)]),zJ("glass",U1(90,H,X-180,48),24,22),S6("glass",U1(X-82,H,48,48),[b1("more",X-58,B)])],Y}if(Q==="bottom"){let H=j.faceId?14:8,B=U1(H,V-H-128,X-2*H,128),z=U1(B.x+22,B.y+16,B.width-44,48),M=B.y+92;return Y.shapes=[{kind:"card",...B,radius:40,marks:rz.map((U,F)=>{return b1(U,B.x+B.width*(zg[F]??0),M)})},zJ("field",z,18,16)],Y}let G=U1(16,C,X-32,44),W=U1(28,V-76,X-56,48),K=W.y+24;return Y.shapes=[zJ("glass",G,23,18),S6("glass",W,rz.map((H,B)=>b1(H,W.x+W.width*(Pg[B]??0),K)))],Y}function Ig($,j,J){let Q=az($);if(!j.faceId)return{height:j.top,time:{x:J/2,y:10,size:15},icons:{x:6,y:10,align:"start"},battery:{x:J-7,y:10}};if(!Q){let X=j.top/2+2;return{height:j.top,time:{x:58,y:X,size:17},icons:{x:J-36,y:X,align:"end"}}}let Z=Q.x-Q.width/2;if(Z>J/2)return{height:j.top,time:{x:52,y:Q.y,size:17},icons:{x:Z-12,y:Q.y,align:"end"}};return{height:j.top,time:{x:Z*0.535,y:Q.y,size:17},icons:{x:J-35.4,y:Q.y,align:"end"}}}function Dg($,j,J,Q){let X=(Q==="portrait"?az($):null)?.y??j/2,V=Q==="portrait"?26:56;return{height:j,time:{x:V,y:X,size:14},icons:{x:J-V,y:X,align:"end"}}}function Lg($,j,J,Q,Z){let{width:X,height:V}=q2($,J),Y=J==="portrait",q=Y?j.top:R8.landscapeTop,C=i5($,J,Q,Z),G={platform:"chrome",layout:Q,screen:$,orientation:J,minimized:Z,status:Dg($.id,q,X,J),shapes:[],chin:null,hairline:null,fade:null,edge:!1};if(Z)return G;let W=Q==="top"||!Y,K=W?q:C.y+C.height,H=U1(0,K,X,R8.toolbar),B=K+R8.toolbar,z=W?C.y+C.height:B;G.chin=Y?U1(0,z,X,V-z):null,G.hairline=U1(0,W?B:K,X,1);let M=K+R8.toolbar/2,U=X-8-24,F=U-48,P=F-24-26,D=52,_=P-26-4,S=U1(D,M-20,_-D,40);return G.shapes=[{kind:"toolbar",...H,radius:0,marks:[b1("home",24,M),b1("plus",P,M),b1("switcher",F,M),b1("menu",U,M)]},{...S6("field",S,[b1("tune",S.x+4+14,M)]),text:{x:S.x+4+28+4,y:M,size:16}}],G}function r5($,j,J,Q,Z=!1){if(!J||J==="off")return null;let X=Lq[$.id];if(X){let Y=_g($,X,j,J,Q);if(!Z)return Y;let{height:q}=q2($,j);return{...Y,edge:Z,fade:j==="portrait"?Mg(Y,q):null}}let V=Nq[$.id];if(V)return Lg($,V,j,J,Q);return null}function oz($,j){if(j.type==="navigate")return Aq;if(j.type==="tap")return{...$,minimized:!1,anchor:$.y};if(j.type==="resize")return{...$,lockUntil:j.time+Tg};let{y:J,time:Q}=j;if(Q<$.lockUntil)return{...$,y:J,anchor:J};if(J<=Ag)return{...$,minimized:!1,y:J,anchor:J};if($.minimized){let X=Math.max($.anchor,J);if(X-J>=Rg)return{...$,minimized:!1,y:J,anchor:J};return{...$,y:J,anchor:X}}let Z=Math.min($.anchor,J);if(J-Z>=Ng)return{...$,minimized:!0,y:J,anchor:J};return{...$,y:J,anchor:Z}}var Ug,Lq,Nq,T6,R8,iz,Hg=0.92,A8,zg,Pg,rz,Ng=16,Rg=40,Ag=1,Tg=450,Aq;var T8=u(()=>{W1();TY();Ug={safari:["compact","bottom","top","off"],chrome:["top","bottom","off"]},Lq={"iphone-18-pro":{top:62,side:62,faceId:!0},"iphone-18-pro-max":{top:62,side:62,faceId:!0},"iphone-duo-closed":{top:82,side:82,faceId:!0},"iphone-duo-open":{top:40,side:24,faceId:!0},"iphone-air":{top:68,side:68,faceId:!0},"iphone-17":{top:62,side:62,faceId:!0},"iphone-17-pro":{top:62,side:62,faceId:!0},"iphone-17-pro-max":{top:62,side:62,faceId:!0},"iphone-16":{top:59,side:59,faceId:!0},"iphone-16-plus":{top:59,side:59,faceId:!0},"iphone-16-pro":{top:62,side:62,faceId:!0},"iphone-16-pro-max":{top:62,side:62,faceId:!0},"iphone-se":{top:20,side:0,faceId:!1}},Nq={"pixel-10":{top:69,tall:923},"pixel-10-pro":{top:69},"pixel-10-pro-xl":{top:70,tall:997},"pixel-10a":{top:68,tall:923},"pixel-9":{top:66,tall:923},"pixel-9-pro":{top:68},"pixel-9-pro-xl":{top:66,tall:997}},T6={compact:98,bottom:158,bottomSe:152,topBar:60,topBottom:92,pill:58,topPill:44,landscape:64},R8={toolbar:56,chin:24,landscapeTop:24};iz=[[-64,0],[-52,0.05],[-40,0.12],[-28,0.24],[-18,0.4],[-9,0.6],[0,0.85]];A8={field:17,pill:13},zg=[0.1032,0.3056,0.4965,0.6925,0.8872],Pg=[0.0884,0.2986,0.4962,0.6994,0.9012],rz=["back","forward","share","bookmarks","tabs"];Aq={minimized:!1,anchor:0,y:0,lockUntil:0}});function QP($){return $.split(".")[0]??$}function _J($,j=!1){let J=`Chrome/${QP("154.0.8037.98")}.0.0.0 ${j?"Mobile ":""}Safari/537.36`;return`Mozilla/5.0 (${$}) AppleWebKit/537.36 (KHTML, like Gecko) ${J}`}function t3($,j){let J=[{brand:"Chromium",version:"154.0.8037.98"},Sg,...$?[$]:[]];return{brands:J.map(({brand:Q,version:Z})=>({brand:Q,version:QP(Z)})),hints:{...j,fullVersionList:J,uaFullVersion:$?.version??"154.0.8037.98"}}}function T2($){return s5.find((j)=>j.id===$)}function O8($){if($.preset==="custom")return $.custom.trim();return T2($.preset)?.userAgent??""}function Og($){return $.replace(/^Mozilla\//,"")}function Eg($){return typeof $==="object"&&$!==null&&"originals"in $}function Oq($){let j=Reflect.get($,$P);if(Eg(j))return j;let J={originals:null};return Reflect.set($,$P,J),J}function VP($){let j=Reflect.get($,"Navigator");return typeof j==="function"?j.prototype:null}function S8($,j,J){Object.defineProperty($,j,{configurable:!0,enumerable:!0,get:()=>J})}function Sq($,j,J){let Q=$.originals?.get(J);if(Q)Object.defineProperty(j,J,Q);else Reflect.deleteProperty(j,J)}function jP($){return $.map(({brand:j,version:J})=>({brand:j,version:J}))}function JP($,j){let J=Object.freeze($.brands.map((q)=>Object.freeze({...q}))),Q=()=>({brands:jP(J),mobile:$.mobile,platform:$.uaPlatform}),Z=$.hints,X=()=>({architecture:Z?.architecture??"",bitness:Z?.bitness??"",fullVersionList:jP(Z?.fullVersionList??[]),model:Z?.model??"",platformVersion:Z?.platformVersion??"",uaFullVersion:Z?.uaFullVersion??""}),V=Reflect.get(j,"NavigatorUAData"),Y=typeof V==="function"?V.prototype:Object.prototype;return Object.create(Y,{brands:{enumerable:!0,get:()=>J},mobile:{enumerable:!0,get:()=>$.mobile},platform:{enumerable:!0,get:()=>$.uaPlatform},getHighEntropyValues:{value:(q)=>{try{let C=Q(),G=X();for(let W of Array.from(q,String))if(Object.hasOwn(G,W))C[W]=G[W];return Promise.resolve(C)}catch(C){return Promise.reject(C)}}},toJSON:{value:Q}})}function IJ($,j=globalThis){let J=VP(j),Q=$.preset==="custom"?void 0:T2($.preset),Z=O8($);if(!J||Z===""){Eq(j);return}let X=Oq(j);if(X.originals??=new Map(XP.map((V)=>[V,Object.getOwnPropertyDescriptor(J,V)])),S8(J,"userAgent",Z),S8(J,"appVersion",Q?.appVersion??Og(Z)),!Q){for(let V of["platform","vendor","maxTouchPoints"])Sq(X,J,V);if(X.originals.get("userAgentData"))S8(J,"userAgentData",JP(xg,j));else Sq(X,J,"userAgentData");return}if(S8(J,"platform",Q.platform),S8(J,"vendor",Q.vendor),S8(J,"maxTouchPoints",Q.maxTouchPoints),Q.brands.length>0)S8(J,"userAgentData",JP(Q,j));else Reflect.deleteProperty(J,"userAgentData")}function fg(){let $=Oq(globalThis).originals?.get("platform")?.get;try{return String($?$.call(navigator):navigator.platform)}catch{return""}}function YP(){return/mac|iphone|ipad|ipod/i.test(fg())}function Eq($=globalThis){let j=Oq($),J=VP($);if(!j.originals)return;if(J)for(let Q of XP)Sq(j,J,Q);j.originals=null}var Sg,Tq,ZP,tz,ez="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Safari/605.1.15",s5,XP,$P,xg;var m4=u(()=>{Sg={brand:"Not/A)Brand",version:"24.0.0.0"};Tq={brand:"Google Chrome",version:"154.0.8037.98"},ZP={model:"",bitness:"64"},tz={...ZP,platformVersion:"19.0.0",architecture:"x86"},s5=[{id:"iphone-safari",label:"iPhone Safari",userAgent:"Mozilla/5.0 (iPhone; CPU iPhone OS 18_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/27.0 Mobile/15E148 Safari/604.1",platform:"iPhone",vendor:"Apple Computer, Inc.",mobile:!0,brands:[],uaPlatform:"iOS",maxTouchPoints:5},{id:"android-chrome",label:"Android Chrome",userAgent:_J("Linux; Android 10; K",!0),platform:"Linux armv81",vendor:"Google Inc.",mobile:!0,uaPlatform:"Android",maxTouchPoints:5,...t3(Tq,{platformVersion:"16.0.0",model:"Pixel 10",architecture:"",bitness:""})},{id:"ipad-safari",label:"iPad Safari",userAgent:ez,platform:"MacIntel",vendor:"Apple Computer, Inc.",mobile:!1,brands:[],uaPlatform:"iOS",maxTouchPoints:5},{id:"mac-safari",label:"Mac Safari",userAgent:ez,platform:"MacIntel",vendor:"Apple Computer, Inc.",mobile:!1,brands:[],uaPlatform:"macOS",maxTouchPoints:0},{id:"mac-chrome",label:"Mac Chrome",userAgent:_J("Macintosh; Intel Mac OS X 10_15_7"),platform:"MacIntel",vendor:"Google Inc.",mobile:!1,uaPlatform:"macOS",maxTouchPoints:0,...t3(Tq,{...ZP,platformVersion:"26.7.1",architecture:"arm"})},{id:"windows-chrome",label:"Windows Chrome",userAgent:_J("Windows NT 10.0; Win64; x64"),platform:"Win32",vendor:"Google Inc.",mobile:!1,uaPlatform:"Windows",maxTouchPoints:0,...t3(Tq,tz)},{id:"windows-edge",label:"Windows Edge",userAgent:`${_J("Windows NT 10.0; Win64; x64")} Edg/154.0.4258.53`,platform:"Win32",vendor:"Google Inc.",mobile:!1,uaPlatform:"Windows",maxTouchPoints:0,...t3({brand:"Microsoft Edge",version:"154.0.4258.53"},tz)},{id:"linux-firefox",label:"Linux Firefox",userAgent:"Mozilla/5.0 (X11; Linux x86_64; rv:157.0) Gecko/20100101 Firefox/157.0",platform:"Linux x86_64",vendor:"",mobile:!1,brands:[],uaPlatform:"Linux",maxTouchPoints:0,appVersion:"5.0 (X11)"},{id:"googlebot",label:"Googlebot",userAgent:"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/154.0.8037.98 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)",platform:"Linux armv81",vendor:"Google Inc.",mobile:!0,uaPlatform:"Android",maxTouchPoints:1,...t3(null,{platformVersion:"6.0.1",model:"Nexus 5X",architecture:"",bitness:""})}];XP=["userAgent","appVersion","platform","vendor","maxTouchPoints","userAgentData"],$P=Symbol.for("devknobs.ua");xg={brands:[],mobile:!1,uaPlatform:""}});function wg($){if($.panel.docked||$.frame||$.vision!=="none"||$.zoom!=="fit")return!0;let j=n0($.device);if(!j)return!1;if(j.postures)return!0;let J=u2($.device,$.posture);if($.mock&&O5(J,$.orientation)!==null)return!0;let Q=O6(J,$.browser);return Q!==null&&Q!=="off"}function LJ($){if(!k4($)||wg($))return null;let j=n0($.device),J=j?.touch===!0;return{width:typeof $.width==="number"?$.width:null,height:typeof $.height==="number"?$.height:null,dpr:typeof $.dpr==="number"?$.dpr:null,mobile:j?.kind==="phone"||j?.kind==="tablet",touch:J,touchPointer:J&&$.touchPointer}}function kg($){let j=T2($.preset);if(j){let{userAgent:Q,platform:Z,mobile:X,brands:V,uaPlatform:Y,hints:q}=j;return{userAgent:Q,platform:Z,mobile:X,brands:V,uaPlatform:Y,...q?{hints:q}:{}}}let J=O8($);return J===""?null:{userAgent:J,platform:"",mobile:!1,brands:[],uaPlatform:""}}function GP($,j){if(!j)return $;let J=$;if(j.text)J={...J,text:"system"};if(j.offline)J={...J,network:{...J.network,online:"system"}};if(j.media)J={...J,...CP};return J}function WP($,j){if(!j?.viewport||!LJ($))return $;return{...$,width:"full",height:"full",dpr:"system"}}function n5(){return KP}function NJ($){KP=$}function RJ(){return DJ}function K4($,j,J){let Q=$[j];if(!Q)return;let Z=JSON.stringify(J);if(e3.get(j)===Z)return;e3.set(j,Z);let X=xq(Q(J))?.then(()=>{if(DJ===X)DJ=null});if(X)DJ=X}function xq($){if(!($ instanceof Promise))return null;return Promise.race([$.then(()=>{},()=>{}),new Promise((j)=>setTimeout(j,bg))])}function BP($,j){K4($,"text",j.text),K4($,"offline",j.network.online==="offline");let{scheme:J,motion:Q,contrast:Z,transparency:X}=j;if(K4($,"media",{scheme:J,motion:Q,contrast:Z,transparency:X}),$.viewport)K4($,"viewport",LJ(j));fq($,j)}function fq($,j){if($.ua)K4($,"ua",kg(j.ua))}function bq($,j=!0){if(e3.size===0)return;if(K4($,"text","system"),K4($,"offline",!1),K4($,"media",CP),K4($,"viewport",null),j)K4($,"ua",null);for(let J of Array.from(e3.keys()))if(j||J!=="ua")e3.delete(J)}var bg=2000,CP,KP=!0,e3,DJ=null;var AJ=u(()=>{T8();W1();K1();dj();m4();CP={scheme:"system",motion:"system",contrast:"system",transparency:"system"};e3=new Map});function $9($,j,J){Object.defineProperty($,j,{configurable:!0,enumerable:!0,get:()=>J});let Q=j9.get($)??new Set;Q.add(j),j9.set($,Q)}function wq($,j){if(j9.get($)?.delete(j))Reflect.deleteProperty($,j)}function gg(){let $=navigator.connection;return $ instanceof EventTarget?$:null}function HP($){return yg.map((j)=>String(Reflect.get($,j))).join()}function kq($){let j=navigator.onLine;if($.online==="offline")$9(navigator,"onLine",!1);else wq(navigator,"onLine");if(navigator.onLine!==j)window.dispatchEvent(new Event(navigator.onLine?"online":"offline"));let J=gg();if(!J)return;let Q=HP(J);if($.type==="system")for(let Z of["effectiveType","rtt","downlink"])wq(J,Z);else $9(J,"effectiveType",$.type),$9(J,"rtt",UP[$.type].rtt),$9(J,"downlink",UP[$.type].downlink);if($.saveData==="system")wq(J,"saveData");else $9(J,"saveData",$.saveData==="on");if(HP(J)!==Q)J.dispatchEvent(new Event("change"))}function MP(){if(j9.size>0)kq(vg);j9.clear()}var UP,yg,vg,j9;var FP=u(()=>{UP={"slow-2g":{rtt:2000,downlink:0.05},"2g":{rtt:1400,downlink:0.07},"3g":{rtt:270,downlink:0.7},"4g":{rtt:50,downlink:10}},yg=["effectiveType","rtt","downlink","saveData"],vg={online:"system",type:"system",saveData:"system"},j9=new Map});function yq($){return $.nodeType===9}function ug($){return yq($)?$:$.ownerDocument??document}function DP($){let J=(yq($)?$:$.ownerDocument)?.defaultView?.CSSStyleSheet;if(typeof J!=="function"||typeof J.prototype.replaceSync!=="function")return null;return"adoptedStyleSheets"in $?J:null}function TJ($){return"nodeType"in $?$:null}function LP($){return Reflect.get($,_P)===!0}function NP($,j){let J=PP.get(j);if(J)return J;let Q={get textContent(){let Z=Reflect.get(j,zP);return typeof Z==="string"?Z:""},set textContent(Z){Reflect.set(j,zP,Z??""),j.replaceSync(Z??"")},sheet:j,remove(){$.adoptedStyleSheets=$.adoptedStyleSheets.filter((Z)=>Z!==j)}};return PP.set(j,Q),Q}function RP($,j,J){let Q=new j;if(Reflect.set(Q,_P,!0),J!==void 0)Reflect.set(Q,IP,J);return $.adoptedStyleSheets=[...$.adoptedStyleSheets,Q],NP($,Q)}function y1($,j){let J=DP($);if(J){let Z=RP($,J);return Z.textContent=j,Z}let Q=ug($).createElement("style");if(Q.textContent=j,yq($))($.head??$.documentElement).appendChild(Q);else $.append(Q);return Q}function J9($,j=document){let J="adoptedStyleSheets"in j?j.adoptedStyleSheets.find((Q)=>Reflect.get(Q,IP)===$):void 0;return J?NP(j,J):j.querySelector(`style[data-devknobs="${$}"]`)}function N1($,j=document){let J=J9($,j);if(J)return J;let Q=DP(j);if(Q)return RP(j,Q,$);let Z=j.createElement("style");return Z.setAttribute("data-devknobs",$),(j.head??j.documentElement).appendChild(Z),Z}function v1($,j=document){J9($,j)?.remove()}var _P,IP,zP,PP;var g1=u(()=>{_P=Symbol.for("devknobs.own"),IP=Symbol.for("devknobs.name"),zP=Symbol.for("devknobs.text"),PP=new WeakMap});function TP($){if(!$){vq();return}N1(AP).textContent="body *:not([data-devknobs],[data-devknobs] *){outline:1px solid rgba(127,127,127,.5)!important}"}function vq(){v1(AP)}var AP="outlines";var SP=u(()=>{g1()});function E8($){let j=$;while(j){if(j instanceof Element&&j.closest("[data-devknobs]"))return!0;let J=j.getRootNode();j=J instanceof ShadowRoot?J.host:null}return!1}function Q9($){let j=[document];for(let J=j.pop();J;J=j.pop())for(let Q of Array.from(J.querySelectorAll("*"))){if(Q.hasAttribute("data-devknobs"))continue;if($(Q),Q.shadowRoot)j.push(Q.shadowRoot)}}function SJ(){let $=[];return Q9((j)=>{if(j.shadowRoot)$.push(j.shadowRoot)}),$}function wJ(){return OJ}function kJ($){return uq.add($),()=>{uq.delete($)}}function OP($){if($===OJ)return;OJ=$;for(let j of Array.from(uq))j(OJ)}function bJ($){if($.assignedSlot)return $.assignedSlot;if($.parentElement)return $.parentElement;let j=$.getRootNode();return j instanceof ShadowRoot?j.host:null}function lg($){let j=document.documentElement,J=getComputedStyle(j),Q=J.overflowX==="visible"&&J.overflowY==="visible"?document.body:j;for(let Z=bJ($);Z;Z=bJ(Z)){let X=getComputedStyle(Z).overflowX;if(Z===j||Z===Q){if(X==="hidden"||X==="clip")return!0;continue}if(X!=="visible")return!0}return!1}function ig($,j,J,Q){for(let Z=bJ($);Z;Z=bJ(Z)){let X=Z.getBoundingClientRect();if(X.width===0&&X.height===0)continue;return J&&j.right>X.right+EJ||Q&&j.left<X.left-EJ}return!0}function rg(){let $=document.documentElement.clientWidth,j=[];return Q9((J)=>{let Q=J.getBoundingClientRect();if(Q.width===0&&Q.height===0)return;let Z=Q.right+window.scrollX>$+EJ,X=Q.left+window.scrollX<-EJ;if(!Z&&!X)return;if(!ig(J,Q,Z,X)||lg(J))return;j.push({element:J,rect:Q})}),j}function sg($,j){let J=document.documentElement.clientWidth;if($.length===0){if(j>0&&!hq)hq=!0,console.warn(`devknobs: the page scrolls ${j}px past the ${J}px viewport, but no element box sticks out. a pseudo-element or a margin, maybe`);return}if($.every(({element:Q})=>gq.has(Q)))return;for(let{element:Q}of $)gq.add(Q);console.warn(ng($.length,J,j),$.map(({element:Q})=>Q))}function ng($,j,J){return`devknobs: ${$===1?"1 element sticks":`${$} elements stick`} out of the ${j}px viewport, the page scrolls ${J}px sideways`}function ag($){if(!X9)return;let j=$.map(({rect:Q})=>{let Z=document.createElement("div");return Z.className="mark",Z.style.cssText=`left:${Q.left}px;top:${Q.top}px;width:${Q.width}px;height:${Q.height}px`,Z}),J=xJ&&TJ(xJ);X9.replaceChildren(...J?[J]:[],...j)}function EP(){if(!i2)return;let $=document.documentElement,j=rg();ag(j),sg(j,Math.max(0,$.scrollWidth-$.clientWidth)),OP(j.length)}function V9(){if(a5||!i2)return;a5=requestAnimationFrame(()=>{a5=0,EP()})}function og($){if(Z9||$.every((j)=>E8(j.target)))return;Z9=window.setTimeout(()=>{Z9=0,V9()},cg)}function mq(){if(i2||!document.body)return;i2=document.createElement("div"),i2.setAttribute("data-devknobs","overflow"),i2.style.cssText=`position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:${pg}`,X9=i2.attachShadow({mode:"open"}),xJ=y1(X9,dg),document.body.append(i2),window.addEventListener("resize",V9),window.addEventListener("scroll",V9,!0),fJ=new MutationObserver(og),fJ.observe(document.documentElement,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),EP()}function xP($){if(!$){pq();return}if(document.body)mq();else document.addEventListener("DOMContentLoaded",mq,{once:!0})}function pq(){if(document.removeEventListener("DOMContentLoaded",mq),!i2)return;if(window.removeEventListener("resize",V9),window.removeEventListener("scroll",V9,!0),fJ?.disconnect(),fJ=null,a5)cancelAnimationFrame(a5),a5=0;clearTimeout(Z9),Z9=0,i2.remove(),i2=null,X9=null,xJ=null,gq=new WeakSet,hq=!1,OP(0)}var pg=2147483644,cg=250,EJ=0.5,dg=`
5
+ .mark {
6
+ position: absolute;
7
+ box-sizing: border-box;
8
+ border: 1px solid #e5484d;
9
+ background: rgba(229, 72, 77, 0.12);
10
+ }
11
+ `,i2=null,X9=null,xJ=null,fJ=null,a5=0,Z9=0,OJ=0,gq,hq=!1,uq;var cq=u(()=>{g1();gq=new WeakSet,uq=new Set});function Jh($){let j=$.trim();if(!jh.test(j))return $;let J=$.indexOf(j),Q="";for(let X of j)Q+=$h.get(X)??X;let Z="·".repeat(Math.ceil(j.length*0.35));return`${$.slice(0,J)}[${Q} ${Z}]${$.slice(J+j.length)}`}function uJ($){if(!$)return!0;return $.isContentEditable||$.closest("script,style,noscript,textarea,option:not([value]),[data-devknobs]")!==null}function bP($){let j=$;if(!j.includes("·]"))return j;for(let[J,Q]of dq)if(j.includes(J))j=j.split(J).join(Q);return j}function wP($){let j=Jh($);if(j!==$)dq.set(j.trim(),$.trim());return j}function lq($){let j=yJ.get($);if(j&&$.data===j.pseudo)return;let J=bP($.data),Q=wP(J);if(Q===J)return;if(!j)gJ.add(new WeakRef($));yJ.set($,{original:J,pseudo:Q}),$.data=Q}function kP($,j){let J=$.getAttribute(j);if(J===null)return;let Q=vJ.get($),Z=Q?.get(j);if(Z&&J===Z.pseudo)return;let X=bP(J),V=wP(X);if(V===X)return;if(!Q)Q=new Map,vJ.set($,Q),gJ.add(new WeakRef($));Q.set(j,{original:X,pseudo:V}),$.setAttribute(j,V)}function Qh($,j){let J=document.createTreeWalker($,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,{acceptNode:(Q)=>Q.nodeType===Node.ELEMENT_NODE&&(Q.isContentEditable||Q.matches("script,style,noscript,textarea,option:not([value]),[data-devknobs]"))?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});j($);for(let Q=J.nextNode();Q;Q=J.nextNode())j(Q)}function Zh($){if($.nodeType===Node.TEXT_NODE)lq($);else for(let j of fP)kP($,j)}function yP($){if($.nodeType===Node.TEXT_NODE){if(!uJ($.parentElement))lq($);return}if($.nodeType!==Node.ELEMENT_NODE||uJ($))return;Qh($,Zh)}function Xh($){if($.nodeType===Node.TEXT_NODE){let Q=$,Z=yJ.get(Q);if(Z&&Q.data===Z.pseudo)Q.data=Z.original;yJ.delete(Q);return}let j=$,J=vJ.get(j);if(!J)return;for(let[Q,Z]of J)if(j.getAttribute(Q)===Z.pseudo)j.setAttribute(Q,Z.original);vJ.delete(j)}function Vh($){for(let j of $)if(j.type==="childList")for(let J of Array.from(j.addedNodes))yP(J);else if(j.type==="characterData"){let J=j.target;if(!uJ(J.parentElement))lq(J)}else if(j.attributeName){let J=j.target;if(!uJ(J))kP(J,j.attributeName)}Y9?.takeRecords()}function Yh(){o5=null;let $=document.body;if(!$)return;hJ=!0,yP($),Y9=new MutationObserver(Vh),Y9.observe($,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:fP})}function qh($){let j=0,J=0,Q=()=>{if(typeof requestIdleCallback==="function")j=requestIdleCallback($,{timeout:1000});else J=window.setTimeout($,200)};if(document.readyState==="complete")Q();else window.addEventListener("load",Q,{once:!0});return()=>{if(window.removeEventListener("load",Q),j)cancelIdleCallback(j);clearTimeout(J)}}function vP($){if(!$){iq();return}if(hJ||o5)return;o5=qh(Yh)}function gP(){return o5!==null}function iq(){if(o5?.(),o5=null,!hJ)return;hJ=!1,Y9?.disconnect(),Y9=null;for(let $ of gJ){let j=$.deref();if(j)Xh(j)}gJ.clear(),dq.clear()}var eg,$h,fP,jh,yJ,vJ,dq,gJ,hJ=!1,Y9=null,o5=null;var hP=u(()=>{eg=Array.from("áƀçðéƒĝĥîĵķļɱñöþǫŕšţûṽŵẋýžÅƁÇÐÉƑĜĤÎĴĶĻṀÑÖÞǪŔŜŢÛṼŴẊÝŽ"),$h=new Map(Array.from("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",($,j)=>[$,eg[j]??$])),fP=["placeholder","title","aria-label","alt"],jh=/\p{L}/u;yJ=new WeakMap,vJ=new WeakMap,dq=new Map,gJ=new Set});function uP($,j,J,Q,Z=1e4){return new Promise((X,V)=>{let Y=()=>Error("devknobs: not mounted");if(!Q()){V(Y());return}let q=0,C=()=>{window.cancelAnimationFrame(q),window.clearTimeout(W)},G=()=>{if(j())return C();if(!Q()){C(),V(Y());return}if(!$()){q=window.requestAnimationFrame(G);return}C(),X(J())},W=window.setTimeout(()=>{if(C(),j())return;if(!Q())V(Y());else if($())X(J());else V(Error("devknobs: not settled after 10 seconds"))},Z);q=window.requestAnimationFrame(G)})}function rq($){let j=$.effect;return j instanceof KeyframeEffect?j.target:null}function mJ($){return $.timeline instanceof DocumentTimeline}function pJ($=SJ()){let j=new Set,J=[document,...$];for(let Q of J){if(typeof Q.getAnimations!=="function")continue;for(let Z of Q.getAnimations())j.add(Z)}return Array.from(j).filter((Q)=>!E8(rq(Q)))}var sq=()=>{};function pP($,j){return`${$} ${j}`}function Kh($){let j=new Map;for(let J of $){let Q=rq(J);if(!Q||!(J instanceof CSSAnimation))continue;let Z=J.effect.pseudoElement??"",X=j.get(Q)??new Set;X.add(pP(Z,J.animationName)),j.set(Q,X)}return j}function Bh($,j,J){let Q=getComputedStyle($,j||null);if(Q.animationName==="none")return!1;let Z=Q.getPropertyValue("animation-timeline");if(Z&&Z.split(",").some((X)=>X.trim()!=="auto"))return!1;return Q.animationName.split(",").map((X)=>X.trim()).some((X)=>X!=="none"&&!J?.has(pP(j,X)))}function Uh($){let j=[],J=new Set;if(Q9((Z)=>{let X=$.get(Z),V=mP.filter(([Y])=>Bh(Z,Y,X)).map(([,Y])=>Y);if(V.length===0)return;Z.setAttribute(nq,V.join(" ")),j.push(Z),J.add(Z.getRootNode())}),j.length===0)return;let Q=Array.from(J,(Z)=>y1(Z,Wh));document.documentElement.offsetHeight;for(let Z of Q)Z.remove();for(let Z of j)Z.removeAttribute(nq)}function aq(){let $=pJ(),j=Kh($);for(let J of $){if(!mJ(J))continue;J.cancel(),J.play()}Uh(j)}var nq="data-devknobs-replay",mP,Gh,Wh;var cP=u(()=>{sq();g1();mP=[["","self"],["::before","before"],["::after","after"]],Gh=mP.map(([$,j])=>`[${nq}~="${j}"]${$}`).join(","),Wh=`${Gh}{animation:none!important}`});function lP($){if(!$){tq();return}N1(cJ).textContent=oq}function dP($){if($.documentElement){N1(cJ,$).textContent=oq;return}let j=new MutationObserver(()=>{if(!$.documentElement)return;j.disconnect(),N1(cJ,$).textContent=oq});j.observe($,{childList:!0})}function iP($){let j=$.document;if(!j)return;if(j.URL!=="about:blank"){dP(j);return}let J=performance.now()+Hh,Q=new MessageChannel;Q.port1.onmessage=()=>{let Z=null;try{Z=$.document}catch{}if(Z&&Z!==j)dP(Z);else if(Z&&performance.now()<J){Q.port2.postMessage(null);return}Q.port1.close()},Q.port2.postMessage(null)}function tq(){v1(cJ)}var cJ="scrollbars",Hh=1000,oq="*{scrollbar-width:none!important}::-webkit-scrollbar{display:none!important}";var eq=u(()=>{g1()});function aP($){if(!$){$C();return}N1(nP).textContent=Mh}function $C(){v1(nP)}var nP="spacing",sP=":not([data-devknobs],[data-devknobs] *)",Mh;var oP=u(()=>{g1();Mh=`*${sP}{line-height:1.5!important;letter-spacing:.12em!important;word-spacing:.16em!important}p${sP}{margin-bottom:2em!important}`});function nJ($,j){if(typeof $.updatePlaybackRate==="function")$.updatePlaybackRate(j);else $.playbackRate=j}function ZC($){if(f8.has($)||!mJ($))return;let j=$.playbackRate;f8.set($,j),nJ($,j*p4)}function Ph($){for(let[j,J]of f8){if($.has(j))continue;nJ(j,J),f8.delete(j)}}function tP(){return window.gsap?.globalTimeline??null}function _h(){let $=tP();if(!$)return;if(t5===null){let j=Number($.timeScale());t5=Number.isFinite(j)?j:1}if(QC===p4)return;$.timeScale(t5*p4),QC=p4}function Ih(){let $=tP();if($&&t5!==null)$.timeScale(t5);t5=null,QC=1}function eP($){if($)jC=SJ();let j=pJ(jC);for(let J of j)ZC(J);if($)Ph(new Set(j));_h()}function $_($){x8=requestAnimationFrame($_);let j=$-JC>=zh;if(j)JC=$;eP(j)}function iJ($){let j=$.target;if(!(j instanceof Element)||E8(j))return;for(let J of j.getAnimations({subtree:$.pseudoElement!==""}))ZC(J)}function Dh(){if(q9)return;let $=Element.prototype.animate;dJ=$,q9=function(...J){let Q=$.apply(this,J);if(p4!==1&&!E8(this))ZC(Q);return Q},Element.prototype.animate=q9}function Lh(){if(dJ&&Element.prototype.animate===q9)Element.prototype.animate=dJ;dJ=null,q9=null}function j_($){let j=Number.isFinite($)&&$>=0?$:1;if(j===1){XC();return}if(j===p4&&x8)return;p4=j;for(let[J,Q]of f8)nJ(J,Q*p4);if(Dh(),!lJ)window.addEventListener("animationstart",iJ,!0),window.addEventListener("transitionrun",iJ,!0),lJ=!0;if(JC=performance.now(),eP(!0),!x8)x8=requestAnimationFrame($_)}function XC(){if(p4=1,x8)cancelAnimationFrame(x8),x8=0;if(lJ)window.removeEventListener("animationstart",iJ,!0),window.removeEventListener("transitionrun",iJ,!0),lJ=!1;Lh();for(let[$,j]of f8)nJ($,j);f8.clear(),jC=[],Ih()}var rJ=0,sJ=16,zh=500,p4=1,f8,jC,JC=0,x8=0,lJ=!1,dJ=null,q9=null,t5=null,QC=1;var aJ=u(()=>{sq();f8=new Map,jC=[]});function k8($){let j=Q_.get($);if(j===void 0){try{j=new KC("en-US",{timeZone:$}).resolvedOptions().timeZone}catch{j=null}Q_.set($,j)}return j}function $Q($,j){if($==="system")return null;let J=$==="geo"?F3(j)?.timeZone:$;return J?k8(J):null}function Ah($){let j=Z_.get($);if(j===void 0){try{j=new KC("en-US",{timeZone:$,timeZoneName:"longOffset"})}catch{j=null}Z_.set($,j)}return j}function CC($,j){let J=Math.min(Math.max(j,-8640000000000000),8640000000000000);return $.formatToParts(J).find((Q)=>Q.type==="timeZoneName")?.value??""}function r2($,j){let J=Ah(j);if(!J||!Number.isFinite($))return 0;let Q=/GMT([+-])(\d{1,2})(?::?(\d{2}))?(?::?(\d{2}))?/.exec(CC(J,$));if(!Q)return 0;let Z=Q[1]==="+"?1:-1,X=Number(Q[2])*3600+Number(Q[3]??0)*60+Number(Q[4]??0);return Z*X*1000}function Th($){let j=Math.trunc(-$/BC);return j===0?0:j}function UC($,j){if(!Number.isFinite($))return NaN;let J=r2($-J_,j),Q=r2($+J_,j),Z=NaN;for(let X of J===Q?[J]:[J,Q]){let V=$-X;if(r2(V,j)!==X)continue;if(Number.isNaN(Z)||V<Z)Z=V}return Number.isNaN(Z)?$-J:Z}function oJ($){return YC.call($$,$),(j)=>B_[j].call($$)}function tJ($,j){let J=e5.get($);if(J===void 0){if(e5.size>=Sh)e5.clear();J=r2($,j),e5.set($,J)}return J}function X_($,j){let J=C9.call($);return J+tJ(J,j)}function V_($,j,J,Q){let Z=C9.call($);return YC.call($$,Number.isNaN(Z)&&J?0:Z+tJ(Z,j)),Q(),YC.call($,UC(C9.call($$),j))}function b8($,j=2){return String($).padStart(j,"0")}function Y_($){let j=oJ($),J=j("FullYear");return`${`${Oh[j("Day")]} ${Eh[j("Month")]} ${b8(j("Date"))}`} ${J<0?"-":""}${b8(Math.abs(J),4)}`}function C_($){let j=new L1($).getUTCFullYear();return[qC(j,0,1),qC(j,6,1)]}function xh($,j){let J=q_.get(j);if(!J)J=new KC(void 0,{timeZone:j,timeZoneName:"long"}),q_.set(j,J);let[Q,Z]=C_($),V=r2($,j)>Math.min(r2(Q,j),r2(Z,j)),[Y,q]=C_(L1.now());if(r2(Y,j)>r2(q,j))[Y,q]=[q,Y];if(!V)return CC(J,Y);let C=r2(q,j)!==r2(Y,j);return CC(J,C?q:$)}function G_($,j,J){let Q=oJ(j),Z=Math.floor(Math.abs(j-$)/BC),X=`${j<$?"-":"+"}${b8(Math.floor(Z/60))}${b8(Z%60)}`,V=xh($,J);return`${`${b8(Q("Hours"))}:${b8(Q("Minutes"))}:${b8(Q("Seconds"))}`} GMT${X}${V?` (${V})`:""}`}function yh($,j){for(let J of wh.test($)?["Z"," UTC"]:[" UTC","Z"]){let Q=W_($+J);if(!Number.isNaN(Q))return Q}return j-Rh.call(new L1(j))*BC}function U_($){let j=String($),J=W_(j);if(!d0||Number.isNaN(J)||bh.test(j.trim())||kh.test(j))return J;return UC(yh(j,J),d0)}function vh($,j){if($.length===0)return $;if($.length===1)return typeof $[0]==="string"?[U_($[0])]:$;return[UC(Reflect.apply(qC,L1,$),j)]}function VC($){if(!d0)return $;if($?.timeZone)return $;return{...$??{},timeZone:d0}}function S2($,j,J){if(!Object.getOwnPropertyDescriptor($,j))return;let Q=oj(Reflect.get($,j));if(typeof Q!=="function")return;let Z=J(Q);if(Reflect.set($,j,Z))WC.push({target:$,key:j,original:Q,value:Z})}function hh(){if(eJ)return;eJ=!0;for(let j of K_){if(S2(B4,`get${j}`,(J)=>function(){if(!d0)return J.call(this);return oJ(X_(this,d0))(j)}),j==="Day")continue;S2(B4,`set${j}`,(J)=>function(...Q){if(!d0)return J.apply(this,Q);return V_(this,d0,j==="FullYear",()=>GC[j].apply($$,Q))})}S2(B4,"getTimezoneOffset",(j)=>function(){if(!d0)return j.call(this);let J=C9.call(this);if(Number.isNaN(J))return NaN;return Th(tJ(J,d0))}),S2(B4,"getYear",(j)=>function(){if(!d0)return j.call(this);return oJ(X_(this,d0))("FullYear")-1900}),S2(B4,"setYear",(j)=>function(J){if(!d0)return j.call(this,J);return V_(this,d0,!0,()=>{let Q=Number(J),Z=Math.trunc(Q);GC.FullYear.call($$,Z>=0&&Z<=99?1900+Z:Q)})});for(let[j,J]of fh)S2(B4,j,(Q)=>function(){if(!d0)return Q.call(this);let Z=C9.call(this);if(Number.isNaN(Z))return"Invalid Date";return J(Z,Z+tJ(Z,d0),d0)});for(let j of["toLocaleString","toLocaleDateString","toLocaleTimeString"])S2(B4,j,(J)=>function(Q,Z){return J.call(this,Q,VC(Z))});S2(globalThis,"Date",(j)=>HH(j,gh)),S2(B4,"constructor",()=>globalThis.Date),S2(Intl,"DateTimeFormat",(j)=>new Proxy(j,{construct(J,Q,Z){let[X,V]=Q;return Reflect.construct(J,[X,VC(V)],Z)},apply(J,Q,Z){let[X,V]=Z;return Reflect.apply(J,Q,[X,VC(V)])}}));let $=zH();if(!$)return;S2($,"timeZoneId",(j)=>function(){return d0??j.call(this)});for(let j of FH)S2($,j,(J)=>PH(j,J,(Q)=>Q===void 0&&d0?d0:Q))}function H_(){if(!eJ)return;for(let{target:$,key:j,original:J,value:Q}of WC.reverse()){if(oj(Reflect.get($,j))!==Q)continue;Reflect.set($,j,J)}WC=[],eJ=!1}function M_($,j){_H();let J=$?k8($):null;if(J!==d0)e5.clear();if(d0=J,OV(j??null),!d0&&!UH()){H_();return}hh()}function F_(){d0=null,OV(null),e5.clear(),H_()}var w8,KC,B4,C9,YC,Rh,W_,qC,BC=60000,J_=86400000,Q_,Z_,K_,B_,GC,$$,e5,Sh=1000,Oh,Eh,q_,fh,bh,wh,kh,d0=null,eJ=!1,gh,WC;var y8=u(()=>{t1();B8();tj();w8=["UTC","America/Los_Angeles","America/New_York","Europe/London","Europe/Istanbul","Asia/Kolkata","Asia/Kathmandu","Asia/Tokyo","Australia/Lord_Howe"],KC=Intl.DateTimeFormat,B4=L1.prototype,C9=L1.prototype.getTime,YC=L1.prototype.setTime,Rh=L1.prototype.getTimezoneOffset,W_=L1.parse,qC=L1.UTC,Q_=new Map;Z_=new Map;K_=["FullYear","Month","Date","Day","Hours","Minutes","Seconds","Milliseconds"],B_={},GC={};for(let $ of K_)if(B_[$]=B4[`getUTC${$}`],$!=="Day")GC[$]=B4[`setUTC${$}`];$$=new L1(0);e5=new Map;Oh=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Eh=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];q_=new Map;fh=[["toString",($,j,J)=>`${Y_(j)} ${G_($,j,J)}`],["toDateString",($,j)=>Y_(j)],["toTimeString",G_]],bh=/^[+-]?\d{4,6}(?:-\d{2}(?:-\d{2})?)?$/,wh=/^[+-]?\d{4,6}(?:-\d{2}(?:-\d{2})?)?T\d{2}:\d{2}/i,kh=/\dZ\s*$|\b(?:UTC?|GMT|[ECMP][SD]T)\b|\d:\d{2}(?::\d{2}(?:[.,]\d+)?)?\s*(?:[AP]\.?M\.?\s*)?[+-]\d{1,2}(?::?\d{2})?\b/i;gh={on:()=>d0!==null,args:($)=>d0?vh($,d0):$,parse:U_};WC=[]});function HC($){if($.on&&!jQ&&!("ontouchstart"in window))Object.defineProperty(window,"ontouchstart",{configurable:!0,enumerable:!0,writable:!0,value:null}),jQ=!0;else if(!$.on&&jQ)Reflect.deleteProperty(window,"ontouchstart"),jQ=!1;let j=$.on&&$.points;if(j&&!JQ)Object.defineProperty(navigator,"maxTouchPoints",{configurable:!0,enumerable:!0,get:()=>5}),JQ=!0;else if(!j&&JQ)Reflect.deleteProperty(navigator,"maxTouchPoints"),JQ=!1}function z_($,j){if(!("ontouchstart"in $))Object.defineProperty($,"ontouchstart",{configurable:!0,enumerable:!0,writable:!0,value:null});if(!j)return;Object.defineProperty($.navigator,"maxTouchPoints",{configurable:!0,enumerable:!0,get:()=>5})}function P_(){HC({on:!1,points:!1})}var jQ=!1,JQ=!1;function v8($){if($.parentElement)return $.parentElement;let j=$.getRootNode?.();return j&&"host"in j?j.host:null}function U4($){for(let j=$;j;j=v8(j))if(j.hasAttribute("data-devknobs"))return!0;return!1}function dh($){let j=$.tagName.toLowerCase();return j==="html"||j==="body"}function G9($){return $!==null&&!dh($)&&!U4($)}function I_($){return $.ownerDocument.defaultView?.getComputedStyle($)??null}function __($,j,J){return j>=$.left&&j<=$.right&&J>=$.top&&J<=$.bottom}function MC($,j,J){if(!__($.getBoundingClientRect(),j,J))return!1;let Q=$.getClientRects();for(let Z=0;Z<Q.length;Z++){let X=Q[Z];if(X&&X.width>0&&X.height>0&&__(X,j,J))return!0}return!1}function lh($){let j=$.getBoundingClientRect();return j.width*j.height}function ih($){let j=I_($)?.visibility;return j!==void 0&&j!=="visible"}function FC($){if($.children.length>0||$.shadowRoot)return!1;if(ph.has($.tagName.toLowerCase())||$.textContent?.trim())return!1;let j=I_($);if(!j)return!1;return j.backgroundImage==="none"&&ch.test(j.backgroundColor)}function rh($,j,J,Q){if(!$.elementsFromPoint||MC(j,J,Q)&&!FC(j))return j;for(let Z of $.elementsFromPoint(J,Q).slice(0,8)){if(Z===j||!G9(Z))continue;if(MC(Z,J,Q)&&!FC(Z))return Z}return j}function sh($,j,J){let Q=$;for(let Z=0;Z<32;Z+=1){let X=null,V=Number.POSITIVE_INFINITY;for(let Y of[Q.children,Q.shadowRoot?.children]){if(!Y)continue;for(let q=0;q<Y.length;q++){let C=Y[q];if(!C||C.hasAttribute("data-devknobs")||!MC(C,j,J))continue;if(ih(C)||FC(C))continue;let G=lh(C);if(G>V)continue;X=C,V=G}}if(!X)break;Q=X}return Q}function nh($,j,J){let Q=$.elementFromPoint(j,J);while(Q?.shadowRoot){let Z=Q.shadowRoot.elementFromPoint(j,J);if(!Z||Z===Q)break;Q=Z}if(!G9(Q))return Q;return sh(rh($,Q,j,J),j,J)}function D_($,j,J){let Q=nh($,j,J);return G9(Q)?Q:null}var ph,ch;var j$=u(()=>{ph=new Set(["audio","br","canvas","embed","hr","iframe","img","input","meter","object","progress","select","svg","textarea","video"]),ch=/^transparent$|[,/]\s*0\)$/});function L_($){return typeof $==="number"&&Number.isFinite($)}function N_($){if(typeof $!=="object"||$===null)return null;let j=Reflect.get($,"at"),J=Reflect.get($,"pressed"),Q=Reflect.get($,"held");if(typeof J!=="boolean"||typeof Q!=="boolean")return null;if(j===null)return{at:null,pressed:J,held:Q};if(typeof j!=="object")return null;let Z=Reflect.get(j,"x"),X=Reflect.get(j,"y");return L_(Z)&&L_(X)?{at:{x:Z,y:X},pressed:J,held:Q}:null}var QQ=`
12
+ .dot {
13
+ left: 0;
14
+ top: 0;
15
+ width: 22px;
16
+ height: 22px;
17
+ margin: -11px 0 0 -11px;
18
+ pointer-events: none;
19
+ will-change: transform;
20
+ }
21
+ .dot[hidden] { display: none; }
22
+ .dot::after {
23
+ content: "";
24
+ position: absolute;
25
+ inset: 0;
26
+ box-sizing: border-box;
27
+ border-radius: 50%;
28
+ background: rgb(0 0 0 / 0.28);
29
+ border: 1.5px solid rgb(255 255 255 / 0.85);
30
+ box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25);
31
+ transition: transform 80ms ease-out, background-color 80ms ease-out;
32
+ }
33
+ .dot.pressed::after {
34
+ transform: scale(0.82);
35
+ background: rgb(0 0 0 / 0.45);
36
+ }
37
+ @media (prefers-reduced-motion: reduce) {
38
+ .dot::after { transition: none; }
39
+ }
40
+ `,W9="devknobs-touch-mark";function Qu($){let j=$.trim().toLowerCase().split(/\s+/);if(j.includes("none"))return{x:!1,y:!1};if(j[0]===""||j.includes("auto")||j.includes("manipulation"))return{x:!0,y:!0};return{x:j.some((J)=>J==="pan-x"||J==="pan-left"||J==="pan-right"),y:j.some((J)=>J==="pan-y"||J==="pan-up"||J==="pan-down")}}function Zu($,j){let J=Math.max(Math.abs(j.x),Math.abs(j.y));if(J===0)return null;let Q=Math.abs(j.x)*2>=J,Z=Math.abs(j.y)*2>=J,X={x:!0,y:!0};for(let[V,Y]of $.entries()){let q=Qu(Y.touchAction);if(X={x:X.x&&q.x,y:X.y&&q.y},!X.x&&!X.y)return null;let C=X.x&&(Y.left||Y.right),G=X.y&&(Y.up||Y.down),W=C&&Q&&(j.x<0?Y.left:Y.right),K=G&&Z&&(j.y<0?Y.up:Y.down);if(W||K)return{index:V,x:C,y:G}}return null}function Xu($,j,J=ah){return Math.hypot($,j)>J}function Vu($,j){let J=$[$.length-1];if(!J||j-J.t>zC)return{x:0,y:0};let Q=$.find((X)=>X.t>=J.t-zC)??J,Z=J.t-Q.t;if(Z<=0)return{x:0,y:0};return{x:(J.x-Q.x)/Z,y:(J.y-Q.y)/Z}}function Yu($){return Math.hypot($.x,$.y)>=oh}function qu($,j){let J=Math.exp(-j/R_),Q=R_*(1-J),Z={x:$.x*J,y:$.y*J};return{move:{x:$.x*Q,y:$.y*Q},velocity:Z,done:Math.hypot(Z.x,Z.y)<th}}function Cu($){return!$.own&&$.newState==="open"&&$.tag.toLowerCase()!=="details"}function Gu($){return $.tag.toLowerCase()==="dialog"&&$.was===null&&$.open}function Wu($,j){return $.find(j)??null}function Bu(){return typeof Touch==="function"&&typeof TouchEvent==="function"}function Uu($){return $.isTrusted&&typeof PointerEvent==="function"&&$ instanceof PointerEvent&&$.pointerType==="mouse"}function Hu($){let j=$.composedPath()[0];return j instanceof Element&&U4(j)}function Mu($){if($ instanceof HTMLElement&&$.isContentEditable)return!0;return $ instanceof HTMLInputElement&&$.type==="range"}function Fu($,j){if($.clientWidth===0&&$.clientHeight===0)return!1;return j.offsetX>$.clientWidth||j.offsetY>$.clientHeight}function LC($){try{let j=window.frameElement;if(!j||typeof CustomEvent!=="function")return!1;return!j.dispatchEvent(new CustomEvent(W9,{detail:$,cancelable:!0}))}catch{return!1}}function CQ(){if(!ZQ||K9)return;if(LC(h1)){if(u1)k_();return}if(Nu(),!c4)return;if(c4.hidden=h1.at===null,h1.at)c4.style.transform=`translate(${h1.at.x}px, ${h1.at.y}px)`;c4.classList.toggle("pressed",h1.pressed)}function zu($){h1={...h1,at:{x:$.clientX,y:$.clientY}},CQ()}function B9(){h1={...h1,at:null},CQ()}function IC($){h1={...h1,pressed:$},CQ()}function b_(){return typeof HTMLElement.prototype.showPopover==="function"}function J$(){if(!u1)return;try{if(u1.matches(":popover-open"))u1.hidePopover();u1.showPopover()}catch{}}function Pu($){if(!($ instanceof Element))return!1;for(let j=0;j<T_.length;j++)try{if($.matches(T_[j]??""))return!0}catch{}return!1}function _u($){if(!u1||!b_())return;let j=Wu($.composedPath(),Pu);if(j===PC)return;if(PC=j,j)J$()}function YQ($){let j=$.composedPath()[0],J=j===u1;if(J)$.stopImmediatePropagation();if(!(j instanceof Element))return;let Q="newState"in $?$.newState:void 0;if(!Cu({newState:Q,tag:j.tagName,own:J}))return;if($.type==="beforetoggle")queueMicrotask(J$);else J$()}function w_(){if(document.fullscreenElement)J$()}function Iu($){if($.some((J)=>J.target instanceof Element&&Gu({tag:J.target.tagName,was:J.oldValue,open:J.target.hasAttribute("open")})))J$()}function Du(){if(window.addEventListener("beforetoggle",YQ,!0),window.addEventListener("toggle",YQ,!0),window.addEventListener("fullscreenchange",w_,!0),typeof MutationObserver!=="function")return;XQ=new MutationObserver(Iu),XQ.observe(document.documentElement,{subtree:!0,attributes:!0,attributeFilter:["open"],attributeOldValue:!0})}function Lu(){window.removeEventListener("beforetoggle",YQ,!0),window.removeEventListener("toggle",YQ,!0),window.removeEventListener("fullscreenchange",w_,!0),XQ?.disconnect(),XQ=null}function Nu(){if(u1)return;u1=document.createElement("div"),u1.setAttribute("data-devknobs","touch-pointer");let $=u1.attachShadow({mode:"open"});if(y1($,Ju),c4=document.createElement("div"),c4.className="dot",c4.hidden=!0,$.append(c4),document.documentElement.append(u1),!b_())return;u1.setAttribute("popover","manual"),Du(),J$()}function k_(){Lu(),u1?.remove(),u1=null,c4=null,PC=null}function GQ($,j,J,Q){if(!Bu())return!1;let Z;try{let X=new Touch({identifier:j.id,target:j.target,clientX:J.clientX,clientY:J.clientY,screenX:J.screenX,screenY:J.screenY,pageX:J.pageX,pageY:J.pageY,radiusX:A_,radiusY:A_,force:1}),Y=$==="touchend"||$==="touchcancel"?[]:[X];Z=new TouchEvent($,{touches:Y,targetTouches:Y,changedTouches:[X],bubbles:!0,cancelable:Q,composed:!0,view:window,altKey:J.altKey,ctrlKey:J.ctrlKey,metaKey:J.metaKey,shiftKey:J.shiftKey})}catch{return!1}return j.target.dispatchEvent(Z),Z.defaultPrevented}function Ru($,j){for(let J of x_)$.target.dispatchEvent(new MouseEvent(J,{bubbles:!0,cancelable:!0,composed:!0,view:window,detail:J==="mousemove"?0:1,button:0,buttons:J==="mousedown"?1:0,clientX:j.clientX,clientY:j.clientY,screenX:j.screenX,screenY:j.screenY,altKey:j.altKey,ctrlKey:j.ctrlKey,metaKey:j.metaKey,shiftKey:j.shiftKey}))}function Au($,j){$.target.dispatchEvent(new PointerEvent("pointercancel",{pointerId:$.pointerId,pointerType:"touch",isPrimary:!0,bubbles:!0,composed:!0,clientX:j.clientX,clientY:j.clientY,screenX:j.screenX,screenY:j.screenY}))}function S_($){return $==="auto"||$==="scroll"||$==="overlay"}function O_($){return $==="hidden"||$==="clip"}function Tu($){let j=document.body;if($.overflowX!=="visible"||$.overflowY!=="visible"||!j)return{x:$.overflowX,y:$.overflowY};let J=getComputedStyle(j);return{x:J.overflowX,y:J.overflowY}}function Su($){let j=getComputedStyle($),J=S_(j.overflowX),Q=S_(j.overflowY);if($===document.scrollingElement){let W=Tu(getComputedStyle(document.documentElement));J=!O_(W.x),Q=!O_(W.y)}let Z=$.scrollWidth-$.clientWidth,X=$.scrollHeight-$.clientHeight,V=j.direction==="rtl",Y=V?-Z:0,q=V?0:Z,C=J&&Z>0,G=Q&&X>0;return{touchAction:j.touchAction,left:C&&$.scrollLeft>Y+0.5,right:C&&$.scrollLeft<q-0.5,up:G&&$.scrollTop>0.5,down:G&&$.scrollTop<X-0.5}}function Ou($){let j=[];for(let Q=$;Q;Q=v8(Q))j.push(Q);let J=document.scrollingElement;if(J&&!j.includes(J))j.push(J);return j}function Eu($,j,J){let Q=$ instanceof HTMLElement||$ instanceof SVGElement?$.style:null,Z={element:$,x:j,y:J,snap:Q?.getPropertyValue("scroll-snap-type")??"",snapPriority:Q?.getPropertyPriority("scroll-snap-type")??""};return Q?.setProperty("scroll-snap-type","none","important"),Z}function NC($){let j=$.element;if(!(j instanceof HTMLElement||j instanceof SVGElement))return;let J=j.style;if($.snap)J.setProperty("scroll-snap-type",$.snap,$.snapPriority);else J.removeProperty("scroll-snap-type")}function y_($,j,J){$.element.scrollBy({left:$.x?-j:0,top:$.y?-J:0,behavior:"instant"})}function U9(){if(cancelAnimationFrame(VQ),VQ=0,H4)NC(H4.scroller);H4=null}function v_($){if(!H4)return;let{scroller:j}=H4,J=qu(H4.velocity,Math.max(0,$-H4.at)),Q=[j.element.scrollLeft,j.element.scrollTop];y_(j,J.move.x,J.move.y);let Z=j.element.scrollLeft!==Q[0]||j.element.scrollTop!==Q[1];if(H4.velocity=J.velocity,H4.at=$,J.done||!Z&&(J.move.x!==0||J.move.y!==0)){U9();return}VQ=requestAnimationFrame(v_)}function xu($,j){if(U9(),!Yu(j)){NC($);return}H4={scroller:$,velocity:j,at:performance.now()},VQ=requestAnimationFrame(v_)}function H9(){if(clearTimeout(_C),_C=0,B2?.dragged)v1("touch-drag");if(B2&&!B2.ended&&B2.scroller)NC(B2.scroller);B2=null}function fu($){if(B2&&!B2.ended)GQ("touchcancel",B2,$,!1);H9()}function qQ($){$.stopPropagation()}function bu($){Object.defineProperty($,"pointerType",{configurable:!0,get:()=>"touch"}),Object.defineProperty($,"isPrimary",{configurable:!0,get:()=>!0})}function wu($){U9(),H9(),clearTimeout(DC);let j=$.composedPath()[0];if(g8=$.button!==0||!(j instanceof Element)||Mu(j)||Fu(j,$),g8||!(j instanceof Element))return;let J={id:Ku++,pointerId:$.pointerId,target:j,startX:$.clientX,startY:$.clientY,lastX:$.clientX,lastY:$.clientY,samples:[{t:performance.now(),x:$.clientX,y:$.clientY}],dragged:!1,claimed:!1,quiet:!1,scroller:void 0,ended:!1};if(B2=J,GQ("touchstart",J,$,!0))J.claimed=!0,J.quiet=!0}function ku($){let j=B2;if(!j||j.ended||$.pointerId!==j.pointerId)return;let J=performance.now(),Q=$.clientX-j.lastX,Z=$.clientY-j.lastY;j.lastX=$.clientX,j.lastY=$.clientY,j.samples.push({t:J,x:$.clientX,y:$.clientY});while((j.samples[0]?.t??J)<J-zC*2)j.samples.shift();let X=$.clientX-j.startX,V=$.clientY-j.startY;if(!j.dragged&&Xu(X,V)){j.dragged=!0,N1("touch-drag").textContent=ju;let Y=document.activeElement;if(!(Y instanceof HTMLInputElement||Y instanceof HTMLTextAreaElement||Y instanceof HTMLElement&&Y.isContentEditable))window.getSelection()?.removeAllRanges()}if(GQ("touchmove",j,$,!j.scroller)&&j.scroller===void 0)j.claimed=!0;if(j.dragged&&j.scroller===void 0){let Y=Ou(j.target),q=j.claimed?null:Zu(Y.map(Su),{x:-X,y:-V}),C=q?Y[q.index]:void 0;if(j.scroller=q&&C?Eu(C,q.x,q.y):null,j.scroller)Au(j,$)}if(j.scroller)y_(j.scroller,Q,Z),qQ($)}function yu($){let j=B2;if(!j||j.ended||$.pointerId!==j.pointerId)return;if(j.ended=!0,GQ("touchend",j,$,!j.scroller))j.quiet=!0;if(j.scroller)qQ($),xu(j.scroller,Vu(j.samples,performance.now()));_C=window.setTimeout(H9,0)}function g_($){if(K9)return;let j=$.type,J=Hu($);if(Uu($)){if(J){B9();return}if(j==="pointerout"&&$.relatedTarget===null)B9();else if(j!=="pointerleave"&&j!=="pointerout")zu($);if(j==="pointerover"||j==="pointermove"||j==="pointerdown")_u($);if(j==="pointerdown")IC(!0);else if(j==="pointerup"||j==="pointercancel")IC(!1);if(j==="pointerdown")wu($);else if(j==="pointermove"&&$.buttons===0)g8=!1;if(g8){if(j==="pointerup"||j==="pointercancel")DC=window.setTimeout(()=>{g8=!1},0);return}if(bu($),j==="pointermove")ku($);else if(j==="pointerup")yu($);else if(j==="pointercancel")fu($)}if(J||!$.isTrusted||g8)return;let Q=B2;if(j==="click"){if(Q?.ended&&(Q.dragged||Q.quiet))$.preventDefault(),$.stopImmediatePropagation(),H9();return}if(j==="dragstart"){if(Q&&!Q.ended)$.preventDefault();return}if(j==="selectstart"){if(Q?.dragged&&!Q.ended)$.preventDefault();return}if(eh.has(j)||E_.has(j)&&(!Q||Q.ended)){qQ($);return}if(!x_.has(j)||!Q)return;qQ($);let Z=Q.ended&&!Q.dragged&&!Q.quiet;if(j==="mouseup"&&Z&&$ instanceof MouseEvent)Ru(Q,$)}function WQ(){clearTimeout(DC),g8=!1,H9(),B9(),IC(!1)}function vu(){for(let $ of f_)window.addEventListener($,g_,!0);window.addEventListener("blur",WQ),window.addEventListener("pagehide",B9)}function gu(){for(let $ of f_)window.removeEventListener($,g_,!0);window.removeEventListener("blur",WQ),window.removeEventListener("pagehide",B9)}function h_(){N1("touch-pointer").textContent=$u,h1={at:null,pressed:!1,held:!1},CQ()}function u_(){v1("touch-pointer"),h1={at:null,pressed:!1,held:!0},LC(h1),k_()}function RC($){if($===ZQ)return;if(ZQ=$,$){if(vu(),K9)LC({at:null,pressed:!1,held:!0});else h_();return}gu(),WQ(),U9(),u_()}function m_(){RC(!1)}function AC($){if($===K9)return;if(K9=$,!ZQ)return;if($)WQ(),U9(),u_();else h_()}var ah=10,zC=100,R_=325,oh=0.1,th=0.02,A_=11.5,E_,eh,x_,f_,$u='*:not([data-devknobs]){cursor:none!important}:where([data-devknobs]){cursor:auto}[data-devknobs="touch-pointer"]::backdrop{display:none!important}',ju="*{-webkit-user-select:none!important;user-select:none!important}",Ju,ZQ=!1,K9=!1,g8=!1,DC=0,h1,u1=null,c4=null,XQ=null,PC=null,B2=null,Ku=1,_C=0,H4=null,VQ=0,T_;var TC=u(()=>{j$();g1();E_=new Set(["pointermove","pointerover","pointerout","pointerenter","pointerleave","mousemove","mouseover","mouseout","mouseenter","mouseleave"]),eh=new Set(["pointerover","pointerout","pointerenter","pointerleave","mouseover","mouseout","mouseenter","mouseleave"]),x_=new Set(["mousemove","mousedown","mouseup"]),f_=[...E_,"pointerdown","pointerup","pointercancel","mousedown","mouseup","click","dragstart","selectstart"],Ju=`
41
+ :host {
42
+ all: initial !important;
43
+ display: block !important;
44
+ position: fixed !important;
45
+ left: 0 !important;
46
+ top: 0 !important;
47
+ width: 0 !important;
48
+ height: 0 !important;
49
+ pointer-events: none !important;
50
+ z-index: 2147483647 !important;
51
+ }
52
+ .dot {
53
+ position: fixed;
54
+ z-index: 2147483647;
55
+ }
56
+ ${QQ}`;h1={at:null,pressed:!1,held:!1};T_=[":popover-open",":modal",":fullscreen"]});function E6($){return`radial-gradient(140% 100% at 50% 0%, ${$[0]}, ${$[1]} 60%, ${$[2]})`}function M9($){return h8.some((j)=>j===$)}function KQ($){return`rgb(${Math.round($.red)}, ${Math.round($.green)}, ${Math.round($.blue)})`}function p_($){let j=(J)=>({red:$.red*J,green:$.green*J,blue:$.blue*J,alpha:1});return[j(SC[0]),j(SC[1]),j(SC[2])]}function c_($){return k1($)?fV($):null}function d_($){if(M9($))return d4[$];let j=c_($);if(!j)return d4.blue;let[J,Q,Z]=p_(j),X=[KQ(J),KQ(Q),KQ(Z)];return{srgb:X,p3:X}}function uu($){if(M9($))return d4[$];let j=c_($);return j?{...d_($),line:KQ(NH(j,p_(j)))}:d4.blue}function x6($,j){if(j===null)$.removeAttribute("data-mat");else $.setAttribute("data-mat",j);if(j===null||M9(j)){for(let Q of mu)$.style.removeProperty(Q);return}let J=uu(j);$.style.setProperty("--mat",E6(J.srgb)),$.style.setProperty("--mat-p3",E6(J.p3)),$.style.setProperty("--mat-line",J.line)}var d4,h8,SC,mu;var u8=u(()=>{m2();d4={blue:{srgb:["rgb(20, 70, 152)","rgb(12, 48, 114)","rgb(7, 31, 80)"],p3:["color(display-p3 0.1 0.27 0.61)","color(display-p3 0.06 0.19 0.46)","color(display-p3 0.035 0.12 0.32)"],line:"rgb(170, 205, 255)"},green:{srgb:["rgb(26, 96, 71)","rgb(14, 71, 51)","rgb(8, 49, 35)"],p3:["color(display-p3 0.159 0.377 0.279)","color(display-p3 0.102 0.277 0.2)","color(display-p3 0.065 0.194 0.136)"],line:"rgb(160, 218, 191)"},magenta:{srgb:["rgb(123, 37, 88)","rgb(90, 22, 63)","rgb(62, 12, 42)"],p3:["color(display-p3 0.462 0.14 0.342)","color(display-p3 0.34 0.081 0.246)","color(display-p3 0.234 0.043 0.165)"],line:"rgb(238, 185, 211)"},purple:{srgb:["rgb(86, 56, 130)","rgb(62, 38, 96)","rgb(42, 24, 67)"],p3:["color(display-p3 0.326 0.209 0.521)","color(display-p3 0.233 0.138 0.387)","color(display-p3 0.156 0.086 0.269)"],line:"rgb(209, 193, 242)"},red:{srgb:["rgb(132, 36, 36)","rgb(97, 21, 22)","rgb(68, 11, 12)"],p3:["color(display-p3 0.499 0.139 0.133)","color(display-p3 0.369 0.079 0.078)","color(display-p3 0.256 0.041 0.042)"],line:"rgb(239, 188, 183)"},graphite:{srgb:["rgb(64, 68, 74)","rgb(43, 46, 51)","rgb(26, 28, 32)"],p3:["color(display-p3 0.25 0.264 0.291)","color(display-p3 0.169 0.179 0.2)","color(display-p3 0.102 0.11 0.126)"],line:"rgb(198, 203, 211)"}},h8=["blue","green","magenta","purple","red","graphite"];SC=[1,0.82,0.64];mu=["--mat","--mat-p3","--mat-line"]});function xC($,j){return JSON.stringify([$.width,$.height,$.frame,$.dpr,$.vision,$.scheme,$.device,$.orientation,$.posture,$.mock,$.browser,$.bars,$.edgeToEdge,$.zoom,$.mat,$.panel.open,$.panel.side,$.panel.docked,j.innerWidth,j.innerHeight,j.devicePixelRatio])}function cu($){if(typeof $!=="object"||$===null)return null;let j=(C)=>Reflect.get($,C),J=j("background"),Q=j("scheme"),Z=j("host"),X=[j("dark"),j("canBack"),j("canForward")];if(typeof J!=="string"||!/^rgb\(\d{1,3}, \d{1,3}, \d{1,3}\)$/.test(J))return null;if(Q!=="light"&&Q!=="dark"||typeof Z!=="string")return null;let[V,Y,q]=X;if(typeof V!=="boolean"||typeof Y!=="boolean")return null;if(typeof q!=="boolean")return null;return{background:J,dark:V,scheme:Q,host:Z,canBack:Y,canForward:q}}function r_($,j){try{let J=E0("session")?.getItem(EC);if(!J)return null;let Q=JSON.parse(J);if(typeof Q!=="object"||Q===null||P1(Q,i_))return null;let Z=Reflect.get(Q,"key"),X=Reflect.get(Q,"css"),V=Reflect.get(Q,"html"),Y=cu(Reflect.get(Q,"look"));if(Z!==xC($,j)||typeof X!=="string")return null;if(typeof V!=="string"||!Y)return null;return{key:Z,css:X,html:V,look:Y}}catch{return null}}function du($){try{E0("session")?.setItem(EC,JSON.stringify(q1($,i_)))}catch{BQ()}}function s_({letterbox:$,zoom:j,key:J,css:Q,look:Z}){let X=$.cloneNode(!0);if(!(X instanceof HTMLElement))return;X.querySelector("iframe")?.remove(),X.querySelector(".touchdot")?.remove(),X.querySelector(".glass")?.removeAttribute("data-touch");for(let Y of Array.from(X.querySelectorAll(".progress")))Y.hidden=!0;let V=X.querySelector(".screenblank");if(V)V.hidden=!1,V.style.background=Z.background;for(let Y of Array.from(X.querySelectorAll("option")))Y.toggleAttribute("selected",Y.value===j);du({key:J,css:Q,html:X.outerHTML,look:Z})}function BQ(){try{E0("session")?.removeItem(EC)}catch{}}function lu(){return document.querySelector(`div[data-devknobs="${OC}"]`)}function b6(){for(let $ of Array.from(document.querySelectorAll(`[data-devknobs="${OC}"]`)))$.remove();v1(OC)}function n_($){let j=lu();if(!j||!document.body){b6();return}document.body.append(j);let J=0,Q=()=>{if(f6=0,$()&&++J<pu){f6=window.requestAnimationFrame(Q);return}f6=window.requestAnimationFrame(()=>{f6=0,b6()})};f6=window.requestAnimationFrame(Q)}function a_(){if(f6)window.cancelAnimationFrame(f6);f6=0}var l_=2147483645,OC="early",EC="devknobs:snapshot",i_=1,pu=60,f6=0;var fC=u(()=>{K1();G2();u8();g1()});function Q$($){return{agent:T2($.ua.preset)?$.ua.preset:O8($.ua),touch:w4($.device),dpr:$.dpr}}function UQ($,j){return $!==null&&($.agent!==j.agent||$.touch!==j.touch||$.dpr!==j.dpr)}function iu($){return typeof $==="object"&&$!==null&&"agent"in $&&"touch"in $}function bC($){let j=Reflect.get($,o_);return iu(j)?j:void 0}function t_($,j){let J=bC($);if(J)return J;let Q=Q$(j);if(Reflect.set($,o_,Q),IJ(j.ua,$),Q.touch)z_($,T2(j.ua.preset)===void 0),dz($),iP($);return Q}var o_;var e_=u(()=>{W1();o3();eq();m4();o_=Symbol.for("devknobs.identity")});function $I(){return i4!==0||HQ}function jI($){M4=$}function JI(){let $=M4?.view();if($)au($);clearTimeout(i4),i4=0,Z$=0,F9=!1,HQ=!1,w6=null,M4=null}function MQ($){if(!l4)return;w6=t_($,l4),F9=!1,ZI($)}function QI($){if(ZI($),l4&&!w6)w6=ou($,l4)}function nu($){return typeof $==="object"&&$!==null&&typeof Reflect.get($,"addEventListener")==="function"}function X$($){let j=Reflect.get($,"navigation");return nu(j)?j:null}function ZI($){$.addEventListener("pagehide",VI);let j=X$($);if(j)j.addEventListener("navigate",XI),j.addEventListener("navigatesuccess",m8),j.addEventListener("navigateerror",m8);else $.addEventListener("beforeunload",wC)}function au($){try{$.removeEventListener("pagehide",VI),$.removeEventListener("beforeunload",wC);let j=X$($);j?.removeEventListener("navigate",XI),j?.removeEventListener("navigatesuccess",m8),j?.removeEventListener("navigateerror",m8)}catch{}}function XI($){let j=Reflect.get($,"destination");if(typeof j==="object"&&j!==null&&Reflect.get(j,"sameDocument")===!0||typeof Reflect.get($,"downloadRequest")==="string")return;wC()}function wC(){Z$=performance.now()}function m8(){Z$=0,HQ=!1,clearTimeout(i4),i4=0,qI()}function VI($){let j=M4?.view()??null,J=M4?.page()??null;if(!j||!J||$.persisted)return;w6=null,m8();let Q=performance.now()+ru,Z=new MessageChannel;Z.port1.onmessage=()=>{let X=null;try{X=M4?.view()===j?j.document:null}catch{}if(X&&X!==J)MQ(j);else if(X&&performance.now()<Q){Z.port2.postMessage(null);return}Z.port1.close()},Z.port2.postMessage(null)}function YI($){l4=$,qI()}function qI(){if(i4||!M4?.loaded()||!l4||!UQ(w6,Q$(l4)))return;i4=window.setTimeout(CI,0)}function CI(){if(i4=0,!M4?.loaded()||!l4||!UQ(w6,Q$(l4)))return;let $=Z$?Z$+su-performance.now():0;if($>0){i4=window.setTimeout(CI,$);return}Z$=0,w6=null,HQ=!0,M4.reloading();let j=M4.view();h4(j,"frame");let J=()=>{try{j?.location.reload()}catch{}},Q=RJ();if(Q)Q.then(J);else J()}function ou($,j){let J=bC($);if(J||F9)return F9=!1,J??Q$(j);let Q={agent:"",touch:!1,dpr:j.dpr};return F9=UQ(Q,Q$(j)),Q}var ru=1000,su=30000,M4=null,l4=null,w6=null,i4=0,Z$=0,F9=!1,HQ=!1;var FQ=u(()=>{e_();AJ();y5()});function GI($){z9=$,kC=window.location.href,yC=kC,P9=null}function WI($){if($!==window.location.href)History.prototype.replaceState.call(window.history,window.history.state,"",$)}function k6(){let $=z9?.page();if(!z9||!$)return;if(WI(Fj(z9.locate())),yC=window.location.href,z9.refresh(),$.title===document.title)return;P9??=document.title,document.title=$.title}function KI($,j){let J=X$($);if(J)J.addEventListener("currententrychange",k6);else{let Q=$.history,Z=Q.pushState,X=Q.replaceState;Q.pushState=(...V)=>{Z.apply(Q,V),k6()},Q.replaceState=(...V)=>{X.apply(Q,V),k6()},$.addEventListener("popstate",k6),$.addEventListener("hashchange",k6)}zQ??=new MutationObserver(k6),zQ.disconnect(),zQ.observe(j.head??j.documentElement,{childList:!0,subtree:!0,characterData:!0})}function BI(){return window.location.href!==yC}function UI(){zQ?.disconnect()}function HI($){if($)WI(kC);if(P9!==null)document.title=P9;P9=null}var z9=null,kC="",P9=null,yC="",zQ=null;var MI=u(()=>{G2();FQ()});function J1($,j,J){let Q=document.createElement($);if(Q.className=j,J!==void 0)Q.textContent=J;return Q}function D0($,j){let J=document.createElementNS("http://www.w3.org/2000/svg",$);for(let[Q,Z]of Object.entries(j))J.setAttribute(Q,String(Z));return J}function O2($,j,J,Q,Z){$.style.left=`${j}px`,$.style.top=`${J}px`,$.style.width=`${Q}px`,$.style.height=`${Z}px`}function PQ($,j,J,Q,Z){let X=J/2,V=D0("svg",{class:`glyph ${Q}`,viewBox:`${-X} ${-X} ${J} ${J}`,"aria-hidden":"true"});if(O2(V,$.x-X,$.y-X,J,J),V.append(...j[$.glyph]()),Z)V.classList.add("press"),V.addEventListener("click",Z);return V}function zI($,j,J,Q=0){try{_9??=document.createElement("canvas").getContext("2d")}catch{_9=null}if(!_9)return $.length*j*0.55;return _9.font=`${J} ${j}px -apple-system, system-ui, "SF Pro Text", Roboto, sans-serif`,_9.measureText($).width+Q*$.length}var FI='-apple-system, system-ui, "SF Pro Text", Roboto, sans-serif',I9=69,Q1,_9=null;var V$=u(()=>{Q1={minimize:500,expand:400,ease:"cubic-bezier(0.25, 0.1, 0.25, 1)"}});function Y$($,j){return D0("path",j?{d:$,class:j}:{d:$})}function _Q($,j){let J=J1("div",$);return O2(J,j.x,j.y,j.width,j.height),J}function jm($){let{x:j,y:J}=$.icons,Q=(q,C,G,...W)=>{let K=D0("svg",{class:"status",viewBox:`0 0 ${C} ${G}`});return O2(K,q,J-G/2,C,G),K.append(...W),K},Z=(19.2*I9/100).toFixed(2),X=Q(j-21,21,12,D0("rect",{x:0,y:0,width:19.2,height:12,rx:3.5,"fill-opacity":0.3}),Y$(`M3.5 0H${Z}V12H3.5A3.5 3.5 0 0 1 0 8.5V3.5A3.5 3.5 0 0 1 3.5 0Z`),D0("rect",{x:19.7,y:3.5,width:1.3,height:5,rx:0.6})),V=Q(j-21-6-13,13,13,Y$("M13 0V13H0Z"));return[Q(j-21-6-13-5-16,16,12,Y$("M0 3.6A11.5 11.5 0 0 1 16 3.6L8 12Z")),V,X]}function _I($,j,J){let Q=J1("div","chrome");Q.style.inset="0";let Z=$.shapes.find((U)=>U.kind==="toolbar"),X=$.status,V=X?.height??0,Y=Z!==void 0&&Z.y===V,{width:q,height:C}=q2($.screen,$.orientation),G=J1("div","clip");O2(G,0,V,q,C-V);let W=(U)=>({...U,y:U.y-V}),K=J1("div","slide");K.style.inset="0";let H=J1("div","slide");if(H.style.inset="0",$.chin)(Y?H:K).append(_Q("surface",W($.chin)));for(let U of $.shapes){let F=_Q(U.kind==="toolbar"?"surface":"url-pill",W(U));F.style.borderRadius=`${U.radius}px`,K.append(F);for(let P of U.marks)K.append(PQ({...P,y:P.y-V},$m,28,""));if(U.text){let P=J1("div","url");P.style.left=`${U.text.x}px`,P.style.top=`${U.text.y-V}px`,P.style.maxWidth=`${U.x+U.width-U.text.x-8}px`,K.append(P)}}if($.hairline)K.append(_Q("hairline",W($.hairline)));let B=Z?Y?-(Z.height+1):C-Z.y:0;K.style.setProperty("--away",`${B}px`),H.style.setProperty("--away",`${$.chin?.height??0}px`),G.append(H,K);let z=_Q("surface tint",{x:0,y:0,width:q,height:V}),M=J1("div","ink");if(M.style.inset="0",X){let U=J1("div","clock","04:20");U.style.left=`${X.time.x}px`,U.style.top=`${X.time.y}px`,M.append(U,...jm(X))}return Q.append(G,z,M),{root:Q,apply(U,F){Q.dataset.state=U?"min":"max",Q.className=`chrome ${F.scheme}`;let P=Y&&!U;z.style.opacity=P?"1":"0";let D=P?F.scheme==="dark":F.dark;M.className=D?"ink ink-light":"ink ink-dark";for(let _ of Array.from(Q.querySelectorAll(".url")))_.textContent=F.host}}}var PI,$m;var II=u(()=>{V$();W1();PI=`
57
+ .chrome {
58
+ --surface: #ffffff;
59
+ --pill: #e9eef6;
60
+ --on: #1f1f1f;
61
+ --line: #e1e3e1;
62
+ color: var(--on);
63
+ }
64
+ .chrome.dark { --surface: #131314; --pill: #282a2c; --on: #e3e3e3; --line: #444746; }
65
+ .chrome .surface { background: var(--surface); }
66
+ .chrome .hairline { background: var(--line); }
67
+ .chrome .url-pill { background: var(--pill); }
68
+ .chrome .glyph {
69
+ fill: none;
70
+ stroke: currentColor;
71
+ stroke-width: 2;
72
+ stroke-linecap: round;
73
+ stroke-linejoin: round;
74
+ }
75
+ .chrome .glyph .solid { fill: currentColor; stroke: none; }
76
+ .chrome .glyph .count { fill: currentColor; stroke: none; font-size: 11px; font-weight: 500; }
77
+ .chrome .glyph .knob { fill: var(--pill); }
78
+ .chrome .url {
79
+ font-size: 16px;
80
+ white-space: nowrap;
81
+ overflow: hidden;
82
+ text-overflow: ellipsis;
83
+ transform: translateY(-50%);
84
+ }
85
+ .chrome .clock { font-size: 14px; font-weight: 500; transform: translateY(-50%); }
86
+ .chrome .ink-light { color: #fff; }
87
+ .chrome .ink-dark { color: #1f1f1f; }
88
+ .chrome .status { fill: currentColor; }
89
+ .chrome .clip { overflow: hidden; }
90
+ .chrome .clip > *, .chrome .slide > *, .chrome .ink > * {
91
+ position: absolute;
92
+ box-sizing: border-box;
93
+ }
94
+ /* The same timing and curve as Safari's morph: a slide, not a morph. */
95
+ .chrome { --main: ${Q1.minimize}ms; }
96
+ .chrome[data-state="max"] { --main: ${Q1.expand}ms; }
97
+ .chrome .slide, .chrome .tint, .chrome .ink {
98
+ transition:
99
+ transform var(--main) ${Q1.ease},
100
+ opacity var(--main) ${Q1.ease},
101
+ color var(--main) ${Q1.ease};
102
+ }
103
+ .chrome[data-state="min"] .slide { transform: translateY(var(--away)); }
104
+ `;$m={home:()=>[Y$("M-7.5 -1L0 -7.5L7.5 -1V7.5H2.5V2H-2.5V7.5H-7.5Z")],tune:()=>[Y$("M-7 -3.5H7M-7 3.5H7"),D0("circle",{cx:3,cy:-3.5,r:2.3,class:"knob"}),D0("circle",{cx:-3,cy:3.5,r:2.3,class:"knob"})],plus:()=>[Y$("M0 -7V7M-7 0H7")],switcher:()=>{let $=D0("text",{class:"count",x:0,y:0.5,"text-anchor":"middle","dominant-baseline":"middle"});return $.textContent="1",[D0("rect",{x:-8,y:-8,width:16,height:16,rx:2.5}),$]},menu:()=>[-6,0,6].map(($)=>D0("circle",{cx:0,cy:$,r:2,class:"solid"})),back:()=>[],forward:()=>[],share:()=>[],bookmarks:()=>[],tabs:()=>[],reload:()=>[],page:()=>[],more:()=>[]}});function LI($){return $.sheet?.cssRules[0]?.style??null}function NI($,j){let J=J9(DI,$),Q=J?LI(J):null,Z=Number.parseFloat(Q?.getPropertyValue(IQ)??"")||0;if(j<=0)return J?.remove(),Z;if(Z===j)return Z;let X=J??N1(DI,$);if(!J)X.textContent=Jm;return LI(X)?.setProperty(IQ,`${j}px`),Z}var DI="endroom",IQ="--devknobs-end-room",Jm;var RI=u(()=>{g1();Jm=`:root{${IQ}:0px}html{margin-bottom:var(${IQ})!important}`});function s2($,j){return D0("path",j?{d:$,class:j}:{d:$})}function Qm(){return[s2("M-5.66 -5.54L5.88 6M5.88 -5.54L-5.66 6","stop")]}function vC($,j,J){let Q=J*Math.PI/180,Z=(V,Y)=>`${(Y*V*Math.sin(Q)).toFixed(2)} ${(-V*Math.cos(Q)).toFixed(2)}`,X=$>0?`L${Z($,1)}A${$} ${$} 0 0 0 ${Z($,-1)}Z`:"L0 0Z";return`M${Z(j,-1)}A${j} ${j} 0 0 1 ${Z(j,1)}${X}`}function AI($,j){let J=D0("svg",{class:"status",viewBox:"-8.5 -12.3 17 12.3"});return O2(J,$,j-6.15,17,12.3),J.append(...[vC(0,3.6,46),vC(5.5,8.2,46),vC(9.9,12.3,46)].map((Q)=>{return D0("path",{d:Q,...{"stroke-linejoin":"round",stroke:"currentColor","stroke-width":0.6}})})),J}function TI($,j){let J=D0("svg",{class:"status",viewBox:"0 0 18 12"});return O2(J,$,j-6,18,12),J.append(...[4.4,6.8,9.2,12].map((Q,Z)=>D0("rect",{x:Z*4.93,y:12-Q,width:3.2,height:Q,rx:1}))),J}function SI($,j){let J=D0("svg",{class:"status",viewBox:"0 0 27.3 13"});O2(J,$,j-6.5,27.3,13);let Q=D0("text",{class:"level",x:12.6,y:6.9,"text-anchor":"middle","dominant-baseline":"middle"});Q.textContent=String(I9);let Z=(25.2*I9/100).toFixed(2);return J.append(D0("rect",{x:0,y:0,width:25.2,height:13,rx:4.2,"fill-opacity":0.4}),D0("path",{d:`M4.2 0H${Z}V13H4.2A4.2 4.2 0 0 1 0 8.8V4.2A4.2 4.2 0 0 1 4.2 0Z`}),Q,D0("path",{d:"M26.1 4.6a1.2 1.2 0 0 1 1.2 1.2v1.4a1.2 1.2 0 0 1-1.2 1.2Z","fill-opacity":0.4})),J}function Zm($){let j=J1("div","time","04:20");j.style.left=`${$.time.x}px`,j.style.top=`${$.time.y}px`,j.style.fontSize=`${$.time.size}px`;let{icons:J}=$;if(J.align==="start"){let X=$.battery??{x:J.x,y:J.y},V=[TI(J.x,J.y),AI(J.x+23,J.y),SI(X.x-27.3,X.y)];for(let Y of V)Y.style.transform="scale(0.85)";return[j,...V]}let Q=J.x-27.3,Z=Q-7.3-17;return[j,TI(Z-6-18,J.y),AI(Z,J.y),SI(Q,J.y)]}function xI($,j){if($==="back")return j.back;if($==="forward")return j.forward;if($==="reload")return j.reload;return}function gC($,j,J,Q){let Z=PQ($,EI,30,J,xI($.glyph,Q));return Z.style.left=`${$.x-j.x-15}px`,Z.style.top=`${$.y-j.y-15}px`,Z}function uC($,j){let J=Math.round(zI(j,A8.pill,400,-0.2))+38;return{x:$.x-J/2,y:$.y,width:J,height:$.height}}function hC($,j,J){O2($,j.x,j.y,j.width,j.height),$.style.borderRadius=`${J}px`}function Xm($,j,J){if($.hidden=j===null,!j)return;$.style.top=`${j.y}px`,$.style.height=`${j.height}px`;let Q=(X)=>J.background.replace(/^rgb\((.*)\)$/,`rgba($1, ${X})`),Z=j.stops.map(({at:X,alpha:V})=>`${Q(V)} ${X}px`);$.style.background=`linear-gradient(to bottom, ${Z.join(", ")})`}function fI($,j,J,Q){let Z=J1("div","safari");Z.style.inset="0";let X=J1("div","fade");if(X.style.left="0",X.style.right="0",Z.append(X),$.status)Z.append(...Zm($.status));let V=j.shapes.find((B)=>B.kind==="pill")??null,Y=V?$.shapes.find((B)=>B.kind==="card")??$.shapes.find((B)=>B.text!==void 0)??null:null,q=null,C=null,G=[],W=(B,z)=>{return G.push({node:B,glyph:z}),B};if(Y&&V){q=J1("div",Y.kind==="card"?"surface from-card":"surface");let B=$.shapes.find((U)=>U.kind==="field");if(B){let U=J1("div","field full");hC(U,{...B,x:B.x-Y.x,y:B.y-Y.y},B.radius);for(let F of B.marks)U.append(W(gC(F,B,"",Q),F.glyph));q.append(U)}for(let U of Y.marks){let F=W(gC(U,Y,"full",Q),U.glyph);if(Y.kind==="card")F.style.left=`calc(${(U.x-Y.x)/Y.width*100}% - 15px)`;else if(U.x>Y.x+Y.width/2)F.style.left="",F.style.right=`${Y.x+Y.width-U.x-15}px`;q.append(F)}C=J1("div","domain");let z=(B??Y).text;C.style.maxWidth=`${(B??Y).width-96}px`,C.dataset.top=String((z?.y??Y.y)-Y.y),q.append(C);let M=Q.expand;if(M)q.classList.add("tap"),q.addEventListener("click",()=>{if(Z.dataset.state==="min")M()});Z.append(q)}let K=J1("div","progress");K.hidden=!0,q?.append(K);let H=0;for(let B of $.shapes){if(B===Y||B.kind==="field")continue;let z=J1("div","side capsule");hC(z,B,B.radius);let M=B.x+B.width/2,U=$.orientation==="landscape",F=Y?Y.x+Y.width/2:M;z.style.setProperty("--dx",U?"0px":`${Math.sign(F-M)*10}px`);let P=U?-12:Y&&B.y>Y.y+Y.height?12:0;z.style.setProperty("--dy",`${P}px`);for(let D of B.marks)z.append(W(gC(D,B,"",Q),D.glyph));if(B.text){let D=J1("div","domain");D.style.top=`${B.text.y-B.y}px`,D.style.maxWidth=`${B.width-96}px`,z.append(D)}Z.append(z)}return{root:Z,apply(B,z){Z.dataset.state=B?"min":"max",Z.className=z.dark?"safari dark":"safari light",Xm(X,(B?j:$).fade,z);for(let M of Array.from(Z.querySelectorAll(".domain")))M.textContent=z.host;for(let{node:M,glyph:U}of G){let F=U==="back"&&!z.canBack||U==="forward"&&!z.canForward;M.classList.toggle("off",F),M.classList.toggle("press",!F&&xI(U,Q)!==void 0)}if(q&&C&&Y&&V){let M=B?uC(V,z.host):Y;hC(q,M,B?V.radius:Y.radius);let U=B?V.height/2:Number(C.dataset.top);C.style.top=`${U}px`;let F=B?A8.pill/A8.field:1;C.style.transform=`translate(-50%, -50%) scale(${F})`}},loading(B,z){let M=++H;for(let{node:D,glyph:_}of G)if(_==="reload")D.replaceChildren(...B?Qm():EI.reload());let U=!z&&typeof K.animate==="function",F=U&&!K.hidden?getComputedStyle(K).transform:"none";for(let D of U?K.getAnimations():[])D.cancel();if(K.style.opacity="",B){if(K.hidden=!1,K.style.transform=`scaleX(${U?y6.most:y6.still})`,!U)return;K.animate([{transform:"scaleX(0)"},{transform:`scaleX(${y6.start})`,offset:0.06},{transform:`scaleX(${y6.most})`}],{duration:y6.creep,easing:"cubic-bezier(0.1, 0.7, 0.3, 1)"});return}if(K.hidden)return;if(!U){K.hidden=!0;return}K.style.transform="scaleX(1)",K.animate([{transform:F==="none"?"scaleX(0)":F},{transform:"scaleX(1)"}],{duration:y6.finish,easing:"ease-out"});let P=K.animate([{opacity:1},{opacity:0}],{delay:y6.finish,duration:y6.fade,easing:"ease-out",fill:"forwards"});P.finished.then(()=>{if(M!==H)return;K.hidden=!0,P.cancel()},()=>{})}}}var OI,y6,EI;var mC=u(()=>{V$();T8();OI=`
105
+ .safari {
106
+ color: #000;
107
+ /* Minimizing: the shape morphs over --duration-very-slow, the parts that
108
+ leave go in 60% of it, and the address's own glyphs in --duration-quick. */
109
+ --main: ${Q1.minimize}ms;
110
+ --side: 300ms;
111
+ --side-delay: 0ms;
112
+ --icon: 150ms;
113
+ --icon-delay: 0ms;
114
+ }
115
+ /* Expanding: --duration-slow, the shape leads and the parts come in after it. */
116
+ .safari[data-state="max"] {
117
+ --main: ${Q1.expand}ms;
118
+ --side: 250ms;
119
+ --side-delay: 120ms;
120
+ --icon: 250ms;
121
+ --icon-delay: 150ms;
122
+ }
123
+ .safari.dark { color: #f3f3f8; }
124
+ .safari .surface > *, .safari .side > *, .safari .field > * { position: absolute; }
125
+ /* Glass over the page: a fill the page shows faintly through, blurred. */
126
+ .safari .capsule, .safari .card, .safari .surface {
127
+ background: rgba(255, 255, 255, 0.78);
128
+ box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
129
+ -webkit-backdrop-filter: blur(10px) saturate(1.8);
130
+ backdrop-filter: blur(10px) saturate(1.8);
131
+ }
132
+ .safari .card, .safari[data-state="max"] .surface.from-card {
133
+ background: rgba(250, 250, 250, 0.82);
134
+ }
135
+ .safari .field { background: rgba(0, 0, 0, 0.05); }
136
+ /* Sampled from a real iPhone over a dark page. */
137
+ .safari.dark .capsule, .safari.dark .surface {
138
+ background: rgba(40, 40, 42, 0.75);
139
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
140
+ }
141
+ .safari.dark .card, .safari.dark[data-state="max"] .surface.from-card {
142
+ background: rgba(46, 46, 48, 0.8);
143
+ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
144
+ }
145
+ .safari.dark .field { background: rgba(0, 0, 0, 0.14); }
146
+ .safari .glyph {
147
+ fill: none;
148
+ stroke: currentColor;
149
+ stroke-width: 1.9;
150
+ stroke-linecap: round;
151
+ stroke-linejoin: round;
152
+ }
153
+ .safari .glyph .solid { fill: currentColor; stroke: none; }
154
+ /* Reload and stop are a shade lighter than the other glyphs and thinner, as measured. */
155
+ .safari .glyph .reload { stroke-width: 1.6; }
156
+ .safari .glyph .stop { stroke-width: 1.82; }
157
+ .safari.light .glyph .reload, .safari.light .glyph .stop { stroke: #191919; }
158
+ .safari .glyph.off { color: #babac7; }
159
+ .safari.dark .glyph.off { color: #58585b; }
160
+ .safari .domain {
161
+ left: 50%;
162
+ white-space: nowrap;
163
+ overflow: hidden;
164
+ text-overflow: ellipsis;
165
+ text-align: center;
166
+ font-size: ${A8.field}px;
167
+ font-weight: 400;
168
+ letter-spacing: -0.2px;
169
+ transform: translate(-50%, -50%);
170
+ }
171
+ .safari .time { font-weight: 600; letter-spacing: -0.3px; transform: translate(-50%, -50%); }
172
+ .safari .status { fill: currentColor; }
173
+ .safari .level { fill: #fff; font-size: 9.5px; font-weight: 600; letter-spacing: -0.3px; }
174
+ .safari.dark .level { fill: #000; }
175
+ /* One surface morphs: its box, corners and color, and the domain glides in it. */
176
+ .safari .surface {
177
+ overflow: hidden;
178
+ transition:
179
+ left var(--main) ${Q1.ease},
180
+ top var(--main) ${Q1.ease},
181
+ width var(--main) ${Q1.ease},
182
+ height var(--main) ${Q1.ease},
183
+ border-radius var(--main) ${Q1.ease},
184
+ background-color var(--main) ${Q1.ease},
185
+ box-shadow var(--main) ${Q1.ease};
186
+ }
187
+ .safari .domain, .safari .fade {
188
+ transition:
189
+ top var(--main) ${Q1.ease},
190
+ height var(--main) ${Q1.ease},
191
+ transform var(--main) ${Q1.ease};
192
+ }
193
+ /* The parts only the expanded bars have: an icon swap, out early, in late. */
194
+ .safari .full {
195
+ transition:
196
+ opacity var(--icon) ease-in-out var(--icon-delay),
197
+ filter var(--icon) ease-in-out var(--icon-delay),
198
+ transform var(--icon) ease-in-out var(--icon-delay);
199
+ }
200
+ .safari[data-state="min"] .full {
201
+ opacity: 0;
202
+ filter: blur(2px);
203
+ transform: scale(0.9);
204
+ pointer-events: none;
205
+ }
206
+ /* The capsules beside it fade and drift a few px toward where the bars go. */
207
+ .safari .side {
208
+ transition:
209
+ opacity var(--side) ease-in-out var(--side-delay),
210
+ filter var(--side) ease-in-out var(--side-delay),
211
+ transform var(--side) ${Q1.ease} var(--side-delay);
212
+ }
213
+ .safari[data-state="min"] .side {
214
+ opacity: 0;
215
+ filter: blur(2px);
216
+ transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(0.96);
217
+ }
218
+ .safari[data-state="min"] .side *, .safari[data-state="min"] .full * { pointer-events: none; }
219
+ .safari[data-state="min"] .surface.tap { pointer-events: auto; cursor: pointer; }
220
+ .browser[data-instant] * { transition: none !important; }
221
+ /* A page loading: a blue line along the bottom of the address, as wide as the load has come. */
222
+ .safari .progress {
223
+ left: 0;
224
+ bottom: 0;
225
+ width: 100%;
226
+ height: 3px;
227
+ transform-origin: 0 50%;
228
+ background: #007aff;
229
+ pointer-events: none;
230
+ }
231
+ .safari.dark .progress { background: #0a84ff; }
232
+ `,y6={start:0.25,most:0.9,creep:8000,finish:200,fade:250,still:0.3};EI={back:()=>[s2("M4.2 -8L-4.2 0L4.2 8")],forward:()=>[s2("M-4.2 -8L4.2 0L-4.2 8")],share:()=>[s2("M-3.2 -2.6H-4.7A3 3 0 0 0 -7.7 0.4V8.3A3 3 0 0 0 -4.7 11.3H4.7A3 3 0 0 0 7.7 8.3V0.4A3 3 0 0 0 4.7 -2.6H3.2"),s2("M0 4.4V-11.1M-4.1 -7L0 -11.1L4.1 -7")],bookmarks:()=>[s2("M0 -6.4C-2.6 -8.5 -6.6 -9.1 -11.1 -8.1V7.6C-6.6 6.7 -2.6 7.3 0 9.1C2.6 7.3 6.6 6.7 11.1 7.6V-8.1C6.6 -9.1 2.6 -8.5 0 -6.4ZM0 -6.4V9.1")],tabs:()=>[s2("M-5.4 5.2H-7.4A3.2 3.2 0 0 1 -10.6 2V-7.2A3.2 3.2 0 0 1 -7.4 -10.4H2.2A3.2 3.2 0 0 1 5.4 -7.2V-5.2"),D0("rect",{x:-5.4,y:-5.2,width:16,height:15.6,rx:3.2})],reload:()=>[s2("M6.66 0.92A6.59 6.59 0 1 1 2.93 -5.02","reload"),s2("M-0.15 -8.89L3.26 -5.33L-0.16 -1.93","reload")],page:()=>[D0("rect",{x:-6.8,y:-8.1,width:13.6,height:8.6,rx:2.4}),s2("M-6.8 4.2H6.8M-6.8 8.1H2.6")],more:()=>[-7.8,0,7.8].map(($)=>D0("circle",{cx:$,cy:0,r:2,class:"solid"})),plus:()=>[s2("M0 -8.5V8.5M-8.5 0H8.5")],home:()=>[],tune:()=>[],switcher:()=>[],menu:()=>[]}});function Ym($){let j=G8($);if(j)return j;try{let J=document.createElement("canvas");J.width=1,J.height=1;let Q=J.getContext("2d",{willReadFrequently:!0});if(!Q)return null;Q.fillStyle=$,Q.fillRect(0,0,1,1);let[Z=0,X=0,V=0,Y=0]=Q.getImageData(0,0,1,1).data;return{red:Z,green:X,blue:V,alpha:Y/255}}catch{return null}}function qm($,j,J){let Z=j.getComputedStyle($.documentElement).colorScheme??"",V=Z.includes("dark")&&(J||!Z.includes("light"))?[18,18,18]:[255,255,255],Y=[$.body,$.documentElement].filter((q)=>!!q);for(let q of Y){let C=Ym(j.getComputedStyle(q).backgroundColor);if(!C||C.alpha===0)continue;let{red:G,green:W,blue:K,alpha:H}=C,[B,z,M]=V,U=(F,P)=>Math.round(F*H+P*(1-H));V=[U(G,B),U(W,z),U(K,M)]}return V}function v6($){let j={background:"rgb(255, 255, 255)",dark:!1,scheme:"light",host:"",canBack:!1,canForward:!1};try{let{contentWindow:J,contentDocument:Q}=$;if(!J||!Q?.documentElement)return j;let Z=J.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",[X,V,Y]=qm(Q,J,Z==="dark"),q=X$(J),C=(G)=>{let W=q&&Reflect.get(q,G);return typeof W==="boolean"?W:null};return{background:`rgb(${X}, ${V}, ${Y})`,dark:V4(X,V,Y)<0.4,scheme:Z,host:J.location.host,canBack:C("canGoBack")??J.history.length>1,canForward:C("canGoForward")??!1}}catch{return j}}function Cm($){try{return!!$.contentDocument?.documentElement}catch{return!1}}function bI($,j){return JSON.stringify($)===JSON.stringify(j)}function wI($,j,J,Q=()=>{},Z=()=>!0){let X=J1("div","screenblank");X.hidden=!0,$.append(X);let V=J1("div","browser");V.setAttribute("aria-hidden","true");let Y=null,q=null,C=null,G="",W=null,K=0,H=0,B=null,z=null,M="",U=Aq,F=!1,P=0,D=()=>D8("(prefers-reduced-motion: reduce)").matches,_=(m)=>{let k=U.minimized;if(U=oz(U,m),U.minimized!==k)queueMicrotask(J)},S=()=>{let m=j.contentWindow;if(m)_({type:"scroll",y:m.scrollY,time:performance.now()})},f={back:()=>j.contentWindow?.history.back(),forward:()=>j.contentWindow?.history.forward(),reload:()=>{if(F){j.contentWindow?.stop(),g();return}Q(),h4(j.contentWindow,"frame"),j.contentWindow?.location.reload()},expand:()=>_({type:"tap"})},L=()=>{let m=Y?.bars??null;try{let{contentWindow:k,contentDocument:l}=j;if(!k||!l?.documentElement)return;let R=m?nz(m.screen,m.orientation,m.layout,m.minimized,m.edge):0,y=NI(l,R);if(y===R)return;_({type:"resize",time:performance.now()});let i=l.documentElement.scrollHeight-k.innerHeight;if(R<y||k.scrollY<=1||k.scrollY<i-(R-y)-1)return;k.scrollTo({top:i,behavior:D()?"instant":"smooth"})}catch{}},I=()=>{if(!Y)return;if(Y.sizeFrame(),!bI(Y.page,W))_({type:"resize",time:performance.now()});W=Y.page,L()},N=(m)=>{let k=Y?.page??null,l=!m&&k&&W&&k.height<W.height;if(clearTimeout(K),!l){I();return}K=window.setTimeout(()=>{if(bI(Y?.page??null,k))I()},Q1.expand)},A=()=>{j.style.background=Cm(j)?(q??=v6(j)).background:""},E=()=>{let m=Y?.bars??null;if(!Y||!m){if(clearTimeout(K),V.replaceChildren(),$.style.background="",A(),C=null,G="",Y)I();return}q??=v6(j),$.style.background=q.background,A();let{platform:k,layout:l,screen:R,orientation:y,edge:i}=m,n=JSON.stringify([k,l,R,y,i,Y.follow]),$0=n!==G||!C,X0=$0||D();if($0){let M0=r5(R,y,l,!m.minimized,i),T0=m.minimized?M0:m,x=m.minimized?m:M0,h={...f,expand:Y.follow?f.expand:void 0};if(!T0||!x)return;if(C=Vm[m.platform](T0,x,q,h),V.replaceChildren(C.root),G=n,F)C.loading?.(!0,!0)}if(X0)V.setAttribute("data-instant","");if(C?.apply(m.minimized,q),X0)V.offsetWidth,V.removeAttribute("data-instant");N(X0)},b=()=>{try{return j.contentDocument}catch{return null}},w=(m,k)=>{if(F=m,k)q=k,E();if(C?.loading?.(m,D()),!m)O.refresh()},g=()=>{if(P)window.cancelAnimationFrame(P);if(P=0,!F)return;X.hidden=!0,w(!1,null)},c=(m)=>{if(X.style.background=(m??q??v6(j)).background,X.hidden=!1,w(!0,m),P)window.cancelAnimationFrame(P);let k=performance.now()+Wm,l=b(),R=()=>{if(P=0,(l===null||b()!==l)&&Z()||performance.now()>=k)g();else P=window.requestAnimationFrame(R)};P=window.requestAnimationFrame(R)},v=()=>{try{let{contentWindow:m,contentDocument:k}=j;if(m&&k&&k!==z)B?.removeEventListener("change",v),B=m.matchMedia("(prefers-color-scheme: dark)"),B.addEventListener("change",v),m.addEventListener("scroll",S,{passive:!0}),z=k;let l=m?.location.href??"";if(l!==M)M=l,_({type:"navigate"})}catch{B=null}if(!F||!q)q=v6(j);E()},O={show(m){if(Y=m,m.bars&&!V.isConnected)$.append(V);if(!m.bars)V.remove();O2(V,0,0,m.size.width,m.size.height),V.style.transform=m.zoom===1?"":`scale(${m.zoom})`,E()},refresh(){if(!Y)return;let m=Y.bars?v:()=>{if(!F||!q)q=v6(j);A()};m(),clearTimeout(H),H=window.setTimeout(m,Gm)},minimized:()=>U.minimized,page:()=>W,startLoading:c,stopLoading:g,look:()=>q,remove(){if(clearTimeout(H),P)window.cancelAnimationFrame(P);P=0,clearTimeout(K),B?.removeEventListener("change",v);try{j.contentWindow?.removeEventListener("scroll",S)}catch{}B=null,z=null,V.remove(),X.remove()}};return O}var DQ,Vm,Gm=120,Wm=5000;var LQ=u(()=>{T8();V$();II();m2();RI();L8();FQ();mC();y5();DQ=`
233
+ .browser {
234
+ position: absolute;
235
+ top: 0;
236
+ left: 0;
237
+ overflow: hidden;
238
+ transform-origin: 0 0;
239
+ pointer-events: none;
240
+ cursor: default;
241
+ user-select: none;
242
+ -webkit-user-select: none;
243
+ font-family: ${FI};
244
+ font-weight: 400;
245
+ -webkit-font-smoothing: antialiased;
246
+ line-height: 1;
247
+ }
248
+ .browser > *,
249
+ .browser > * > *,
250
+ .browser .group > * {
251
+ position: absolute;
252
+ box-sizing: border-box;
253
+ }
254
+ .browser svg { overflow: visible; }
255
+ .browser .press { pointer-events: auto; cursor: default; }
256
+ ${OI}
257
+ ${PI}
258
+ `,Vm={safari:fI,chrome:_I}});function q$(){return pC}function yI($){if(!($>0)||$===pC)return;pC=$;for(let j of[...cC])j()}function vI($){return cC.add($),()=>{cC.delete($)}}function gI($){return NQ=$,()=>{if(NQ===$)NQ=null}}function hI($,j){return NQ?.($,j)??null}function dC($,j){return $-j>=320}function Km($,j,J){return $.docked&&$.open&&dC(j,J)?J:0}function RQ($,j,J){let Q=Km($,j,J);return{left:$.side==="left"?Q:0,right:$.side==="right"?Q:0}}var kI=320,pC=240,cC,NQ=null;var D9=u(()=>{cC=new Set});function iC($){return typeof $.width==="number"||typeof $.height==="number"||$.zoom!=="fit"}function uI($){return Math.min(Bm,$/4)}function N9($,j,J={}){let{frameZoom:Q=1,aside:Z=0,side:X="right",mock:V=Um}=J,Y={width:j.width,height:Math.max(0,j.height-(iC($)?L9:0))},q=typeof $.width==="number",C=typeof $.width==="number"?$.width:Y.width,G=q?uI(Y.width):0,W=typeof $.height==="number"?uI(Y.height):0,K={width:V.left+V.right,height:V.top+V.bottom},H=C>0&&Y.width>0?(Y.width-2*G)/(C+K.width):1,B=typeof $.height==="number"&&$.height>0&&Y.height>0,z=(Y.height-2*W)/(Number($.height)+K.height),M=Math.min(1,H,B?z:1),U=typeof $.height==="number"?$.height:Y.height/M,F={width:C+K.width,height:U+K.height},P=q&&Z>0&&Z<=Y.width/2&&(Y.width+F.width*M)/2+G>Y.width-Z,D=P?Math.min(M,(Y.width-Z-2*G)/F.width):M,_=$.zoom==="fit"?D:$.zoom,S=$.zoom==="fit"&&P?Z:0,f=X==="left"?S:0;return{width:C,height:U,zoom:Q,scale:_,fit:D,transform:_/Q,box:{width:F.width*_+2*G+S,height:F.height*_+2*W},left:G+V.left*_+f,top:W+V.top*_}}function p8($,j){return{x:Math.max(0,(j.width-$.box.width)/2)+$.left,y:Math.max(0,(j.height-$.box.height)/2)+$.top}}function AQ($,j,J=$){let Q=z1(j.device,j.posture)?.label,Z=Q?`${Q} · ${J.width}`:String(J.width);if(typeof j.height==="number")Z+=` × ${J.height}`;if(typeof j.dpr==="number")Z+=` · ${j.dpr}x`;return Z}var lC=8,L9,Bm=24,Um;var TQ=u(()=>{W1();L9=24+lC,Um={top:0,right:0,bottom:0,left:0}});function Hm(){return h8.map(($)=>{let j=d4[$];return`[data-mat="${$}"] { --mat: ${E6(j.srgb)}; --mat-p3: ${E6(j.p3)}; --mat-line: ${j.line}; }`}).join(`
259
+ `)}function pI($){let j=[];for(let J=SQ;J<$;J+=SQ){let Q=J%E2===0?T9.span:J%Mm===0?T9.major:T9.cell;j.push({at:J,size:Q})}return j}function cI($,j){let J=[];for(let Q=E2;Q+mI<=$;Q+=E2){if(j&&Q+mI>j.from&&Q<j.to)continue;J.push(Q)}return J}function sC($,j,J){return $.map((Q)=>`M${Q} 0h${J}v${j}h${-J}ZM0 ${Q}h${j}v${J}h${-j}Z`).join("")}function Pm($){let j=Math.floor(($-zm)/E2)*E2;return j>0?{x:0,y:j}:null}function lI($){let j=$*Math.PI/180;return{x:Math.cos(j),y:-Math.sin(j)}}function _m($,j,J){let Q=lI(j),Z=Q.y<0?$.y/-Q.y:1/0,X=Q.x>0?(J.width-$.x)/Q.x:1/0;if(Z<=X)return{x:$.x+Z*Q.x,y:0};return{x:J.width,y:$.y+X*Q.y}}function nC($,j,J,Q=0){let Z=lI(j);return{x:$.x+J*Z.x+Q*Z.y,y:$.y+J*Z.y-Q*Z.x}}function iI($,j,J,Q={left:0,right:0}){let Z=D0("svg",{class:"mat","aria-hidden":"true"}),X=D0("g",{transform:`translate(${Q.left} 0)`}),V=E2/2,Y=[];for(let B=SQ;B<E2;B+=SQ)if(B!==V)Y.push(B);let q=6,C=D0("pattern",{id:"mat-grid",x:-V,y:-V,width:E2,height:E2,patternUnits:"userSpaceOnUse"});C.append(D0("path",{class:"cell",d:sC(Y,E2,j)}),D0("path",{class:"major",d:sC([0],E2,j)}),D0("path",{class:"span",d:sC([V],E2,j)}),D0("path",{class:"mark",d:`M${V-q} ${V}h${2*q+j}v${j}h${-2*q-j}ZM${V} ${V-q}h${j}v${2*q+j}h${-j}Z`}));let G=D0("defs",{});G.append(C);let W=pI($.width).map((B)=>`M${B.at} 0h${j}v${B.size}h${-j}Z`).join(""),K=pI($.height).map((B)=>`M0 ${B.at}h${B.size}v${j}h${-B.size}Z`).join("");X.append(D0("rect",{x:-Q.left,width:Q.left+$.width+Q.right,height:"100%",fill:"url(#mat-grid)"}),D0("path",{class:"tick",d:W+K})),Z.append(G,X);let H=Pm($.height);if(H){let B=nC(H,0,R9),z={x:H.x,y:H.y-R9},M=D0("path",{class:"angle",d:`M${B.x} ${B.y}A${R9} ${R9} 0 0 0 ${z.x} ${z.y}`,"stroke-width":j});M.style.opacity=String(rC.line),X.append(M);for(let U of Fm){let F=nC(H,U,R9),P=_m(H,U,$),D=D0("path",{class:"angle",d:`M${F.x} ${F.y}L${P.x} ${P.y}`,"stroke-width":j});D.style.opacity=String(U===45?rC.half:rC.line),X.append(D);let _=Math.hypot(P.x-H.x,P.y-H.y),S=nC(H,U,A9.radius,A9.off);if(_<A9.radius+A9.room||S.y<A9.top)continue;let f=D0("text",{x:S.x,y:S.y,transform:`rotate(${-U} ${S.x} ${S.y})`});f.textContent=`${U}°`,X.append(f)}}for(let B of cI($.width,J)){let z=D0("text",{x:B+3,y:T9.span+1});z.textContent=String(B),X.append(z)}for(let B of cI($.height)){let z=D0("text",{x:T9.span+2,y:B,"dominant-baseline":"middle"});z.textContent=String(B),X.append(z)}return Z}var dI,SQ=10,Mm=50,E2=100,T9,Fm,rC,R9=40,A9,zm=30,mI=24;var aC=u(()=>{V$();u8();dI=`
260
+ ${Hm()}
261
+ .mat {
262
+ position: absolute;
263
+ top: 0;
264
+ left: 0;
265
+ width: 100%;
266
+ height: 100%;
267
+ pointer-events: none;
268
+ fill: var(--mat-line);
269
+ }
270
+ .mat .cell { opacity: 0.07; }
271
+ .mat .major { opacity: 0.14; }
272
+ .mat .span { opacity: 0.26; }
273
+ .mat .angle { fill: none; stroke: var(--mat-line); }
274
+ .mat .mark, .mat .tick { opacity: 0.55; }
275
+ .mat text {
276
+ font: 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
277
+ font-variant-numeric: tabular-nums;
278
+ opacity: 0.5;
279
+ }`,T9={cell:3,major:5,span:9},Fm=[15,30,45,60,75],rC={line:0.15,half:0.22},A9={radius:240,off:3,top:40,room:24}});function sI($,j,J=1,Q=null,Z=Q??"inner"){let X=RY(),[,V,Y,q]=Q?AY(Q,$,J):[1,0,0,0];return{peak:X?LY($,Z):0,edge:X?[k0.edgeHinge*j,k0.edgeFree*j]:[0,0],free:J,dark:hj()?vj($):0,lit:[V,Y,q]}}function oC($,j,J,Q){let{top:Z,bottom:X}=mM($,j,J);return J.height>0?Math.max(Z,X)*Q/J.height:0}function nI($,j,J){if(J.width<=0)return 1;let[Q,Z,X,V]=$,Y=j==="inner"?J.x+J.width-(Q[0]+V[0])/2:(Z[0]+X[0])/2-J.x;return Math.min(1,Math.max(0,Y/J.width))}function aI($,j){let J=0;for(let Q of $.frames){if(bj($,Q)!==j)continue;let Z=O3(Q,j),X=wj($,j,Z);J=Math.max(J,oC(kj(Z,j,X),j,X,1))}return J}function Dm($){let{across:j,part:J,stage:Q,margin:Z}=$;return j?{x:J.x,y:-Z,width:J.width,height:Q.height+2*Z}:{x:-Z,y:J.y,width:Q.width+2*Z,height:J.height}}function Lm($,j,J){let{x:Q,y:Z,width:X,height:V}=J;if(j)return $==="inner"?[-1/X,0,(Q+X)/X]:[1/X,0,-Q/X];return $==="inner"?[0,1/V,-Z/V]:[0,-1/V,(Z+V)/V]}function Nm($){if(typeof WebGL2RenderingContext>"u")return null;let j=$.getContext("webgl2",{alpha:!1,antialias:!1,depth:!1,stencil:!1,premultipliedAlpha:!1,powerPreference:"low-power"});return j instanceof WebGL2RenderingContext?j:null}function rI($,j,J){let Q=$.createShader(j);if(!Q)return null;return $.shaderSource(Q,J),$.compileShader(Q),Q}function Tm($,j){return $?.trim().split(`
280
+ `)[0]?.trim()||j}function Sm($){let j=$ instanceof Error?$.name:String($),J="the browser holds the picture as another origin's, as one with a picture, video or canvas from another origin drawn in, or a drawing of the page this browser does not trust";return`the picture could not be uploaded: ${j}${j==="SecurityError"?", the browser holds the picture as another origin's, as one with a picture, video or canvas from another origin drawn in, or a drawing of the page this browser does not trust":""}`}function oI($,j){let J=document.createElement("canvas"),Q=Nm(J);if(!Q)return j(typeof WebGL2RenderingContext>"u"?"this browser has no WebGL2":"the canvas gave no WebGL2 context",null),null;let Z=Dm($),X=Math.max(1,Q.getParameter(Q.MAX_RENDERBUFFER_SIZE)||4096),V=Math.min($.density,X/Z.width,X/Z.height);J.width=Math.max(1,Math.round(Z.width*V)),J.height=Math.max(1,Math.round(Z.height*V)),J.style.position="absolute",J.style.display="block",J.style.left=`${Z.x}px`,J.style.top=`${Z.y}px`,J.style.width=`${Z.width}px`,J.style.height=`${Z.height}px`;let Y=rI(Q,Q.VERTEX_SHADER,Rm),q=rI(Q,Q.FRAGMENT_SHADER,Am),C=Q.createProgram(),G=Q.createBuffer(),W=Q.createTexture(),K=()=>{Q.deleteTexture(W),Q.deleteBuffer(G),Q.deleteProgram(C),Q.deleteShader(Y),Q.deleteShader(q),Q.getExtension("WEBGL_lose_context")?.loseContext(),J.remove()};if(!Y||!q||!C||!G||!W){let L=Q.isContextLost()?"the WebGL2 context was lost as it was made":"WebGL2 made no shader, program, buffer or texture";return K(),j(L,null),null}if(Q.attachShader(C,Y),Q.attachShader(C,q),Q.linkProgram(C),!Q.getProgramParameter(C,Q.LINK_STATUS)){let L=[Y,q].map((N)=>Q.getShaderInfoLog(N)).find((N)=>N?.trim())??Q.getProgramInfoLog(C),I=Q.isContextLost();return K(),j(I?"the WebGL2 context was lost as it was made":`the shader did not compile or link: ${Tm(L,"no reason given")}`,null),null}Q.useProgram(C),Q.bindBuffer(Q.ARRAY_BUFFER,G),Q.bufferData(Q.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,1,1]),Q.STATIC_DRAW);let H=Q.getAttribLocation(C,"corner");Q.enableVertexAttribArray(H),Q.vertexAttribPointer(H,2,Q.FLOAT,!1,0,0);let B=(L)=>Q.getUniformLocation(C,L),{stage:z}=$;Q.uniform4f(B("view"),Z.x,Z.y,Z.width,Z.height),Q.uniform2f(B("stage"),z.width,z.height),Q.uniform2f(B("along"),$.across?0:1,$.across?1:0),Q.uniform3f(B("line"),...Lm($.pane,$.across,$.part)),Q.uniform1f(B("px"),J.width>0?Z.width/J.width:1),Q.uniform1i(B("page"),0);let M=yj[$.pane];Q.uniform2f(B("run"),H8($.pane,0),H8($.pane,1)-H8($.pane,0)),Q.uniform3f(B("wiped"),M.at,M.shade[0],M.shade[1]),Q.uniform2f(B("soften"),M.blur[0],M.blur[1]);let U={peak:B("peak"),edge:B("edge"),free:B("free"),dark:B("dark"),shape:B("shape"),rimmed:B("rimmed"),band:B("band"),lit:B("lit"),grain:B("grain")};Q.bindTexture(Q.TEXTURE_2D,W),Q.texParameteri(Q.TEXTURE_2D,Q.TEXTURE_WRAP_S,Q.CLAMP_TO_EDGE),Q.texParameteri(Q.TEXTURE_2D,Q.TEXTURE_WRAP_T,Q.CLAMP_TO_EDGE),Q.texParameteri(Q.TEXTURE_2D,Q.TEXTURE_MIN_FILTER,Q.LINEAR_MIPMAP_LINEAR),Q.texParameteri(Q.TEXTURE_2D,Q.TEXTURE_MAG_FILTER,Q.LINEAR),Q.viewport(0,0,J.width,J.height);let F=Q.getParameter(Q.MAX_TEXTURE_SIZE)||2048,P=null,D=null,_=!1,S=(L)=>{if(D=L,_||!P)return;Q.uniform1f(U.peak,L.peak),Q.uniform2f(U.edge,...L.edge),Q.uniform1f(U.free,L.free),Q.uniform1f(U.dark,L.dark),Q.uniform2f(U.shape,k0.blurHinge,k0.blurRise),Q.uniform2f(U.rimmed,k0.edgeReach,k0.blurSpread),Q.uniform3f(U.band,k0.darkFrom,k0.darkBand,k0.darkBroad),Q.uniform3f(U.lit,...L.lit),Q.uniform1f(U.grain,k0.grain),Q.drawArrays(Q.TRIANGLE_STRIP,0,4)};J.addEventListener("webglcontextlost",()=>{if(_)return;_=!0,J.remove(),j("the WebGL2 context was lost",P)});let f=(L,I)=>{if(!_)K();_=!0,j(L,I)};return{canvas:J,paint(L){if(_)return f("the WebGL2 context is gone",L);if(Math.max(L.width,L.height)>F)return f(`the picture, ${L.width} by ${L.height} px, is larger than MAX_TEXTURE_SIZE, ${F}`,L);Q.getError();try{Q.texImage2D(Q.TEXTURE_2D,0,Q.RGBA,Q.RGBA,Q.UNSIGNED_BYTE,L)}catch(N){return f(Sm(N),L)}let I=Q.getError();if(I!==Q.NO_ERROR)return f(`the picture could not be uploaded: WebGL2 error 0x${I.toString(16)}`,L);if(Q.generateMipmap(Q.TEXTURE_2D),P=L,D)S(D)},draw:S,release(){if(_)return;_=!0,K()}}}var Im,Rm=`#version 300 es
281
+ in vec2 corner;
282
+ uniform vec4 view;
283
+ out vec2 pos;
284
+ void main() {
285
+ pos = view.xy + corner * view.zw;
286
+ gl_Position = vec4(corner.x * 2.0 - 1.0, 1.0 - corner.y * 2.0, 0.0, 1.0);
287
+ }`,Am;var tC=u(()=>{M8();qj();Im=[0.375,0.25,0.0625];Am=`#version 300 es
288
+ precision highp float;
289
+ uniform sampler2D page;
290
+ uniform vec2 stage;
291
+ uniform vec2 along;
292
+ uniform vec3 line;
293
+ uniform float peak;
294
+ uniform vec2 edge;
295
+ uniform float free;
296
+ uniform float dark;
297
+ uniform vec2 shape;
298
+ uniform vec2 rimmed;
299
+ uniform vec3 band;
300
+ uniform vec3 lit;
301
+ uniform vec2 run;
302
+ uniform vec3 wiped;
303
+ uniform vec2 soften;
304
+ uniform float grain;
305
+ uniform float px;
306
+ in vec2 pos;
307
+ out vec4 color;
308
+ const float WEIGHTS[3] = float[3](${Im.join(", ")});
309
+ float cover(float at, float span, float soft) {
310
+ return smoothstep(-soft, soft, at) * (1.0 - smoothstep(span - soft, span + soft, at));
311
+ }
312
+ float shadow(float t) {
313
+ if (dark <= 0.0) return 1.0;
314
+ float across = t / max(free, 0.001);
315
+ float deep = band.z * smoothstep(band.x, 1.0, across) + (1.0 - band.z) * smoothstep(1.0 - band.y, 1.0, across);
316
+ return 1.0 - dark * deep;
317
+ }
318
+ float shade(float t) {
319
+ if (lit.x + lit.y + lit.z <= 0.0) return 1.0;
320
+ float uv = run.x + run.y * t;
321
+ float off = abs(uv - wiped.x);
322
+ float wipe = 1.0 - clamp(smoothstep(wiped.y, wiped.z, off) * lit.x, 0.0, 1.0);
323
+ float soft = 1.0 - smoothstep(0.9, 1.3, clamp((off - soften.x) / (soften.y - soften.x) * lit.y, 0.0, 4.0 / 3.0));
324
+ float away = mix(1.0, smoothstep(0.05, 0.5, uv), lit.z);
325
+ return pow(clamp(wipe * soft * soft * away, 0.0, 1.0), 1.0 / 2.2);
326
+ }
327
+ vec4 shaded(vec3 rgb, float t) {
328
+ float speck = 0.0;
329
+ if (grain > 0.0 && dark + lit.x + lit.y + lit.z > 0.0) {
330
+ speck = (fract(52.9829189 * fract(dot(gl_FragCoord.xy, vec2(0.06711056, 0.00583715)))) - 0.5) * grain / 255.0;
331
+ }
332
+ return vec4(rgb * shadow(t) * shade(min(t, free)) + speck, 1.0);
333
+ }
334
+ float seen(vec2 at, float soft) {
335
+ float reach = soft * length(line.xy);
336
+ return cover(dot(along, at), dot(along, stage), soft) * (1.0 - smoothstep(free - reach, free + reach, dot(line.xy, at) + line.z));
337
+ }
338
+ void main() {
339
+ vec2 texels = vec2(textureSize(page, 0)) / stage;
340
+ vec2 right = dFdx(pos) * texels;
341
+ vec2 down = dFdy(pos) * texels;
342
+ float sharp = 0.5 * log2(max(1.0, max(dot(right, right), dot(down, down))));
343
+ float t = clamp(dot(line.xy, pos) + line.z, 0.0, 1.0);
344
+ float span = dot(along, stage);
345
+ float at = dot(along, pos);
346
+ float across = free > 0.0 ? min(1.0, t / free) : 1.0;
347
+ float wide = peak * (shape.x + (1.0 - shape.x) * pow(across, shape.y));
348
+ float rim = mix(edge.x, edge.y, t);
349
+ if (rim > 0.0) wide = max(wide, rim * (1.0 - smoothstep(0.0, rimmed.x * rim, min(at, span - at))));
350
+ float gap = rimmed.y * wide;
351
+ float soft = max(0.5 * px, 0.75 * gap);
352
+ float lod = max(sharp, log2(max(1.0, gap * max(texels.x, texels.y))));
353
+ vec3 sum = vec3(0.0);
354
+ if (peak + edge.x + edge.y <= 0.0) {
355
+ sum = textureLod(page, pos / stage, lod).rgb * seen(pos, soft);
356
+ } else {
357
+ for (int y = -2; y <= 2; y++) {
358
+ for (int x = -2; x <= 2; x++) {
359
+ vec2 tap = pos + vec2(float(x), float(y)) * gap;
360
+ float weight = WEIGHTS[abs(x)] * WEIGHTS[abs(y)];
361
+ sum += textureLod(page, tap / stage, lod).rgb * seen(tap, soft) * weight;
362
+ }
363
+ }
364
+ }
365
+ color = shaded(sum, t);
366
+ }`});function Om($){let j=[],J=0,Q="";for(let Z of $.trim()){if(Z==="(")J++;if(Z===")")J--;if(/\s/.test(Z)&&J===0){if(Q)j.push(Q);Q=""}else Q+=Z}if(Q)j.push(Q);return j}function tI($){let j=Array.from($.matchAll(/([+-])?\s*(\d*\.?\d+(?:e[+-]?\d+)?)(%|px)?/gi));if(j.length===0||!/^(calc\(.*\)|[+-]?[\d.]+(e[+-]?\d+)?(%|px)?)$/i.test($))return null;let J={share:0,px:0};for(let[,Q,Z="0",X]of j){let V=Number(Z)*(Q==="-"?-1:1);if(X==="%")J.share+=V/100;else J.px+=V}return J}function Em($){return{share:1-$.share,px:0-$.px}}function xm($){let j=null,J=null,Q=[],Z=Om($.toLowerCase()),X=Z.length>2;for(let V=0;V<Z.length;V++){let Y=Z[V]??"",q=tI(Z[V+1]??"");if(Y==="left"||Y==="right"||Y==="top"||Y==="bottom"){let C=Y==="right"||Y==="bottom",G=X&&q||{share:0,px:0};if(X&&q)V++;let W=C?Em(G):G;if(Y==="left"||Y==="right")j=W;else J=W}else if(Y==="center")Q.push(eC);else{let C=tI(Y);if(C)Q.push(C)}}for(let V of Q)if(!j)j=V;else if(!J)J=V;return[j??eC,J??eC]}function eI($,j,J,Q){if(!(J.width>0&&J.height>0&&Q.width>0&&Q.height>0))return null;let Z=Q.width/J.width,X=Q.height/J.height,V=Math.min(Z,X),Y={width:Q.width,height:Q.height},q=(M)=>({width:J.width*M,height:J.height*M});if($==="contain")Y=q(V);else if($==="cover")Y=q(Math.max(Z,X));else if($==="none")Y=q(1);else if($==="scale-down")Y=q(Math.min(1,V));let[C,G]=xm(j),W=Q.x+(Q.width-Y.width)*C.share+C.px,K=Q.y+(Q.height-Y.height)*G.share+G.px,H={x:Math.max(W,Q.x),y:Math.max(K,Q.y),width:Math.min(W+Y.width,Q.x+Q.width)-Math.max(W,Q.x),height:Math.min(K+Y.height,Q.y+Q.height)-Math.max(K,Q.y)};if(!(H.width>0&&H.height>0))return null;let B=J.width/Y.width,z=J.height/Y.height;return{from:{x:(H.x-W)*B,y:(H.y-K)*z,width:H.width*B,height:H.height*z},to:H}}var eC;var $D=u(()=>{eC={share:0.5,px:0}});function QD($,j){let J=[],Q=0,Z="",X=0;for(let V=0;V<$.length;V++){let Y=$[V];if(Y==="\\")V++;else if(Z)Z=Y===Z?"":Z;else if(Y==='"'||Y==="'")Z=Y;else if(Y==="(")Q++;else if(Y===")")Q--;else if(Y===j&&Q===0)J.push($.slice(X,V)),X=V+1}return J.push($.slice(X)),J}function ZD($,j,J,Q){let Z=$.trim().replace(/^(["'])(.*)\1$/,"$2").toLowerCase(),X=(q)=>q.trim().toLowerCase().replace(/\s+/g," ")||"normal",V=X(j).replace(/\bnormal\b/g,"400").replace(/\bbold\b/g,"700"),Y=(Q.trim()||"U+0-10FFFF").toLowerCase().split(",").map((q)=>q.trim().replace(/^u\+/,"").split("-").map((C)=>C.replace(/^0+(?=.)/,"")).join("-")).join(",");return[Z,V,X(J),Y].join("|")}function bm($){let j="";for(let J=0;J<$.length;J+=JD)j+=String.fromCharCode(...$.subarray(J,J+JD));return btoa(j)}function wm($,j){j.set($,null),Vj($).then(async(J)=>{if(!J.ok)return;let Q=/^[\w.+-]+\/[\w.+-]+/.exec(J.headers.get("content-type")??"")?.[0],Z=new Uint8Array(await J.arrayBuffer());j.set($,`data:${Q??"application/octet-stream"};base64,${bm(Z)}`)}).catch(()=>{})}function km($,j,J,Q){let Z=$.indexOf("{"),X=$.lastIndexOf("}");if(Z<0||X<Z)return $;let V=QD($.slice(Z+1,X),";"),Y=(F)=>{let P=V.find((D)=>D.split(":")[0]?.trim().toLowerCase()===F);return P?P.slice(P.indexOf(":")+1).trim():""};if(!J.has(ZD(Y("font-family"),Y("font-weight"),Y("font-style"),Y("unicode-range"))))return $;let q=QD(Y("src"),",").map((F)=>F.trim()),C=q.findIndex((F)=>{let P=/format\(\s*["']?([\w-]+)["']?\s*\)/i.exec(F)?.[1];return jD.test(F)&&(!P||fm.test(P.toLowerCase()))}),G=q[C],W=G?jD.exec(G):null;if(!G||!W)return $;let K=(W[1]??W[2]??W[3]??"").trim().replace(/\\(.)/g,"$1");if(/^data:/i.test(K))return $;let H;try{H=new URL(K,j).href}catch{return $}let B=Q.get(H);if(B===void 0)wm(H,Q);if(!B)return $;let M=[...q.slice(0,C).filter((F)=>/^local\(/i.test(F)),`url("${B}")${G.slice(W[0].length)}`].join(", "),U=V.map((F)=>F.split(":")[0]?.trim().toLowerCase()==="src"?` src: ${M}`:F);return`${$.slice(0,Z+1)}${U.join(";")}${$.slice(X)}`}function ym($){return"cssRules"in $}function vm($){if(c8?.doc===$)return c8.fonts;jG();let j=$.fonts,J=()=>XD($);return j?.addEventListener("loadingdone",J),c8={doc:$,fonts:new Map,stop:()=>j?.removeEventListener("loadingdone",J)},c8.fonts}function $G($){let j=vm($),J=new Set,Q=$.fonts;if(Q){for(let X of Q)if(X.status==="loaded")J.add(ZD(X.family,X.weight,X.style,X.unicodeRange))}let Z=(X)=>{let V=X.cssText;if(J.size===0||!V.includes("@font-face"))return V;if(!ym(X)){let Y=X.parentStyleSheet?.href??$.baseURI;return V.startsWith("@font-face")?km(V,Y,J,j):V}for(let Y of X.cssRules){let q=Z(Y);if(q!==Y.cssText)V=V.split(Y.cssText).join(q)}return V};return Z}function XD($){let j=$G($);for(let J of $.styleSheets)try{for(let Q of J.cssRules)j(Q)}catch{}}function VD($){if(c8?.doc!==$)XD($)}function jG(){c8?.stop(),c8=null}var c8=null,fm,jD,JD=32768;var JG=u(()=>{z5();fm=/^(woff2?|truetype|opentype|collection)(-variations)?$/,jD=/^url\(\s*(?:"((?:[^"\\]|\\.)*)"|'((?:[^'\\]|\\.)*)'|([^)]*))\s*\)/i});function O9($,j){let J=document.createElement("canvas");J.width=Math.max(1,Math.round($)),J.height=Math.max(1,Math.round(j));let Q=J.getContext("2d");return Q?{canvas:J,pen:Q}:null}function mm($){return $===""||$==="transparent"||/^rgba\(.*,\s*0\)$/.test($)}function qD($){if("naturalWidth"in $)return $.complete&&$.naturalWidth>0&&$.naturalHeight>0?{source:$,width:$.naturalWidth,height:$.naturalHeight}:null;if("videoWidth"in $)return $.readyState>=2&&$.videoWidth>0&&$.videoHeight>0?{source:$,width:$.videoWidth,height:$.videoHeight}:null;return $.width>0&&$.height>0?{source:$,width:$.width,height:$.height}:null}function pm($,j,J){let[Q="0",Z=Q]=$.trim().split(/\s+/),X=(V,Y)=>(V.endsWith("%")?Number.parseFloat(V)/100*Y:Number.parseFloat(V))||0;return{x:X(Q,j),y:X(Z,J)}}function CD($,j,J,Q){let Z=(z)=>Number.parseFloat(z)||0,X=Z(Q.borderLeftWidth)+Z(Q.paddingLeft),V=Z(Q.borderRightWidth)+Z(Q.paddingRight),Y=Z(Q.borderTopWidth)+Z(Q.paddingTop),q=Z(Q.borderBottomWidth)+Z(Q.paddingBottom),C={x:J.left+X,y:J.top+Y,width:J.width-X-V,height:J.height-Y-q},G=eI(Q.objectFit,Q.objectPosition,j,C);if(!G)return;let W=(z,M,U)=>{let F=pm(z,J.width,J.height);return{x:Math.max(0,F.x-M),y:Math.max(0,F.y-U)}},K=[W(Q.borderTopLeftRadius,X,Y),W(Q.borderTopRightRadius,V,Y),W(Q.borderBottomRightRadius,V,q),W(Q.borderBottomLeftRadius,X,q)],{from:H,to:B}=G;if($.save(),K.some((z)=>z.x>0&&z.y>0))$.beginPath(),$.roundRect(C.x,C.y,C.width,C.height,K),$.clip();if(Q.imageRendering==="pixelated"||Q.imageRendering==="crisp-edges")$.imageSmoothingEnabled=!1;$.drawImage(j.source,H.x,H.y,H.width,H.height,B.x,B.y,B.width,B.height),$.restore()}function cm($){let j=[];for(let J of $.querySelectorAll(QG)){if(!("naturalWidth"in J))return null;let Q=J.currentSrc;j.push(`${Q.length}:${Q.slice(-64)}@${J.naturalWidth}x${J.naturalHeight}`)}return j.join(" ")}function dm($){let{size:j,frame:J,view:Q,scroll:Z}=$;return JSON.stringify([[j.width,j.height,$.color,$.layout],[J.x,J.y,J.width],[Q.width,Q.height,Z.x,Z.y],[$.dpr,$.text,$.pictures]])}function GD($,j,J,Q,Z=""){let{contentDocument:X,contentWindow:V}=$,Y=j.getBoundingClientRect(),q=$.getBoundingClientRect();if(!X?.body||!V||Y.width<=0||V.innerWidth<=0)return null;let C=cm(X),G=J.width/Y.width,W=(I)=>Math.round(I*G*1000)/1000,K=dm({size:J,color:Q,layout:Z,frame:{x:W(q.left-Y.left),y:W(q.top-Y.top),width:W(q.width)},view:{width:V.innerWidth,height:V.innerHeight},scroll:{x:V.scrollX,y:V.scrollY},dpr:V.devicePixelRatio,text:V.getComputedStyle(X.documentElement).fontSize,pictures:C??""}),H=C===null||!KD(X)?null:S9.get(X)?.get(K);if(H)return H;let B=O9(J.width*C$,J.height*C$);if(!B)return null;let{canvas:z,pen:M}=B;M.fillStyle=Q,M.fillRect(0,0,z.width,z.height);let U=q.width*G/V.innerWidth;M.setTransform(C$*U,0,0,C$*U,C$*(q.left-Y.left)*G,C$*(q.top-Y.top)*G),M.beginPath(),M.rect(0,0,V.innerWidth,V.innerHeight),M.clip();let F=new Map;for(let I of X.querySelectorAll(QG)){let N=qD(I);if(N)F.set(I,N)}let P=X.createRange(),D=V.innerHeight,_=0,S=[],f=performance.now()+hm,L=(I,N,A)=>{if(_++>gm||_%50===0&&performance.now()>f)return;if(I.hasAttribute("data-devknobs"))return;let E=V.getComputedStyle(I);if(E.display==="none")return;if(!A&&(E.position==="fixed"||E.position==="sticky")){S.push([I,N]);return}let b=I.getBoundingClientRect(),w=b.width>0&&b.height>0;if(w&&(b.bottom<0||b.top>D))return;let g=N*(Number.parseFloat(E.opacity)||0);if(g<=0)return;if(w&&E.visibility!=="hidden"){if(M.globalAlpha=g,!mm(E.backgroundColor))M.fillStyle=E.backgroundColor,M.beginPath(),M.roundRect(b.left,b.top,b.width,b.height,Number.parseFloat(E.borderTopLeftRadius)||0),M.fill();let c=F.get(I);if(c)CD(M,c,b,E);M.fillStyle=E.color,M.globalAlpha=g*um;for(let v of I.childNodes){if(v.nodeType!==Node.TEXT_NODE||!v.textContent?.trim())continue;P.selectNodeContents(v);for(let O of P.getClientRects())M.fillRect(O.left,O.top,O.width,O.height)}}for(let c of I.children)L(c,g,A)};for(let I of X.body.children)L(I,1,!1);for(let[I,N]of S)L(I,N,!0);if(C!==null)lm(X,K,z);return z}function WD(){F4?.observer.disconnect(),F4=null,S9=new WeakMap,jG()}function KD($){if(F4?.doc!==$)return!1;if(F4.observer.takeRecords().length>0)F4.changed=!0;return!F4.changed}function lm($,j,J){if(!KD($)){F4?.observer.disconnect(),S9=new WeakMap;let Z=$.defaultView?.MutationObserver;if(!Z)return;let X=new Z(()=>{if(F4?.observer===X)F4.changed=!0;X.disconnect()});X.observe($,{subtree:!0,childList:!0,attributes:!0,characterData:!0}),F4={doc:$,changed:!1,observer:X}}let Q=S9.get($)??new Map;Q.set(j,J),S9.set($,Q)}function BD($,j,J,Q=S5().slice(1)){let Z=J?$.height:$.width;return Q.map((X)=>{let V=Math.max(1,X*$.width/j),Y=rm(V),q=O9($.width+(J?0:2*Y),$.height+(J?2*Y:0));if(!q)return{canvas:YD($,V),long:Z};q.pen.fillStyle="#000",q.pen.fillRect(0,0,q.canvas.width,q.canvas.height),q.pen.drawImage($,J?0:Y,J?Y:0);let C=YD(q.canvas,V);if(C!==q.canvas)OQ(q.canvas);return{canvas:C,long:Z+2*Y}})}function rm($){return Math.ceil(2*$)}function UD($,j){let J=(Q)=>Math.round(Q*1e4)/1e4;return{start:J(($-j)/2/$*100),size:J(j/$*100)}}function OQ($){$.width=0,$.height=0}function YD($,j){let J=Math.ceil(Math.log2(j)-0.000000001),{width:Q,height:Z}=$,X=(q)=>{let C=Math.min(1,2**q/j);return O9(Q*C,Z*C)},V=$,Y=(q,C)=>{let G=X(q);if(!G)return!1;if(C)G.pen.imageSmoothingQuality="high";if(G.pen.drawImage(V,0,0,G.canvas.width,G.canvas.height),V!==$)OQ(V);return V=G.canvas,!0};for(let q=J-1;q>=0;q--)if(!Y(q,!1))return V;for(let q=1;q<=Math.min(Math.log2(im),J);q++)if(!Y(q,!0))return V;return V}function sm($,j){return EQ(`<svg xmlns="http://www.w3.org/2000/svg" width="${$}" height="${j}"/>`)}function nm($,j){let J=$.querySelectorAll("img");j.querySelectorAll("img").forEach((Q,Z)=>{let X=J[Z];if(!X||!X.complete||!(X.naturalWidth>0&&X.naturalHeight>0))return;for(let Y of["srcset","sizes","loading"])Q.removeAttribute(Y);let V=Q.parentElement;if(V?.localName==="picture")for(let Y of V.querySelectorAll("source"))Y.remove();Q.setAttribute("src",sm(X.naturalWidth,X.naturalHeight))})}function ZG($){let j=$.contentDocument;if(!j?.documentElement)return null;let J=[],Q=$G(j);for(let Y of[...j.styleSheets,...j.adoptedStyleSheets??[]])try{for(let q of Y.cssRules)J.push(Q(q))}catch{}let Z=j.implementation.createHTMLDocument(""),X=Z.importNode(j.documentElement,!0);nm(j.documentElement,X);for(let Y of X.querySelectorAll("script, link, style, noscript, [data-devknobs]"))Y.remove();let V=Z.createElement("style");return V.textContent=J.join(`
367
+ `),(X.querySelector("head")??X).append(V),X}function EQ($){let j=typeof $.toWellFormed==="function"?$.toWellFormed():$.replace(am,"�");return`data:image/svg+xml;charset=utf-8,${encodeURIComponent(j)}`}function om($,j){let J=j.getComputedStyle($.documentElement).fontSize;return J?`font-size:${J} !important`:""}async function HD($,j,J,Q,Z){let{contentDocument:X,contentWindow:V}=$,Y=j.getBoundingClientRect(),q=$.getBoundingClientRect();if(!X||!V||Y.width<=0||V.innerWidth<=0)return null;let{innerWidth:C,innerHeight:G,scrollX:W,scrollY:K}=V,H=J.width/Y.width,B=q.width*H/C,z={x:(q.left-Y.left)*H,y:(q.top-Y.top)*H},M=null;for(let N of X.querySelectorAll(QG)){let A=N.closest("[data-devknobs]")?null:qD(N),E=N.getBoundingClientRect();if(!A||E.bottom<=0||E.top>=G||E.width<=0)continue;if(!M)M=O9(J.width,J.height),M?.pen.setTransform(B,0,0,B,z.x,z.y);try{if(M)CD(M.pen,A,E,V.getComputedStyle(N))}catch{}}let U=Z.cloneNode(!0),F=`position:relative;left:${-W}px;top:${-K}px`,P=om(X,V);U.setAttribute("style",`${U.getAttribute("style")??""};${P};${F}`);let D=new XMLSerializer().serializeToString(U),_=`<svg xmlns="http://www.w3.org/2000/svg" width="${C}" height="${G}" style="${P}"><foreignObject width="100%" height="100%">${D}</foreignObject></svg>`,S=new Image;try{S.src=EQ(_),await S.decode()}catch{if(M)OQ(M.canvas);return null}let f=O9(J.width,J.height);if(!f)return null;let{canvas:L,pen:I}=f;if(I.fillStyle=Q,I.fillRect(0,0,L.width,L.height),I.setTransform(B,0,0,B,z.x,z.y),I.drawImage(S,0,0,C,G),M)I.setTransform(1,0,0,1,0,0),I.drawImage(M.canvas,0,0),OQ(M.canvas);return L}var C$=0.25,gm=1500,hm=6,um=0.4,QG="img, video, canvas",S9,F4=null,im=8,am;var xQ=u(()=>{M8();$D();JG();S9=new WeakMap;am=/[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?<![\uD800-\uDBFF])[\uDC00-\uDFFF]/g});function $p($,j){let J=z1($.device,$.posture);if(!J)return null;return r5(J,$.orientation,O6(J.id,$.browser),j,$.edgeToEdge)}function jp($,j){if($.platform!=="safari")return[];if(!$.minimized)return $.shapes.filter((Q)=>Q.kind!=="field").map(({x:Q,y:Z,width:X,height:V,radius:Y})=>({rect:{x:Q,y:Z,width:X,height:V},radius:Y}));let J=$.shapes.find((Q)=>Q.kind==="pill");return J?[{rect:uC(J,j),radius:J.radius}]:[]}function MD($,j,J){let Q=$.querySelector("[data-state]")?.getAttribute("data-state")==="min",Z=$p(j,Q),X=$.querySelector(".domain")?.textContent??"",V=document.createElement("div");V.setAttribute("style",`all: initial; position: absolute; left: 0; top: 0; width: ${J.width}px; height: ${J.height}px`);let Y=document.createElement("style");Y.textContent=DQ+em,V.append(Y,$.cloneNode(!0));let q=new XMLSerializer().serializeToString(V),C=`<svg xmlns="http://www.w3.org/2000/svg" width="${J.width}" height="${J.height}"><foreignObject width="100%" height="100%">${q}</foreignObject></svg>`,G=new Image;return G.src=EQ(C),{drawing:G.decode().then(()=>G,()=>null),size:J,glass:Z?jp(Z,X):[]}}async function Jp($,j){let J=await j.drawing,Q=$.getContext("2d");if(!J||!Q)return!1;let Z=$.width/j.size.width;Q.save(),Q.setTransform(Z,0,0,Z,0,0);let X=j.glass.length>0?document.createElement("canvas"):null,V=X?.getContext("2d");if(X&&V){X.width=$.width,X.height=$.height,V.drawImage($,0,0);for(let{rect:Y,radius:q}of j.glass){Q.save(),Q.beginPath(),Q.roundRect(Y.x,Y.y,Y.width,Y.height,q),Q.clip(),Q.filter=tm;let[C,G]=[Y.x-fQ,Y.y-fQ],[W,K]=[Y.width+2*fQ,Y.height+2*fQ];Q.drawImage(X,C*Z,G*Z,W*Z,K*Z,C,G,W,K),Q.restore()}}return Q.drawImage(J,0,0,j.size.width,j.size.height),Q.restore(),!0}async function FD($,j){let J=await $;if(!J)return null;return{shot:J,bars:j?await Jp(J,j):!1}}var tm="blur(10px) saturate(1.8)",fQ=30,em=`
368
+ .browser { transform: none !important; }
369
+ .browser, .browser * {
370
+ transition: none !important;
371
+ animation: none !important;
372
+ -webkit-backdrop-filter: none !important;
373
+ backdrop-filter: none !important;
374
+ }`;var zD=u(()=>{LQ();T8();W1();xQ();mC()});function G$($,j=0){let[J,Q,Z,X]=typeof $==="number"?[$,$,$,$]:$;return[J+j,Q+j,Z+j,X+j]}function YG($,j){let{x:J,y:Q,width:Z,height:X}=$,[V,Y,q,C]=G$(j).map((W)=>Math.max(0,Math.min(W,Z/2,X/2))),G=(W=0)=>`A${W} ${W} 0 0 1`;return[`M${J+V} ${Q}H${J+Z-Y}${G(Y)} ${J+Z} ${Q+Y}`,`V${Q+X-q}${G(q)} ${J+Z-q} ${Q+X}`,`H${J+C}${G(C)} ${J} ${Q+X-C}`,`V${Q+V}${G(V)} ${J+V} ${Q}Z`].join("")}function wQ($,j,J){let Q=D0("svg",{class:"mock",viewBox:`0 0 ${$.width} ${$.height}`,"aria-hidden":"true"});if($.image&&J){let{x:K,y:H,width:B,height:z,turn:M}=$.image,U=D0("image",{href:J,x:K,y:H,width:B,height:z});if(M!==null)U.setAttribute("transform",`matrix(0 -1 1 0 0 ${M})`);return Q.append(U),Q}let Z=(K)=>D0("rect",{class:K.kind,x:K.x,y:K.y,width:K.width,height:K.height,rx:K.radius}),X={x:$.inset.left,y:$.inset.top,...j},{x:V,y:Y,width:q,height:C}=$.body,G={x:V+E9,y:Y+E9,width:q-2*E9,height:C-2*E9},W=YG(G,G$($.bodyRadius,-E9));return Q.append(...$.parts.filter((K)=>K.kind==="button").map(Z),D0("path",{class:"band",d:YG($.body,$.bodyRadius)+W}),D0("path",{class:"body",d:W+YG(X,$.screenRadius)}),...$.parts.filter((K)=>K.kind!=="button").map(Z)),Q}var XG="#111112",PD="#48484a",VG="#2a2a2c",E9=2.5,bQ=2,_D;var x9=u(()=>{V$();_D=`
375
+ /* Clips the frame to the screen's corners in a mock, in the body's color so
376
+ no blue shows at the seam. */
377
+ .glass.mocked {
378
+ position: absolute;
379
+ overflow: hidden;
380
+ background: ${XG};
381
+ }
382
+ /* Over the frame, and never in the way of a pointer. */
383
+ .mock {
384
+ position: absolute;
385
+ top: 0;
386
+ left: 0;
387
+ overflow: visible;
388
+ pointer-events: none;
389
+ }
390
+ .mock .band { fill: ${PD}; fill-rule: evenodd; }
391
+ .mock .body { fill: ${XG}; fill-rule: evenodd; }
392
+ .mock .button { fill: ${PD}; }
393
+ .mock .sensor { fill: #000; }
394
+ .mock .slot { fill: ${VG}; }
395
+ .mock .lens { fill: #000; stroke: ${VG}; stroke-width: 1; }
396
+ .mock .home { fill: ${VG}; }
397
+ .mock .key { fill: ${XG}; }`});function H1($){let j=document.createElement("div");return j.className=$,j}function f9($){return $.map((j)=>`${j}px`).join(" ")}function W$($){return $.style.position="absolute",$.style.inset="0",$.style.width="100%",$.style.height="100%",$}function n2($,j){return $.style.position="absolute",$.style.left=`${j.x}px`,$.style.top=`${j.y}px`,$.style.width=`${j.width}px`,$.style.height=`${j.height}px`,$}function d8($,j){let{across:J}=$,Q=S5(),Z=BD(j,$.width,J,Q.slice(1)),X=[j,...Z.map((V)=>V.canvas)].map(W$);for(let{canvas:V,long:Y}of Z){let{start:q,size:C}=UD(J?j.height:j.width,Y);V.style[J?"top":"left"]=`${q}%`,V.style[J?"height":"width"]=`${C}%`,V.style[J?"bottom":"right"]="auto"}X.forEach((V,Y)=>{let q=$.pictures[Y];if(Y===0||!q)return;V.style.opacity=q.style.opacity,V.style.maskImage=q.style.maskImage,V.style.setProperty("-webkit-mask-image",q.style.maskImage)});for(let V of $.pictures)V.remove();$.stage.prepend(...X),$.pictures=X,$.shot=j,$.widths=Q}function r4($){let{body:j,size:J}=$;return{rect:{x:j?.inset.left??0,y:j?.inset.top??0,...J},radii:j?G$(j.screenRadius):[0,0,0,0]}}function yQ($,j,J){let{across:Q,hinge:Z,pivots:X}=$,V=r4(j),[Y=0,q=0,C=0,G=0]=V.radii,W=Q?{...V.rect,width:Z-V.rect.x}:{...V.rect,y:Z,height:V.rect.y+V.rect.height-Z},K=r4(J);return{inner:{pane:"inner",rect:W,radii:Q?[Y,0,0,G]:[0,0,C,G],toward:Q?"to left":"to bottom",span:[50,100],pivot:X.inner},outer:{pane:"cover",rect:K.rect,radii:K.radii,toward:Q?"to right":"to top",span:[0,100],pivot:X.outer}}}function GG($,j,J,Q,Z){let{device:X,posture:V,orientation:Y,browser:q,edgeToEdge:C}=J;return GD($,j,Q,Z,[X,V,Y,q,C].join(" "))}function vQ($,j,J,Q,Z,X){let V=j.querySelector(":scope > .browser"),Y=V?document.importNode(V,!0):null;if(Y)Y.style.transform="";let q=V&&X?MD(V,J,Q):null;return{shot:GG($,j,J,Q,Z),painted:X?FD(HD($,j,Q,Z,X),q).catch(()=>null):null,bars:Y}}function gQ($,j,J){if(J(j.shot),j.bars)$.bars?.remove()}function Qp($,j){let[J,Q]=$.span;return Math.round((J+(Q-J)*j)*100)/100}function Zp($,j,J){if(j.style.opacity=J?"":"0",!J)return;let Q=J.stops.map(([X,V])=>`rgba(0, 0, 0, ${V}) ${Qp($,X)}%`),Z=J.stops.every(([,X])=>X>=1)?"":`linear-gradient(${$.toward}, ${Q.join(", ")})`;j.style.maskImage=Z,j.style.setProperty("-webkit-mask-image",Z)}function qG($,j){if(j.every(([,Z])=>Z<=0))return"";let[[,J]=[0,0]]=j;if(j.length===1)return`rgba(0, 0, 0, ${J})`;let Q=j.map(([Z,X])=>`rgba(0, 0, 0, ${X}) ${Math.round(Z*1e5)/1000}%`);return`linear-gradient(${$}, ${Q.join(", ")})`}function CG($,j){$.style.background=j,$.style.display=j?"":"none"}function hQ($,j,J,Q,Z=!1){let X=S5(),V=X.length===$.widths.length&&X.every((C,G)=>C===$.widths[G]);if($.shot&&!V)d8($,$.shot);let Y=Z?null:rM($.pane,j,Q);if(CG($.shade,qG($.toward,Y?Y.turned:[[0,gj($.pane,j)]])),CG($.flat,Y?qG($.toward,Y.flat):""),CG($.edge,J===null?"":qG($.toward,iM(j,J))),$.pictures.length<2)return;let q=sM(j,Q,$.pane);$.pictures.slice(1).forEach((C,G)=>Zp($,C,q[G]??null))}function ID($){return $.gl!==null&&$.stage.lastElementChild===$.gl.canvas}function Vp($){return Xp/Math.min(1,Math.max(0.25,$))}function WG($,j,J,Q,Z,X,V){let{rect:Y,radii:q}=J,C=r4($),G=n2(H1(""),Z);G.style.background="#000";let W=W$(H1(""));G.append(W);let K=n2(H1(""),{...Y,x:0,y:0});K.style.transformOrigin="0 0",K.style.overflowX=Q?"clip":"visible",K.style.overflowY=Q?"visible":"clip";let H=n2(H1(""),{...C.rect,x:C.rect.x-Y.x,y:C.rect.y-Y.y});if(j.bars)H.append(j.bars);let B=()=>{let _=W$(H1(""));return _.style[Q?"top":"left"]="-100%",_.style[Q?"height":"width"]="300%",_},z=B(),M=B(),U=B();K.append(H,z,M,U),W.append(K);let F={pane:J.pane,node:G,cut:W,picture:K,size:{width:Y.width,height:Y.height},radii:q,over:J.pane==="inner"?Vp(V):0,stage:H,pictures:[],shot:null,widths:[],why:"",flat:z,shade:M,edge:U,toward:J.toward,span:J.span,width:$.size.width,across:Q,gl:null},P={...Y,x:Y.x-C.rect.x,y:Y.y-C.rect.y},D={pane:J.pane,across:Q,stage:$.size,part:P,margin:X,density:V};if(F.gl=oI(D,(_,S)=>{if(F.gl=null,F.why=_,S)d8(F,S)}),F.gl)H.prepend(F.gl.canvas);if(j.shot)kQ(F,j.shot);return j.painted?.then((_)=>{if(_&&F.node.isConnected)gQ(j,_,(S)=>kQ(F,S))}),F}function kQ($,j){if($.gl)$.gl.paint(j);else d8($,j)}var Xp=2;var KG=u(()=>{zD();M8();x9();tC();P5();xQ()});function DD($){return $.reduce((j,{box:J})=>[Math.min(j[0],J[0]),Math.min(j[1],J[1]),Math.max(j[2],J[2]),Math.max(j[3],J[3])],[1/0,1/0,-1/0,-1/0])}function ND($,j,J,Q,Z){let{shots:X}=Z,V=(S)=>{let[f,L,I,N]=DD(S),A=document.createElement("canvas");A.width=Math.ceil((I-f)*X.scale),A.height=Math.ceil((N-L)*X.scale),n2(A,{x:f,y:L,width:A.width/X.scale,height:A.height/X.scale}),A.style.display="block";let E=A.getContext("2d");return E&&{canvas:A,pen:E,corner:{x:f,y:L},shot:null}},Y=V(X.frames),q=V(X.stills);if(!Y||!q)return null;let{canvas:C}=Y,[G,W,K,H]=DD(X.frames),B=yQ($,j,J),z=H1(""),M={x:G,y:W,width:K-G,height:H-W},U=(S,f)=>aI(X,f)*($.across?S.size.height:S.size.width)+4,F=(window.devicePixelRatio||1)*Math.max($.folded.scale,$.unfolded.scale),P=WG(j,Q.open,B.inner,$.across,M,U(j,"inner"),F),D=WG(J,Q.closed,B.outer,$.across,M,U(J,"cover"),F);z.append(q.canvas,P.node,D.node,C);let{rect:_}=r4(J);return{shots:X,model:z,plane:Y,still:q,inner:P,outer:D,inside:r4(j).rect,outside:{..._,x:$.shut.x+_.x,y:$.shut.y+_.y},lit:null}}function RD($,j){let{shots:J,plane:Q}=$,Z=x5(),X=(Z?.frames??[]).map((W,K)=>{let H=J.frames[K];return H&&Z?.stills[H.still]?W:null}),{at:V}=bM(J,X,j),Y=V===null?null:J.frames[V],q=V===null?null:X[V],C=Y&&J.stills[Y.still],G=Y&&Z?.stills[Y.still];if(Y&&q&&Y!==Q.shot)LD(Q,Y,q,J.scale);if(C&&G&&C!==$.still.shot)LD($.still,C,G,J.scale);return Q.shot?_Y(Q.shot):j}function AD($,j,J,Q,Z){let{shots:X,model:V,plane:Y}=$,q=Y.shot;V.style.transform=vM(X,j,$.inside,$.outside,J);let C=(M)=>M>=1?"":String(Math.round(Math.max(0,M)*1000)/1000);V.style.opacity=C(Q),$.still.canvas.style.opacity=C(Z);let G=[$.inner.stage.lastElementChild,$.outer.stage.lastElementChild],W=[$.inner.gl,$.inner.pictures,$.outer.gl,$.outer.pictures,0,...G],{lit:K}=$;if(K&&K.shot===q&&K.by.every((M,U)=>M===W[U]))return;$.lit=q&&{shot:q,by:W};let H="";Y.canvas.style.visibility=H,$.still.canvas.style.visibility=H;let B=q&&bj(X,q),z=q&&B?O3(q,B):null;for(let M of[$.inner,$.outer]){let U=z&&M.pane===B?z:null,F=U&&wj(X,M.pane,U),P={x:0,y:0,...M.size},D=U&&F&&kj(U,M.pane,F),_=D&&uM(P,hM(Wp($,D),j.across));if(M.node.style.visibility=_?"":"hidden",!_||!F||!D)continue;M.cut.style.clipPath=`path("${E3(P,M.radii,_)}")`;let S=M.over*(F.width/(j.across?P.width:P.height)),f=Cp(P,M.pane,j.across,_,S,8*M.over);M.node.style.clipPath=`path("${E3(f,Gp(M.radii),_)}")`;let{x:L,y:I}=Y.corner;M.node.style.background=qp("#000",F.x+F.width-L,S),M.picture.style.transform=pM(M.size,{...F,x:F.x-L,y:F.y-I},j.across);let N=nI(D,M.pane,F),A=ID(M);hQ(M,J,M.gl?null:N,N,A);let E=j.across?M.size.height:M.size.width,b=oC(D,M.pane,F,E);M.gl?.draw(sI(J,b,N,A?M.pane:null,M.pane))}}function qp($,j,J){if(J<=0)return $;let Q=Math.round((j-2*J)*100)/100;return`linear-gradient(${$}, ${$}) 0 0 / ${Q}px 100% no-repeat`}function Cp($,j,J,Q,Z=0,X=0){let{x:V,y:Y,width:q,height:C}=$,G={x:V+q/2,y:Y+C/2},W=(P,D)=>{let _=Q(P),S=Q({x:P.x+D.x,y:P.y+D.y});return Math.hypot(S.x-_.x,S.y-_.y)},K=(P,D)=>{let _=W(P,D);return Math.max(U2,Math.min(8*U2,_>0?Yp/_:8*U2))},H=(P,D)=>{if(Z<=0)return 0;let _=W(P,D);return-Math.min(X,_>0?Z/_:X)},B=j==="inner",z=J?K({x:V,y:G.y},{x:-1,y:0}):U2,M=J?B?H({x:V+q,y:G.y},{x:-1,y:0}):K({x:V+q,y:G.y},{x:1,y:0}):U2,U=J?U2:B?H({x:G.x,y:Y},{x:0,y:1}):K({x:G.x,y:Y},{x:0,y:-1}),F=J?U2:K({x:G.x,y:Y+C},{x:0,y:1});return{x:V-z,y:Y-U,width:q+z+M,height:C+U+F}}function Gp($){let[j,J,Q,Z]=$,X=(V)=>V>0?V+U2:0;return[X(j),X(J),X(Q),X(Z)]}function Wp($,j){let{x:J,y:Q}=$.plane.corner,[Z,X,V,Y]=j.map(([q,C])=>[q-J,C-Q]);return Z&&X&&V&&Y?[Z,X,V,Y]:j}function Kp($,j,J,Q,Z,X){let V=Math.round(Q*X),Y=Math.round(Z*X);for(let[q,C,G,W,K,H]of J.pieces)$.drawImage(j,K,H,G,W,V+q,Y+C,G,W)}function LD($,j,J,Q){let{pen:Z,canvas:X,corner:V}=$;$.shot=j,Z.clearRect(0,0,X.width,X.height),Kp(Z,J,j,j.box[0]-V.x,j.box[1]-V.y,Q)}var U2=2,Yp=2;var TD=u(()=>{b3();M8();tC();KG();P5()});function f2(){return x2!==null}function Bp($,j){$.unit.style.transform=BM($.start,j,$.corner,$.base)}function w9($,j){$.style.background=j>0?"#000":"",$.style.opacity=j>0?String(Math.round(j*1000)/1000):"",$.hidden=j<=0}function l8($,j){if(s4)window.cancelAnimationFrame(s4.frame);s4=j>0?{node:$,share:j,frame:0}:null,w9($,j)}function Up(){let $=s4;if(!$)return;let j=$.share,J=null,Q=2,Z=(X)=>{if(Q>0){Q--,$.frame=window.requestAnimationFrame(Z);return}J??=X;let V=X-J;if(V>=j2.uncover){l8($.node,0);return}$.share=g0(j,0,c2(y4,V/j2.uncover)),w9($.node,$.share),$.frame=window.requestAnimationFrame(Z)};$.frame=window.requestAnimationFrame(Z)}function SD($,j,J){let Q=x2?.pose??Sj($.start);if(x2)window.cancelAnimationFrame(x2.frame);let Z=j2.turn*Math.abs(j.angle-Q.angle)/90,X=s4?.share??0,V=j.angle===0?0:1;l8($.cover,X);let Y={spin:$,pose:Q,frame:0,done:J};x2=Y;let q=null,C=(G)=>{q??=G;let W=G-q;if(Y.pose=KM(Q,j,W,Z),Bp($,Y.pose),l8($.cover,WM(X,V,W,Z)),W<Z){Y.frame=window.requestAnimationFrame(C);return}x2=null,J(),Up()};Y.frame=window.requestAnimationFrame(C)}function OD($,j,J,Q,Z){b9=$;let X=()=>{let K=b9;if(b9=null,K)Z(K)},V=x2?.spin;if(V){SD(V,J?CY(V.start,J,j):Sj(V.start),X);return}if(!Q||!J){X();return}let Y=Q.letterbox.getBoundingClientRect(),q=Q.unit.getBoundingClientRect(),C=Q.screenRect(),G={x:q.left-Y.left,y:q.top-Y.top};Q.cover.style.background="",Q.glass.append(Q.cover);let W={unit:Q.unit,corner:G,base:Q.base,start:C,cover:Q.cover};SD(W,CY(C,J,j),X)}function ED($){b9=$}function xD(){let $=x2;if(x2=null,$)window.cancelAnimationFrame($.frame);if(s4)l8(s4.node,0);$?.done()}function fD(){if(x2)window.cancelAnimationFrame(x2.frame);if(x2=null,s4)l8(s4.node,0)}function bD(){b9=null}var x2=null,s4=null,b9=null;var i8=u(()=>{v4()});function gD($){Fp=$}function z4(){return p0!==null}function wD($,j,J){let Q=$.body(j),Z=Q?.image?f3(Q.image.file):null,X=typeof j.width==="number"?j.width:J.width,V=typeof j.height==="number"?j.height:J.height;return{body:Q,href:Z,size:{width:X,height:V},screen:J}}function kD($,j,J,Q){let{body:Z,size:X,href:V}=$,Y=H1("face");Y.style.width=`${Z?.width??X.width}px`,Y.style.height=`${Z?.height??X.height}px`;let{rect:q,radii:C}=r4($),{rect:G}=J,W=n2(H1(""),q);if(W.style.background="#000",W.style.borderRadius=f9(C),V)W.style.boxShadow=`0 0 0 ${bQ}px #000`;if(Y.append(W),Z){let S=wQ(Z,X,V);S.style.width="100%",S.style.height="100%",Y.append(S)}let K=n2(H1(""),G),H=H1("");H.style.position="absolute",H.style.inset="-100%",H.style.background="#000";let B=n2(H1(""),{...q,x:q.x-G.x,y:q.y-G.y});if(B.style.borderRadius=f9(C),B.style.overflow="hidden",j.bars)B.append(j.bars);let z=W$(H1("")),M=`transparent ${NY*100}%, transparent ${(1-NY)*100}%`;z.style.background=`linear-gradient(${Q?"to bottom":"to right"}, #000, ${M}, #000)`,B.append(z);let U=W$(H1(""));K.append(H,B,U);let F=H1("face");F.style.width=Y.style.width,F.style.height=Y.style.height;let P=n2(H1(""),G);P.style.borderRadius=f9(J.radii);let D=n2(H1(""),G);D.style.borderRadius=f9(J.radii),F.append(P,D);let _={pane:J.pane,node:Y,screen:W,window:K,dark:H,stage:B,pictures:[],shot:null,widths:[],why:"",rim:z,flat:U,veil:F,shade:P,edge:D,toward:J.toward,span:J.span,rect:G,radii:J.radii,pivot:J.pivot,width:X.width,across:Q};if(j.shot)d8(_,j.shot);return j.painted?.then((S)=>{if(S&&_.node.isConnected)gQ(j,S,(f)=>d8(_,f))}),_}function zp($,j,J,Q){let Z=yQ($,j,J),X=kD(j,Q.open,Z.inner,$.across),V=kD(J,Q.closed,Z.outer,$.across);for(let G of[X.node,X.veil])G.style.clipPath=$.clip,G.style.transformOrigin=$.origins.inner;for(let G of[V.node,V.window,V.veil])G.style.left=`${$.shut.x+(G===V.window?Z.outer.rect.x:0)}px`,G.style.top=`${$.shut.y+(G===V.window?Z.outer.rect.y:0)}px`;V.node.style.transformOrigin=$.origins.outer,V.veil.style.transformOrigin=$.origins.outer;let{rect:Y}=r4(j),q=1e5,C=(G)=>Math.round((G+1)*100)/100;return X.screen.style.clipPath=$.across?`inset(${-q}px ${C(Y.x+Y.width-$.hinge)}px ${-q}px ${-q}px)`:`inset(${C($.hinge-Y.y)}px ${-q}px ${-q}px ${-q}px)`,{inner:X,outer:V}}function hD($,j,J,Q,Z,X){let V=H1("fold"),Y=H1(""),q,C=X&&ND(j,J,Q,Z,X);if(C)Y.append(C.model),q=C;else{let G=zp(j,J,Q,Z),{inner:W,outer:K}=G;Y.append(W.node,W.window,W.veil,K.node,K.window,K.veil),q=G}return V.append(Y),$.place(V),{layer:V,place:Y,turning:q}}function uD($,j){let J=$.letterbox.getBoundingClientRect(),Q=$.unit.getBoundingClientRect(),Z=$.unit.style.transform,X=Number(/scale\(([\d.e-]+)\)/.exec(Z)?.[1]??1);return{posture:j,corner:{x:Q.left-J.left,y:Q.top-J.top},rest:Z,base:X}}function Pp($,j){p0=null,$.draw($.values[j]),p0=$,$.unit=uD($.scene,j),$.fresh=j==="open"?0:null}function _p($){let{fresh:j}=$;if(j===null)return;if($.fresh=j>=Math.max(...yD)?null:j+1,!yD.includes(j))return;let{scene:J,values:Q}=$,{size:Z}=$.faces.open,X=J.background(),V=$.pictures.open;if(GG(J.frame,J.glass,Q.open,Z,X)===V.shot)return;let Y=vQ(J.frame,J.glass,Q.open,Z,X,ZG(J.frame));$.pictures={...$.pictures,open:Y};let q=(G)=>{if(p0!==$||$.pictures.open!==Y)return;let{turning:W}=$.parts;if("model"in W)kQ(W.inner,G);else d8(W.inner,G)},C=()=>{if(Y.shot)q(Y.shot)};if(!Y.painted)C();else Y.painted.then((G)=>{if(G)gQ(Y,G,q);else C()})}function Ip($,j){let J=j<=FY?"closed":"open";if($.unit.posture!==J)Pp($,J)}function vD($,j,J,Q,Z,X){let V=[$.node,$.window,$.veil];for(let K of V)K.style.visibility=Q?"":"hidden";if(!Q)return;$.node.style.transform=Q,$.veil.style.transform=Q;let{rect:Y,pivot:q}=$,C=E3(Y,$.radii,(K)=>{let H=PY(K,q,J.degrees,j.across,j.depth);return{x:H.x-Y.x,y:H.y-Y.y}});$.window.style.clipPath=`path("${C}")`,$.rim.style.opacity=String(J.lift);let G="#000";$.screen.style.background=G,$.dark.style.background=G,hQ($,Z,1,fM(Y,q,J.degrees,j.across,j.depth));let W=X<1?String(X):"";$.screen.style.opacity=W,$.window.style.opacity=W,$.veil.style.opacity=W}function Dp($){return Math.sign($.open-$.target)}function k9($){if($.duo)xY($.open,Dp($));let j=$.waiting?x5():null;if(j){$.waiting=!1;let{open:S,closed:f}=$.faces;UG($.parts),$.parts=hD($.scene,$.layout,S,f,$.pictures,j),$.drawn=""}let{layout:J,parts:Q}=$,{turning:Z}=Q,X="model"in Z?Z:null,V=X?RD(X,$.open):$.open;Ip($,V),_p($);let{unit:Y,scene:q}=$,C=X?`${V} ${$.out} ${$.still} ${Y.posture}`:"";if(C&&C===$.drawn){for(let S of Array.from(mQ))S($.open,$.hand);return}$.drawn=C;let G=xM(J,V),W=X?$.out:nM(V,Y.posture),{x:K,y:H,scale:B}=G.place;if(Q.place.style.transform=`translate(${K}px, ${H}px) scale(${B})`,"model"in Z)AD(Z,J,V,1-W,$.still);else Z.inner.why=Z.outer.why=$.waiting?Hp:Mp,vD(Z.inner,J,G,G.inner,V,1-W),vD(Z.outer,J,G,G.outer,V,1-W);let z=Y.posture==="open",M=z?J.unfolded.scale:J.folded.scale,U=X?gM(X.shots,J,X.inside,X.outside,V,Y.posture):{wide:1,tall:1,x:0,y:0},F=z?{x:0,y:0}:J.shut,P={x:K+(U.wide*F.x+U.x)*B,y:H+(U.tall*F.y+U.y)*B},D={x:P.x-Y.corner.x,y:P.y-Y.corner.y},_=Y.base*B/M;q.unit.style.transform=`translate(${D.x}px, ${D.y}px) scale(${_*U.wide}, ${_*U.tall})`,q.unit.style.clipPath=z&&W===0?Lp($,X,G.inner!==null,M):"",q.unit.style.visibility="",w9(q.cover,gj(z?"inner":"cover",V));for(let S of Array.from(mQ))S($.open,$.hand)}function Lp($,j,J,Q){let{layout:Z,unit:X}=$,V=(M)=>M*Q/X.base,Y=J?1+2*(j?.inner.over??0):0,q=V(Z.hinge+(Z.across?-Y:Y)),C=1e5,G=(M)=>`polygon(${M.map(([U,F])=>`${U}px ${F}px`).join(", ")})`;if(!j||$.still<1)return Z.across?G([[q,-1e5],[1e5,-1e5],[1e5,1e5],[q,1e5]]):G([[-1e5,-1e5],[1e5,-1e5],[1e5,q],[-1e5,q]]);let{inside:W}=j,K=V(W.x-U2),H=V(W.y-U2),B=V(W.x+W.width+U2),z=V(W.y+W.height+U2);return Z.across?G([[q,H],[B,H],[B,z],[q,z]]):G([[K,H],[B,H],[B,q],[K,q]])}function UG($){if($.layer.remove(),!("model"in $.turning))return;for(let j of[$.turning.inner,$.turning.outer])j.gl?.release(),j.gl=null}function mD($){if(window.cancelAnimationFrame($.frame),window.removeEventListener("resize",HG),UG($.parts),$.scene.unit.style.clipPath="",$.scene.unit.style.visibility="",w9($.scene.cover,0),$.duo)bY();for(let j of Array.from(uQ))j()}function y9($){return $===0||$===1}function pQ(){let $=p0;if(p0=null,!$)return;let j=!$.held&&y9($.target);$.draw($.values[j?$.target===1?"open":"closed":$.home]),mD($)}function HG(){if(v9()!==null)pQ()}function Np($){if($.frame=0,$.begin=null,$.elapsed=0,$.steps=0,$.open=$.target,k9($),!$.held)window.addEventListener("resize",HG)}function MG($){if($.frame===0&&p0===$)pD($)}function Rp($,j,J){if(!("model"in $.parts.turning))return;if(J){$.out=Math.min(1,$.out+j/zY);return}if($.out>0)$.still=0;$.out=0,$.still=Math.min(1,$.still+j/zY)}function Ap($,j){if(!("model"in $.parts.turning))return!0;return j?$.out>=1:$.still>=1}function Tp($,j){let{wait:J}=$;if(!J||S3($.hinge,$.target))return!0;J.since??=j;let Q=!$.waiting||x5()!==null||!ZF();return OM(J.painted,Q,j-J.since)}function BG($,j){if($.held=j,$.hinge={position:$.open,velocity:$.hinge.velocity},$.begin===null)return;$.begin+=$.elapsed,$.elapsed=0,$.steps=j?1:0}function pD($){let j=(J)=>{if(p0!==$)return;if(!Tp($,J)){k9($),$.frame=window.requestAnimationFrame(j);return}$.wait=null,$.begin??=J;let Q=$.held?1:0;$.begin+=SM(J-$.begin,$.steps,Q).dropped;let Z=J-$.begin,X=Z/A3+Q,V=Math.floor(X),Y=$.held?fj:MY;$.hinge=TM($.hinge,$.target,V-$.steps,Y),$.steps=Math.max($.steps,V);let q=$.held?$.hinge:MY($.hinge,$.target,X-V);if(S3(q,$.target))$.hinge=q;let C=S3($.hinge,$.target),G=C&&y9($.target);if(Rp($,Z-$.elapsed,G),$.elapsed=Z,C&&Ap($,G)){if(!$.held&&y9($.target))pQ();else Np($);return}let W=fj($.hinge,$.target).position;$.open=C?$.target:$.held?g0($.hinge.position,W,X-V):q.position,k9($),$.frame=window.requestAnimationFrame(j)};$.frame=window.requestAnimationFrame(j)}function cD($,j,J,Q,Z=!1){let X=p0;if(X&&Z){if(!X.held)BG(X,!0);return X.hand=!0,X.wait=null,!0}if(X){if(X.held||X.target!==L2(j.posture))X.hand=!1;return BG(X,!1),X.home=j.posture,X.target=L2(j.posture),X.values[j.posture]=j,k9(X),MG(X),!0}let V=J?.screenFor(j);if(!J||!V){if(!Z)Q(j);return!1}l8(J.cover,0),J.glass.append(J.cover);let Y=J.background(),q=wD(J,$,J.screenRect()),C=wD(J,j,V),G=j.posture==="open",W=(G?j:$).orientation==="landscape",K=ZG(J.frame),H=vQ(J.frame,J.glass,$,q.size,Y,K);Q(j);let B=vQ(J.frame,J.glass,j,C.size,Y,K);Q($);let z=G?q:C,M=G?C:q,U=EM(z,M,W),F=[M,z].every((I)=>I.body?.image?.file.startsWith("iphone-duo-")),P=G?{open:B,closed:H}:{open:H,closed:B},D={[$.posture]:$,[j.posture]:j},_=L2($.posture),S=L2((Z?$:j).posture);if(F)xY(_,Math.sign(_-S));let f=hD(J,U,M,z,P,F?x5():null),L=Z?null:{since:null,painted:!H.painted&&!B.painted};if(L&&!L.painted)Promise.all([H.painted,B.painted]).then(()=>{L.painted=!0});return p0={scene:J,layout:U,faces:{open:M,closed:z},pictures:P,duo:F,waiting:F&&!("model"in f.turning),hinge:{position:_,velocity:0},open:_,target:S,held:Z,home:(Z?$:j).posture,hand:Z,values:D,frame:0,begin:null,elapsed:0,steps:0,wait:L,parts:f,unit:uD(J,$.posture),fresh:null,still:0,out:1,drawn:"",draw:Q},k9(p0),pD(p0),!0}function dD($){if(!p0?.held)return!1;return p0.target=$,MG(p0),!0}function lD($,j){let J=p0;if(!J)return!1;if(J.hand=!0,J.wait=null,J.target=$,!j)BG(J,!1);else J.held=!1,J.hinge={position:$,velocity:0},J.open=$,J.out=y9($)?1:0,J.still=1;return MG(J),!0}function FG(){return p0?.held??!1}function v9(){return p0&&!p0.held&&!y9(p0.target)?p0.target:null}function zG($){return uQ.add($),()=>{uQ.delete($)}}function PG($){return mQ.add($),()=>{mQ.delete($)}}function iD($){if(!p0)return;if(p0.values[$.posture]=$,v9()!==null)pQ()}function rD(){pQ()}function sD(){let $=p0;if(p0=null,!$)return;mD($),$.scene.unit.style.transform=$.unit.rest}function nD(){if(p0)window.cancelAnimationFrame(p0.frame),UG(p0.parts);window.removeEventListener("resize",HG),p0=null;for(let $ of Array.from(uQ))$();WD(),bY(!0)}var p0=null,Hp="the Duo's fold frames are not in yet, so copies of the half turn, and WebGL2 draws only under the frames",Mp="only the Duo in its bezels folds as frames, which WebGL2 draws under, and this fold turns copies of the half",uQ,mQ,Fp=null,yD;var K$=u(()=>{b3();M8();TD();KG();P5();x9();v4();xQ();i8();uQ=new Set,mQ=new Set;yD=[2,10]});function H2(){return g6!==null}function tD(){return m1.veil}function eD(){h9(),H$="",U$=!1}function Sp($){return $===""||$==="transparent"||/[,/]\s*0\)$/.test($)}function $L($){let j=getComputedStyle(document.documentElement),J=document.body?getComputedStyle(document.body).backgroundColor:"",Q=[j.backgroundColor,J].find((Z)=>!Sp(Z));$.style.background=Q??"Canvas",$.style.colorScheme=j.colorScheme||"normal"}function jL($,j){m1={veil:j,content:0,hole:$.fullRect()},$L($.veil),$.veil.style.opacity=String(j);for(let J of $.content())J.style.opacity="0";H$="",cQ($,m1.hole),U$=!0}function Op($,j,J,Q,Z,X,V){for(let C of $)C.style[j]=Q;if(Z<=0||$.length===0)return Promise.resolve();let Y=$.map((C)=>C.animate([{[j]:J},{[j]:Q}],{duration:Z,easing:Aj(X)})),q={stop(){let C=Y[0]?.currentTime;V(c2(X,typeof C==="number"?C/Z:0));for(let G of Y)G.cancel()}};return h6.push(q),Promise.all(Y.map((C)=>C.finished)).then(()=>{h6=h6.filter((C)=>C!==q)},()=>{})}function aD($,j,J,Q){let Z=j==="veil"?[$.veil]:$.content(),X=m1[j];return m1[j]=J,Op(Z,"opacity",String(X),String(J),Q,y4,(V)=>{let Y=g0(X,J,V);m1[j]=Y;for(let q of Z)q.style.opacity=String(Y)})}function oD($,j,J){let Q=m1.hole;U$=!0,h9();let Z=(X)=>cQ($,X);if(J<=0||Tj(Q,j()))return Z(j()),Promise.resolve();return Z(Q),new Promise((X)=>{let V=0,Y=null,q=()=>{h6=h6.filter((W)=>W!==C),X()},C={stop(){window.cancelAnimationFrame(V),q()}},G=(W)=>{Y??=W;let K=W-Y;if(Z(VM(Q,j(),K,J)),K>=J)q();else V=window.requestAnimationFrame(G)};h6.push(C),V=window.requestAnimationFrame(G)})}function cQ($,j){m1.hole=j;let J=GM(j);if(J===H$)return;H$=J,$.back.style.clipPath=J}function Ep($){h9();let j=()=>{if(B$!==J)return;cQ($,$.screenRect()),J=window.requestAnimationFrame(j),B$=J},J=window.requestAnimationFrame(j);B$=J}function h9(){if(B$)window.cancelAnimationFrame(B$);B$=0}function xp($,j){let J=performance.now()+j;return new Promise((Q)=>{let Z=()=>{if(g9=0,$()||performance.now()>=J)Q();else g9=window.requestAnimationFrame(Z)};Z()})}function fp($){h9(),H$="",$.back.style.clipPath="",$.veil.style.opacity="";for(let j of $.content())j.style.opacity="";U$=!1,m1={veil:1,content:1,hole:m1.hole}}async function JL($,j,J,Q){if(j.kind==="fade"){let Z=Q?0:j.time;await Promise.all([j.veil===void 0?null:aD($,"veil",j.veil,Z),j.content===void 0?null:aD($,"content",j.content,Z)])}else if(j.kind==="cover"){let Z=Tj(m1.hole,$.fullRect());if($.hidePage(),Z)oD($,$.fullRect,0)}else if(j.kind==="layout")$.layout();else if(j.kind==="mat"){let Z=j.to==="screen"?$.screenRect:j.to==="round"?()=>qM($.fullRect()):$.fullRect,X=g6;if(await oD($,Z,Q?0:j.time),j.to==="screen"&&!Q&&X?.live())Ep($)}else if(j.kind==="wait"){if(!Q)await xp($.painted,j2.wait)}else if(j.kind==="release")$.release();else if(J==="open")fp($);else $.teardown()}function QL($,j){if(!U$)m1={veil:1,content:1,hole:$.screenRect()},$L($.veil),$.veil.style.opacity="1",H$="",cQ($,m1.hole),U$=!0;let J={...m1,covered:$.covered(),open:Tj(m1.hole,$.fullRect())},Q=FM(MM(J,j),j);g6=Q,Q.run((Z)=>JL($,Z,j,!1)).then(()=>{if(g6===Q&&!Q.live())g6=null})}function M$(){g6?.cancel(),g6=null,sD(),fD();for(let $ of[...h6])$.stop();if(h6=[],g9)window.cancelAnimationFrame(g9);g9=0,h9()}function ZL($){let j=g6;if(M$(),!j||!$)return;for(let J of j.rest())JL($,J,j.target,!0)}var g6=null,m1,U$=!1,h6,g9=0,H$="",B$=0;var u9=u(()=>{v4();K$();i8();L8();m1={veil:1,content:1,hole:{x:0,y:0,width:0,height:0,radius:[0,0,0,0]}},h6=[]});function hp($){let j=$>>>0;return()=>{j=j+1831565813>>>0;let J=j;return J=Math.imul(J^J>>>15,J|1),J^=J+Math.imul(J^J>>>7,J|61),((J^J>>>14)>>>0)/4294967296}}function XL($,j,J){let Q=[2,3,4,5,6,7],Z=[];for(let V=0;V<j;V++){let[Y=2]=Q.splice(Math.floor($()*Q.length),1);Z.push({k:Y,amp:(0.4+0.6*$())*(2/Y),phase:$()*2*Math.PI,drift:($()-0.5)*1.6})}let X=Z.reduce((V,Y)=>V+Y.amp,0);return Z.map((V)=>({...V,amp:V.amp*J/X}))}function up($){let j=hp($),J=XL(j,4,0.12+0.1*j()),Q=2+Math.floor(j()*3),Z=[];for(let X=0;X<Q;X++)Z.push({angle:(X+j()*0.7)/Q*2*Math.PI,from:1.15+0.3*j(),to:0.35+0.2*j(),size:0.14+0.14*j(),waves:XL(j,2,0.12)});return{waves:J,drops:Z}}function mp($){return $.reduce((j,J)=>j+J.amp,0)}function pp($,j,J){let Q=j.x+j.width/2,Z=j.y+j.height/2,X=Math.max(Math.hypot(Q,Z),Math.hypot(J.width-Q,Z),Math.hypot(Q,J.height-Z),Math.hypot(J.width-Q,J.height-Z));return{x:Q,y:Z,radius:(X+kp)/(1-mp($.waves)-gp)}}function VL($,j,J,Q,Z){let X=[];for(let V=0;V<Z;V++){let Y=V/Z*2*Math.PI,q=1;for(let C of J)q+=C.amp*Math.sin(C.k*Y+C.phase+C.drift*Q);X.push({x:$.x+j*q*Math.cos(Y),y:$.y+j*q*Math.sin(Y)})}return X}function cp($){let j=$.length,J=(Z)=>$[(Z+j)%j]??{x:0,y:0},Q=[];for(let Z=0;Z<j;Z++){let[X,V,Y,q]=[J(Z-1),J(Z),J(Z+1),J(Z+2)];Q.push([V,{x:V.x+(Y.x-X.x)/6,y:V.y+(Y.y-X.y)/6},{x:Y.x-(q.x-V.x)/6,y:Y.y-(q.y-V.y)/6},Y])}return Q}function dp($,j,J){let Q=Math.min(1,Math.max(0,J)),Z=j.radius*c2(wp,Q),X={x:j.x,y:j.y},V=[VL(X,Z,$.waves,Q,yp)];for(let Y of $.drops){let q=Z*(Y.from+(Y.to-Y.from)*Q),C={x:j.x+q*Math.cos(Y.angle),y:j.y+q*Math.sin(Y.angle)};V.push(VL(C,Z*Y.size,Y.waves,Q,vp))}return V}function u6($){return Math.round($*10)/10}function lp($){return $.map((j)=>{let J=cp(j),[Q]=J;if(!Q)return"";let Z=`M${u6(Q[0].x)} ${u6(Q[0].y)}`,X=J.map(([,V,Y,q])=>`C${u6(V.x)} ${u6(V.y)} ${u6(Y.x)} ${u6(Y.y)} ${u6(q.x)} ${u6(q.y)}`);return`${Z}${X.join("")}Z`}).join("")}function YL(){return H2()||f2()||z4()}function rp($){let j=$?.cloneNode(!0);if(!(j instanceof Element))return null;let J=`mat-grid-${++ip}`;return j.querySelector("pattern")?.setAttribute("id",J),j.querySelector("rect")?.setAttribute("fill",`url(#${J})`),j}function qL($,j){let J=$.letterbox.getAttribute("data-mat");if(J===j)return;if(x6($.letterbox,j),!J||A2()||YL()){c6();return}if(!p6)p6=$.back,x6(p6,J);let Q=document.createElement("div");Q.className="splash",x6(Q,j),Q.style.clipPath="inset(50%)";let Z=rp($.paper);if(Z)Q.append(Z);(m6.at(-1)?.node??$.back).after(Q);let X=up(Math.floor(Math.random()*4294967296)),V={width:$.letterbox.clientWidth,height:$.letterbox.clientHeight};if(m6.push({node:Q,mat:j,splash:X,plan:pp(X,$.screen(),V),begun:null}),!r8)r8=window.requestAnimationFrame(CL)}function CL($){if(r8=0,YL()){c6();return}let j=-1;m6.forEach((Q,Z)=>{Q.begun??=$;let X=($-Q.begun)/bp;if(X>=1)j=Z;else Q.node.style.clipPath=`path("${lp(dp(Q.splash,Q.plan,X))}")`});let J=m6[j];if(J){if(p6)x6(p6,J.mat);for(let Q of m6.splice(0,j+1))Q.node.remove()}if(m6.length===0){c6();return}r8=window.requestAnimationFrame(CL)}function c6(){if(r8)window.cancelAnimationFrame(r8);r8=0;for(let $ of m6)$.node.remove();if(m6=[],p6)x6(p6,null);p6=null}var bp=1200,wp,kp=24,yp=48,vp=20,gp=0.03,m6,p6=null,r8=0,ip=0;var _G=u(()=>{K$();u8();v4();u9();i8();wp=[0.25,0.6,0.3,1];m6=[]});async function F$($){try{return await navigator.clipboard.writeText($),!0}catch{}let j=document.createElement("textarea");j.value=$,j.setAttribute("data-devknobs","copy"),j.setAttribute("aria-hidden","true"),j.style.cssText="position:fixed;left:-9999px;top:0;opacity:0";try{return document.body.append(j),j.select(),typeof document.execCommand==="function"&&document.execCommand("copy")}catch{return!1}finally{j.remove()}}function GL($){let j=document.createElement("div");j.className="blocked",j.hidden=!0;let J=document.createElement("div");J.textContent="this page refuses to load in a frame";let Q=document.createElement("div");Q.className="why",Q.hidden=!0;let Z=document.createElement("button");return Z.type="button",Z.textContent="close the frame",Z.addEventListener("click",$),j.append(J,Q,Z),j}function IG($,j,J){let[Q]=$.querySelectorAll(".why");if(!Q)return;if(Q.replaceChildren(),Q.hidden=j===null,!j)return;let Z=document.createElement("div");Z.textContent=j.why,Q.append(Z);let{details:X,retry:V}=j;if(X!==void 0){let Y=document.createElement("button");Y.type="button",Y.className="copy",Y.textContent="copy details",Y.addEventListener("click",()=>{F$(X).then((q)=>{Y.textContent=q?"copied":"could not copy"})}),Q.append(Y)}if(V){let Y=document.createElement("button");Y.type="button",Y.className="retry",Y.textContent=V.label;let q=()=>{Y.disabled=!0,V.run().then(J,(C)=>{Z.textContent=C instanceof Error?C.message:String(C),Y.disabled=!1})};if(Y.addEventListener("click",q),Q.append(Y),V.now)q()}}var WL=()=>{};function op($){if($.first||$.still||$.moving)return!1;if($.sized)return!0;if(($.from.docked??!1)!==($.to.docked??!1))return!0;return $.from.side!==$.to.side||$.from.open!==$.to.open}function tp($,j){if(YY($,j))return null;return{x:$.x-j.x,y:$.y-j.y,sx:j.width>0?$.width/j.width:1,sy:j.height>0?$.height/j.height:1}}function ep($){return Math.min(Math.max($/ap,sp),np)}function BL($,j){return`${$.x}|${$.y}|${j}`}function HL(){return d6!==null}function m9(){d6?.animation.cancel(),d6=null}function ML($){if(d6&&d6.to!==$)m9();UL=$}function KL($){let{left:j,top:J,width:Q,height:Z}=$.getBoundingClientRect();return{x:j,y:J,width:Q,height:Z}}function DG($,j,J){let Q=H2()||f2()||z4();if(!$||!op({...j,still:A2(),moving:Q})){J();return}let Z=KL($);m9(),J();let X=tp(Z,KL($));if(!X)return;let V=$.animate([{translate:`${X.x}px ${X.y}px`,scale:`${X.sx} ${X.sy}`},{translate:"0px 0px",scale:"1 1"}],{duration:ep(Math.hypot(X.x,X.y)),easing:Aj(y4)}),Y={animation:V,to:UL};d6=Y,V.finished.then(()=>{if(d6===Y)d6=null},()=>{})}var sp=220,np=440,ap=6,d6=null,UL="";var FL=u(()=>{K$();v4();u9();i8()});function $c(){let $=[],j=0,J=-1/0;return{next(Q){if(Q-J>=16000)$=[],j=0;if(J=Q,$=$.filter((Z)=>Q-Z<1000),$.push(Q),j===0&&$.length<=10)return 0;return j=Math.min(j===0?1000:j*2,8000),j}}}function p9($,j={}){let J=j.home??(()=>document.body??document.documentElement),Q=$c(),Z=!1,X=0,V=!1,Y=new MutationObserver(G);function q(){Y.disconnect(),Y.observe(document,{childList:!0}),Y.observe(document.documentElement,{childList:!0});let W=$.parentNode;if(W&&W!==document.documentElement&&W!==document)Y.observe(W,{childList:!0})}function C(){if(X=0,Z||$.isConnected)return;J().appendChild($),q(),j.restored?.()}function G(){if(Z||X)return;if($.isConnected){q();return}let W=Q.next(performance.now());if(W===0){C();return}if(!V)V=!0,console.warn("devknobs: the page keeps removing devknobs' elements; putting them back less often");X=window.setTimeout(C,W)}return q(),()=>{Z=!0,clearTimeout(X),X=0,Y.disconnect()}}function jc($,j){if(j.at)return{by:j.from,x:j.at.x,y:j.at.y,pressed:j.pressed};return $.by===j.from?c9:$}function Jc($,j){return{x:j.x+$.x,y:j.y+$.y}}function Qc($,j,J){if(!(j.width>0)||!(j.height>0))return null;return{x:($.x-j.x)*J.width/j.width,y:($.y-j.y)*J.height/j.height}}function _L($){let{glass:j,frame:J}=$,Q=document.createElement("div");Q.className="touchdot",Q.setAttribute("aria-hidden","true"),Q.hidden=!0;let Z=document.createElement("div");Z.className="dot",Z.hidden=!0,Q.append(Z),j.append(Q);let X=!1,V=!1,Y={width:0,height:0},q=c9,C=()=>X&&!V,G=()=>{if(Z.hidden=q.by===null,q.by!==null)Z.style.transform=`translate(${q.x}px, ${q.y}px)`;Z.classList.toggle("pressed",q.pressed)},W=(M)=>{q=$.moving()?c9:jc(q,M),G()},K=()=>{if(Q.hidden=!C(),C()){j.setAttribute("data-touch","");return}j.removeAttribute("data-touch"),q=c9,G()},H=(M)=>{let U=N_("detail"in M?M.detail:null);if(!U||!X)return;if(M.preventDefault(),V=U.held,K(),V)return;let F=U.at?Jc(U.at,$.origin()):null;W({from:"page",at:F,pressed:U.pressed})},B=(M)=>{if(!C()||!M.isTrusted||M.pointerType!=="mouse")return;if(M.target===J){W({from:"bars",at:null,pressed:!1});return}let U=j.getBoundingClientRect(),F={x:U.left,y:U.top,width:U.width,height:U.height},P=Qc({x:M.clientX,y:M.clientY},F,Y);W({from:"bars",at:P,pressed:M.buttons!==0})},z=()=>{if(C())W({from:"bars",at:null,pressed:!1})};J.addEventListener(W9,H);for(let M of zL)j.addEventListener(M,B);return j.addEventListener("pointerleave",z),{apply(M){if(M===X)return;X=M,K()},fit(M,U){Y={width:M.width,height:M.height},Q.style.width=`${M.width}px`,Q.style.height=`${M.height}px`,Q.style.transform=U===1?"":`scale(${U})`},rest(){q=c9,G()},remove(){J.removeEventListener(W9,H);for(let M of zL)j.removeEventListener(M,B);j.removeEventListener("pointerleave",z),j.removeAttribute("data-touch"),Q.remove()}}}var PL,c9,zL;var LG=u(()=>{PL=`
398
+ /* Over the page, the bars and the mock's island, clipped to the screen. */
399
+ .touchdot {
400
+ position: absolute;
401
+ top: 0;
402
+ left: 0;
403
+ z-index: 1;
404
+ overflow: hidden;
405
+ transform-origin: 0 0;
406
+ pointer-events: none;
407
+ }
408
+ .touchdot[hidden] { display: none; }
409
+ .touchdot .dot { position: absolute; }
410
+ ${QQ}
411
+ /* The screen is touched, not pointed at: the bars and their buttons show no mouse cursor. */
412
+ .glass[data-touch], .glass[data-touch] * { cursor: none !important; }
413
+ `,c9={by:null,x:0,y:0,pressed:!1};zL=["pointerover","pointermove","pointerdown","pointerup","pointercancel"]});function IL($){if(!($ instanceof HTMLElement||$ instanceof SVGElement))return;if($.hasAttribute("data-devknobs")||dQ.has($))return;let j=$.style;dQ.set($,{inert:!$.hasAttribute("inert"),value:j.getPropertyValue("content-visibility"),priority:j.getPropertyPriority("content-visibility"),styled:$.hasAttribute("style")}),$.setAttribute("inert",""),j.setProperty("content-visibility","hidden","important")}function Zc(){for(let[$,j]of dQ){if(j.inert)$.removeAttribute("inert");if(j.value)$.style.setProperty("content-visibility",j.value,j.priority);else $.style.removeProperty("content-visibility");if(!j.styled&&$.getAttribute("style")==="")$.removeAttribute("style")}dQ.clear()}function Xc(){if(d9||typeof HTMLDialogElement>"u")return;let $=HTMLDialogElement.prototype.showModal;d9=$,HTMLDialogElement.prototype.showModal=function(){if(this.closest("[data-devknobs]"))$.call(this);else this.show()};let j=[];try{j=Array.from(document.querySelectorAll("dialog:modal"))}catch{}for(let J of j){if(J.closest("[data-devknobs]"))continue;J.close(),J.show()}}function Vc(){if(d9)HTMLDialogElement.prototype.showModal=d9;d9=null}function DL($){for(let j of Array.from($.children))IL(j);Xc(),NG??=new MutationObserver((j)=>{for(let J of j)J.addedNodes.forEach(IL)}),NG.observe($,{childList:!0})}function LL(){NG?.disconnect(),Vc(),Zc()}var d9=null,dQ,NG=null;var NL=u(()=>{dQ=new Map});var Yc="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='4'%3E%3Cpath d='M.5.5 3 3.5 5.5.5' fill='none' stroke='%23fff' stroke-opacity='.7'/%3E%3C/svg%3E",RG;var RL=u(()=>{LQ();TQ();aC();x9();LG();RG=`
414
+ .viewport {
415
+ all: initial;
416
+ box-sizing: border-box;
417
+ position: absolute;
418
+ inset: 0;
419
+ display: flex;
420
+ flex-direction: column;
421
+ overflow: hidden;
422
+ direction: ltr;
423
+ }
424
+ /* The mat's paint, which a device change cuts its opening in, and the veil
425
+ under it in the page's color, which hides the page as the frame comes. A
426
+ splash over the paint shows a new color as it spreads. */
427
+ .back, .veil, .splash {
428
+ position: absolute;
429
+ inset: 0;
430
+ }
431
+ .back, .splash { background: var(--mat); }
432
+ .splash { pointer-events: none; }
433
+ /* The screen of a page that is loading, blank in the page's color. */
434
+ .screenblank {
435
+ position: absolute;
436
+ inset: 0;
437
+ }
438
+ .screenblank[hidden] { display: none; }
439
+ .size {
440
+ position: relative;
441
+ /* Over the fold, which turns out of the room under it. */
442
+ z-index: 1;
443
+ flex: none;
444
+ box-sizing: border-box;
445
+ /* A set height, so the room the frame is fitted to never waits on the text. */
446
+ height: ${L9}px;
447
+ display: flex;
448
+ align-items: center;
449
+ justify-content: center;
450
+ gap: 8px;
451
+ padding: ${lC}px 8px 0;
452
+ font: 11px/16px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
453
+ white-space: nowrap;
454
+ color: rgba(255, 255, 255, 0.8);
455
+ user-select: none;
456
+ -webkit-user-select: none;
457
+ }
458
+ .size[hidden] { display: none; }
459
+ .zoom {
460
+ appearance: none;
461
+ -webkit-appearance: none;
462
+ box-sizing: border-box;
463
+ height: 18px;
464
+ margin: 0;
465
+ padding: 0 16px 0 6px;
466
+ font: inherit;
467
+ color: inherit;
468
+ color-scheme: dark;
469
+ background: url("${Yc}") no-repeat right 5px center;
470
+ border: 1px solid rgba(255, 255, 255, 0.4);
471
+ border-radius: 4px;
472
+ cursor: pointer;
473
+ }
474
+ .zoom:focus { outline: none; }
475
+ .zoom:hover, .zoom:focus-visible { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
476
+ .stage {
477
+ position: relative;
478
+ flex: 1 1 0;
479
+ min-height: 0;
480
+ display: flex;
481
+ overflow: auto;
482
+ }
483
+ /* As big as the frame is drawn, margins and all, so a bigger one scrolls both
484
+ ways. Auto margins center a smaller one and drop to nothing on a bigger
485
+ one, so every edge of it scrolls into view. */
486
+ .drawing {
487
+ flex: none;
488
+ position: relative;
489
+ margin: auto;
490
+ }
491
+ /* Scales the frame to fit, or by the zoom. A transform keeps the device pixel
492
+ ratio inside, where zoom would change it, and hit testing follows it into
493
+ the frame, so clicks land where they are drawn. */
494
+ .screen {
495
+ position: absolute;
496
+ top: 0;
497
+ left: 0;
498
+ transform-origin: 0 0;
499
+ }
500
+ .glass { position: relative; }
501
+ /* A foldable folding: a copy of the half that turns, over the device and
502
+ under the readout, takes no pointer. */
503
+ .fold {
504
+ position: absolute;
505
+ inset: 0;
506
+ overflow: hidden;
507
+ pointer-events: none;
508
+ }
509
+ .fold > div {
510
+ position: absolute;
511
+ top: 0;
512
+ left: 0;
513
+ transform-origin: 0 0;
514
+ }
515
+ .fold .face, .fold .face > div {
516
+ position: absolute;
517
+ top: 0;
518
+ left: 0;
519
+ }
520
+ /* Where a phone's browser leaves the page in its screen. */
521
+ .page.placed { position: absolute; }
522
+ iframe {
523
+ display: block;
524
+ border: 0;
525
+ /* The canvas color of the frame's own scheme, which is what shows through a
526
+ page that leaves its background to the browser. */
527
+ background: Canvas;
528
+ }
529
+ .blocked {
530
+ position: absolute;
531
+ inset: 0;
532
+ display: flex;
533
+ flex-direction: column;
534
+ align-items: center;
535
+ justify-content: center;
536
+ gap: 8px;
537
+ font: 12px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
538
+ color: rgba(255, 255, 255, 0.85);
539
+ background: var(--mat);
540
+ }
541
+ .blocked[hidden], .blocked .why[hidden] { display: none; }
542
+ .blocked .why {
543
+ display: flex;
544
+ flex-direction: column;
545
+ align-items: center;
546
+ gap: 6px;
547
+ max-width: min(360px, 90%);
548
+ text-align: center;
549
+ overflow-wrap: anywhere;
550
+ color: rgba(255, 255, 255, 0.65);
551
+ }
552
+ .blocked button {
553
+ appearance: none;
554
+ -webkit-appearance: none;
555
+ margin: 0;
556
+ padding: 2px 8px;
557
+ font: inherit;
558
+ color: inherit;
559
+ background: none;
560
+ border: 1px solid rgba(255, 255, 255, 0.5);
561
+ border-radius: 4px;
562
+ cursor: pointer;
563
+ }
564
+ .blocked button:hover { color: #fff; border-color: #fff; }
565
+ @media (color-gamut: p3) {
566
+ .back, .splash, .blocked { background: var(--mat-p3); }
567
+ }
568
+ ${dI}
569
+ ${_D}
570
+ ${DQ}
571
+ ${PL}`});function AL($){if($==="none")return"";if($==="blur")return"blur(2px)";let J=`<svg xmlns="http://www.w3.org/2000/svg"><filter id="f"><feColorMatrix values="${[...qc[$].map((Q)=>[...Q,0,0]),[0,0,0,1,0]].flat().join(" ")}"/></filter></svg>`;return`url("data:image/svg+xml,${encodeURIComponent(J)}#f")`}var qc;var TL=u(()=>{qc={protanopia:[[0.152286,1.052583,-0.204868],[0.114503,0.786281,0.099216],[-0.003882,-0.048116,1.051998]],deuteranopia:[[0.367322,0.860646,-0.227968],[0.280085,0.672501,0.047413],[-0.01182,0.04294,0.968881]],tritanopia:[[1.255528,-0.076749,-0.178779],[-0.078411,0.930809,0.147602],[0.004733,0.691367,0.3039]],achromatopsia:[[0.2126,0.7152,0.0722],[0.2126,0.7152,0.0722],[0.2126,0.7152,0.0722]]}});var rG={};F5(rG,{zoomKey:()=>Sc,sync:()=>Kc,reset:()=>vc,panelSized:()=>Dc,origin:()=>p8,onZoom:()=>Fc,onRefused:()=>Uc,onFramed:()=>Hc,onExit:()=>Bc,label:()=>AQ,idle:()=>Ec,frameWindow:()=>t4,foldDevice:()=>s9,fit:()=>N9,apply:()=>yc,STRIP:()=>L9,RIDE_SLOW:()=>fL,FRAME_API_WAIT:()=>bL});function t4(){return x0?.contentWindow??null}function yG(){if(_$)f1(t4(),{source:"devknobs",type:"state",state:_$,native:n5()})}function gL(){return _$!==null&&!I4&&w4(_$.device)&&_$.touchPointer}function Kc($){_$=$,e4?.apply(gL()),yG(),YI($)}function vG(){try{let $=x0?.contentWindow?.location.href;if($&&$!=="about:blank")n4=$}catch{}return n4}function Bc($){kL=$}function Uc($){yL=$}function Hc($){kG=$}function Mc(){let $=M2,j=++fG;if(!$)return;IG($,null,SL),yL?.(n4).then((J)=>{if(j===fG&&M2===$&&!$.hidden)IG($,J,SL)},()=>{})}function SL(){if(!x0)return;if(o4=!1,N$=null,fG+=1,M2)M2.hidden=!0;x0.src=n4}function Fc($){wL=$}function a8(){try{return x0?.contentDocument??null}catch{return null}}function hL(){let $=a8();if($&&n0(W0.device)?.postures)VD($)}function wG(){o4=!0,vL=performance.now();let $=a8();if(M2)M2.hidden=$!==null;if($===null)Mc();vG();let j=t4();if(j&&$)KI(j,$),k6(),QI(j);l1?.refresh(),mL(),hL(),yG(),m8()}function uL($){let j=$2($,t4(),window.location.origin);if(j?.type==="leave"){window.location.assign(j.url);return}if(j?.type!=="ready")return;N$=a8(),yG()}function hG($){if(!gG||typeof $!=="number"||!(window.devicePixelRatio>0))return 1;return $/window.devicePixelRatio}function mL(){let $=t4();if(!x0||!$||!o4||hG(W0.dpr)===1)return;x0.getBoundingClientRect();try{if(Math.abs($.devicePixelRatio-Number(W0.dpr))<0.01)return}catch{return}gG=!1,R1()}function zc($){if(!S1)return;let j=W0.zoom,Q=j==="fit"||L5.includes(j)?L5:[...L5,j].sort((V,Y)=>V-Y),Z=[["fit",`fit ${z6($.fit)}`],...Q.map((V)=>[String(V),z6(V)])],X=Z.join("|");if(X!==xG)xG=X,S1.replaceChildren(...Z.map(([V,Y])=>{let q=document.createElement("option");return q.value=V,q.textContent=Y,q}));S1.value=String(j)}function Pc(){return document.querySelector('[data-devknobs="panel"]')?.offsetWidth??0}function pL($){return $.open&&!$.docked?Pc():0}function L$(){if(_4?.frame)window.cancelAnimationFrame(_4.frame);_4=null}function _c(){if(!h0)return;if(!_4)c1=RQ(W0.panel,h0.clientWidth,q$());for(let $ of[h0,M2]){if(!$)continue;$.style.paddingLeft=c1.left?`${c1.left}px`:"",$.style.paddingRight=c1.right?`${c1.right}px`:""}}function Ic($,j,J,Q){let Z=j==="left"?"right":"left",X=$.from[j],V=Math.min(Math.max(Q,Math.min(X,J)),Math.max(X,J)),Y=0;if($.from[Z]>0){$.start??=Q;let q=$.start-J,C=q===0?1:Math.min(Math.max(($.start-Q)/q,0),1);V=X+(J-X)*C,Y=$.from[Z]*(1-C)}return V=Math.round(V),Y=Math.round(Y),j==="left"?{left:V,right:Y}:{left:Y,right:V}}function cL($){let j=_4;if(!j)return;j.frame=0,j.slow=j.seen!==null&&$-j.seen>fL?j.slow+1:0,j.seen=$;let J=W0.panel.side,Q=h0&&!I4&&j.slow<2?hI(J,$):null;if(!h0||!Q?.moving){L$(),R1();return}let Z=RQ(W0.panel,h0.clientWidth,q$())[J];c1=Ic(j,J,Z,Q.cover),R1(),j.frame=window.requestAnimationFrame(cL)}function dL($){if(A2()||!h0){L$(),$();return}_4={from:{...c1},start:null,frame:_4?.frame??0,seen:null,slow:0},$();let j=RQ(W0.panel,h0.clientWidth,q$());if(j.left===c1.left&&j.right===c1.right)L$();else _4.frame||=window.requestAnimationFrame(cL)}function lL(){if(!T1||!W0.panel.docked)return;s6||=window.requestAnimationFrame(()=>{s6=0,R1()})}function iL(){let $=(h0?.clientWidth??0)-c1.left-c1.right;return{width:Math.max(0,$),height:h0?.clientHeight??0}}function Dc($){let j=W0.panel.docked;if(!$){if(!j)R1();else if(_4)L$(),lL();return}if(s6)window.cancelAnimationFrame(s6);if(s6=0,j)dL(R1);else DG(d1,{first:!1,from:W0.panel,to:W0.panel,sized:!0},R1)}function Lc($,j){if(!d1||!C1)return;let J=$?.image?f3($.image.file):null,Q=u2(W0.device,W0.posture),Z=$?`${Q}|${W0.orientation}|${$.image?.file}|${J}`:"";if(Z!==EG){if(EG=Z,l6?.remove(),l6=$?wQ($,j,J):null,l6)d1.append(l6);C1.className=$?"glass mocked":"glass"}let X=j.zoom;C1.style.left=$?`${$.inset.left*X}px`:"",C1.style.top=$?`${$.inset.top*X}px`:"";let V=$?G$($.screenRadius).map((Y)=>`${Y*X}px`):[];if(C1.style.borderRadius=V.join(" "),C1.style.boxShadow=J?`0 0 0 ${bQ*X}px #000`:"",$&&l6)l6.style.width=`${$.width*X}px`,l6.style.height=`${$.height*X}px`}function Nc($,j,J,Q){if(!C1||!s8||!l1)return;let Z=J.zoom,X=s8,V=()=>{if(!x0)return;x0.style.width=`${j?.width??J.width}px`,x0.style.height=`${j?.height??J.height}px`,X.className=j?"page placed":"page",X.style.left=j?`${j.x*Z}px`:"",X.style.top=j?`${j.y*Z}px`:""};C1.style.width=j?`${J.width*Z}px`:"",C1.style.height=j?`${J.height*Z}px`:"",l1.show({bars:$,page:j,size:J,zoom:Z,follow:Q,sizeFrame:V}),l1.refresh()}function Rc($){if(!h0||!P4||!n8||!S1)return;let j=Math.max(0.5,1/(window.devicePixelRatio||1)),J=P4.hidden?void 0:{from:n8.offsetLeft-8,to:S1.offsetLeft+S1.offsetWidth+8},Q=`${$.width}|${$.height}|${j}|${J?.from}|${J?.to}|${c1.left}|${c1.right}`;if(Q===OG)return;OG=Q;let Z=iI($,j,J,c1);if(l9)l9.replaceWith(Z);else a4?.append(Z);l9=Z}function uG($){return XF($,R1)}function R1(){if(!x0||!h0||!o0||!r6||!d1||!P4||!n8)return;if(I4||f2()||z4())return;P4.hidden=!iC(W0),x6(h0,W0.mat),_c();let $=iL(),j=pL(W0.panel),J=uG(W0),Q=N9(W0,$,{frameZoom:hG(W0.dpr),aside:j,side:W0.panel.side,mock:J?.inset});p1=Q,ML(BL(p8(Q,$),Q.transform));let Z=z1(W0.device,W0.posture),X=Z?O6(Z.id,W0.browser):null,V=W0.bars==="auto",Y=W0.bars==="minimized"||V&&l1?.minimized()===!0,q=W0.edgeToEdge,C=Z?r5(Z,W0.orientation,X,Y,q):null,G=C&&Z?i5(Z,W0.orientation,X,Y,q):null,W={...W0,dpr:gG?W0.dpr:"system"};if(n8.textContent=AQ(Q,W,G??Q),zc(Q),Rc($),o0.style.overflow=W0.zoom==="fit"?"hidden":"",x0.style.zoom=Q.zoom===1?"":String(Q.zoom),Nc(C,G,Q,V),e4?.fit(Q,Q.zoom),r6.style.width=`${Q.box.width}px`,r6.style.height=`${Q.box.height}px`,d1.style.left=`${Q.left-(J?.inset.left??0)*Q.scale}px`,d1.style.top=`${Q.top-(J?.inset.top??0)*Q.scale}px`,Lc(J,Q),d1.style.transform=Q.transform===1?"":`scale(${Q.transform})`,W0.scheme!=="system"&&jM(x0.getRootNode()))x0.style.colorScheme=W0.scheme;else x0.style.removeProperty("color-scheme");x0.style.filter=AL(W0.vision),mL(),hL()}function rL($){let j=o0;if(!j||!p1){R1();return}let J=()=>({width:j.clientWidth,height:j.clientHeight}),Q={x:j.scrollLeft,y:j.scrollTop},Z={origin:p8(p1,J()),scale:p1.scale};R1();let X={origin:p8(p1,J()),scale:p1.scale},V=hH($,Q,Z,X);j.scrollLeft=V.x,j.scrollTop=V.y}function mG($){clearTimeout(lQ),i9=null,wL?.($)}function Ac($){if(!$.ctrlKey&&!$.metaKey||!o0||!p1||U8(W0))return;$.preventDefault();let j=$.deltaMode===0?$.deltaY:$.deltaY*Gc,J=gH(p1.scale,j);if(J===p1.scale)return;i9=J,W0={...W0,zoom:J};let Q=o0.getBoundingClientRect();rL({x:Math.min(Math.max($.clientX-Q.left,0),o0.clientWidth),y:Math.min(Math.max($.clientY-Q.top,0),o0.clientHeight)}),clearTimeout(lQ),lQ=window.setTimeout(()=>mG(J),Cc)}function Tc(){if(S1)mG(S1.value==="fit"?"fit":Number(S1.value))}function Sc($){if(!T1||!p1||U8(W0))return!1;return mG($==="zoom-fit"?"fit":vH(p1.scale,$==="zoom-in"?1:-1)),!0}function pG(){if(!o4||$I())return!1;let $=a8();return $===null||$.readyState==="complete"}function Oc(){let $=a8();if($===null||$===N$)return!0;return performance.now()-vL>=bL}function Ec(){if(_4!==null||HL()||H2()||f2()||z4())return!1;if(iQ==="closed")return!0;return T1!==null&&pG()&&Oc()}function sL(){return YM({width:h0?.clientWidth??0,height:h0?.clientHeight??0})}function cG(){if(!C1||!h0)return sL();let $=h0.getBoundingClientRect(),j=C1.getBoundingClientRect(),J=p1?.transform??1,[Q,Z,X,V]=CM(C1.style.borderRadius);return{x:j.left-$.left,y:j.top-$.top,width:j.width,height:j.height,radius:[Q*J,Z*J,X*J,V*J]}}function nL($){if(!h0||!o0)return null;let j=uG($),J=N9($,iL(),{frameZoom:hG($.dpr),aside:pL($.panel),side:$.panel.side,mock:j?.inset}),Q={width:o0.clientWidth,height:o0.clientHeight},Z=p8(J,Q),X=h0.getBoundingClientRect(),V=o0.getBoundingClientRect(),Y=(q,C,G)=>Math.min(q,Math.max(0,C-G));return{x:V.left-X.left+Z.x-Y(o0.scrollLeft,J.box.width,Q.width),y:V.top-X.top+Z.y-Y(o0.scrollTop,J.box.height,Q.height),width:J.width*J.scale,height:J.height*J.scale}}function aL(){if(!d1||!h0||!C1||!x0||!P$||!p1)return null;let $=x0;return{unit:d1,letterbox:h0,glass:C1,frame:$,cover:P$,base:p1.transform,background:()=>(l1?.look()??v6($)).background,screenRect:cG}}function OL($){e4?.rest();let j=Oj(Ej(W0),Ej($));OD($,j,j===0?null:nL($),aL(),i6)}function oL(){let $=aL();if(!$||!M2)return null;let j=M2;return{...$,place:(J)=>$.letterbox.insertBefore(J,j),body:uG,screenFor:nL}}function s9($,j=!1){return m9(),e4?.rest(),cD(W0,$,oL(),i6,j)}function dG(){let $=document.body;if(D$||!$)return;D$=!0,DL($);let j=N1(xL);j.textContent="html{overflow:hidden!important}:popover-open:not([data-devknobs]){display:none!important}";let J=TJ(j);if(J)SG=p9(J,{home:()=>document.head??document.documentElement})}function lG(){if(!D$)return;D$=!1,SG?.(),SG=null,LL(),v1(xL)}function xc(){if(D$)lG(),dG();if(!x0||I4)return;o4=!1,N$=null,W3(n4),queueMicrotask(()=>{let $=t4();if($&&!o4)MQ($)})}function fc(){return[P4,o0,M2].filter(($)=>$!==null)}function tL($){if(U8($))return{...$,zoom:"fit"};return i9===null?$:{...$,zoom:i9}}function i6($){let j=W0.zoom;if(W0=tL($),o0&&W0.zoom!==j)rL({x:o0.clientWidth/2,y:o0.clientHeight/2});else R1()}function bc(){let $=I$;if(I$=null,$)i6($);else R1()}function eL($){if(SH($,window.location.href))zj();window.location.assign($)}function wc(){let $=QN(!0);if($&&$!==window.location.href){M$(),n9(),eL($);return}lG(),window.scrollTo({left:r9.x,top:r9.y,behavior:"instant"})}function iG(){if(!T1||!a4||!z$)return null;return{back:a4,veil:z$,content:fc,screenRect:cG,fullRect:sL,covered:()=>D$,hidePage:dG,painted:pG,layout:bc,release:wc,teardown:n9}}function AG($){let j=iG();if(j)QL(j,$)}function $N(){c6();let $=H2()||f2()||z4(),j=U8(W0),J=$||I4||j||o0?.scrollLeft||o0?.scrollTop;if(!h0||!x0||!S1||J){BQ();return}let Q=l1?.look()??v6(x0),Z=xC(W0,window);s_({letterbox:h0,zoom:S1.value,key:Z,css:RG,look:Q})}function kc(){let $=u2(W0.device,W0.posture),j=W0.mock?x3($,W0.orientation):null;return j?.image?lj(j.image.file,R1)==="loading":!1}function EL(){if(!H2())l1?.startLoading(null)}function jN($,j){let J=document.body;if(T1||!D1(W0)||!J)return;T1=document.createElement("div"),T1.setAttribute("data-devknobs","viewport"),T1.style.cssText=`position:fixed;inset:0;z-index:${l_}`;let Q=T1.attachShadow({mode:"open"});if(y1(Q,RG),h0=document.createElement("div"),h0.className="viewport",z$=document.createElement("div"),z$.className="veil",a4=document.createElement("div"),a4.className="back",P4=document.createElement("div"),P4.className="size",n8=document.createElement("span"),S1=document.createElement("select"),S1.className="zoom",S1.setAttribute("aria-label","zoom"),S1.addEventListener("change",Tc),P4.append(n8,S1),o0=document.createElement("div"),o0.className="stage",r6=document.createElement("div"),r6.className="drawing",d1=document.createElement("div"),d1.className="screen",C1=document.createElement("div"),C1.className="glass",x0=document.createElement("iframe"),x0.setAttribute(VY,""),e1())x0.setAttribute(bV,"");if(x0.name=K3,x0.title="devknobs viewport",x0.setAttribute("sandbox",Wc),n4=window.location.href,GI({page:a8,locate:vG,refresh:()=>l1?.refresh()}),r9={x:window.scrollX,y:window.scrollY},!j)h4(window,"frame");nY(t4),o4=!1,N$=null,W3(n4);let Z=xq(kG?.(!0)),X=RJ(),V=Z&&X?Promise.all([Z,X]):Z??X;if(V){let q=x0;V.then(()=>{if(x0!==q)return;q.src=n4,q.addEventListener("load",wG)})}else x0.src=n4,x0.addEventListener("load",wG);if(jI({view:t4,page:a8,loaded:()=>o4,reloading:EL}),M2=GL(()=>kL?.()),s8=document.createElement("div"),s8.className="page",s8.append(x0),C1.append(s8),l1=wI(C1,x0,R1,EL,pG),e4=_L({glass:C1,frame:x0,origin:()=>l1?.page()??{x:0,y:0},moving:()=>f2()||z4()}),e4.apply(gL()),P$=document.createElement("div"),P$.className="screenblank",P$.hidden=!0,d1.append(C1),r6.append(d1),o0.append(r6),h0.append(z$,a4,P4,o0,M2),h0.addEventListener("wheel",Ac,{passive:!1}),Q.append(h0),$===null)dG();window.addEventListener("message",uL),window.addEventListener("resize",R1),window.addEventListener("pagehide",$N),J.append(T1),TG=p9(T1,{restored:xc});let Y=iG();if($!==null&&Y)jL(Y,$);if(queueMicrotask(()=>{let q=t4();if(q&&!o4)MQ(q)}),R1(),window.requestAnimationFrame(R1),j)l1.startLoading(r_(W0,window)?.look??null);n_(kc)}function JN(){jN(null,!0)}function QN($){W0={...W0,...T5},I4=!0;let j=BI(),J=$&&!j?Fj(vG()):"";return window.removeEventListener("message",uL),window.removeEventListener("resize",R1),window.removeEventListener("pagehide",$N),x0?.removeEventListener("load",wG),N$=null,e4?.apply(!1),UI(),JI(),nY(null),l1?.stopLoading(),BQ(),HI(!j),J}function n9(){if(x0)kG?.(!1);if(TG?.(),TG=null,T1?.remove(),T1=null,h0=null,a4=null,z$=null,l9=null,OG="",o0=null,r6=null,d1=null,C1=null,s8=null,l1?.remove(),l1=null,e4?.remove(),e4=null,P$=null,l6=null,EG="",x0=null,M2=null,P4=null,n8=null,S1=null,xG="",p1=null,clearTimeout(lQ),i9=null,s6)window.cancelAnimationFrame(s6);s6=0,L$(),c1={left:0,right:0},I$=null,bD(),nD(),eD(),c6(),I4=!1,a_(),b6(),lG()}function ZN($){if(document.removeEventListener("DOMContentLoaded",JN),M$(),!T1){W0={...W0,...T5},b6();return}if(I4){n9();return}let j=QN($);if(n9(),j&&j!==window.location.href)eL(j);else window.scrollTo({left:r9.x,top:r9.y,behavior:"instant"})}function yc($){let j=Ej($),J=iQ;iQ=j;let Q=!bG;bG=!0;let Z=!Q&&HM(J,j)&&!A2();if(J!==j)m9();let X=Z&&!H2()&&Oj(J,j)!==0,V=Z&&!H2()&&UM(J,j);if(T1)W0={...W0,mat:$.mat};if(h0&&a4)qL({letterbox:h0,back:a4,paper:l9,screen:cG},$.mat);if(z4()){if(J===j){iD($);return}if(V){s9($);return}rD()}if(f2()){if(J===j){ED($);return}if(Z&&Oj(J,j)!==0){OL($);return}xD()}let Y=0;if(H2()){if(J===j){if(j!=="closed")if(I$)I$=$;else i6($);return}if(I4)M$(),Y=tD(),n9();else if(Z)M$();else ZL(iG())}if(!D1($)){if(Z&&T1&&!I4)AG("closed");else ZN(!0);return}if(!T1){if(W0=tL($),document.body)jN(Z?Y:null,Q);else document.addEventListener("DOMContentLoaded",JN,{once:!0});if(Z)AG("open");return}if(X){OL($);return}if(V){s9($);return}if(Z){I$=$,AG("open");return}let q=W0.panel;if(q.docked&&$.panel.docked){if(q.open!==$.panel.open||q.side!==$.panel.side)dL(()=>i6($));else i6($);return}if(L$(),U8($)&&q.side===$.panel.side)i6($);else DG(d1,{first:Q,from:q,to:$.panel},()=>i6($))}function vc(){ZN(!1),iQ="closed",bG=!1}var xL="width",fL=50,bL=1500,Cc=200,Gc=20,Wc,T1=null,TG=null,SG=null,h0=null,a4=null,z$=null,l9=null,OG="",o0=null,r6=null,d1=null,C1=null,s8=null,l1=null,e4=null,P$=null,l6=null,EG="",x0=null,P4=null,n8=null,S1=null,xG="",p1=null,i9=null,lQ=0,wL=null,M2=null,kL=null,yL=null,kG=null,fG=0,W0,o4=!1,vL=0,N$=null,n4="",r9,_$=null,iQ="closed",bG=!1,I$=null,D$=!1,I4=!1,gG=!0,c1,s6=0,_4=null;var sG=u(()=>{z5();MI();b3();LQ();T8();W1();D9();TQ();G2();K1();aC();u8();_G();AJ();WL();x9();FL();K$();P5();v4();u9();fC();JG();FQ();y5();g1();LG();i8();NL();RL();TL();z3();TQ();Wc=["allow-scripts","allow-same-origin","allow-forms","allow-popups","allow-popups-to-escape-sandbox","allow-modals","allow-downloads","allow-pointer-lock","allow-presentation","allow-orientation-lock","allow-top-navigation-by-user-activation"].join(" "),W0={...T5,scheme:"system",device:"none",orientation:"portrait",posture:"closed",mock:!0,browser:"auto",bars:"auto",edgeToEdge:!0,zoom:"fit",mat:"blue",panel:{open:!1,side:"right",docked:!1}},r9={x:0,y:0};c1={left:0,right:0};vI(lL);gD(()=>{let $=n0(W0.device)?.postures?oL():null;return $&&{scene:$,value:W0}})});function XN($){if(H2()||f2())return!1;return s9(I3($,{posture:$.posture==="open"?"closed":"open"}),!0)}function VN($){return dD($)}function YN($){return lD($,A2())}var qN=u(()=>{K$();u9();q4();i8();sG()});var CN={};F5(CN,{width:()=>rG,watchHinge:()=>PG,watchFold:()=>zG,takeHinge:()=>XN,moveHinge:()=>VN,letGo:()=>YN,landSplash:()=>c6,holdingHinge:()=>FG,foldRest:()=>v9});var GN=u(()=>{sG();qN();_G()});function hc($){Z1=$,$.width.onExit(sQ),$.width.onZoom(KN),$.width.onRefused(BN),$.width.onFramed(UN);for(let j of rQ.splice(0))j($);for(let j of[a9,o8]){if(!j)continue;$.width.apply(j),$.width.sync(j)}a9=null,o8=null}function uc(){return nG??=gc().then(hc),nG}function mc($){console.error("devknobs: the device frame could not load",$),WN=!0,a9=null,o8=null,b6(),sQ?.()}function HN($){if(Z1)return $(Z1);let j=null,J=(Q)=>{j=$(Q)};return rQ.push(J),()=>{let Q=rQ.indexOf(J);if(Q>=0)rQ.splice(Q,1);j?.()}}function MN($){if(Z1){Z1.width.apply($);return}if(o8===null&&!D1($)){a9=$,b6();return}if(WN){sQ?.();return}if(o8=$,!nG)uc().catch(mc)}function FN($){Z1?.width.sync($)}function zN(){Z1?.width.reset(),a9=null,o8=null}function aG($){sQ=$,Z1?.width.onExit($)}function oG($){KN=$,Z1?.width.onZoom($)}function tG($){BN=$,Z1?.width.onRefused($)}function eG($){UN=$,Z1?.width.onFramed($)}function b2(){return Z1?.width.frameWindow()??null}function PN(){if(Z1)return Z1.width.idle();return o8===null}function _N($){Z1?.width.panelSized($)}function $W($){return Z1?.width.zoomKey($)??!1}function IN(){Z1?.landSplash()}function jW($){return Z1?.takeHinge($)??!1}function JW($){return Z1?.moveHinge($)??!1}function o9($){return Z1?.letGo($)??!1}function DN(){return Z1?.holdingHinge()??!1}function QW(){return Z1?.foldRest()??null}function LN($){return HN((j)=>j.watchFold($))}function NN($){return HN((j)=>j.watchHinge($))}var Z1=null,gc=()=>Promise.resolve().then(() => (GN(),CN)),nG=null,WN=!1,rQ,a9=null,o8=null,sQ=null,KN=null,BN=null,UN=null;var n6=u(()=>{K1();fC();rQ=[]});var O1={};F5(O1,{watchPanel:()=>CW,subscribe:()=>a2,stop:()=>WW,start:()=>GW,setState:()=>X1,setNative:()=>t9,reset:()=>e9,replay:()=>$7,ready:()=>qW,nativeSwitch:()=>t8,keepPlace:()=>T$,getState:()=>C0,applyState:()=>A$});function C0(){return y0}function a2($){return XW.add($),()=>{XW.delete($)}}function cc(){return n5()?z2:null}function A$($){y0=F2?QM($):$;let j=cc(),J=GP(y0,j),Q=F2&&$M(J.scheme)?"system":J.scheme,Z=F2&&w4(y0.device),X=!F2&&j?.viewport!==void 0&&LJ(y0)?.touch===!0;if(Dq({scheme:Q,motion:J.motion,contrast:J.contrast,transparency:J.transparency,touch:Z}),HC({on:Z||X,points:!X&&T2(y0.ua.preset)===void 0}),RC(Z&&y0.touchPointer),lP(Z),j_(y0.speed),Mz(y0.locale),vP(y0.pseudo),kH(y0.geo),M_($Q(y0.timeZone,y0.geo),y0.clock),gF(y0.clock),kq(J.network),Ez(J.text),j&&!F2)BP(j,y0);else if(z2&&!F2)fq(z2,y0);aP(y0.spacing),IJ(y0.ua);let V=F2?y0:WP(y0,j);if(MN(V),xP(y0.overflow&&!D1(V)),TP(y0.outlines),VW)tH(y0);FN(V);for(let Y of Array.from(XW))Y(y0)}function t9($,j){if(j!==void 0)YW=j;let J=$!==n5();if(NJ($),J&&!$&&z2&&!F2)bq(z2,!1);if(R$&&(J||j!==void 0))A$(y0)}function t8(){if(!z2?.setting)return null;return{setting:z2.setting,on:n5(),note:YW}}function X1($){return A$(I3(y0,$)),y0}function qW(){return uP(()=>PN()&&!Kz()&&!gP()&&!nQ?.(),Gz,()=>y0,()=>R$)}function CW($){return nQ=$,()=>{if(nQ===$)nQ=null}}function T$(){if(VW)eH(y0)}function e9(){A$(aH(y0))}function AN($){let j=$2($,window.parent,window.location.origin);if(j?.type==="state"){if(j.native!==void 0)NJ(j.native);A$(j.state)}else if(j?.type==="replay")aq()}function TN($){let j=$,J=ZM(j,window.location.origin);if(!J)return;j.preventDefault(),f1(window.parent,{source:"devknobs",type:"leave",url:J})}function SN(){let $=Reflect.get(window,"navigation");return $ instanceof EventTarget?$:null}function RN($){f1(window.parent,{source:"devknobs",type:"overflow",count:$})}function GW($={}){if(R$)return;R$=!0,F2=_1(),z2=$.native??null,nF();let j=$.persist!==!1;if(VW=j&&!F2,F2)window.addEventListener("message",AN),SN()?.addEventListener("navigate",TN);if(fF(),aG(()=>X1(JM)),oG((J)=>X1({zoom:J})),tG(z2?.refused??null),eG(z2?.framed??null),A$(I3(j?oH():{...e},$.state??{})),!F2)return;RN(wJ()),ZW=kJ(RN),f1(window.parent,{source:"devknobs",type:"ready"})}function WW(){if(!R$)return;if(R$=!1,window.removeEventListener("message",AN),SN()?.removeEventListener("navigate",TN),ZW?.(),ZW=null,F2=!1,aG(null),oG(null),tG(null),eG(null),lz(),P_(),m_(),tq(),XC(),Xq(),iq(),uV(),F_(),hF(),MP(),Wq(),$C(),Eq(),zN(),pq(),vq(),z2)bq(z2);z2=null,NJ(!0),YW=null,bF(),y0={...e}}function $7(){aq(),f1(b2(),{source:"devknobs",type:"replay"})}var y0,VW=!0,R$=!1,z2=null,YW=null,F2=!1,ZW=null,nQ=null,XW;var E1=u(()=>{hY();W1();K1();B8();lY();d3();o3();AJ();FP();SP();cq();hP();cP();eq();y5();oP();aJ();q4();r3();y8();TC();m4();n6();y0={...e},XW=new Set});function ON($,j){return $==="auto"?j:$}function e8($,j=lc,J="transparent"){return`color-mix(in srgb, ${dc[$]} ${j}%, ${J})`}var $6,aQ,dc,lc=50;var oQ=u(()=>{$6={blue:{srgb:"rgb(41, 151, 255)",p3:"color(display-p3 0.2 0.6 1)"},green:{srgb:"rgb(48, 209, 88)",p3:"color(display-p3 0.25 0.85 0.4)"},pink:{srgb:"rgb(210, 57, 192)",p3:"color(display-p3 0.84 0.19 0.78)"},orange:{srgb:"rgb(255, 149, 0)",p3:"color(display-p3 1 0.58 0)"},purple:{srgb:"rgb(175, 82, 222)",p3:"color(display-p3 0.69 0.3 0.9)"},cyan:{srgb:"rgb(50, 200, 230)",p3:"color(display-p3 0.2 0.8 0.92)"}},aQ=Object.keys($6);dc={margin:"rgb(246, 178, 107)",border:"rgb(255, 221, 128)",padding:"rgb(147, 196, 125)",content:"rgb(111, 168, 220)"}});function PR($){return typeof $==="object"&&$!==null&&!Array.isArray($)?Object.fromEntries(Object.entries($)):{}}function NW($){return Array.isArray($)?$.map(PR):[]}function ZZ(){try{let $=JSON.parse(E0("local")?.getItem(X7)??"null");return P1($,QZ)?[]:NW(PR($).presets)}catch{return[]}}function O$($){let j=`${String($.name)}=${String($.value)}`;if(j+=`; path=${typeof $.path==="string"?$.path:"/"}`,typeof $.domain==="string")j+=`; domain=${$.domain}`;if(typeof $.maxAge==="number")j+=`; max-age=${$.maxAge}`;if(typeof $.expires==="string")j+=`; expires=${$.expires}`;if(typeof $.sameSite==="string")j+=`; samesite=${$.sameSite}`;if($.secure===!0)j+="; secure";return j}function Yd($){let j=[];for(let J=0;J<$.length;J++){let Q=$.key(J);if(Q!==null&&Q!=="devknobs"&&!Q.startsWith("devknobs:"))j.push(Q)}for(let J of j)$.removeItem(J)}function RW($,j,J){let Q=[];for(let Z of["local","session"])try{let X=Z==="local"?$.localStorage:$.sessionStorage;if(J)Yd(X);for(let V of NW(j[Z]))try{if(typeof V.name==="string"&&typeof V.value==="string")X.setItem(V.name,V.value)}catch{Q.push(String(V.name))}}catch{Q.push(`${Z}Storage`)}for(let Z of NW(j.cookies))try{if(typeof Z.name==="string"&&typeof Z.value==="string")$.document.cookie=O$(Z)}catch{Q.push(String(Z.name))}return Q}function _R(){if(typeof window>"u")return 0;let $=Reflect.get(window,JZ);if(typeof $==="number")return $;let j=0;try{if(!_1())for(let J of ZZ()){if(J.onLoad!==!0)continue;RW(window,J,J.clearFirst===!0),j++}}catch{}return Reflect.set(window,JZ,j),j}function IR(){if(typeof window>"u")return 0;let $=Reflect.get(window,JZ);return typeof $==="number"?$:0}function qd(){if(typeof window<"u")Reflect.set(window,JZ,0)}function DR(){try{let $=ZZ();if($.some((j)=>j.onLoad===!0)){let j=$.map((J)=>({...J,onLoad:!1}));E0("local")?.setItem(X7,JSON.stringify({v:QZ,presets:j}))}}catch{}qd()}var X7="devknobs:storage-presets",QZ=1,JZ;var V7=u(()=>{G2();K1();JZ=Symbol.for("devknobs.presets")});function Pd($){return($??"k").toLowerCase()}function C7($){if(!$?.trim())return null;let j={meta:!1,ctrl:!1,shift:!1,alt:!1,key:""};for(let J of $.split("+")){let Q=J.trim().toLowerCase(),Z=_d[Q];if(Z)j[Z]=!0;else if(Q&&!j.key)j.key=Q;else return null}return j.key?j:null}function R4($){return[...[$.meta&&"meta",$.ctrl&&"ctrl",$.alt&&"alt",$.shift&&"shift"].filter((J)=>Boolean(J)),$.key].join("+")}function N4($){return{meta:!1,ctrl:!1,shift:!0,alt:!1,key:$}}function $5($){return/^f([1-9]|1[0-2])$/.test($)}function Id($){return $==="backspace"||$==="delete"}function t2($,j){let J=$.key;if(j)return`${`${$.ctrl?"⌃":""}${$.alt?"⌥":""}${$.shift?"⇧":""}${$.meta?"⌘":""}`}${Dd[J]??J.toUpperCase()}`;let Q=[$.ctrl&&"Ctrl",$.alt&&"Alt",$.shift&&"Shift",$.meta&&"Meta"],Z=Ld[J]??J.toUpperCase();return[...Q.filter((X)=>Boolean(X)),Z].join(" ")}function KZ($){return R4($).replaceAll("+"," ")}function EW($={}){let j=N4(Pd($.hotkey)),J=C7($.grabKey)??N4("g"),Q=[j,J].map(R4),Z=Nd.find((X)=>!Q.includes(R4(N4(X))));return{panel:j,grab:J,inspect:N4(Z??"c"),replay:N4(Od),requests:N4(Ed),storage:N4(xd),reset:N4("backspace")}}function fR($){let j=$,J=j?.tagName;if(J==="INPUT"||J==="TEXTAREA")return!0;return j?.isContentEditable===!0}function Rd($){if(typeof HTMLElement>"u"||!($ instanceof HTMLElement))return!1;if(!$.tagName.includes("-"))return!1;if($.shadowRoot!==null||$.hasAttribute("tabindex")||$.tabIndex>=0)return!1;let j=$.getRootNode();if(j instanceof Document){if($===j.body||$===j.documentElement)return!1}else if(!(j instanceof ShadowRoot))return!1;return j.activeElement===$}function BZ($){return fR($)||$?.tagName==="SELECT"||Rd($)}function fW($){let j=$.composedPath?.()[0]??$.target;if(!BZ(j))return!1;return j?.hasAttribute?.(xW)!==!0}function G7($){return $==="İ"?"i":$.toLowerCase()}function Ad($,j){let J=G7($.key);if(J===j)return!0;return[...J].length===1&&!/\p{Script=Latin}/u.test(J)&&$.code===`Key${j.toUpperCase()}`}function bW($,j){if(/^[a-z]$/.test(j))return Ad($,j)||$.altKey&&$.code===`Key${j.toUpperCase()}`;if($.key.toLowerCase()===j)return!0;if(/^[0-9]$/.test(j))return $.code===`Digit${j}`;return j==="backspace"&&$.key==="Delete"}function Td($,j){return $.isComposing!==!0&&$.metaKey===j.meta&&$.ctrlKey===j.ctrl&&$.shiftKey===j.shift&&$.altKey===j.alt&&bW($,j.key)}function Sd($,j){if($5(j.key))return!0;if(Id(j.key))return!BZ($.composedPath?.()[0]??$.target);return!fW($)}function wW($,j){if($.key==="Escape")return"close";let J=[["toggle",j.panel],["replay",j.replay],["requests",j.requests],["reset",j.reset],["storage",j.storage]];for(let[Q,Z]of J)if(Z&&Td($,Z))return Sd($,Z)?Q:null;return null}function kW($){if($.key!=="/"||$.altKey||$.ctrlKey||$.metaKey)return!1;let j=$.composedPath?.()[0]??$.target;return!BZ(j)}function bR($){if($.altKey||$.ctrlKey||$.metaKey||$.isComposing===!0)return null;if([...$.key].length!==1||$.key===" "||$.key==="/")return null;return BZ($.composedPath?.()[0]??$.target)?null:$.key}function yW($){if(!$.metaKey&&!$.ctrlKey||$.altKey)return null;if(fR($.composedPath?.()[0]??$.target))return null;if($.key==="="||$.key==="+")return"zoom-in";if($.key==="-"||$.key==="_")return"zoom-out";return $.key==="0"?"zoom-fit":null}function wR($){if($.search)return"search";if($.filter)return"filter";if($.keys)return"keys";if($.view)return"view";if($.editor)return"editor";return"panel"}function q7($,j,J=!1){return Math.min(Math.max(J?0:$,0),j-1)}function kR($,j,J){if($==="ArrowDown"||$==="ArrowUp")return{cursor:q7(j+($==="ArrowDown"?1:-1),J),pick:!1};if($==="Enter")return{cursor:q7(j,J),pick:J>0};return null}function UZ($,j,J){if(J===0)return null;if($==="ArrowRight"||$==="ArrowDown")return(j+1)%J;if($==="ArrowLeft"||$==="ArrowUp")return(j-1+J)%J;if($==="Home")return 0;return $==="End"?J-1:null}function yR($=()=>EW(),j=()=>!0){function J(Q){let Z=yW(Q),X=kW(Q)&&j(),V=wW(Q,$());if(Z||X||V&&V!=="close")Q.preventDefault();let Y=V??Z??(X?"search":null);if(Y)f1(window.parent,{source:"devknobs",type:"key",action:Y})}return window.addEventListener("keydown",J,!0),()=>window.removeEventListener("keydown",J,!0)}var _d,Dd,Ld,Nd,xW="data-devknobs-keys",Od="r",Ed="n",xd="s";var y2=u(()=>{K1();_d={meta:"meta",cmd:"meta",command:"meta",ctrl:"ctrl",control:"ctrl",shift:"shift",alt:"alt",option:"alt",opt:"alt"};Dd={backspace:"⌫",delete:"⌦"},Ld={backspace:"Backspace",delete:"Delete"};Nd=["c","i","y"]});function vW($,j){if(j==="KeyC")return!0;return $.length===1&&yd.has($)}function vR(){return N4("g")}function MZ($,j){return j==="c"?vW($.key,$.code):bW($,j)}function gR($){return $5($.key)||!$.meta&&!$.ctrl&&!$.alt}function hR($){return!$5($.key)&&!$.meta&&!$.ctrl&&!$.alt}function uR($,j){return $.isComposing!==!0&&$.metaKey===j.meta&&$.ctrlKey===j.ctrl&&$.shiftKey===j.shift&&$.altKey===j.alt&&MZ($,j.key)}function mR($,j){if(MZ($,j.key))return!0;return j.meta&&$.key==="Meta"||j.ctrl&&$.key==="Control"||j.shift&&$.key==="Shift"||j.alt&&$.key==="Alt"}function pR($,j=fd){if($.selection)return j+wd;return $.input?j+bd:j}function cR($,j){if(j.type==="down")return{hold:$??{start:j.at,duration:j.duration,copied:!1,due:!1},activate:!1};if(!$)return{hold:null,activate:!1};switch(j.type){case"copy":return{hold:{...$,copied:!0},activate:!1};case"timer":return $.copied?{hold:{...$,due:!0},activate:!1}:HZ(!0);case"repeat":return $.due?HZ(!0):{hold:$,activate:!1};case"release":return HZ($.due&&j.at-$.start>=kd);case"cancel":return HZ(!1)}}function HZ($){return{hold:null,activate:$}}var fd=100,bd=400,wd=600,kd=200,yd;var gW=u(()=>{y2();yd=new Set(["c","C","с","С","ȼ","Ȼ","ↄ","Ↄ","ᴄ","ᶜ","ⱼ","ⅽ","Ⅽ","ç","Ç","ć","Ć","č","Č","ĉ","Ĉ","ċ","Ċ"])});function W7($,j){switch(j.type){case"ask":if(!j.on)return"off";return j.frame?"frame":"here";case"frame":return j.on?"frame":"off";case"framed":if($==="here"&&j.frame)return"off";if($==="frame"&&!j.frame)return"off";return $}}async function FZ($,j={"text/plain":$}){let J=(X)=>{X.preventDefault();for(let[V,Y]of Object.entries(j))X.clipboardData?.setData(V,Y)},Q=document.createElement("textarea");Q.value=$,Q.setAttribute("data-devknobs","grab"),Q.setAttribute("aria-hidden","true"),Q.style.cssText="position:fixed;left:-9999px;top:0;opacity:0",document.addEventListener("copy",J);let Z=!1;try{document.body.append(Q),Q.select(),Z=typeof document.execCommand==="function"&&document.execCommand("copy")}catch{Z=!1}finally{document.removeEventListener("copy",J),Q.remove()}if(Z)return!0;try{return await navigator.clipboard.writeText($),!0}catch{return!1}}function zZ($){return $.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ud($){return zZ($).replace(/"/g,"&quot;").replace(/\r/g,"&#13;").replace(/\n/g,"&#10;").replace(/\t/g,"&#9;")}function lR($,j){if($.length<=j)return $;let J=$.slice(0,Math.max(0,j-3)),Q=J.lastIndexOf("&");return`${Q>J.lastIndexOf(";")?J.slice(0,Q):J}...`.slice(0,j)}function md($){return $.startsWith("data-devknobs")||$.startsWith("data-react-grab-")}function id($){return $.length>=dd&&($.match(/[aeiou]/g)?.length??0)<2}function rd($){if(pd.some((j)=>j.test($)))return!0;return iR.test($)&&id($)}function sd($){let j=$.split(/\s+/).filter(Boolean),J=j.filter((Q)=>cd.test(Q)).length>=ld;return j.filter((Q)=>!rd(Q)&&!(J&&iR.test(Q))).join(" ")}function hW($,j,J){return`${$}="${lR(ud(j),J)}"`}function rR($){let j=[];for(let J of dR){if(j.length>=8)break;let Q=$.getAttribute(J),Z=Q&&J==="class"?sd(Q):Q;if(!Z)continue;j.push(hW(J,Z,J==="class"?15:120))}return j}function nd($){let j=[],J=[];for(let{name:Q,value:Z}of Array.from($.attributes)){if(md(Q)||dR.includes(Q))continue;if(Q==="className"||Q==="style")continue;if(vd.has(Q))j.push(Z?hW(Q,Z,120):Q);else if(Z)J.push(hW(Q,Z,15))}return[...rR($),...j,...J].slice(0,8).map((Q)=>` ${Q}`).join("")}function sR($){return $.replace(/\s+/g," ").trim()}function nR($){if($.getAttribute("aria-hidden")==="true"||$.hasAttribute("hidden"))return!0;return hd.has($.tagName.toLowerCase())}function ad($){let j=[];for(let J of Array.from($.childNodes)){if(J.nodeType!==3)continue;let Q=sR(J.textContent??"");if(Q)j.push(Q)}return j.join(" ")}function aR($,j,J){if($.nodeType===3){let Z=sR($.textContent??"");if(!Z)return J;return j.push(Z),J-Z.length}if($.nodeType!==1||nR($))return J;let Q=J;for(let Z of Array.from($.childNodes))if(Q=aR(Z,j,Q),Q<=0)break;return Q}function od($,j){if(nR($))return"";let J=ad($);if(!gd.has(j))return J;if(J&&$.children.length===0)return J;let Q=[];return aR($,Q,100),Q.join(" ")}function oR($){let j=($.tagName||"").toLowerCase(),J=$.namespaceURI==="http://www.w3.org/1999/xhtml"?nd($):rR($).map((Z)=>` ${Z}`).join(""),Q=lR(zZ(od($,j)),100);return Q?`<${j}${J}>${Q}</${j}>`:`<${j}${J} />`}var dR,vd,gd,hd,pd,iR,cd,dd=7,ld=3;var uW=u(()=>{dR=["id","class","aria-label","data-testid","role","name","title"],vd=new Set(["id","data-testid","aria-label","href","src","alt","type","name","placeholder","role","for","action","method","title","disabled","checked","readonly","required","selected","open"]),gd=new Set(["a","button","code","label","option","pre","summary","text"]),hd=new Set(["script","style","template","noscript"]);pd=[/^[\w-]+__[\w-]+\.[\w-]+$/,/^x(?=[a-z]*\d)[0-9a-z]{5,}$/,/^_[\w-]+_[\w-]{4,}$/,/^[A-Za-z][\w-]*_[\w-]+__[\w-]{5,}$/,/^css-[\w-]+$/,/^sc-[\w-]+$/,/^jsx-\d+$/],iR=/^x[a-z0-9]{5,9}$/,cd=/^x[a-z0-9]{4,9}$/});function $l($,j=Date.now()){let J=$.entries.map((Q)=>({tagName:Q.tagName,componentName:Q.componentName,content:Q.content,source:Q.source,stackContext:Q.stackContext,frames:Q.frames}));return{"text/plain":$.content,"text/html":`<meta charset='utf-8'><pre><code>${zZ($.content)}</code></pre>`,[td]:JSON.stringify({...$,timestamp:j}),[ed]:JSON.stringify({version:"devknobs",content:$.content,entries:J,timestamp:j})}}function PZ($){return FZ($.content,$l($))}var td="application/x-devknobs-grab",ed="application/x-react-grab";var mW=u(()=>{uW()});function Ql($){return typeof $==="object"&&$!==null&&"tag"in $&&"stateNode"in $&&"return"in $&&"child"in $&&"sibling"in $}function Zl($){return $.startsWith("__reactFiber")||$.startsWith("__reactInternalInstance$")}function K7($){for(let j of Object.keys($)){if(!Zl(j))continue;let J=Reflect.get($,j);if(Ql(J))return J}return null}function _Z($){let j=$;while(j?.ownerDocument===$.ownerDocument){if(K7(j))return j;if(j.parentElement){j=j.parentElement;continue}let J=j.getRootNode();j="host"in J?J.host:null}return $}function tR($){let j=Reflect.get($,"displayName");if(typeof j==="string"&&j)return j;let J=Reflect.get($,"name");return typeof J==="string"&&J?J:null}function IZ($){if(typeof $==="string")return $;if(typeof $!=="function"&&typeof $!=="object"||$===null)return null;let j=tR($);if(j)return j;let J=new Set,Q=$;while(typeof Q==="object"&&Q!==null&&!J.has(Q))J.add(Q),Q=Reflect.get(Q,"type")??Reflect.get(Q,"render");return typeof Q==="function"?tR(Q):null}function DZ($){let j=$.type;if(typeof j==="function")return!0;if(typeof j!=="object"||j===null)return!1;let J=Reflect.get(j,"$$typeof");return J===jl||J===Jl}function Xl($){for(let j=$.return?.child??null;j;j=j.sibling)if(j!==$&&j.key!==null)return!0;return!1}function eR($){let j=0;for(let J=$;J;J=J.return){if(J.key!==null&&Xl(J))return String(J.key);if(DZ(J)&&++j===2)break}return null}function LZ($,j,J){let Q=[];for(let Z=$;Z&&Q.length<j;Z=Z.return){if(!DZ(Z))continue;let X=IZ(Z.type);if(X&&J(X))Q.push(X)}return Q}var jl,Jl;var pW=u(()=>{jl=Symbol.for("react.forward_ref"),Jl=Symbol.for("react.memo")});function JA($){return $.length>0&&$.length<=120&&!Yl.some((j)=>j.test($))}function j5($){return"host"in $}function QA($,j){return($.ownerDocument.defaultView?.CSS??globalThis.CSS).escape(j)}function ql($,j){if(j.length===0||j.length>120)return!1;return $!=="role"||j.split(/\s+/).some((J)=>jA.has(J))}function cW($,j){try{let J=$.getRootNode(),Q=(j5(J)?J:$.ownerDocument).querySelectorAll(j);return Q.length===1&&Q[0]===$}catch{return!1}}function ZA($){let j=$.getAttribute("id"),J=null;if(j){let Q=`#${QA($,j)}`;if(cW($,Q)){if(JA(j))return{selector:Q,semantic:!0};J=Q}}for(let Q of $A){let Z=$.getAttribute(Q);if(!Z||!ql(Q,Z))continue;let X=`[${Q}=${JSON.stringify(Z)}]`;if(cW($,X))return{selector:X,semantic:!0};let V=`${$.tagName.toLowerCase()}${X}`;if(cW($,V))return{selector:V,semantic:!0}}return J?{selector:J,semantic:!1}:null}function Cl($){let j=[],J=$.getRootNode(),Q=j5(J)?J:$.ownerDocument.body??$.ownerDocument.documentElement,Z=$;while(Z){let X=Z.getAttribute("id");if(X){j.unshift(`#${QA(Z,X)}`);break}let V=Z.parentNode,Y=Z.tagName.toLowerCase();if(!V){j.unshift(Y);break}if(j.unshift(`${Y}:nth-child(${Array.from(V.children).indexOf(Z)+1})`),V===Q){if("tagName"in Q)j.unshift(Q.tagName.toLowerCase());break}Z="tagName"in V?V:null}return j.join(" > ")}function dW($){try{let j=$.ownerDocument.defaultView?.frameElement??null;return j?.hasAttribute("data-devknobs-frame")?null:j}catch{return null}}function lW($){let j=ZA($)??{selector:Cl($),semantic:!1},J=$.getRootNode(),Q=j5(J)?J.host:dW($);if(!Q)return j;let Z=lW(Q),X=j5(J)?">>>":">>iframe>>";return{selector:`${Z.selector} ${X} ${j.selector}`,semantic:Z.semantic&&j.semantic}}function XA($){let j=ZA($);if(!j?.semantic)return null;let J=$.getRootNode(),Q=j5(J)?J.host:dW($);if(!Q)return j;let Z=XA(Q);if(!Z)return null;let X=j5(J)?">>>":">>iframe>>";return{selector:`${Z.selector} ${X} ${j.selector}`,semantic:!0}}function VA($){let j=$.getAttribute("id");return Boolean(j&&JA(j)||$.matches(Vl))}function Gl($){return VA($)||$.matches("button,input,select,textarea")}function Wl($){let{body:j,documentElement:J}=$.ownerDocument;if($===j||$===J)return!0;if(!j)return!1;let Q=j.getElementsByTagName("*").length;return Q>0&&$.getElementsByTagName("*").length/Q>=0.5}function Kl($){if($.assignedSlot)return $.assignedSlot;if($.parentElement)return $.parentElement;let j=$.getRootNode();return j5(j)?j.host:dW($)}function iW($,j){let J=$.getRootNode(),Q=$;while(Q){if(Gl(Q)){let X=Wl(Q);if(X&&Q!==$)return $;if(!j||j(Q))return Q;if(X)return Q;if(!VA(Q)&&Q===$)return Q}let Z=Kl(Q);Q=Z?.getRootNode()===J?Z:null}return $}function YA($){let j=null;return iW($,(J)=>{return j=XA(J),j!==null}),j}var $A,jA,Vl,Yl;var qA=u(()=>{$A=["data-testid","data-test-id","data-test","data-cy","data-qa","aria-label","href","src","role","name","title","alt"],jA=new Set(["button","link","checkbox","radio","switch","tab","menuitem","option","textbox","combobox","slider","spinbutton"]),Vl=[...$A.filter(($)=>$!=="role").map(($)=>`[${$}]`),...[...jA].map(($)=>`[role~="${$}"]`)].join(","),Yl=[/^[0-9a-f]{8}(?:-[0-9a-f]{4}){3}-[0-9a-f]{12}$/i,/:r[a-z0-9]+:/i,/_r_[a-z0-9]+_(?:$|-)/i,/«r[a-z0-9]+»/i,/^(?:downshift-\d+(?:-|$)|headlessui-[a-z-]+-\d+(?:-|$)|mui-\d+(?:-|$)|radix-\d+(?:-|$)|react-aria-\d+(?:-|$)|react-select-\d+(?:-|$))/i,/^ember\d+$/i,/^\d+$/]});var rW,NZ=()=>{},WA=($)=>$.__REACT_DEVTOOLS_GLOBAL_HOOK__,KA=($)=>Object.assign($,{[Symbol.dispose]:$}),oW=($)=>{let j=$.current.memoizedState;return j===null||j!==void 0&&(j.element===null||j.element===void 0)},BA=($)=>{try{Function.prototype.toString.call($).indexOf("^_^")>-1&&setTimeout(()=>{throw Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://react.dev/link/perf-use-production-build")})}catch{}},tW=($=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>!!($&&("getFiberRoots"in $)&&$._isBippyHook!==!0),UA=($=globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__)=>{if(!$||typeof $.inject!="function"||tW($))return!1;try{return Function.prototype.toString.call($.inject).includes("(injected)")}catch{return!1}},HA,B7,sW,Bl,RZ,CA,MA=($,j)=>{HA.add($);let J=sW.get($)??new Set;J.add(j),sW.set($,J)},nW=($)=>{for(let j of HA)sW.get(j)?.has($)&&j()},Ul=($,j)=>{for(let J of Bl)J.target===$&&J.listener(j)},Hl=($,j)=>{for(let J of RZ)J($,j)},FA=($)=>(RZ.add($),KA(()=>{RZ.delete($)})),eW=($)=>Object.prototype.toString.call($)==="[object Map]",zA=($)=>(eW($.renderers)||($.renderers=new Map),$.renderers),PA=($,j,J,Q,Z)=>{J.set(Q,Z),B7.add(Z),$._instrumentationIsActive||($._instrumentationIsActive=!0,nW(j));let X=CA.get(j)??new WeakSet;CA.set(j,X),!X.has(Z)&&(X.add(Z),Ul(j,Z))},GA=($,j=globalThis)=>{$&&MA($,j);let J=new Map,Q=new Map,Z=(Y)=>{let q=Q.get(Y)??new Set;return Q.set(Y,q),q},X=0,V={_instrumentationIsActive:!1,_instrumentationSource:"bippy-0.7.3",_isBippyHook:!0,checkDCE:BA,getFiberRoots:Z,hasUnsupportedRendererAttached:!1,inject:(Y)=>{let q=++X;return PA(V,j,J,q,Y),q},on:NZ,onCommitFiberRoot:(Y,q)=>{let C=Z(Y);oW(q)?C.delete(q):C.add(q)},onCommitFiberUnmount:NZ,onPostCommitFiberRoot:NZ,renderers:J,supportsFiber:!0,supportsFlight:!0};try{if(rW(j,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!0,enumerable:!0,get:()=>V,set:(Y)=>{if(Y&&typeof Y=="object"){let q=V.renderers;V=Y;let C=zA(V);q.forEach((G,W)=>{B7.add(G),C.set(W,G)}),(q.size>0||RZ.size>0)&&aW($,j),Hl(V,j)}}}),j===globalThis&&typeof window<"u"){let Y=window.hasOwnProperty.bind(window),q=Object.getOwnPropertyDescriptor(window,"hasOwnProperty"),C=!1,G=()=>{q?rW(window,"hasOwnProperty",q):Reflect.deleteProperty(window,"hasOwnProperty")};rW(window,"hasOwnProperty",{configurable:!0,value:(W)=>!C&&W==="__REACT_DEVTOOLS_GLOBAL_HOOK__"?(C=!0,G(),globalThis.__REACT_DEVTOOLS_GLOBAL_HOOK__=void 0,!1):Y(W),writable:!0})}}catch{aW($,j)}return V},aW=($,j=globalThis)=>{$&&MA($,j);let J=!1,Q=WA(j);if(!Q)return;let Z=zA(Q);if(!Q._instrumentationSource){Q.checkDCE=BA,Q.supportsFiber=!0,Q.supportsFlight=!0,Q.hasUnsupportedRendererAttached=!1,Q._instrumentationSource="bippy-0.7.3",Q._instrumentationIsActive=!1;let X=tW(Q);X||(Q.on=NZ),Z.size?(Z.forEach((Y)=>B7.add(Y)),Q._instrumentationIsActive=!0,nW(j),J=!0):!X&&UA(Q)&&(Q._instrumentationIsActive=!0,nW(j),J=!0);let V=Q.inject;Q.inject=(Y)=>{let q=V.call(Q,Y);return PA(Q,j,Z,q,Y),q}}!J&&(Z.size||Q._instrumentationIsActive)&&$?.()},$K=($=globalThis)=>Object.hasOwn($,"__REACT_DEVTOOLS_GLOBAL_HOOK__"),AZ=($,j=globalThis)=>$K(j)?(aW($,j),WA(j)??GA($,j)):GA($,j);var jK=u(()=>{rW=Object.defineProperty,HA=new Set,B7=new Set,sW=new WeakMap,Bl=new Set,RZ=new Set,CA=new WeakMap});function xZ($,j,J=!1){if(!$)return null;let Q=j($);return bA(Q)?Promise.resolve(Q).then((Z)=>Z===!0?$:NA($,j,J)):Q===!0?$:NA($,j,J)}var Ml,JK,Fl=($)=>QK($)!==null,QK=($)=>{let j=Ml.exec($);if(!j)return null;let J=j[4]?.split(".")??[];return J.some((Q)=>JK.test(Q)&&Q.length>1&&Q.startsWith("0"))?null:{major:j[1],minor:j[2],patch:j[3],prerelease:J}},SZ=($,j)=>$.length===j.length?$===j?0:$<j?-1:1:$.length<j.length?-1:1,zl=($,j)=>{let J=JK.test($),Q=JK.test(j);return J&&Q?SZ($,j):J===Q?$===j?0:$<j?-1:1:J?-1:1},Pl=($,j)=>{if($.length===0||j.length===0)return $.length===j.length?0:$.length===0?1:-1;let J=Math.max($.length,j.length);for(let Q=0;Q<J;Q++){let Z=$[Q],X=j[Q];if(Z===void 0||X===void 0)return Z===void 0?-1:1;let V=zl(Z,X);if(V!==0)return V}return 0},_l=($,j)=>{let J=QK($),Q=QK(j);if(!J||!Q)return null;let Z=SZ(J.major,Q.major);if(Z!==0)return Z;let X=SZ(J.minor,Q.minor);if(X!==0)return X;let V=SZ(J.patch,Q.patch);return V===0?Pl(J.prerelease,Q.prerelease):V},J5,f$,Il,_A,OA=($)=>{if($===void 0)return _A;for(let j of Il){let J=_l($,j.minimumVersion);if(J===null)return _A;if(J===1||J===0&&!j.isMinimumExcluded)return j.workTags}return f$["16.0.0"]},XK,b$,IA=($)=>$.startsWith("0.0.0-")?XK:OA($),Dl=($)=>{let j=$?.reconcilerVersion;return j&&Fl(j)?IA(j):$?.version?IA($.version):XK},DA=($,j)=>{let J=Dl(j);b$.set($,J),$.alternate&&b$.set($.alternate,J)},EA=($)=>{let j=b$.get($);if(j)return j;let J=[$],Q=$;for(;Q.return;)Q=Q.return,J.push(Q);let Z=b$.get(Q)??XK;for(let X of J)b$.set(X,Z),X.alternate&&b$.set(X.alternate,Z);return Z},r50,VK,EZ,xA,fA,Ll=($)=>typeof $=="function",LA=($)=>{let j="displayName"in $?$.displayName:null;if(typeof j=="string"&&j)return j;let J="name"in $?$.name:null;return typeof J=="string"&&J?J:null},bA=($)=>(typeof $=="object"||typeof $=="function")&&$!==null&&("then"in $)&&typeof $.then=="function",NA=($,j,J)=>{let Q=J?$.return:$.child;return ZK(Q,j,J)},ZK=($,j,J)=>{if(!$)return null;let Q=J?null:$.sibling,Z=xZ($,j,J);return bA(Z)?Promise.resolve(Z).then((X)=>X??ZK(Q,j,J)):Z??ZK(Q,j,J)},U7=($)=>Ll($)?$:typeof $!="object"||!$?null:U7(Reflect.get($,"type")??Reflect.get($,"render")),H7=($)=>{if(typeof $=="string")return $;if(typeof $!="function"&&typeof $!="object"||$===null)return null;let j=LA($);if(j)return j;let J=U7($);return J?LA(J):null},RA,AA,TA,SA,OZ,s50,Nl=($)=>{let j=$.alternate?[$,$.alternate]:[$],J=new Set;for(let Q of j){let Z=SA.get(Q);Z!==void 0&&J.add(Z),SA.delete(Q)}for(let Q of J){let Z=OZ.get(Q)?.deref();(!Z||j.includes(Z))&&OZ.delete(Q)}},TZ,x$,w$,Rl=!1,wA=($)=>{let j=x$.get($)??{};if(x$.set($,j),!j.onCommitFiberRoot||$.onCommitFiberRoot!==j.onCommitFiberRoot){let J=$.onCommitFiberRoot,Q=(Z,X,V,Y)=>{if(J&&J.call($,Z,X,V,Y),x$.get($)?.onCommitFiberRoot===Q){DA(X.current,$.renderers.get(Z)),oW(X)?(RA.delete(X),AA.delete(X),TA.delete(X)):(RA.add(X),AA.set(X,Z),TA.set(X,$));for(let{options:q,target:C}of TZ)C===w$.get($)&&q.onCommitFiberRoot&&q.onCommitFiberRoot(Z,X,V,Y)}};j.onCommitFiberRoot=Q,$.onCommitFiberRoot=Q}if(!j.onCommitFiberUnmount||$.onCommitFiberUnmount!==j.onCommitFiberUnmount){let J=$.onCommitFiberUnmount,Q=(Z,X)=>{if(DA(X,$.renderers.get(Z)),J&&J.call($,Z,X),x$.get($)?.onCommitFiberUnmount===Q)try{for(let{options:V,target:Y}of TZ)Y===w$.get($)&&V.onCommitFiberUnmount&&V.onCommitFiberUnmount(Z,X)}finally{Nl(X)}};j.onCommitFiberUnmount=Q,$.onCommitFiberUnmount=Q}if(!j.onPostCommitFiberRoot||$.onPostCommitFiberRoot!==j.onPostCommitFiberRoot){let J=$.onPostCommitFiberRoot,Q=(Z,X)=>{if(J&&J.call($,Z,X),x$.get($)?.onPostCommitFiberRoot===Q)for(let{options:V,target:Y}of TZ)Y===w$.get($)&&V.onPostCommitFiberRoot&&V.onPostCommitFiberRoot(Z,X)};j.onPostCommitFiberRoot=Q,$.onPostCommitFiberRoot=Q}if(!j.onScheduleFiberRoot||$.onScheduleFiberRoot!==j.onScheduleFiberRoot){let J=$.onScheduleFiberRoot,Q=(Z,X,V)=>{if(J&&J.call($,Z,X,V),x$.get($)?.onScheduleFiberRoot===Q)for(let{options:Y,target:q}of TZ)q===w$.get($)&&Y.onScheduleFiberRoot&&Y.onScheduleFiberRoot(Z,X,V)};j.onScheduleFiberRoot=Q,$.onScheduleFiberRoot=Q}},Al=($,j)=>{w$.set($,j),wA($)},Tl=($,j=globalThis)=>{Rl||=(FA(Al),!0),w$.set($,j),wA($)};var kA=u(()=>{jK();Ml=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*)?$/,JK=/^\d+$/,J5={ChildDeletion:16,Cloned:8,ContentReset:32,Hydrating:4096,PerformedWork:1,Placement:2,Snapshot:1024,Update:4,Visibility:8192},f$=(($)=>$)({"16.0.0":{ActivityComponent:-1,CacheComponent:-1,ClassComponent:2,ContextConsumer:12,ContextProvider:13,CoroutineComponent:7,CoroutineHandlerPhase:8,DehydratedSuspenseComponent:-1,ForwardRef:14,Fragment:10,FunctionComponent:1,HostComponent:5,HostHoistable:-1,HostPortal:4,HostRoot:3,HostSingleton:-1,HostText:6,IncompleteClassComponent:-1,IncompleteFunctionComponent:-1,IndeterminateComponent:0,LazyComponent:-1,LegacyHiddenComponent:-1,MemoComponent:-1,Mode:11,OffscreenComponent:-1,Profiler:15,ScopeComponent:-1,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,Throw:-1,TracingMarkerComponent:-1,ViewTransitionComponent:-1,YieldComponent:9},"16.4.3-alpha":{ActivityComponent:-1,CacheComponent:-1,ClassComponent:2,ContextConsumer:11,ContextProvider:12,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:-1,ForwardRef:13,Fragment:9,FunctionComponent:0,HostComponent:7,HostHoistable:-1,HostPortal:6,HostRoot:5,HostSingleton:-1,HostText:8,IncompleteClassComponent:-1,IncompleteFunctionComponent:-1,IndeterminateComponent:4,LazyComponent:-1,LegacyHiddenComponent:-1,MemoComponent:-1,Mode:10,OffscreenComponent:-1,Profiler:15,ScopeComponent:-1,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,Throw:-1,TracingMarkerComponent:-1,ViewTransitionComponent:-1,YieldComponent:-1},"16.6.0-beta.0":{ActivityComponent:-1,CacheComponent:-1,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostHoistable:-1,HostPortal:4,HostRoot:3,HostSingleton:-1,HostText:6,IncompleteClassComponent:17,IncompleteFunctionComponent:-1,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:-1,MemoComponent:14,Mode:8,OffscreenComponent:-1,Profiler:12,ScopeComponent:-1,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,Throw:-1,TracingMarkerComponent:-1,ViewTransitionComponent:-1,YieldComponent:-1},"17.0.0-alpha":{ActivityComponent:-1,CacheComponent:-1,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostHoistable:-1,HostPortal:4,HostRoot:3,HostSingleton:-1,HostText:6,IncompleteClassComponent:17,IncompleteFunctionComponent:-1,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:24,MemoComponent:14,Mode:8,OffscreenComponent:23,Profiler:12,ScopeComponent:21,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,Throw:-1,TracingMarkerComponent:-1,ViewTransitionComponent:-1,YieldComponent:-1},"17.0.2":{ActivityComponent:31,CacheComponent:24,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostHoistable:26,HostPortal:4,HostRoot:3,HostSingleton:27,HostText:6,IncompleteClassComponent:17,IncompleteFunctionComponent:28,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:23,MemoComponent:14,Mode:8,OffscreenComponent:22,Profiler:12,ScopeComponent:21,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,Throw:29,TracingMarkerComponent:25,ViewTransitionComponent:30,YieldComponent:-1}}),Il=[{isMinimumExcluded:!0,minimumVersion:"17.0.1",workTags:f$["17.0.2"]},{isMinimumExcluded:!1,minimumVersion:"17.0.0-alpha",workTags:f$["17.0.0-alpha"]},{isMinimumExcluded:!1,minimumVersion:"16.6.0-beta.0",workTags:f$["16.6.0-beta.0"]},{isMinimumExcluded:!1,minimumVersion:"16.4.3-alpha",workTags:f$["16.4.3-alpha"]}],_A=f$["17.0.2"],XK=OA(),b$=new WeakMap,r50=J5.Placement|J5.Update|J5.ChildDeletion|J5.ContentReset|J5.Hydrating|J5.Visibility|J5.Snapshot,VK=class extends Error{constructor($,j){super($,{cause:j}),this.name="BippyError"}},EZ=class extends VK{constructor($,j){super($,j),this.name="BippyHookInspectionError"}},xA=class extends EZ{constructor($,j){super($,j),this.name="BippyUnsupportedHookError"}},fA=class extends VK{constructor($,j){super($,j),this.name="BippySourceMapError"}};RA=new Set,AA=new WeakMap,TA=new WeakMap,SA=new WeakMap,OZ=new Map,s50=typeof FinalizationRegistry=="function"?new FinalizationRegistry(($)=>{OZ.get($)?.deref()||OZ.delete($)}):null,TZ=new Set,x$=new WeakMap,w$=new WeakMap;try{$K()&&Tl(AZ())}catch{}});function M7($,j){let J=0,Q=0,Z=0;do Z=$T[$.next()],J|=(Z&31)<<Q,Q+=5;while(Z&32);let X=J&1;return J>>>=1,X&&(J=-2147483648|-J),j+J}function uA($,j){return $.pos>=j?!1:$.peek()!==ml}function jT($){let{length:j}=$,J=new cl($),Q=[],Z=0,X=0,V=0,Y=0,q=0;do{let C=J.indexOf(";"),G=[],W=!0,K=0;for(Z=0;J.pos<C;){let H;Z=M7(J,Z),Z<K&&(W=!1),K=Z,uA(J,C)?(X=M7(J,X),V=M7(J,V),Y=M7(J,Y),uA(J,C)?(q=M7(J,q),H=[Z,X,V,Y,q]):H=[Z,X,V,Y]):H=[Z],G.push(H),J.pos++}W||dl(G),Q.push(G),J.pos=C+1}while(J.pos<=j);return Q}function dl($){$.sort(ll)}function ll($,j){return $[0]-j[0]}var fZ,Sl,Ol,El,rA,xl,fl,sA,FK,nA,aA=()=>nA.prepareStackTrace,bZ=($)=>{nA.prepareStackTrace=$},bl,oA,wl,yZ=($,j)=>{if(j?.includeInElement!==!1){let J=$.split(`
572
+ `),Q=[];for(let Z of J)if(/^\s*at\s+/.test(Z)){let X=yA(Z)[0];X&&Q.push(X)}else if(/^\s*in\s+/.test(Z)){let X=Z.replace(/^\s*in\s+/,"").replace(/\s*(?:\(at .*\)|\[[^\]]+\])$/,"");Q.push({functionName:X,source:Z})}else if(Z.match(bl)){let X=vA(Z)[0];X&&Q.push(X)}return Q}return $.match(oA)?yA($):vA($)},tA=($)=>{if(!$.includes(":"))return[$,void 0,void 0];let j=$.startsWith("(")&&/:\d+\)$/.test($)?$.slice(1,-1):$,J=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(j);return J?[J[1],J[2]||void 0,J[3]||void 0]:[j,void 0,void 0]},yA=($)=>$.split(`
573
+ `).filter((j)=>!!j.match(oA)).map((j)=>{let J=j;J.includes("(eval ")&&(J=J.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));let Q=J.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),Z=Q.match(/ (\(.+\)$)/);Q=Z?Q.replace(Z[0],""):Q;let X=tA(Z?Z[1]:Q);return{functionName:Z&&Q||void 0,fileName:["eval","<anonymous>","(native)"].includes(X[0])?void 0:X[0],lineNumber:X[1]?+X[1]:void 0,columnNumber:X[2]?+X[2]:void 0,source:J}}),vA=($)=>$.split(`
574
+ `).filter((j)=>!j.match(wl)).map((j)=>{let J=j;if(J.includes(" > eval")&&(J=J.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),!J.includes("@")&&!J.includes(":"))return{functionName:J};{let Q=/(([^\n\r"\u2028\u2029]*".[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*(?:@[^\n\r"\u2028\u2029]*"[^\n\r@\u2028\u2029]*)*(?:[\n\r\u2028\u2029][^@]*)?)?[^@]*)@/,Z=J.match(Q),X=Z&&Z[1]?Z[1]:void 0,V=tA(J.replace(Q,""));return{functionName:X,fileName:V[0],lineNumber:V[1]?+V[1]:void 0,columnNumber:V[2]?+V[2]:void 0,source:J}}}),gA,kl=($)=>FK.some((j)=>$.includes(j)),yl=($)=>{let j=$.getFunctionName?.()??"";if(j)return j;let J=$.getTypeName?.()??"",Q=$.getMethodName?.()??"";return J&&Q?`${J}.${Q}`:Q},vl=($)=>{let j=[];for(let J=1;J<$.length;J++){let Q=$[J],Z=yl(Q);if(kl(Z))return{frames:j,isTrusted:!0};if(Q.isNative?.()){j.push({functionName:Z||void 0});continue}let X=Q.getScriptNameOrSourceURL?.()??"";!X&&Q.isEval?.()&&(X=Q.getEvalOrigin?.()??""),j.push({functionName:Z&&Z!=="<anonymous>"?Z:void 0,fileName:X&&X!=="<anonymous>"?X:void 0,lineNumber:Q.getLineNumber?.()??void 0,columnNumber:Q.getColumnNumber?.()??void 0,enclosingLineNumber:Q.getEnclosingLineNumber?.()??void 0,enclosingColumnNumber:Q.getEnclosingColumnNumber?.()??void 0,source:` at ${Q.toString()}`})}return{frames:j,isTrusted:!1}},gl=($)=>{let j=-1;for(let Q of FK)if(j=$.indexOf(Q),j!==-1)break;let J=j===-1?$:$.slice(0,$.lastIndexOf(`
575
+ `,j));return{frames:yZ(J).slice(1),isTrusted:j!==-1}},z7=($)=>{let j=gA.get($);if(j)return j;let J=null,Q=(Y,q)=>{J=vl(q);let C=`${Y.name||"Error"}: ${Y.message||""}`;for(let G of q)C+=`
576
+ at ${G.toString()}`;return C},Z=aA();bZ(Q);let X;try{X=String($.stack)}finally{bZ(Z)}let V=J??gl(X);return gA.set($,V),V},hl=($=globalThis)=>{let j=AZ(void 0,$),J=eW(j.renderers)?j.renderers.values():[],Q=$===globalThis?new Set([...B7,...J]):new Set(J),Z=[],X=new Set;for(let V of Q){let Y=V.currentDispatcherRef;!Y||X.has(Y)||(X.add(Y),Z.push(Y))}return Z},ul=($)=>("H"in $)?$.H:$.current,eA=($,j)=>{"H"in $?$.H=j:$.current=j},ml=44,hA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",pl,$T,cl=class{constructor($){this.pos=0,this.buffer=$}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf($){let{buffer:j,pos:J}=this,Q=j.indexOf($,J);return Q===-1?j.length:Q}},vZ,il,rl,sl,nl,al,ol,JT,WK,QT=($,j,J,Q)=>{let[,Z,X,V,Y]=$;if(Z===void 0||X===void 0||V===void 0)return null;let q=j[Z];return q?{columnNumber:V,fileName:q,functionName:Y===void 0?void 0:Q?.[Y]||void 0,isIgnoreListed:J?.has(Z)??!1,lineNumber:X+1}:null},mA=($,j,J,Q,Z,X)=>{if(J<0||J>=$.length)return null;let V=$[J];if(!V||V.length===0)return null;let Y=null,q=0,C=V.length-1;for(;q<=C;){let G=q+C>>1;V[G][0]<=Q?(Y=V[G],q=G+1):C=G-1}return!Y||Y.length<4?null:QT(Y,j,Z,X)},tl=($,j,J)=>{if($.sections){let Q=j-1,Z=null;for(let Y of $.sections)if(Q>Y.offset.line||Q===Y.offset.line&&J>=Y.offset.column)Z=Y;else break;if(!Z)return null;let X=Q-Z.offset.line,V=Q===Z.offset.line?J-Z.offset.column:J;return mA(Z.map.mappings,Z.map.sources,X,V,Z.map.ignoredSourceIndices,Z.map.names)}return mA($.mappings,$.sources,j-1,J,$.ignoredSourceIndices,$.names)},pA=($,j,J,Q,Z)=>{if(!J)return null;let X=J.indexOf(Q);if(X===-1)return null;let V=null;for(let Y of $)for(let q of Y){if(q[4]!==X)continue;let C=QT(q,j,Z,J);if(C){if(!C.isIgnoreListed)return C;V??=C}}return V},el=($,j)=>{if($.sections){let J=null;for(let Q of $.sections){let Z=pA(Q.map.mappings,Q.map.sources,Q.map.names,j,Q.map.ignoredSourceIndices);if(Z){if(!Z.isIgnoreListed)return Z;J??=Z}}return J}return pA($.mappings,$.sources,$.names,j,$.ignoredSourceIndices)},KK=($,j)=>{if(vZ.test($))return $;try{return new URL($,j).toString()}catch{try{return new URL($).toString()}catch{try{let J=new URL($,new URL(j,"https://bippy.invalid/"));return`${J.pathname}${J.search}${J.hash}`}catch{return null}}}},$i=($)=>{try{let j=new URL($),J=j.pathname.lastIndexOf(".bundle");if(J===-1)return null;let Q=j.pathname.slice(J+7);if(Q&&!Q.startsWith("//&"))return null;if(j.pathname=`${j.pathname.slice(0,J)}.map`,Q){let Z=new URLSearchParams(Q.slice(3));for(let[X,V]of Z)j.searchParams.set(X,V)}return j.hash="",j.toString()}catch{return null}},ji=($,j,J)=>{let Q=J.headers.get("sourcemap")??J.headers.get("x-sourcemap");if(Q)return KK(Q.trim(),$);let Z,X=j.length;for(;X>0&&!Z;){let V=j.lastIndexOf(`
577
+ `,X-1)+1,Y=j.slice(V,X).match(il);Y&&(Z=Y[1]||Y[2]),X=V-1}return Z?KK(Z,$):$i($)},BK=($)=>{if(typeof $!="object"||!$)return!1;let j=Reflect.get($,"version"),J=Reflect.get($,"mappings"),Q=Reflect.get($,"file"),Z=Reflect.get($,"names"),X=Reflect.get($,"sourceRoot"),V=Reflect.get($,"sources"),Y=Reflect.get($,"sourcesContent"),q=Reflect.get($,"ignoreList"),C=Reflect.get($,"x_google_ignoreList");if(j!==3||typeof J!="string"||Q!==void 0&&typeof Q!="string"||Z!==void 0&&(!Array.isArray(Z)||Z.some((W)=>typeof W!="string"))||X!==void 0&&typeof X!="string"||Y!==void 0&&(!Array.isArray(Y)||Y.some((W)=>typeof W!="string"&&W!==null))||q!==void 0&&(!Array.isArray(q)||q.some((W)=>!Number.isInteger(W)||W<0))||C!==void 0&&(!Array.isArray(C)||C.some((W)=>!Number.isInteger(W)||W<0))||!Array.isArray(V)||V.some((W)=>typeof W!="string")||Y&&Y.length!==V.length)return!1;let G=V.length;return[...q??[],...C??[]].every((W)=>W<G)},Ji=($)=>{if(typeof $!="object"||!$)return!1;let j=Reflect.get($,"version"),J=Reflect.get($,"sections");return j!==3||!Array.isArray(J)?!1:J.every((Q)=>{if(typeof Q!="object"||!Q)return!1;let Z=Reflect.get(Q,"map"),X=Reflect.get(Q,"url"),V=Reflect.get(Q,"offset");if(typeof V!="object"||!V)return!1;let Y=Reflect.get(V,"column"),q=Reflect.get(V,"line");return BK(Z)!==(typeof X=="string"&&X.length>0)&&typeof Y=="number"&&Number.isInteger(Y)&&Y>=0&&typeof q=="number"&&Number.isInteger(q)&&q>=0})},ZT=($)=>{let j=$.ignoreList??$.x_google_ignoreList;return j?.length?new Set(j):void 0},Qi=($,j,J)=>{if(!$||fZ.test(j)||j.startsWith("/"))return j;let Q=$.endsWith("/")?$:`${$}/`,Z=j.replace(/^\.\//,"");try{let X=fZ.test(Q)?Q:new URL(Q,J).toString();return new URL(Z,X).toString()}catch{let X=`${Q}${Z}`.split("/"),V=[];for(let Y of X)Y===".."?V.pop():Y!=="."&&V.push(Y);return V.join("/")}},XT=($,j)=>$.sources.map((J)=>Qi($.sourceRoot,J,j)),VT=($)=>vZ.test($)?void 0:$,Zi=($,j)=>{try{return{file:$.file,ignoredSourceIndices:ZT($),mappings:jT($.mappings),names:$.names,sourceMapUrl:VT(j),sourceRoot:$.sourceRoot,sources:XT($,j),sourcesContent:$.sourcesContent,version:3}}catch{return null}},Xi=async($,j,J)=>{let Q=[],Z=-1,X=-1;for(let Y of $.sections){if(Y.offset.line<Z||Y.offset.line===Z&&Y.offset.column<=X)return null;Z=Y.offset.line,X=Y.offset.column;let q=Y.url?KK(Y.url,j):null,C=Y.map??(q?await J(q):null);if(!C)return null;let G=q??j;try{Q.push({map:{...C,ignoredSourceIndices:ZT(C),mappings:jT(C.mappings),sources:XT(C,G)},offset:Y.offset})}catch{return null}}let V=new Set;for(let Y of Q)for(let q of Y.map.sources)V.add(q);return{file:$.file,mappings:[],names:[],sections:Q,sourceMapUrl:VT(j),sourceRoot:void 0,sources:Array.from(V),sourcesContent:void 0,version:3}},YT=($,j=!1)=>{if(!$)return!1;let J=$.trim();if(!J)return!1;let Q=J.match(fZ);if(!Q)return!0;let Z=Q[0].toLowerCase();return j||WK.has(Z)},Vi=()=>typeof window>"u"&&typeof process<"u"&&typeof process.versions?.node=="string",Yi=($)=>{try{let j=new URL($);return(j.protocol==="http:"||j.protocol==="https:")&&!j.username&&!j.password}catch{return!1}},UK=($)=>{try{return new URL($).protocol}catch{return null}},HK=($)=>{let j=UK($);return j!==null&&JT.has(j)},qT=($,j)=>{try{let J=new URL($),Q=new URL(j);return J.protocol===Q.protocol&&J.host===Q.host}catch{return!1}},cA=($,j,J,Q)=>{if(vZ.test(j))return!0;if(!YT(j,Q))return!1;let Z=UK($),X=UK(j),V=Z!==null&&!WK.has(Z)||X!==null&&!WK.has(X);return!(J||V||HK($)||HK(j))||qT($,j)},qi=($)=>$===408||$===425||$===429||$>=500,CT=($)=>{if($.ok)return!0;if(qi($.status))throw new nl;return!1},GT=($,j,J)=>!J||j.url.length===0||qT($,j.url),Ci=($)=>{if($.timeoutMs===void 0||$.timeoutMs<0)return{cleanup:()=>{},signal:$.signal};let j=new AbortController,J=()=>j.abort($.signal?.reason);$.signal?.aborted?J():$.signal?.addEventListener("abort",J,{once:!0});let Q=setTimeout(()=>j.abort(new fA("Source map request timed out")),$.timeoutMs);return{cleanup:()=>{clearTimeout(Q),$.signal?.removeEventListener("abort",J)},signal:j.signal}},WT=async($,j)=>{let J=Number($.headers.get("content-length"));if(Number.isFinite(J)&&J>j)return null;if(!$.body){let Y=await $.text();return new TextEncoder().encode(Y).byteLength>j?null:Y}let Q=$.body.getReader(),Z=new TextDecoder,X=[],V=0;try{for(;;){let{done:Y,value:q}=await Q.read();if(Y)break;if(V+=q.byteLength,V>j)return await Q.cancel(),null;X.push(Z.decode(q,{stream:!0}))}return X.push(Z.decode()),X.join("")}finally{Q.releaseLock()}},Gi=($)=>{try{if(typeof globalThis.atob=="function")return new TextDecoder().decode(Uint8Array.from(globalThis.atob($),(X)=>X.charCodeAt(0)))}catch{return null}let j=$.replace(/\s/g,"").replace(/=+$/,""),J=[],Q=0,Z=0;for(let X of j){let V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".indexOf(X);if(V===-1)return null;Q=Q*64+V,Z+=6,Z>=8&&(Z-=8,J.push(Math.floor(Q/2**Z)&255),Q%=2**Z)}return new TextDecoder().decode(Uint8Array.from(J))},Wi=($,j)=>{let J=$.indexOf(",");if(J===-1)return null;let Q=$.slice(0,J),Z=$.slice(J+1);if(Z.length>j*2)return null;try{let X=Q.toLowerCase().includes(";base64")?Gi(Z):decodeURIComponent(Z);return X===null||new TextEncoder().encode(X).byteLength>j?null:JSON.parse(X)}catch{return null}},dA=async($,j,J,Q,Z)=>{if(vZ.test($))return Wi($,Q);let X=await j($,{redirect:Z?"error":"follow",signal:J});if(!CT(X)||!GT($,X,Z))return null;let V=await WT(X,Q);if(V===null)return null;try{return JSON.parse(V)}catch{return null}},Ki=async($,j,J={})=>{let Q=j!==void 0;if(!YT($,Q))return null;let Z=Vi(),X=(Z||HK($))&&!J.allowCrossOriginSourceMap;if(Z&&!j&&(!J.allowUnsafeServerFetch||!Yi($)))return null;let V=j??(typeof globalThis.fetch=="function"?globalThis.fetch.bind(globalThis):void 0);if(!V)return null;let Y=J.maxBundleSizeBytes??26214400,q=J.maxSourceMapSizeBytes??104857600;if(Y<0||q<0)return null;let C=Ci(J);try{let G=await V($,{redirect:X?"error":"follow",signal:C.signal});if(!CT(G)||!GT($,G,X))return null;let W=await WT(G,Y);if(W===null)return null;let K=ji($,W,G);if(!K||!cA($,K,X,Q))return null;let H=await dA(K,V,C.signal,q,X);return BK(H)?Zi(H,K):Ji(H)?Xi(H,K,async(B)=>{if(!cA($,B,X,Q))return null;let z=await dA(B,V,C.signal,q,X);return BK(z)?z:null}):null}finally{C.cleanup()}},KT=($,j,J)=>{if(!J)return j;let Q=$.get(J);return Q||(Q=new Map,$.set(J,Q)),Q},Bi=($)=>KT(sl,rl,$),Ui=($)=>KT(ol,al,$),Hi=($,j)=>j.allowCrossOriginSourceMap===void 0&&j.allowUnsafeServerFetch===void 0&&j.maxBundleSizeBytes===void 0&&j.maxSourceMapSizeBytes===void 0&&j.timeoutMs===void 0?$:`${$}\x00${j.allowCrossOriginSourceMap??""}\x00${j.allowUnsafeServerFetch??""}\x00${j.maxBundleSizeBytes??""}\x00${j.maxSourceMapSizeBytes??""}\x00${j.timeoutMs??""}`,gZ=async($,j=!0,J,Q={})=>{let Z=j&&Q.signal===void 0,X=Bi(J),V=Ui(J),Y=Hi($,Q);if(Z&&X.has(Y))return X.get(Y)??null;let q=Z?V.get(Y):void 0;if(q)return(await q).sourceMap;let C=Ki($,J,Q).then((K)=>({sourceMap:K,isTransientFailure:!1}),()=>({sourceMap:null,isTransientFailure:!0}));Z&&V.set(Y,C);let{sourceMap:G,isTransientFailure:W}=await C;return Z&&(V.delete(Y),W||X.set(Y,G)),G},zK=async($,j=!0,J,Q={})=>Promise.all($.map(async(Z)=>{if(!Z.fileName)return Z;let X=await gZ(Z.fileName,j,J,Q);if(!X||typeof Z.lineNumber!="number"||typeof Z.columnNumber!="number")return Z;let V=tl(X,Z.lineNumber,Z.columnNumber);return V?{...Z,source:V.fileName&&Z.source?Z.source.replace(Z.fileName,V.fileName):Z.source,fileName:V.fileName,functionName:V.functionName??Z.functionName,lineNumber:V.lineNumber,columnNumber:V.columnNumber,isIgnoreListed:V.isIgnoreListed,isSymbolicated:!0}:Z})),PK=($)=>$._debugStack instanceof Error&&typeof $._debugStack?.stack=="string",Mi=($)=>("tag"in $)&&typeof $.tag=="number",hZ=($)=>{let j=null;if(xZ($,(Z)=>{if(Z===$)return!1;let X=Z._debugOwner;return(X===$||$.alternate!==null&&X===$.alternate)&&Z._debugStack instanceof Error&&(j=Z._debugStack,!0)}),!j)return null;let{frames:J,isTrusted:Q}=z7(j);if(!Q)return null;for(let Z=J.length-1;Z>=0;Z--){let X=J[Z];if(X.fileName)return{...X,lineNumber:X.enclosingLineNumber||X.lineNumber,columnNumber:X.enclosingColumnNumber||X.columnNumber}}return null},Fi=()=>{let $=[];for(let j of hl())$.push({currentDispatcherRef:j,value:ul(j)}),eA(j,null);return $},zi=($)=>{for(let{currentDispatcherRef:j,value:J}of $)eA(j,J)},J6=($)=>`
578
+ in ${$}`,Pi=($,j,J)=>{if(J){let Q=Di(J.stack??""),Z=Q.lastIndexOf(`
579
+ `),X=Z===-1?Q:Q.slice(Z+1);if(X.includes($))return`
580
+ ${X}`}return J6(`${$}${j?` [${j}]`:""}`)},YK=!1,qK,CK=($,j)=>{if(!$||YK)return"";let J=qK.get($);if(J!==void 0)return J;let Q=aA();bZ(void 0),YK=!0;let Z=Fi(),X=console.error,V=console.warn;console.error=()=>{},console.warn=()=>{};try{let C={DetermineComponentFrameRoot(){let K;try{if(j){let H=function(){throw Error()};Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}});try{Reflect.construct(H,[])}catch(B){K=B}Reflect.construct($,[],H)}else{try{throw Error()}catch(B){K=B}let H=Function.prototype.apply.call($,void 0,[]);typeof H=="object"&&H&&"catch"in H&&typeof H.catch=="function"&&H.catch(()=>{return})}}catch(H){if(H instanceof Error&&K instanceof Error&&typeof H.stack=="string")return[H.stack,K.stack]}return[null,null]}};Object.defineProperty(C.DetermineComponentFrameRoot,"displayName",{value:"DetermineComponentFrameRoot"}),Object.getOwnPropertyDescriptor(C.DetermineComponentFrameRoot,"name")?.configurable&&Object.defineProperty(C.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});let[G,W]=C.DetermineComponentFrameRoot();if(G&&W){let K=G.split(`
581
+ `),H=W.split(`
582
+ `),B=0,z=0;for(;B<K.length&&!K[B].includes("DetermineComponentFrameRoot");)B++;for(;z<H.length&&!H[z].includes("DetermineComponentFrameRoot");)z++;if(B===K.length||z===H.length)for(B=K.length-1,z=H.length-1;B>=1&&z>=0&&K[B]!==H[z];)z--;for(;B>=1&&z>=0;B--,z--)if(K[B]!==H[z]){if(B!==1||z!==1)do if(B--,z--,z<0||K[B]!==H[z]){let M=`
583
+ ${K[B].replace(" at new "," at ")}`,[U]=yZ(M);if(!U?.fileName)break;let F=H7($);return F&&M.includes("<anonymous>")&&(M=M.replace("<anonymous>",F)),qK.set($,M),M}while(B>=1&&z>=0);break}}}finally{YK=!1,bZ(Q),zi(Z),console.error=X,console.warn=V}let Y=H7($),q=Y?J6(Y):"";return qK.set($,q),q},_i=($,j)=>{let J="",Q=EA($);switch($.tag){case Q.ActivityComponent:J=J6("Activity");break;case Q.ClassComponent:J=CK($.type,!0);break;case Q.ForwardRef:J=CK(U7($.type)??$.type,!1);break;case Q.FunctionComponent:case Q.SimpleMemoComponent:J=CK(U7($.type)??$.type,!1);break;case Q.HostComponent:case Q.HostHoistable:case Q.HostSingleton:typeof $.type=="string"&&(J=J6($.type));break;case Q.LazyComponent:J=J6("Lazy");break;case Q.SuspenseComponent:J=$.child!==j&&j!==null?J6("Suspense Fallback"):J6("Suspense");break;case Q.SuspenseListComponent:J=J6("SuspenseList");break;case Q.ViewTransitionComponent:J=J6("ViewTransition");break;default:return""}return J},Ii=($)=>{try{let j="",J=$,Q=null;do{j+=_i(J,Q);let Z=J._debugInfo;if(Z&&Array.isArray(Z))for(let X=Z.length-1;X>=0;X--){let V=Z[X];typeof V.name=="string"&&(j+=Pi(V.name,V.env,V.debugLocation))}Q=J,J=J.return}while(J);return j}catch(j){return j instanceof Error?`
584
+ Bippy couldn’t generate the stack: ${j.message}
585
+ ${j.stack}`:""}},Di=($)=>{let j=$;if(!j)return"";j.startsWith(`Error: react-stack-top-frame
586
+ `)&&(j=j.slice(29));let J=j.indexOf(`
587
+ `);J!==-1&&(j=j.slice(J+1));let Q=Math.max(...FK.map((Z)=>j.indexOf(Z)));if(Q!==-1&&(Q=j.lastIndexOf(`
588
+ `,Q)),Q!==-1)j=j.slice(0,Q);else return"";return j},Li=($)=>!!($.functionName&&$.fileName&&BT($.fileName)),Ni=($,j)=>$.fileName===j.fileName&&$.lineNumber===j.lineNumber&&$.columnNumber===j.columnNumber,Ri=($)=>{let j=new Map;for(let J of $){if(!Li(J))continue;let Q=J.functionName,Z=j.get(Q)??[];Z.some((X)=>Ni(X,J))||(Z.push(J),j.set(Q,Z))}return j},Ai=($,j,J)=>{if(!$.functionName)return{...$,isServer:!0};let Q=j.get($.functionName);if(!Q||Q.length===0)return{...$,isServer:!0};let Z=J.get($.functionName)??0,X=Q[Z%Q.length];return J.set($.functionName,Z+1),{...$,isServer:!0,fileName:X.fileName,lineNumber:X.lineNumber,columnNumber:X.columnNumber,source:$.source?.replace(sA,`(${X.fileName}:${X.lineNumber}:${X.columnNumber})`)}},BT=($)=>Ol.some((j)=>$.startsWith(j)),Ti=($)=>!$.isServer&&$.fileName&&BT($.fileName)?{...$,isServer:!0}:$,k$=($)=>{let j=[],J=$;for(;J;)if(Mi(J)){let Q=J;if(J=Q._debugOwner,J&&PK(Q)){let{frames:Z,isTrusted:X}=z7(Q._debugStack);if(X)for(let V of Z)j.push(Ti(V))}}else{let Q=J;if(J=Q.owner,J&&Q.debugStack instanceof Error)for(let Z of z7(Q.debugStack).frames)j.push({...Z,isServer:!0})}return j},Si=($)=>{let j=[];return xZ($,(J)=>{if(!PK(J))return;let{frames:Q,isTrusted:Z}=z7(J._debugStack);Z&&j.push(...Q)},!0),j},Oi=($)=>{let j=Si($),J=yZ(Ii($)),Q=Ri(j),Z=new Map;return J.map((X)=>X.source!==void 0&&sA.test(X.source)?Ai(X,Q,Z):X).filter((X,V,Y)=>{if(V===0)return!0;let q=Y[V-1];return X.functionName!==q.functionName})},UT=async($,j=!0,J,Q={})=>zK(Oi($),j,J,Q),Ei=($)=>!!$.fileName&&!$.isIgnoreListed,HT=async($,j=!0,J,Q={})=>{let Z=k$($);if(Z.length>0){let X=hZ($)??{};X.functionName=H7($.type)??X.functionName;let V=await zK([X,...Z],j,J,Q);if(V.some((Y,q)=>q>0&&Ei(Y)))return V}return UT($,j,J,Q)},MT=($)=>{let j=$._debugSource;return j?typeof j=="object"&&typeof j.fileName=="string"&&j.fileName!=="(native)"&&typeof j.lineNumber=="number":!1},wZ=($)=>$.fileName?{fileName:$.fileName,lineNumber:$.lineNumber,columnNumber:$.columnNumber,functionName:$.functionName}:null,xi=($)=>{if(!PK($))return null;let{frames:j,isTrusted:J}=z7($._debugStack);if(!J)return null;for(let Q of j)if(Q.fileName)return Q;return null},_K=($)=>{if(MT($))return $._debugSource;let j=xi($)??hZ($);return j?wZ(j):null},fi=async($,j,J,Q)=>{let Z=H7($.type);if(!Z)return null;let X=yZ(Error().stack??""),V=new Set;for(let Y of X){let q=Y.fileName;if(!q||V.has(q))continue;V.add(q);let C=await gZ(q,j,J,Q);if(!C)continue;let G=el(C,Z);if(G&&!G.isIgnoreListed)return wZ(G)}return null},FT=async($,j=!0,J,Q={})=>{if(MT($))return $._debugSource;let Z=_K($);if(Z){let[V]=await zK([{columnNumber:Z.columnNumber,fileName:Z.fileName,functionName:Z.functionName,lineNumber:Z.lineNumber}],j,J,Q),Y=wZ(V);if(Y)return Y}let X=await UT($,j,J,Q);for(let V of X)if(V.fileName)return wZ(V);return fi($,j,J,Q)},bi=($)=>$.split("/").filter(Boolean).length,wi=($)=>{let j=$.indexOf("/",1);if(j===-1)return $;let J=$.slice(0,j);if(bi(J)!==1)return $;let Q=$.slice(j);if(!rA.test(Q))return $;let Z=Q.split("/").filter(Boolean);if(Z.length<2)return $;let X=Z[0];return X.startsWith("@")||X.length>4?$:Q},P7=($)=>{if(!$||El.some((X)=>X===$))return"";let j=$,J=/^[a-zA-Z]:[\\/]/.test(j);if(j.startsWith("http://")||j.startsWith("https://")){try{j=new URL(j).pathname}catch{}j=wi(j)}if(j.startsWith("about://React/")){let X=j.slice(14),V=X.indexOf("/"),Y=X.indexOf(":");j=V!==-1&&(Y===-1||V<Y)?X.slice(V+1):X}let Q=!0;for(;Q;){Q=!1;for(let X of Sl)if(j.startsWith(X)){j=j.slice(X.length),X==="file:///"&&(j=`/${j.replace(/^\/+/,"")}`),Q=!0;break}}if(!J){let X=j.match(fZ);X&&(j=j.slice(X[0].length))}if(j.startsWith("//")){let X=j.indexOf("/",2);j=X===-1?"":j.slice(X)}let Z=j.indexOf("?");if(Z!==-1){let X=j.slice(Z);fl.test(X)&&(j=j.slice(0,Z))}return j},zT=($)=>{let j=P7($);return!(!j||!rA.test(j)||xl.test(j))},ki,yi,vi,gi,PT=null,lA=null,F7=null,iA=0,GK=null,_T,G1=()=>{let $=lA;return $!==null&&(lA=$.next),$},MK=($)=>typeof $=="object"&&!!$&&("then"in $)&&typeof $.then=="function",IT=($)=>typeof $=="object"&&!!$&&("current"in $),hi=($)=>typeof $=="object"&&!!$&&("_currentValue"in $),kZ=($)=>{if(PT===null)return $._currentValue;if(F7===null)throw new EZ("Context reads don’t match context dependencies.");if(Object.hasOwn(F7,"memoizedValue")){let j=F7.memoizedValue;return F7=F7.next,j}return $._currentValue},a0=($,j,J,Q=null,Z=null)=>{gi.push({displayName:Q,primitive:$,stackError:Error(),value:j,debugInfo:Z,dispatcherHookName:J})},ui=($)=>{if(typeof $=="object"&&$){if(MK($)){let j=GK!==null&&iA<GK.length?GK[iA++]:$,J=MK(j)?j:$;switch(J.status){case"fulfilled":return a0("Promise",J.value,"Use",null,J._debugInfo??null),J.value;case"rejected":throw J.reason}throw a0("Unresolved",J,"Use",null,J._debugInfo??null),_T}if("$$typeof"in $&&$.$$typeof===vi){a0("Recoverable",void 0,"Use");return}if("$$typeof"in $&&$.$$typeof===ki&&hi($)){let j={_currentValue:$._currentValue,displayName:typeof $.displayName=="string"?$.displayName:void 0},J=kZ(j);return a0("Context (use)",J,"Use",j.displayName||"Context"),J}}throw new EZ("use() received an unsupported value: "+String($))},mi=($)=>{let j=kZ($);return a0("Context",j,"Context",$.displayName||null),j},pi=($)=>{let j=G1(),J=j===null?typeof $=="function"?$():$:j.memoizedState;return a0("State",J,"State"),[J,()=>{}]},ci=($,j,J)=>{let Q=G1(),Z=Q===null?J===void 0?j:J(j):Q.memoizedState;return a0("Reducer",Z,"Reducer"),[Z,()=>{}]},di=($)=>{let j=G1(),J=IT(j?.memoizedState)?j.memoizedState:{current:$};return a0("Ref",J.current,"Ref"),J},li=()=>{let $=G1();return a0("CacheRefresh",$===null?()=>{}:$.memoizedState,"CacheRefresh"),()=>{}},ii=($)=>{G1(),a0("LayoutEffect",$,"LayoutEffect")},ri=($)=>{G1(),a0("InsertionEffect",$,"InsertionEffect")},si=($)=>{G1(),a0("Effect",$,"Effect")},ni=($)=>{G1();let j=IT($)?$.current:void 0;a0("ImperativeHandle",j,"ImperativeHandle")},ai=($,j)=>{a0("DebugValue",typeof j=="function"?j($):$,"DebugValue")},oi=($)=>{let j=G1();return a0("Callback",Array.isArray(j?.memoizedState)?j.memoizedState[0]:$,"Callback"),$},ti=($)=>{let j=G1(),J=Array.isArray(j?.memoizedState)?j.memoizedState[0]:$();return a0("Memo",J,"Memo"),J},ei=($,j)=>{let J=G1();G1();let Q=J===null?j():J.memoizedState;return a0("SyncExternalStore",Q,"SyncExternalStore"),Q},$r=()=>{let $=G1();G1();let j=$?.memoizedState===!0;return a0("Transition",j,"Transition"),[j,()=>{}]},jr=($)=>{let j=G1(),J=j===null?$:j.memoizedState;return a0("DeferredValue",J,"DeferredValue"),J},Jr=()=>{let $=G1(),j=typeof $?.memoizedState=="string"?$.memoizedState:"";return a0("Id",j,"Id"),j},Qr=($)=>{let j=PT;if(j===null)return[];let J=j.updateQueue?.memoCache;if(J==null)return[];let Q=J.data[J.index];return Q===void 0&&(Q=J.data[J.index]=Array.from({length:$},()=>yi)),J.index++,Q},Zr=($)=>{let j=G1(),J=j===null?$:j.memoizedState;return a0("Optimistic",J,"Optimistic"),[J,()=>{}]},Xr=($,j)=>{let J,Q=null,Z=null;if($!==null){let X=$.memoizedState;if(MK(X))switch(X.status){case"fulfilled":J=X.value,Q=X._debugInfo??null;break;case"rejected":Z=X.reason;break;default:Z=_T,J=X,Q=X._debugInfo??null}else J=X}else J=j;return{value:J,debugInfo:Q,error:Z}},DT=($)=>(j,J)=>{let Q=G1();G1(),G1();let{value:Z,debugInfo:X,error:V}=Xr(Q,J);if(a0($,Z,$,null,X),V!==null)throw V;return[Z,()=>{},!1]},Vr,LT,Z$0,NT=($)=>{if(!$)return"";let j=$.lastIndexOf("[as ");if(j!==-1)return NT($.slice(j+4,-1));if(j=$.lastIndexOf("."),j=j===-1?0:j+1,$.slice(j).startsWith("unstable_")&&(j+=9),$.slice(j).startsWith("experimental_")&&(j+=13),$.slice(j,j+3)==="use"){if($.length-j===3)return"Use";j+=3}return $.slice(j)},X$0;var IK=u(()=>{jK();kA();fZ=/^[a-zA-Z][a-zA-Z\d+\-.]*:/,Sl=["rsc://","file:///","webpack-internal://","webpack://","node:","turbopack://","metro://","/app-pages-browser/","/(app-pages-browser)/"],Ol=["rsc://","about://React/"],El=["<anonymous>","eval",""],rA=/\.(cjs|cts|js|jsx|mdx|mjs|mts|ts|tsx)$/,xl=/(\.min|bundle|chunk|vendor|vendors|runtime|polyfill|polyfills)\.(js|mjs|cjs)$|(chunk|bundle|vendor|vendors|runtime|polyfill|polyfills|framework|app|main|index)[-_.][A-Za-z0-9_-]{4,}\.(js|mjs|cjs)$|[\da-f]{8,}\.(js|mjs|cjs)$|[-_.][\da-f]{20,}\.(js|mjs|cjs)$|\/dist\/|\/build\/|\/.next\/|\/out\/|\/node_modules\/|\.webpack\.|\.vite\.|\.turbopack\./i,fl=/^\?[\w~.-]+(?:=[^&#]*)?(?:&[\w~.-]+(?:=[^&#]*)?)*$/,sA=/\[[^\]]+\]$/,FK=["react_stack_bottom_frame","react-stack-bottom-frame"],nA=Error,bl=/(^|@)\S+:\d+/,oA=/^\s*at .*(\S+:\d+|\(native\))/m,wl=/^(eval@)?(\[native code\])?$/,gA=new WeakMap,pl=new Uint8Array(64),$T=new Uint8Array(128);for(let $=0;$<hA.length;$++){let j=hA.charCodeAt($);pl[$]=j,$T[j]=$}vZ=/^data:application\/json(?:;[^,]*)?,/i,il=/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*(?:\*\/)[ \t]*$)/,rl=new Map,sl=new WeakMap,nl=class extends Error{},al=new Map,ol=new WeakMap,JT=new Set(["chrome-extension:","moz-extension:","safari-web-extension:"]),WK=new Set(["http:","https:",...JT]),qK=new WeakMap,ki=Symbol.for("react.context"),yi=Symbol.for("react.memo_cache_sentinel"),vi=Symbol.for("react.recoverable"),gi=[],_T=Error("Suspense interrupted this render. This error is an internal implementation detail of `use`."),Vr=DT("ActionState"),LT={readContext:kZ,use:ui,useCallback:oi,useContext:mi,useEffect:si,useImperativeHandle:ni,useLayoutEffect:ii,useInsertionEffect:ri,useMemo:ti,useReducer:ci,useRef:di,useState:pi,useDebugValue:ai,useDeferredValue:jr,useTransition:$r,useSyncExternalStore:ei,useId:Jr,useHostTransitionStatus:()=>{let $=kZ({_currentValue:null});return a0("HostTransitionStatus",$,"HostTransitionStatus"),$},useFormState:DT("FormState"),useActionState:Vr,useOptimistic:Zr,useMemoCache:Qr,useCacheRefresh:li,useEffectEvent:($)=>(G1(),a0("EffectEvent",$,"EffectEvent"),$)},Z$0=new Proxy(LT,{get($,j){if(Object.hasOwn($,j))return Reflect.get($,j);throw new xA("The React dispatcher is missing method "+j)}}),X$0=new Set([a0,...Object.values(LT)].map(($)=>NT($.name)))});function D7($){let j=[0];for(let J=$.indexOf(`
589
+ `);J!==-1;J=$.indexOf(`
590
+ `,J+1))j.push(J+1);return j}function OT($,j){let J=$[j.line-1];return J===void 0?-1:J+j.column}function ET($,j){let J=$.length;while(J>1&&($[J-1]??0)>j)J-=1;return{line:J,column:j-($[J-1]??0)}}function Cr($,j,J){if($[j]!=="<")return!1;let Q=$[j+1+J.length];return $.startsWith(J,j+1)&&(Q===void 0||!Yr.test(Q))}function xT($){let j=[];for(let Z=0;Z<$.length;Z++){let X=$[Z],V=$[Z+1],Y=-1;if(X==="/"&&V==="/"&&$[Z-1]!==":"){if(Y=$.indexOf(`
591
+ `,Z),Y===-1)Y=$.length;j.push([Z,Y])}else if(X==="/"&&V==="*"){let q=$.indexOf("*/",Z+2);Y=q===-1?$.length:q+2,j.push([Z,Y])}else if(X==='"'||X==="'"||X==="`"){let C=X==="`"||!Gr.test($[Z-1]??"")?bT($,Z):-1;if(C===-1){j.push([Z,Z+1]);continue}Y=C+1,j.push([Z+1,C])}if(Y!==-1)Z=Y-1}let J="",Q=0;for(let[Z,X]of j)J+=$.slice(Q,Z)+$.slice(Z,X).replace(/[^\n]/g," "),Q=X;return J+$.slice(Q)}function Wr($,j){let J=xT($),Q=D7(J),Z=[],X=`<${j}`;for(let V=J.indexOf(X);V!==-1;V=J.indexOf(X,V+1)){let Y=J[V-1];if(!Cr(J,V,j)||Y!==void 0&&qr.test(Y))continue;Z.push(ET(Q,V))}return Z}function _7($){return $.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Kr($,j,J){let Q=J?`["']${_7(j)}["']`:_7(j),Z=new RegExp(`(?<![\\w$.])[\\w$.]*(jsxs?(?:DEV)?|createElement)\\(\\s*${Q}\\s*,`,"g");return Array.from($.matchAll(Z),(X)=>({start:X.index,end:X.index+X[0].length,open:X.index+X[0].indexOf("("),created:X[1]==="createElement"}))}function Ur($,j){let Q=D7($)[j.line-1];if(Q===void 0)return null;let Z=Q+j.column,X=$.indexOf(`
592
+ `,Q);for(let V of $.slice(Q,X===-1?void 0:X).matchAll(Br)){let Y=Q+V.index;if(Y<=Z&&Z<Y+V[0].length)return V[1]??null}return null}function Mr($,j){let J=OT(D7($),j);if(J<0)return null;let Q=J;while(Q>0&&RT.test($[Q-1]??""))Q-=1;let Z=J;while(Z<$.length&&RT.test($[Z]??""))Z+=1;let X=$.slice(Q,Z);return AT.lastIndex=Z,Hr.test(X)&&AT.test($)?X:null}function Fr($,j){let J=new RegExp(`(?<![\\w$])(function\\s*\\*?\\s*)?${_7(j)}\\s*\\(`,"g");return Array.from($.matchAll(J)).filter((Q)=>Q[1]===void 0).map((Q)=>Q.index)}function zr($,j){let J=new RegExp(`(?<![\\w$])(?:function\\s*\\*?\\s*${_7(j)}\\s*|${_7(j)}\\s*=\\s*(?:async\\s*)?(?:function\\s*\\*?\\s*)?)\\(`,"g"),Q=Array.from($.matchAll(J)),[Z]=Q;if(!Z||Q.length!==1)return null;let X=I7($,Z.index+Z[0].length-1);if(X===-1)return null;TT.lastIndex=X+1;let V=TT.exec($);if(!V)return null;let Y=I7($,V.index+V[0].length-1);return Y===-1?null:[Z.index,Y]}function fT($,j,J,Q=null){let Z=Mr(j,J);if(!Z)return null;let X=xT($),V=Fr(X,Z);if(V.length>1&&Q){let q=zr(X,Q);V=q?V.filter((C)=>q[0]<C&&C<q[1]):[]}let[Y]=V;return V.length===1&&Y!==void 0?ET(D7($),Y):null}function bT($,j){let J=$[j];for(let Q=j+1;Q<$.length;Q++){let Z=$[Q];if(Z==="\\")Q+=1;else if(Z===J)return Q;else if(J==="`"&&Z==="$"&&$[Q+1]==="{"){if(Q=I7($,Q+1),Q===-1)return-1}else if(J!=="`"&&Z===`
593
+ `)return-1}return-1}function I7($,j){let J=0;for(let Q=j;Q<$.length;Q++){let Z=$[Q];if(Z==='"'||Z==="'"||Z==="`")Q=bT($,Q);else if(Z==="/"&&$[Q+1]==="/")Q=$.indexOf(`
594
+ `,Q);else if(Z==="/"&&$[Q+1]==="*"){let X=$.indexOf("*/",Q+2);Q=X===-1?-1:X+1}else if(Z==="("||Z==="["||Z==="{")J+=1;else if(Z===")"||Z==="]"||Z==="}"){if(J-=1,J===0)return Q}if(Q===-1)return-1}return-1}function ST($,j){let J=$.exec(j);return J?{line:Number(J[1]),column:Number(J[2])}:null}function Ir($,j){if(!j.created){let Z=I7($,j.open);return Z===-1?null:ST(Pr,$.slice(j.end,Z))}let J=$.indexOf("{",j.end);if(J===-1||$.slice(j.end,J).trim()!=="")return null;let Q=I7($,J);return Q===-1?null:ST(_r,$.slice(J+1,Q))}function wT($,j,J,Q,Z){let X=(!J&&Q&&Z?Ur(Q,Z):null)??j,V=Wr($,X);if(V.length===1)return V[0]??null;if(V.length===0||!Q||!Z)return null;let Y=Kr(Q,X,J);if(Y.length!==V.length)return null;let q=OT(D7(Q),Z),C=Y.findIndex((H)=>H.start<=q&&q<H.end);if(C===-1)return null;let G=Y.map((H)=>Ir(Q,H)),W=G[C];if(!W||G.some((H)=>H===null))return null;let K=G.filter((H)=>H!==null&&(H.line<W.line||H.line===W.line&&H.column<W.column)).length;return V[K]??null}var Yr,qr,Gr,Br,RT,Hr,AT,TT,Pr,_r;var kT=u(()=>{Yr=/[\w$.-]/,qr=/[\w$.)\]]/;Gr=/\w/;Br=/(?<![\w$.])[\w$.]*(?:jsxs?(?:DEV)?|createElement)\(\s*([\w$.]+)\s*,/g;RT=/[\w$]/,Hr=/^[A-Za-z_$][\w$]*$/,AT=/\s*\(/y;TT=/\s*(?::[^={}()]*)?(?:=>)?\s*[{(]/y;Pr=/lineNumber:\s*(\d+)\s*,\s*columnNumber:\s*(\d+)\s*,?\s*\}\s*,\s*[\w$.]+\s*$/,_r=/__source:\s*\{[^{}]*lineNumber:\s*(\d+)\s*,\s*columnNumber:\s*(\d+)\s*,?\s*\}\s*,?\s*$/});function gT($){try{return new URL($).pathname}catch{return null}}function hT($,j){let J=vT.test(j)?gT(j):null;if(!$||!J||J.startsWith(DK)||!$.endsWith(J))return null;return $.slice(0,-J.length)||null}function mT($){if($)uT=$}function a6($,j=uT){let J=vT.test($)?gT($):null,Q=(J??P7($)).replace(Dr,"");if(Q.startsWith(DK))Q=Q.slice(DK.length-1);else if(J!==null)Q=Q.replace(/^\/+/,"");if(j&&Q.startsWith(`${j}/`))Q=Q.slice(j.length+1);return Q.startsWith("./")?Q.slice(2):Q}function LK($){try{return decodeURIComponent($)}catch{return $}}function uZ($){return $.split(Ar).filter(Boolean)}function Sr($){let[j,J]=uZ($);if(!j||j.startsWith("."))return null;if(!j.startsWith("@"))return j;return J?`${j}/${J}`:null}function Or($){let j=uZ($)[0];if(!j)return null;let J=j.replace(pT,"");if(Rr.test(J))return null;if(!J.startsWith("@"))return J;let Q=J.indexOf("_");return Q===-1?null:`${J.slice(0,Q)}/${J.slice(Q+1)}`}function yT($,j,J){let Q=$.split(j),Z=Q[Q.length-1];return Q.length>1&&Z!==void 0?J(Z):null}function Er($){let j;try{j=new URL($)}catch{return null}if(!j.hostname)return null;let J=uZ(j.pathname).map(LK);for(let[Q,Z]of J.entries()){let X=Tr.exec(Z.startsWith("@")?J[Q+1]??"":Z)?.[1];if(X)return Z.startsWith("@")?`${Z}/${X}`:X}return null}function xr($){let j=P7($);if(!j)return null;let J=LK(j);return yT(J,Nr,Or)??yT(J,Lr,Sr)??Er($)}function yr($){let j=LK(P7($));while(j.startsWith("../")||j.startsWith("./"))j=j.slice(j.startsWith("../")?3:2);if(j.startsWith("/"))return null;let[J,Q,...Z]=uZ(j);if(!J||!Q||Z.length===0||!fr.test(J)||kr.has(J.slice(1))||!br.test(Q)||pT.test(Q)||wr.has(Q))return null;return`${J}/${Q}`}function NK($){if(!$)return null;return xr($)??yr($)}function Q5($){if(!$)return{origin:"unknown",packageName:null};let j=NK($);if(j)return{origin:"package",packageName:j};if(!zT($))return{origin:"unknown",packageName:null};return{origin:"app",packageName:null}}function gr($){if(!$)return!1;let j=`/${a6($)}/`.toLowerCase();return vr.some((J)=>j.includes(J))}function RK($){if(!$)return!1;let j=`/${a6($)}`.toLowerCase();return hr.some((J)=>J.test(j))}function L7($){return!gr($)&&!RK($)}var Dr,vT,DK="/@fs/",uT=null,Lr,Nr,pT,Rr,Ar,Tr,fr,br,wr,kr,vr,hr;var AK=u(()=>{IK();Dr=/^(?:\.\/)?\/?\([a-z][a-z0-9-]*\)\//,vT=/^https?:\/\//;Lr=/(?:^|[/\\])node_modules[/\\]/,Nr=/[/\\]\.vite[/\\]deps[^/\\]*[/\\]/,pT=/\.[mc]?[jt]sx?$/i,Rr=/^chunk-[A-Za-z0-9_-]+$/,Ar=/[/\\]/,Tr=/^(.+?)@v?\d/;fr=/^@[A-Za-z0-9][A-Za-z0-9._-]*$/,br=/^[A-Za-z0-9][A-Za-z0-9._-]*$/,wr=new Set(["app","web","website","frontend","client","src"]),kr=new Set(["app","src","components","pages","features","modules","hooks","lib","utils","ui","shared","common","core","styles","assets"]);vr=["/components/ui/","/packages/ui/","/design-system/","/design-systems/","/primitives/"];hr=[/\/assets\/[^/?#]+-[a-z0-9_-]{6,}\.(?:c|m)?js(?:[?#]|$)/,/\/_next\/static\/.*\.(?:c|m)?js(?:[?#]|$)/,/\/static\/chunks\/.*\.(?:c|m)?js(?:[?#]|$)/]});function cT($,j=!1){if(cr.has($)||j&&pr.has($))return!0;return dr.some((J)=>$.endsWith(J))||mr.some((J)=>$.startsWith(J))}function y$($,j=!1){return $!==""&&!cT($,j)}function o6($,j=!1){if(!$||$.length<=1||cT($,j))return null;return $[0]===$[0]?.toUpperCase()?$:null}function dT($,j){let J=a6($);if(!j||!J.startsWith("/"))return J;for(let Q of lr){let Z=J.indexOf(Q);if(Z!==-1)return`/./${J.slice(Z+1)}`}return J}function lT($,j=!1){if(!$.componentName)return"";let J=dT($.filePath,j),Q=(j||$.symbolicated)&&$.lineNumber,Z=$.columnNumber?`:${$.columnNumber}`:"",X=Q?`${J}:${$.lineNumber}${Z}`:J;return`
595
+ in ${$.componentName} (at ${X})`}function iT($,j){if(!$.lineNumber)return null;return`${dT($.filePath,j)}:${$.lineNumber}:${$.columnNumber??""}`}function ir($,j,J,Q){let Z=j.packageName;if(j.origin==="app"&&$.fileName){let V={filePath:$.fileName,lineNumber:$.lineNumber??null,columnNumber:$.columnNumber??null,componentName:J,origin:"app",symbolicated:$.isSymbolicated===!0},Y=L7($.fileName);return{text:lT(V,Q),place:iT(V,Q),isApp:!0,spends:Y,isLibrary:!1}}let X={place:null,isApp:!1,spends:!1};if(Z)return{...X,text:`
596
+ in ${J} (${Z})`,isLibrary:!0};if($.isServer)return{...X,text:`
597
+ in ${J} (at Server)`,isLibrary:!1};return{...X,text:`
598
+ in ${J}`,isLibrary:Boolean($.fileName)}}function OK($){if($===void 0||!Number.isFinite($))return ur;return Math.max(0,Math.floor($))}function rT($,j={},J=null){let Q=OK(j.maxLines),Z=Math.max(Q,SK),X=j.next??!1,V=[],Y=new Set,q=null,C=!1,G=!1,W=!1,K=0,H=null;if(J?.componentName){if(G=J.origin==="app"&&L7(J.filePath),G)K+=1;Y.add(J.componentName),V.push(lT(J,X)),H=iT(J,X)}for(let B of $){if(!Q||V.length>=Z)break;let z=o6(B.functionName,X);if(!z)continue;let M=ir(B,Q5(B.fileName),z,X);if(M.isLibrary){q??={text:M.text,name:z};continue}if(!C&&z===J?.componentName){C=!0;continue}if(M.spends&&K>=Q)continue;if(M.text===V[V.length-1])continue;if(M.place!==null&&M.place===H)continue;if(M.spends)G=!0,K+=1,W=!0;Y.add(z),V.push(M.text),H=M.place}if(V.length===0&&q)Y.add(q.name),V.push(q.text);return{text:V.join(""),needsSelector:!G,hasBudgetedFrame:W,names:Y,room:Math.max(0,Z-V.length)}}function EK($){return $.map((j)=>`
599
+ in ${j}`).join("")}function TK($,j,J){let Q=$[0];if(!Q?.fileName)return null;return{filePath:a6(Q.fileName),lineNumber:Q.lineNumber??null,columnNumber:Q.columnNumber??null,componentName:o6(Q.functionName,J),origin:j,symbolicated:Q.isSymbolicated===!0}}function xK($,j,J=!1){let Q=$?.origin;if(Q==="app"&&L7($?.filePath))return $;let Z=j.filter((q)=>Q5(q.fileName).origin==="app"),X=TK(Z.filter((q)=>L7(q.fileName)),"app",J);if(X)return X;if(Q==="app"&&!RK($?.filePath))return $;let V=TK(Z,"app",J);if(V)return V;if(Q==="app"||Q==="package")return $;let Y=j.filter((q)=>Q5(q.fileName).origin==="package");return TK(Y,"package",J)}var ur=3,SK=20,mr,pr,cr,dr,lr;var fK=u(()=>{AK();mr=["_","$","motion.","styled.","chakra.","ark.","Primitive.","Slot."],pr=new Set(["AppRouter","AppRouterAnnouncer","AppDevOverlay","AppDevOverlayErrorBoundary","ClientPageRoot","ClientSegmentRoot","DevRootHTTPAccessFallbackBoundary","ErrorBoundary","ErrorBoundaryHandler","GracefulDegradeBoundary","HTTPAccessErrorFallback","HTTPAccessFallbackBoundary","HTTPAccessFallbackErrorBoundary","HandleRedirect","Head","HistoryUpdater","HotReload","InnerLayoutRouter","InnerScrollAndFocusHandler","InnerScrollAndFocusHandlerOld","InnerScrollAndMaybeFocusHandler","InnerScrollHandlerNew","LinkComponent","LoadableComponent","LoadingBoundary","LoadingBoundaryProvider","NotAllowedRootHTTPFallbackError","OfflineProvider","OuterLayoutRouter","RedirectBoundary","RedirectErrorBoundary","RenderFromTemplateContext","RenderValidationBoundaryAtThisLevel","ReplaySsrOnlyErrors","RootErrorBoundary","RootLevelDevOverlayElement","Router","ScrollAndFocusHandler","ScrollAndMaybeFocusHandler","SegmentBoundaryTrigger","SegmentBoundaryTriggerNode","SegmentStateProvider","SegmentTrieNode","SegmentViewNode","SegmentViewStateNode","ServerRoot","body","html"]),cr=new Set(["<anonymous>","<unknown>","Anonymous","Unknown","Suspense","Fragment","StrictMode","Profiler","SuspenseList","MotionDOMComponent","Slot","SlotClone"]),dr=[".Consumer",".Context",".Provider",".Slot",".SlotClone",".Slottable","ProviderProvider"];lr=["/src/app/","/src/pages/","/app/","/pages/"]});function rr($){try{return new URL($,location.href).origin===location.origin}catch{return!1}}function dZ($,j){if(!rr($)||NK($)!==null)return Promise.resolve(new Response(null,{status:404}));let J=AbortSignal.timeout(nT),Q=j?.signal?AbortSignal.any([j.signal,J]):J;return Vj($,{...j,signal:Q})}function sr($,j,J,Q){if(Q?.aborted)return Promise.resolve(j);return new Promise((Z)=>{let X=(q)=>{clearTimeout(Y),Q?.removeEventListener("abort",V),Z(q)},V=()=>X(j),Y=setTimeout(V,J);Q?.addEventListener("abort",V,{once:!0}),$.then(X,V)})}function ar($,j){if(!$||!j||nr.test($)||!/^https?:\/\//.test(j))return $;try{let J=new URL($,j).pathname;return J.startsWith("/@fs/")?J.slice(4):J.slice(1)}catch{return $}}function or($,j){return $&&$.length>1&&y$($,j)?$:null}function bK($,j,J=!1){return{...$,fileName:ar($.fileName,j?.fileName),functionName:or(j?.functionName,J)??$.functionName,columnNumber:typeof $.columnNumber==="number"?$.columnNumber+1:$.columnNumber}}function wK($){let j=$._debugOwner;if(typeof j!=="object"||j===null||!("tag"in j))return null;return j}function tr($,j){let J=new Map;for(let Q=$;Q;Q=wK(Q)){let Z=Q.type,X=typeof Z==="string"?Z:IZ(Z),V=j-k$(Q).length;if(X&&V<j)J.set(V,{tag:X,host:typeof Z==="string"})}return J}function aT($){let j=mZ.get($);if(!j){j=dZ($).then((Q)=>Q.ok?Q.text():null,()=>null),mZ.set($,j);let J=j;J.then((Q)=>{if(Q===null&&mZ.get($)===J)mZ.delete($)})}return j}function oT($){return typeof $.lineNumber==="number"&&typeof $.columnNumber==="number"?{line:$.lineNumber,column:$.columnNumber-1}:null}function tT($,j,J){return{...$,fileName:j.name,lineNumber:J.line,columnNumber:J.column,isSymbolicated:!0}}function sT($,j,J,Q,Z){let X=wT(Q.content,J.tag,J.host,Z,oT(j));return X?tT($,Q,X):$}function er($,j,J,Q){let Z=oT(j),X=Z&&fT(J.content,Q,Z,j.functionName??null);return X?tT($,J,X):$}async function eT($){let j=await gZ($,!0,dZ);if(!j)return null;mT(hT(j.file,$));let[J]=j.sources,Q=j.sourcesContent?.[0];if(!J||!Q||j.sources.length!==1)return null;return{name:J,content:Q}}async function $s($,j,J){let Q=j.fileName,Z=Q?await eT(Q):null;if(!Q||!Z)return $;let X=sT($,j,J,Z,null);return X===$?sT($,j,J,Z,await aT(Q)):X}async function js($,j){let J=j.fileName,Q=J?await eT(J):null,Z=J&&Q?await aT(J):null;return Q&&Z?er($,j,Q,Z):$}function Js($,j,J,Q){if(!j)return Promise.resolve($);if(J)return $s($,j,J);return Q>0?js($,j):Promise.resolve($)}async function Qs($,j,J){let Q=k$($);if(j.length!==Q.length+1)return j.map((V)=>V.isSymbolicated?bK(V,null,J):V);let Z=hZ($),X=tr($,Q.length);return Promise.all(j.map(async(V,Y)=>{let q=Y===0?Z:Q[Y-1],C=await Js(V,q,X.get(Y-1),Y);return C.isSymbolicated?bK(C,q,J):C}))}function $S($,j){let J=wK($);return J&&DZ(J)?o6(IZ(J.type),j):null}function Zs($,j,J,Q){let Z=Q||$.isSymbolicated===!0;return{filePath:a6(j),lineNumber:Z?$.lineNumber??null:null,columnNumber:Z?$.columnNumber??null:null,componentName:J,origin:"app",symbolicated:$.isSymbolicated===!0}}function Xs($,j,J){let Q=k$($);if(j.length!==Q.length+1)return null;let Z=wK($),X=Q.length-(Z?k$(Z).length:0),V=j.slice(1,1+X).find((Y)=>Q5(Y.fileName).origin==="app");if(!V?.fileName)return null;return Zs(V,V.fileName,o6(V.functionName,J)??$S($,J),J)}async function Vs($,j){let J=await FT($,!0,dZ);if(!J?.fileName)return null;let Q=$._debugSource?null:_K($),Z=!$._debugSource&&J.fileName!==Q?.fileName,X=Z?bK(J,Q,j):J,V=Boolean($._debugSource)||Z,Y=j||V;return{filePath:a6(X.fileName),lineNumber:Y?X.lineNumber??null:null,columnNumber:Y?X.columnNumber??null:null,componentName:o6(X.functionName,j)??$S($,j),origin:Q5(X.fileName).origin,symbolicated:V}}async function Ys($,j){try{let J=await Qs($,await HT($,!0,dZ),j);return{fiberSource:Xs($,J,j)??await Vs($,j),stack:J}}catch{return null}}async function jS($,j,J){let Q=pZ.get($);if(!Q){Q=Ys($,j),pZ.set($,Q);let X=Q;X.then((V)=>{if(V===null&&pZ.get($)===X)pZ.delete($)})}return await sr(Q,null,nT,J)??cZ}var nT=1500,cZ,nr,mZ,pZ;var JS=u(()=>{IK();z5();pW();kT();AK();fK();cZ={fiberSource:null,stack:[]};nr=/^(?:[a-z][a-z0-9+.-]*:|[/\\])/i;mZ=new Map;pZ=new WeakMap});function ZS($,j){return Array.from($.scripts).some((J)=>{if(!J.src)return!1;try{let Q=new URL(J.src,$.baseURI),Z=new URL($.baseURI).origin;return(j||Q.origin===Z)&&Q.pathname.includes("/_next/static/")}catch{return!1}})}function kK($){let j=QS.get($);if(j===void 0){let J=Array.from($.scripts).some((Q)=>Q.textContent?.includes("self.__next_f.push"));j=Boolean($.getElementById("__NEXT_DATA__")||$.querySelector("nextjs-portal")||ZS($,!1)||J&&ZS($,!0)),QS.set($,j)}return j}function Cs($,j,J,Q={}){let Z=Q.next??!1,X=xK(j,$,Z),V=X?.origin==="app"?X:null,Y=OK(Q.maxLines),q=rT($,Q,V);if(q.text){if(q.hasBudgetedFrame)return q;let G=J(Math.min(Y,q.room),(W)=>o6(W,Z)!==null&&!q.names.has(W));return G.length===0?q:{...q,text:`${q.text}${EK(G)}`,room:q.room-G.length}}let C=J(Y,()=>!0);return{text:EK(C),needsSelector:!0,hasBudgetedFrame:!1,names:new Set(C),room:Math.max(0,Math.max(Y,SK)-C.length)}}function Gs($,j,J,Q){let Z=J!==null?`
600
+ key: ${JSON.stringify(Ws(J,qs))}`:"",X=Q?`
601
+ selector: ${Q}`:"";return`[${$}${`${j}${Z}${X}`.replace(/\n\s+/g," ")}]`}function Ws($,j){return $.length>j?`${$.slice(0,j)}...`:$}function yK($){return $.map((j)=>j.content).join(`
602
+ `)}function Ks($){return{functionName:$.functionName,fileName:$.fileName,lineNumber:$.lineNumber,columnNumber:$.columnNumber,isServer:$.isServer,isSymbolicated:$.isSymbolicated}}function XS($,j,J,{fiberSource:Q,stack:Z},X){let Y=Cs(Z,Q,(W,K)=>LZ(j,W,(H)=>y$(H,J)&&K(H)),{maxLines:X.maxLines,next:J}),q=(Y.needsSelector?null:YA($))??lW(iW($)),C=xK(Q,Z,J),G=LZ(j,1,(W)=>y$(W,J))[0]??C?.componentName??void 0;return{tagName:($.tagName||"").toLowerCase(),componentName:G,content:Gs(oR($),Y.text,j?eR(j):null,q.semantic?q.selector:null),selector:q.selector,source:C,stackContext:Y.text,frames:Z.map(Ks)}}async function vK($,j={}){let J=kK($.ownerDocument),Q=K7(_Z($)),Z=Q?await jS(Q,J,j.signal):cZ;return XS($,Q,J,Z,j)}function VS($,j={}){let J=kK($.ownerDocument);return XS($,K7(_Z($)),J,cZ,j)}function YS($){let j=kK($.ownerDocument),J=K7(_Z($));return LZ(J,1,(Q)=>y$(Q,j))[0]??null}async function qS($,j={}){let J=await Promise.all([...new Set($)].map((Q)=>vK(Q,j)));return{content:yK(J),entries:J}}var qs=120,QS;var gK=u(()=>{pW();uW();qA();JS();fK();QS=new WeakMap});function v$($){return"host"in $}function CS($){let j=$.getRootNode();return v$(j)?j:$.ownerDocument}function Z5($){if($.assignedSlot)return $.assignedSlot;if($.parentElement)return $.parentElement;let j=$.getRootNode();return v$(j)?j.host:null}function e2($){let j=$.getAttribute("id"),J=($.getAttribute("class")??"").split(/\s+/).filter(Boolean);return[$.tagName.toLowerCase(),j?`#${j}`:"",...J.map((Q)=>`.${Q}`)].join("")}function WS($,j){let J=[$.subscribe((Q)=>{if(Q)j.set(!1)}),j.subscribe((Q)=>{if(Q)$.set(!1)})];return()=>{for(let Q of J)Q()}}function lZ($){return typeof $==="object"&&$!==null&&"nodeType"in $&&$.nodeType===1}function GS($){try{let j=Reflect.get($,hK);return lZ(j)?j:null}catch{return null}}function KS($={},j=()=>Promise.resolve().then(() => (rZ(),iZ)),J=b2){let Q=_1(),Z=new Set,X=null,V=null,Y=null,q=!1;function C(M){if(Q){Reflect.set(window,hK,M),f1(window.parent,{source:"devknobs",type:"picked"});return}for(let U of Array.from(Z))U(M)}let G=sZ({key:$.key,purpose:{channel:"inspect",label:(M)=>({tag:"styles",name:e2(M)}),pick:C}},j);function W(M){if(V=M,X){X.show(M);return}if(!M)return;j().then(({createOutline:U})=>{if(q)return;if(X??=U(),X.show(V),Y)X.area(Y)})}function K(M){let U=Q?null:J();if(U)try{let F=M!==null&&M.ownerDocument===U.document;Reflect.set(U,hK,F?M:null),f1(U,{source:"devknobs",type:"outline"})}catch{}W(M?.ownerDocument===document?M:null)}function H(M){let U=Q?null:J();if(U)f1(U,{source:"devknobs",type:"area",ring:M});B(M)}function B(M){Y=M,X?.area(M)}function z(M){if(Q){let D=$2(M,window.parent,window.location.origin);if(D?.type==="outline")W(GS(window));else if(D?.type==="area")B(D.ring);return}let U=J(),P=$2(M,U,window.location.origin)?.type==="picked"&&U?GS(U):null;if(P)C(P)}return window.addEventListener("message",z),{...G,onPick(M){return Z.add(M),()=>{Z.delete(M)}},outline:K,area:H,destroy(){q=!0,G.destroy(),window.removeEventListener("message",z),Z.clear(),X?.destroy(),X=null}}}var hK;var uK=u(()=>{K1();n6();mK();hK=Symbol.for("devknobs.inspected")});function BS($){return!$.boxed||$.speed<0.3||$.held>=80}function US($,j,J){return Math.hypot(j.x-$.x,j.y-$.y)/Math.max(J,1)}var nZ=80;function MS($){switch($.key){case"ArrowUp":return"up";case"ArrowDown":return"down";case"ArrowLeft":return"left";case"ArrowRight":return"right";case"Tab":return $.shiftKey?"left":"right";default:return null}}function Bs($,j){let J=$.children.length>0?$.children:$.shadowRoot?.children;for(let Q of Array.from(J??[]))if(j(Q))return Q;return null}function FS($=G9){let j=[];function J(X){let V=v8(X);while(V&&!$(V)){let Y=V.tagName.toLowerCase();if(Y==="body"||Y==="html")return null;V=v8(V)}if(!V)return null;if(j.push(X),j.length>HS)j=j.slice(-HS);return V}function Q(X){let V=j.pop();if(V?.isConnected)return V;return j=[],Bs(X,$)}function Z(X,V){let Y=(q)=>V?q.nextElementSibling:q.previousElementSibling;for(let q=X;q;q=v8(q)){let C=q.tagName.toLowerCase();if(C==="body"||C==="html")return null;for(let G=Y(q);G;G=Y(G)){if(!$(G))continue;return j=[],G}}return null}return{next(X,V){if(X==="up")return J(V);if(X==="down")return Q(V);return Z(V,X==="right")},clear(){j=[]}}}var HS=50;var zS=u(()=>{j$()});function Hs($,j){let J=$[j],Q=j+1;while(Q<$.length&&$[Q]!==J)Q+=$[Q]==="\\"?2:1;return Math.min(Q+1,$.length)}function _S($,j,J){if($.slice(j,j+J.length+1).toLowerCase()!==`${J}(`)return!1;return j===0||!Us.test($[j-1]??"")}function aZ($,j){let J=$[j];if(J==="\\")return Math.min(j+2,$.length);if(J==='"'||J==="'")return Hs($,j);if(J==="/"&&$[j+1]==="*"){let Z=$.indexOf("*/",j+2);return Z<0?$.length:Z+2}if(!_S($,j,"url"))return j;let Q=j+4;while(Q<$.length&&pK.test($[Q]??""))Q++;if($[Q]==='"'||$[Q]==="'")return j;while(Q<$.length&&$[Q]!==")")Q+=$[Q]==="\\"?2:1;return Math.min(Q+1,$.length)}function PS($,j){let J=j;while(J<$.length)if(pK.test($[J]??""))J++;else if($[J]==="/"&&$[J+1]==="*")J=aZ($,J);else break;return J}function Ms($,j){let J=1,Q=j;while(Q<$.length){let Z=aZ($,Q);if(Z>Q){Q=Z;continue}if($[Q]==="(")J++;else if($[Q]===")"&&--J===0)return Q;Q++}return $.length}function Fs($){let j="",J=0;while(J<$.length){let Q=aZ($,J);if(!($[J]==="/"&&$[J+1]==="*"))j+=$.slice(J,Math.max(Q,J+1));J=Math.max(Q,J+1)}return j}function zs($,j){let J=PS($,j+4);if(!$.startsWith("--",J))return null;let Q=J;while(Q<$.length){let C=$[Q]??"";if(pK.test(C)||C===","||C===")")break;if(C==="/"&&$[Q+1]==="*")break;Q+=C==="\\"?2:1}Q=Math.min(Q,$.length);let Z=$.slice(J,Q);if(Z.length<3)return null;let X=PS($,Q);if(X>=$.length||$[X]===")"){let C=X<$.length;return{start:j,end:C?X+1:$.length,name:Z,at:J,fallback:null,closed:C}}if($[X]!==",")return null;let V=Ms($,X+1),Y=Fs($.slice(X+1,V)).trim(),q=V<$.length;return{start:j,end:q?V+1:$.length,name:Z,at:J,fallback:Y,closed:q}}function X5($){let j=[],J=0;while(J<$.length){let Q=aZ($,J);if(Q>J){J=Q;continue}let Z=_S($,J,"var")?zs($,J):null;if(Z)j.push(Z);J=Z?Z.at+Z.name.length:J+1}return j}function N7($,j){let J="",Q=0;for(let Z of X5($)){if(Z.start<Q)continue;if(!Z.closed)return null;let X=j(Z.name),V=X!==""?X:Z.fallback===null?null:N7(Z.fallback,j);if(V===null)return null;J+=$.slice(Q,Z.start)+V,Q=Z.end}return J+$.slice(Q)}var pK,Us;var oZ=u(()=>{pK=/\s/,Us=/[\w\-\\\u0080-￿]/});function v2($,j){let J=[...$];if(J.length<=j)return $;let Q=Math.ceil((j-1)/2),Z=j-1-Q;return`${J.slice(0,Q).join("")}…${J.slice(J.length-Z).join("")}`}function tZ($){let j=/^([^#.]+)(#[^.]+)?(\.[^.]+)?/.exec($);if(!j)return v2($,IS);return v2(`${j[1]??""}${j[2]??j[3]??""}`,IS)}function LS($){if($==="<style>"||$==="constructed")return $;let J=($.split(/[?#]/)[0]??$).split("/").filter((Q)=>Q!=="");return v2(J[J.length-1]??$,Ps)}function NS($){let j=LS($.sheet);if($.sheet==="constructed")return{text:j,tip:"a stylesheet made by script"};if($.sheet==="<style>")return{text:j,tip:$.owner?`a style element, ${$.owner}`:"a style element"};return{text:j,tip:$.sheet}}function dK($,j){let J=j.trim().toLowerCase();if(J==="")return!0;return $.name.toLowerCase().includes(J)||$.value.toLowerCase().includes(J)}function RS($){let j=$.reason==="cross-origin"?"another origin":"could not be read";return`rules hidden: ${LS($.sheet)} (${j})`}function AS($){let j=[],J=0;for(let{at:Q,name:Z,fallback:X}of X5($)){if(Q>J)j.push({kind:"text",text:$.slice(J,Q)});j.push({kind:"var",text:Z,fallback:X}),J=Q+Z.length}if(J<$.length)j.push({kind:"text",text:$.slice(J)});return j}function Ls($,j){let J=0;for(let Q=j;Q<$.length;Q+=1)if($[Q]==="(")J+=1;else if($[Q]===")"&&--J===0)return $.slice(j,Q+1);return null}function Ns($){let j=$;for(let J="";J!==j;)J=j,j=j.replace(/[\w-]*\([^()]*\)/g," ");return j}function Rs($,j,J){if(j.includes("url("))return null;let Q=[],Z=_s.exec(j);if(Z)Q.push(Z[0]);let X=Is.exec(j);if(X?.[1]){let V=Ls(j,X.index+X[0].length-X[1].length);if(V&&!V.includes("var("))Q.push(V)}if(Ds.test($)){for(let V of Ns(j).split(/[\s,/]+/))if(/^[a-z]+$/i.test(V)&&!TS.has(V.toLowerCase()))Q.push(V)}return Q.sort((V,Y)=>j.indexOf(V)-j.indexOf(Y)),Q.find((V)=>J(V))??null}function SS($,j,J){let Q=As.exec($.value.trim()),Z=Q?.[1]?j[Q[1]]?.value??"":$.value;return Rs($.name,Z,J)}function Ss($,j){return $!==""&&!TS.has($.toLowerCase())&&j($)}function OS($,j,J,Q){let Z=j($.name);if(Z!=="")return{value:Z,color:Ss(Z,Q)?Z:null,lines:[v2(Z,cK)],source:J===null?null:v2(J,cK)};let X=[Ts];if($.fallback!=null){let V=N7($.fallback,j);if(V===null)X.push("its fallback is not set either");else if(V.trim()==="")X.push("uses fallback, which is empty");else X.push(`uses fallback: ${v2(V,cK)}`)}return{value:"",color:null,lines:X,source:null}}function ES($,j){for(let J of $.blocks){if(J.kind==="pseudo")continue;let Q=J.kind==="inherited"?J.blocks:[J];for(let Z of Q){if(!Z.declarations.some((X)=>X.name===j&&!X.overridden))continue;if(Z.kind==="rule"){let X=Z.selector.filter((V)=>V.matches).map((V)=>V.text);return X.length>0?X.join(", "):Z.selectorText}return J.kind==="inherited"?`style of ${tZ(J.from)}`:"element.style"}}return null}var DS=44,IS=24,Ps=32,_s,Is,Ds,TS,As,cK=64,Ts="not set";var eZ=u(()=>{oZ();_s=/#(?:[0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{3,4})(?![0-9a-z])/i,Is=/(?:^|[\s,(])((?:rgba?|hsla?|hwb|lab|lch|oklab|oklch|color|color-mix|light-dark)\()/i,Ds=/color|background|border|outline|shadow|fill|stroke|caret|decoration|^--/,TS=new Set(["inherit","initial","unset","revert","revert-layer","currentcolor"]);As=/^var\(\s*(--[^\s,)]+)\s*\)$/});function R7($){let j=Math.round($*100)/100;return String(Object.is(j,-0)?0:j)}function A7($){if($===null)return xS;let j=R7($);return j==="0"?xS:j}function T7($,j){return`${R7($)} × ${R7(j)}`}function $X($){let j=C2($);return j===null?$:`${R7(j)}px`}function lK($){let j=q8.map((J)=>R7($[J]));if(j.every((J)=>J==="0"))return null;return j.map((J)=>J==="0"?"0":`${J}px`).join(" ")}var xS="-";var jX=u(()=>{C8()});function Es($){let j=/^#([0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.exec($);if(!j?.[1])return null;let J=j[1],Q=J.length<=4?[...J].map((X)=>X+X).join(""):J,Z=(X)=>Number.parseInt(Q.slice(X,X+2),16);return{red:Z(0),green:Z(2),blue:Z(4),alpha:Q.length===8?Z(6)/255:1}}function xs($){let j=Number.parseFloat($);if($.endsWith("turn"))return j*360;if($.endsWith("grad"))return j*0.9;if($.endsWith("rad"))return j*180/Math.PI;return j}function fs($){let j=/^hsla?\(([^)]+)\)$/i.exec($);if(!j?.[1])return null;let J=j[1].split(/[\s,/]+/).filter(Boolean);if(J.length<3||J.length>4)return null;let[Q="",Z="",X="",V]=J,Y=(xs(Q)%360+360)%360/30,q=Math.min(Math.max(Number.parseFloat(Z)/100,0),1),C=Math.min(Math.max(Number.parseFloat(X)/100,0),1),G=V===void 0?1:V.endsWith("%")?Number.parseFloat(V)/100:Number.parseFloat(V);if(![Y,q,C,G].every(Number.isFinite))return null;let W=q*Math.min(C,1-C),K=(H)=>{let B=(H+Y)%12;return 255*(C-W*Math.max(-1,Math.min(B-3,9-B,1)))};return{red:K(0),green:K(8),blue:K(4),alpha:G}}function bS($){let j=$.trim().toLowerCase();if(j==="transparent")return{red:0,green:0,blue:0,alpha:0};let J=Object.hasOwn(fS,j)?fS[j]:void 0;return Es(J??j)??fs(j)??G8(j)}function rK($,j){let J=$.alpha+j.alpha*(1-$.alpha);if(J<=0)return{red:0,green:0,blue:0,alpha:0};let Q=(Z,X)=>(Z*$.alpha+X*j.alpha*(1-$.alpha))/J;return{red:Q($.red,j.red),green:Q($.green,j.green),blue:Q($.blue,j.blue),alpha:J}}function iK($){return Math.min(255,Math.max(0,Math.round($)))}function wS($){let j=[iK($.red),iK($.green),iK($.blue)],J=Math.round($.alpha*100)/100;if(J<=0)return"transparent";if(J>=1)return`#${j.map((Q)=>Q.toString(16).padStart(2,"0")).join("")}`;return`rgb(${j.join(" ")} / ${J})`}function kS($,j,J,Q=bs){let Z=[],X=$;while(X!==null&&Z.length<=Q){let V=j(X);if(Z.push(V),V&&V.alpha>=1)break;X=J(X)}return Z}function yS($){let j=Os;for(let J=$.length-1;J>=0;J-=1){let Q=$[J];if(Q&&Q.alpha>0)j=rK(Q,j)}return j}function vS($,j){let J=V4($.red,$.green,$.blue),Q=V4(j.red,j.green,j.blue);return(Math.max(J,Q)+0.05)/(Math.min(J,Q)+0.05)}function vs($,j){return $>=ws||$>=ks&&j>=ys?3:4.5}function gS($,j,J){return $>=vs(j,J)}var fS,Os,bs=20,ws=24,ks=18.66,ys=700;var JX=u(()=>{m2();fS={black:"#000000",silver:"#c0c0c0",gray:"#808080",grey:"#808080",white:"#ffffff",maroon:"#800000",red:"#ff0000",purple:"#800080",fuchsia:"#ff00ff",green:"#008000",lime:"#00ff00",olive:"#808000",yellow:"#ffff00",navy:"#000080",blue:"#0000ff",teal:"#008080",aqua:"#00ffff",orange:"#ffa500",rebeccapurple:"#663399"},Os={red:255,green:255,blue:255,alpha:1}});function sK($,j,J=!1){let Q=wS(j);return J?{key:$,text:Q,swatch:Q,quiet:J}:{key:$,text:Q,swatch:Q}}function uS($){let j=[],J=$.backgrounds[0]??null,Q=yS($.backgrounds);if($.text&&$.color)j.push(sK("color",$.color));if(J&&J.alpha>0)j.push(sK("background",J));else if($.text)j.push(sK("background",Q,!0));if($.text){let V=[`${$X($.fontSize)} / ${$X($.lineHeight)}`,$.fontWeight];if($.letterSpacing!=="normal")V.push($X($.letterSpacing));if($.family)j.push({key:"font",text:$.family});if(j.push({key:$.family?"type":"font",text:V.join(" · ")}),$.color){let Y=vS(rK($.color,Q),Q),q=C2($.fontSize)??16,C=Number.parseFloat($.fontWeight)||400;j.push({key:"contrast",text:Y.toFixed(2),pass:gS(Y,q,C)})}}let Z=lK($.margin);if(Z)j.push({key:"margin",text:Z});let X=lK($.padding);if(X)j.push({key:"padding",text:X});return j}var nK,hS;var aK=u(()=>{C8();jX();JX();nK=["color","background","font","type","contrast","margin","padding"],hS={color:"color",background:"background",font:"font",type:"",contrast:"contrast",margin:"margin",padding:"padding"}});function hs($){let j=[],J="",Q="";for(let Z of $)if(Q)if(Z===Q)Q="";else J+=Z;else if(Z==='"'||Z==="'")Q=Z;else if(Z===",")j.push(J.trim()),J="";else J+=Z;return j.push(J.trim()),j.filter((Z)=>Z!=="")}function us($){return gs.has($.toLowerCase())}function mS($,j){return hs($).find((J)=>us(J)||j(J))??null}function pS($){return(j)=>{if(!$)return!1;try{return $.check(`16px "${j.replace(/["\\]/g,"\\$&")}"`)}catch{return!1}}}var gs;var cS=u(()=>{gs=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong","-apple-system","blinkmacsystemfont"])});function cs($){if($.parentElement)return $.parentElement;let j=$.getRootNode();return j instanceof ShadowRoot?j.host:null}function ds($){if(ps.has($.tagName))return!0;let j=$.childNodes;for(let J=0;J<j.length&&J<ms;J+=1){let Q=j[J];if(Q?.nodeType===3&&(Q.textContent??"").trim()!=="")return!0}return!1}function dS($,j,J){let Q=ds($);return{text:Q,color:J(j.color),backgrounds:kS($,(Z)=>J((Z===$?j:getComputedStyle(Z)).backgroundColor),cs),family:Q?mS(j.fontFamily,pS($.ownerDocument.fonts)):null,fontSize:j.fontSize,lineHeight:j.lineHeight,fontWeight:j.fontWeight,letterSpacing:j.letterSpacing}}function ls($,j){let J=Reflect.get($,"getBoxQuads");if(typeof J!=="function")return null;let Q=new Map;for(let C of H6){let G=null;try{G=Reflect.apply(J,$,[{box:C}])}catch{return null}let W=VH(G);if(!W)return null;Q.set(C,W)}let[Z,X,V,Y]=H6.map((C)=>Q.get(C));if(!Z||!X||!V||!Y)return null;let q=$ instanceof HTMLElement?{width:$.offsetWidth,height:$.offsetHeight}:null;if(YH(X,q))return null;return qH({margin:Z,border:X,padding:V,content:Y},{x:j.left,y:j.top})}function lS($,j){let J=$.getBoundingClientRect();if(!ZH(j.display,J))return null;return{model:Kj(j),quads:ls($,J)}}var ms=40,ps;var iS=u(()=>{C8();JX();cS();ps=new Set(["INPUT","TEXTAREA","SELECT"])});function sS($){return $.action?$.action.icon:QX[$.id]}function aS($){let j=document.createElementNS("http://www.w3.org/2000/svg","svg");return j.setAttribute("class","glyph"),j.setAttribute("viewBox","0 0 24 24"),j.setAttribute("width",String($)),j.setAttribute("height",String($)),j.setAttribute("aria-hidden","true"),j}function A0($,j=14){let J=aS(j);J.setAttribute("fill","none"),J.setAttribute("stroke","currentColor"),J.setAttribute("stroke-width","1.5"),J.setAttribute("stroke-linecap","round"),J.setAttribute("stroke-linejoin","round");for(let[Q,Z]of is[$]){let X=document.createElementNS("http://www.w3.org/2000/svg",Q);for(let[V,Y]of Object.entries(Z))X.setAttribute(V,Y);J.append(X)}return J}function rs($,j=14){let J=aS(j),[Q,Z,X]=rS[$];for(let[V,Y]of X?[X,[Q,Z]]:[[Q,Z]]){let q=document.createElementNS("http://www.w3.org/2000/svg","path");q.setAttribute("fill",V),q.setAttribute("d",Y),J.append(q)}return J}function ss($){return $ in rS}function ZX($,j=14){return ss($)?rs($,j):A0($,j)}var s=($)=>["path",{d:$}],i1=($,j,J)=>["circle",{cx:$,cy:j,r:J}],is,rS,QX,nS;var r1=u(()=>{is={"half-sun-moon":[s("M12 7a5 5 0 0 0 0 10"),s("M12 3a9 9 0 0 1 0 18 12 12 0 0 0 0-18z"),s("M3 12h2"),s("m5.64 5.64 1.41 1.41"),s("m5.64 18.36 1.41-1.41")],contrast:[i1("12","12","10"),s("M12 18a6 6 0 0 0 0-12v12z")],blend:[i1("15","9","7"),i1("9","15","7")],eye:[s("M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0"),i1("12","12","3")],type:[s("M12 4v16"),s("M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2"),s("M9 20h6")],wind:[s("M12.8 19.6A2 2 0 1 0 14 16H2"),s("M17.5 8a2.5 2.5 0 1 1 2 4H2"),s("M9.8 4.4A2 2 0 1 1 11 8H2")],languages:[s("m5 8 6 6"),s("m4 14 6-6 2-3"),s("M2 5h12"),s("M7 2h1"),s("m22 22-5-10-5 10"),s("M14 18h6")],"map-pin":[s("M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"),i1("12","10","3")],clock:[i1("12","12","10"),s("M12 6v6l4 2")],wifi:[s("M12 20h.01"),s("M2 8.82a15 15 0 0 1 20 0"),s("M5 12.859a10 10 0 0 1 14 0"),s("M8.5 16.429a5 5 0 0 1 7 0")],smartphone:[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}],s("M12 18h.01")],ruler:[s("M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z"),s("m14.5 12.5 2-2"),s("m11.5 9.5 2-2"),s("m8.5 6.5 2-2"),s("m17.5 15.5 2-2")],bug:[s("M12 20v-9"),s("M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z"),s("M14.12 3.88 16 2"),s("M21 21a4 4 0 0 0-3.81-4"),s("M21 5a4 4 0 0 1-3.55 3.97"),s("M22 13h-4"),s("M3 21a4 4 0 0 1 3.81-4"),s("M3 5a4 4 0 0 0 3.55 3.97"),s("M6 13H2"),s("m8 2 1.88 1.88"),s("M9 7.13V6a3 3 0 1 1 6 0v1.13")],"square-dashed-mouse-pointer":[s("M12.034 12.681a.498.498 0 0 1 .647-.647l9 3.5a.5.5 0 0 1-.033.943l-3.444 1.068a1 1 0 0 0-.66.66l-1.067 3.443a.5.5 0 0 1-.943.033z"),s("M5 3a2 2 0 0 0-2 2"),s("M19 3a2 2 0 0 1 2 2"),s("M5 21a2 2 0 0 1-2-2"),s("M9 3h1"),s("M9 21h2"),s("M14 3h1"),s("M3 9v1"),s("M21 9v2"),s("M3 14v1")],braces:[s("M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1"),s("M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1")],settings:[s("M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"),i1("12","12","3")],"panel-right":[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],s("M15 3v18")],"panel-left":[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],s("M9 3v18")],"panel-right-close":[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],s("M15 3v18"),s("m8 9 3 3-3 3")],"panel-right-open":[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],s("M15 3v18"),s("m10 15-3-3 3-3")],pin:[s("M12 17v5"),s("M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z")],"pin-off":[s("M12 17v5"),s("M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89"),s("m2 2 20 20"),s("M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11")],eraser:[s("M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21"),s("m5.082 11.09 8.828 8.828")],"rotate-ccw":[s("M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"),s("M3 3v5h5")],"arrow-up-down":[s("m21 16-4 4-4-4"),s("M17 20V4"),s("m3 8 4-4 4 4"),s("M7 4v16")],ban:[i1("12","12","10"),s("M4.929 4.929 19.07 19.071")],copy:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}],s("M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2")],"refresh-cw":[s("M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"),s("M21 3v5h-5"),s("M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"),s("M8 16H3v5")],database:[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3"}],s("M3 5V19A9 3 0 0 0 21 19V5"),s("M3 12A9 3 0 0 0 21 12")],"trash-2":[s("M10 11v6"),s("M14 11v6"),s("M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"),s("M3 6h18"),s("M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2")],check:[s("M20 6 9 17l-5-5")],"chevron-left":[s("m15 18-6-6 6-6")],"chevrons-left-right":[s("m9 7-5 5 5 5"),s("m15 7 5 5-5 5")],plus:[s("M5 12h14"),s("M12 5v14")],x:[s("M18 6 6 18"),s("m6 6 12 12")],"grip-vertical":[i1("9","12","1"),i1("9","5","1"),i1("9","19","1"),i1("15","12","1"),i1("15","5","1"),i1("15","19","1")],image:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2"}],i1("9","9","2"),s("m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21")],film:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],s("M7 3v18"),s("M3 7.5h4"),s("M3 12h18"),s("M3 16.5h4"),s("M17 3v18"),s("M17 7.5h4"),s("M17 16.5h4")],file:[s("M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"),s("M14 2v5a1 1 0 0 0 1 1h5")],"table-2":[s("M3 9h18"),s("M9 3v18"),["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"}]],cookie:[s("M11 17h.01"),s("M11.496 2c.324-.016.558.292.529.615a4 4 0 004.235 4.368.713.713 0 01.758.757 4 4 0 004.366 4.237c.323-.03.63.204.614.527a10 10 0 01-2.915 6.566A1 1 0 114.93 4.918 10 10 0 0111.496 2"),s("M12 12h.01"),s("M16 16h.01"),s("M16 3h.01"),s("M21 4h.01"),s("M21 8h.01"),s("M7 14h.01"),s("M9 8h.01")],"hard-drive":[s("M10 16h.01"),s("M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"),s("M21.946 12.013H2.054"),s("M6 16h.01")],bookmark:[s("M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z")]},rS={javascript:["#F7DF1E","M0 0h24v24H0V0zm22.034 18.276c-.175-1.095-.888-2.015-3.003-2.873-.736-.345-1.554-.585-1.797-1.14-.091-.33-.105-.51-.046-.705.15-.646.915-.84 1.515-.66.39.12.75.42.976.9 1.034-.676 1.034-.676 1.755-1.125-.27-.42-.404-.601-.586-.78-.63-.705-1.469-1.065-2.834-1.034l-.705.089c-.676.165-1.32.525-1.71 1.005-1.14 1.291-.811 3.541.569 4.471 1.365 1.02 3.361 1.244 3.616 2.205.24 1.17-.87 1.545-1.966 1.41-.811-.18-1.26-.586-1.755-1.336l-1.83 1.051c.21.48.45.689.81 1.109 1.74 1.756 6.09 1.666 6.871-1.004.029-.09.24-.705.074-1.65l.046.067zm-8.983-7.245h-2.248c0 1.938-.009 3.864-.009 5.805 0 1.232.063 2.363-.138 2.711-.33.689-1.18.601-1.566.48-.396-.196-.597-.466-.83-.855-.063-.105-.11-.196-.127-.196l-1.825 1.125c.305.63.75 1.172 1.324 1.517.855.51 2.004.675 3.207.405.783-.226 1.458-.691 1.811-1.411.51-.93.402-2.07.397-3.346.012-2.054 0-4.109 0-6.179l.004-.056z",["#000","M1 1h22v22H1z"]],css:["#663399","M0 0v20.16A3.84 3.84 0 0 0 3.84 24h16.32A3.84 3.84 0 0 0 24 20.16V3.84A3.84 3.84 0 0 0 20.16 0Zm14.256 13.08c1.56 0 2.28 1.08 2.304 2.64h-1.608c.024-.288-.048-.6-.144-.84-.096-.192-.288-.264-.552-.264-.456 0-.696.264-.696.84-.024.576.288.888.768 1.08.72.288 1.608.744 1.92 1.296q.432.648.432 1.656c0 1.608-.912 2.592-2.496 2.592-1.656 0-2.4-1.032-2.424-2.688h1.68c0 .792.264 1.176.792 1.176.264 0 .456-.072.552-.24.192-.312.24-1.176-.048-1.512-.312-.408-.912-.6-1.32-.816q-.828-.396-1.224-.936c-.24-.36-.36-.888-.36-1.536 0-1.44.936-2.472 2.424-2.448m5.4 0c1.584 0 2.304 1.08 2.328 2.64h-1.608c0-.288-.048-.6-.168-.84-.096-.192-.264-.264-.528-.264-.48 0-.72.264-.72.84s.288.888.792 1.08c.696.288 1.608.744 1.92 1.296.264.432.408.984.408 1.656.024 1.608-.888 2.592-2.472 2.592-1.68 0-2.424-1.056-2.448-2.688h1.68c0 .744.264 1.176.792 1.176.264 0 .456-.072.552-.24.216-.312.264-1.176-.048-1.512-.288-.408-.888-.6-1.32-.816-.552-.264-.96-.576-1.2-.936s-.36-.888-.36-1.536c-.024-1.44.912-2.472 2.4-2.448m-11.031.018c.711-.006 1.419.198 1.839.63.432.432.672 1.128.648 1.992H9.336c.024-.456-.096-.792-.432-.96-.312-.144-.768-.048-.888.24-.12.264-.192.576-.168.864v3.504c0 .744.264 1.128.768 1.128a.65.65 0 0 0 .552-.264c.168-.24.192-.552.168-.84h1.776c.096 1.632-.984 2.712-2.568 2.688-1.536 0-2.496-.864-2.472-2.472v-4.032c0-.816.24-1.44.696-1.848.432-.408 1.146-.624 1.857-.63",["#fff","M4 12h18v11.3H4z"]],html5:["#E34F26","M1.5 0h21l-1.91 21.563L11.977 24l-8.564-2.438L1.5 0zm7.031 9.75l-.232-2.718 10.059.003.23-2.622L5.412 4.41l.698 8.01h9.126l-.326 3.426-2.91.804-2.955-.81-.188-2.11H6.248l.33 4.171L12 19.351l5.379-1.443.744-8.157H8.531z",["#fff","M5 4h14v16H5z"]],webassembly:["#654FF0","M14.745,0c0,0.042,0,0.085,0,0.129c0,1.52-1.232,2.752-2.752,2.752c-1.52,0-2.752-1.232-2.752-2.752 c0-0.045,0-0.087,0-0.129H0v24h24V0H14.745z M11.454,21.431l-1.169-5.783h-0.02l-1.264,5.783H7.39l-1.824-8.497h1.59l1.088,5.783 h0.02l1.311-5.783h1.487l1.177,5.854h0.02l1.242-5.854h1.561l-2.027,8.497H11.454z M20.209,21.431l-0.542-1.891h-2.861l-0.417,1.891 h-1.59l2.056-8.497h2.509l2.5,8.497H20.209z M17.812,15.028l-0.694,3.118h2.159l-0.796-3.118H17.812z",["#fff","M4 12h19v10H4z"]],json:["currentColor","M12.043 23.968c.479-.004.953-.029 1.426-.094a11.805 11.805 0 003.146-.863 12.404 12.404 0 003.793-2.542 11.977 11.977 0 002.44-3.427 11.794 11.794 0 001.02-3.476c.149-1.16.135-2.346-.045-3.499a11.96 11.96 0 00-.793-2.788 11.197 11.197 0 00-.854-1.617c-1.168-1.837-2.861-3.314-4.81-4.3a12.835 12.835 0 00-2.172-.87h-.005c.119.063.24.132.345.201.12.074.239.146.351.225a8.93 8.93 0 011.559 1.33c1.063 1.145 1.797 2.548 2.218 4.041.284.982.434 1.998.495 3.017.044.743.044 1.491-.047 2.229-.149 1.27-.554 2.51-1.228 3.596a7.475 7.475 0 01-1.903 2.084c-1.244.928-2.877 1.482-4.436 1.114a3.916 3.916 0 01-.748-.258 4.692 4.692 0 01-.779-.45 6.08 6.08 0 01-1.244-1.105 6.507 6.507 0 01-1.049-1.747 7.366 7.366 0 01-.494-2.54c-.03-1.273.225-2.553.854-3.67a6.43 6.43 0 011.663-1.918c.225-.178.464-.333.704-.479l.016-.007a5.121 5.121 0 00-1.441-.12 4.963 4.963 0 00-1.228.24c-.359.12-.704.27-1.019.45a6.146 6.146 0 00-.733.494c-.211.18-.42.36-.615.555-1.123 1.153-1.768 2.682-2.022 4.256-.15.973-.15 1.96-.091 2.95.105 1.395.391 2.787.945 4.062a8.518 8.518 0 001.348 2.173 8.14 8.14 0 003.132 2.23 7.934 7.934 0 002.113.54c.074.015.149.015.209.015zm-2.934-.398a4.102 4.102 0 01-.45-.228 8.5 8.5 0 01-2.038-1.534c-1.094-1.137-1.827-2.566-2.247-4.08a15.184 15.184 0 01-.495-3.172 12.14 12.14 0 01.046-2.082c.135-1.257.495-2.501 1.124-3.58a6.889 6.889 0 011.783-2.053 6.23 6.23 0 011.633-.9 5.363 5.363 0 013.522-.045c.029 0 .029 0 .045.03.015.015.045.015.06.03.045.016.104.045.165.074.239.12.479.271.704.42a6.294 6.294 0 012.097 2.502c.42.914.615 1.934.631 2.938.014 1.079-.18 2.157-.645 3.146a6.42 6.42 0 01-2.638 2.832c.09.03.18.045.271.075.225.044.449.074.688.074 1.468.045 2.892-.66 3.94-1.647.195-.18.375-.375.54-.585.225-.27.435-.54.614-.823.239-.375.435-.75.614-1.154a8.112 8.112 0 00.509-1.664c.196-1.004.211-2.022.149-3.026-.135-2.022-.673-4.045-1.842-5.724a9.054 9.054 0 00-.555-.719 9.868 9.868 0 00-1.063-1.034 8.477 8.477 0 00-1.363-.915 9.927 9.927 0 00-1.692-.598l-.3-.06c-.209-.03-.42-.044-.634-.06a8.453 8.453 0 00-1.015.016c-.704.045-1.412.16-2.112.337C5.799 1.227 2.863 3.566 1.3 6.67A11.834 11.834 0 00.238 9.801a11.81 11.81 0 00-.104 3.775c.12 1.02.374 2.023.778 2.977.227.57.511 1.124.825 1.648 1.094 1.783 2.683 3.236 4.51 4.24.688.39 1.408.69 2.157.944.226.074.45.15.689.21z"]},QX={scheme:"half-sun-moon",contrast:"contrast",transparency:"blend",vision:"eye",text:"type",motion:"wind",locale:"languages",location:"map-pin",clock:"clock",network:"wifi",device:"smartphone",viewport:"ruler",debug:"bug"};nS={panel:"panel-right-open",grab:"square-dashed-mouse-pointer",inspect:"braces",replay:"rotate-ccw",requests:"arrow-up-down",storage:"database",reset:"eraser"}});function g$($,j=""){let J=document.createElement("span");if(J.className=$,j)J.textContent=j;return J}function oS($,j){if($.textContent!==j)$.textContent=j}function S7($,j){if($.hidden===j)$.hidden=!j}function tS($,j){let J=g$($);return J.append(A0(j,12)),J.hidden=!0,J}function eS(){let $=g$("size"),j=document.createElement("div");j.className="rows",j.hidden=!0;let J=new Map;for(let Z of nK){let X=document.createElement("div");X.className="info",X.hidden=!0;let V=g$("val"),Y=g$("dot");Y.hidden=!0;let q=tS("mark","check"),C=tS("mark fail","x"),G=g$("text");V.append(Y,G,q,C),X.append(g$("key",hS[Z]),V),j.append(X),J.set(Z,{node:X,swatch:Y,pass:q,fail:C,text:G})}function Q(Z,X){oS($,Z);let V=[];for(let Y of nK){let q=J.get(Y);if(!q)continue;let C=X.find((W)=>W.key===Y);if(S7(q.node,C!==void 0),!C)continue;V.push(Y),oS(q.text,C.text);let G=C.quiet?"text quiet":"text";if(q.text.className!==G)q.text.className=G;if(S7(q.swatch,C.swatch!==void 0),C.swatch!==void 0)q.swatch.style.backgroundColor=C.swatch;S7(q.pass,C.pass===!0),S7(q.fail,C.pass===!1)}return S7(j,V.length>0),V.join(" ")}return{size:$,rows:j,write:Q}}var $O=u(()=>{r1();aK()});function XX(){let $=new Map,j;function J(Q){if(!CSS.supports("color",Q))return null;if(j===void 0){let q=document.createElement("canvas");q.width=1,q.height=1,j=q.getContext("2d",{willReadFrequently:!0})}if(!j)return null;j.clearRect(0,0,1,1),j.fillStyle=Q,j.fillRect(0,0,1,1);let[Z=0,X=0,V=0,Y=0]=j.getImageData(0,0,1,1).data;return{red:Z,green:X,blue:V,alpha:Y/255}}return(Q)=>{let Z=$.get(Q);if(Z===void 0)Z=bS(Q)??J(Q),$.set(Q,Z);return Z}}var oK=u(()=>{JX()});function jO($){if(!$||$.alpha<=O7)return null;return V4($.red,$.green,$.blue)<ns?"dark":"light"}function ts($){if(!$||$.alpha<=O7)return null;return V4($.red,$.green,$.blue)>as?"dark":null}function es($,j){if($("dark"))return"dark";if($("light"))return"light";for(let J of os){let Q=j(J)?.toLowerCase();if(Q==="dark"||Q==="light")return Q}if(j("data-dark")!==null)return"dark";if(j("data-light")!==null)return"light";return null}function JO($){let j=$.trim().toLowerCase().split(/\s+/),J=j.includes("dark");if(J===j.includes("light"))return null;return J?"dark":"light"}function $n($){return $.surface??$.marker??$.scheme??$.backdrop??$.text??"light"}function Jn($){let j=$.red/255,J=$.green/255,Q=$.blue/255,Z=Math.max(j,J,Q),X=Math.min(j,J,Q),V=Z-X,Y=(Z+X)/2;if(V===0)return{hue:0,saturation:0,lightness:Y};let q=V/(1-Math.abs(2*Y-1)),C;if(Z===j)C=(J-Q)/V%6;else if(Z===J)C=(Q-j)/V+2;else C=(j-J)/V+4;return{hue:(C*60+360)%360,saturation:q,lightness:Y}}function tK($){if(!$||$.alpha<=O7)return!1;let{hue:j,saturation:J,lightness:Q}=Jn($);return j>=QO[0]&&j<=QO[1]&&J>jn&&Q>=ZO[0]&&Q<=ZO[1]}function XO($){if(tK($.surface))return"green";if((!$.own||$.own.alpha<=O7)&&(tK($.border)||tK($.text)))return"green";return"blue"}function VO($){return $==="dark"?"light":"dark"}function YO(){let $=new WeakMap,j=new WeakMap,J=XX(),Q=null;function Z(G){if(G.parentElement)return G.parentElement;let W=G.getRootNode();return W instanceof ShadowRoot?W.host:null}function X(G){return G&&G.alpha>O7?G:null}function V(G){let W=[],K=null,H=G;while(H&&H!==document.body&&H!==document.documentElement){let B=$.get(H);if(B!==void 0){K=B;break}if(W.push(H),K=X(J(getComputedStyle(H).backgroundColor)),K)break;H=Z(H)}for(let B of W)$.set(B,K);return K}function Y(G,W){for(let K of G){let H=K?W(K):null;if(H)return H}return null}function q(){let{documentElement:G,body:W}=document,K=document.querySelector('meta[name="color-scheme"]')?.getAttribute("content"),H=Y([W,G],(z)=>X(J(getComputedStyle(z).backgroundColor)));return{signals:{marker:Y([G,W],(z)=>es((M)=>z.classList.contains(M),(M)=>z.getAttribute(M))),scheme:Y([G,W],(z)=>JO(z.style.colorScheme||getComputedStyle(z).colorScheme))??JO(K??""),backdrop:jO(H),text:ts(J(getComputedStyle(G).color))},backdrop:H}}function C(G,W){let K=j.get(G);if(K===void 0){let H=getComputedStyle(G);K=XO({surface:W,own:J(H.backgroundColor),border:Number.parseFloat(H.borderTopWidth)>0?J(H.borderTopColor):null,text:J(H.color)}),j.set(G,K)}return K}return(G)=>{Q??=q();let W=G?V(G):null,K=W??Q.backdrop;return{theme:$n({surface:jO(W),...Q.signals}),grab:G?C(G,K):XO({surface:K,own:null,border:null,text:null})}}}var ns=0.18,as=0.6,O7=0.5,os,QO,jn=0.35,ZO;var qO=u(()=>{m2();oK();os=["data-theme","data-mode","data-color-scheme","data-bs-theme","data-mui-color-scheme","data-mantine-color-scheme"];QO=[190,260],ZO=[0.15,0.85]});function GO($,j){return 100-(100-$)*(100-j)/100}function WO($){return aQ.map((j)=>`.layer[data-grab="${j}"] { --grab: ${$6[j][$]}; }`).join(`
603
+ `)}function VX($,j,J){return Math.min(Math.max($,j),Math.max(j,J))}function KO($,j,J,Q){let Z=Q?1:1-(1-Zn)**(Math.max(J,1)/HO),X=j.map((Y,q)=>{let C=$[q]??Y;return C+(Y-C)*Z}),V=X.every((Y,q)=>Math.abs((j[q]??Y)-Y)<Xn);return V?{values:[...j],done:V}:{values:X,done:V}}function MO($,j,J,Q){let Z=Q===null?($.left+$.right)/2:VX(Q,$.left,$.right),X=VX(Z-j.width/2,Q6,J.width-j.width-Q6),V=$.bottom+CO;if(V+j.height>J.height-Q6)V=$.top-j.height-CO;return V=VX(V,Q6,J.height-j.height-Q6),{x:X,y:V}}function Un($,j,J){let{y:Q}=MO($,j,J,null);return{x:VX($.left,Q6,J.width-j.width-Q6),y:Q}}function Hn($){let j=/(\d*\.?\d+)px/.exec($);return j?Number(j[1]):0}function Mn($,j,J){return Math.max(UO,Math.min($,Math.min(j,J)/2))}function h$($,j){return Math.round($*j)/j}function FO($,j){let[J=0,Q=0,Z=0,X=0]=$,V=h$(J,j),Y=h$(Q,j);return[V,Y,h$(J+Z,j)-V,h$(Q+X,j)-Y]}function _n($,j,J){let[Q,Z,X,V]=FO($,J),Y=Math.max(1,Math.floor(J))/J,q=Math.max(X,2*Y),C=Math.max(V,2*Y),G=Math.min(j,q/2,C/2),W=Math.max(Math.ceil(G*J-0.000001)/J,Y),K=Math.min(W,Math.floor(q/2*J+0.000001)/J),H=Math.min(W,Math.floor(C/2*J+0.000001)/J),B=q-K,z=C-H,M=q-2*K,U=C-2*H,F=K-Y,P=(_)=>Math.round(_*J),D=(_,S,f,L)=>`translate(${_}px, ${S}px) scale(${P(f)}, ${P(L)})`;return{at:`translate(${Q}px, ${Z}px)`,unit:1/J,corner:{width:K,height:H,radius:G},pieces:{"top right":`translate(${B}px, 0px)`,"bottom left":`translate(0px, ${z}px)`,"bottom right":`translate(${B}px, ${z}px)`,top:D(K,0,M,Y),bottom:D(K,C-Y,M,Y),left:D(0,H,Y,U),right:D(q-Y,H,Y,U),middle:D(K,Y,M,C-2*Y),west:D(Y,H,F,U),east:D(B,H,F,U)}}}function In(){let $=document.createElementNS(eK,"svg");$.setAttribute("class","check"),$.setAttribute("width","14"),$.setAttribute("height","14"),$.setAttribute("viewBox","0 0 14 14"),$.setAttribute("aria-hidden","true");let j=document.createElementNS(eK,"circle");j.setAttribute("cx","7"),j.setAttribute("cy","7"),j.setAttribute("r","6");let J=document.createElementNS(eK,"path");return J.setAttribute("d","M4.4 7.2 6.2 9l3.4-3.8"),$.append(j,J),$}function _2($,j,J){let Q=BO.get($);if(!Q)Q=new Map,BO.set($,Q);if(Q.get(j)===J)return;Q.set(j,J),$.style.setProperty(j,J)}function Dn($,j,J){let[Q,Z,X,V]=FO(j,J);_2($,"transform",`translate(${Q}px, ${Z}px)`),_2($,"width",`${X}px`),_2($,"height",`${V}px`),_2($,"border-radius",`${j[4]??0}px`)}function YX($=!1,j=!1){let J=document.createElement("div");J.setAttribute("data-devknobs","grab"),J.style.cssText=`position:fixed;inset:0;pointer-events:none;z-index:${Qn}`;let Q=J.attachShadow({mode:"open"});y1(Q,Bn);let Z=document.createElement("div");Z.className="layer";let X=document.createElement("div");X.className="glow";let V=document.createElement("div");V.className="glide";let Y=document.createElement("div");Y.className="box",V.append(Y);let q=[];function C(r,Z0){let Y0=document.createElement("div");Y0.className=r;for(let H0 of Z0){let d=document.createElement("div");if(d.className=`part ${H0}`,r==="corners"){let q0=document.createElement("div");q0.className="corner",d.append(q0)}if(Y0.append(d),H0!=="top left")q.push({piece:H0,node:d})}Y.append(Y0)}C("fills",Pn),C("lines",zn),C("corners",["top left",...Fn]);let G=document.createElement("div");G.className="tip";let W=document.createElement("div");W.className="pill",G.append(W);let K=In(),H=document.createElement("span");H.className="tag";let B=document.createElement("span"),z=j&&!$?eS():null;if(z){let r=document.createElement("div");r.className="head",r.append(K,H,B,z.size),W.classList.add("card"),W.append(r,z.rows)}else W.append(K,H,B);let M=[],U=(j?H6:[]).map((r)=>{let Z0=document.createElement("div");return Z0.className=`tint ${r}`,Z.append(Z0),{ring:r,node:Z0}});Z.append(X,V,G),Q.append(Z),(document.body??document.documentElement).append(J);let F=D8("(prefers-reduced-motion: reduce)"),P=F.matches,D=new WeakMap,_=YO(),S=new Map,f=C0().grabColor,L="blue",I=null,N=null,A=null,E=[],b=[],w=null,g=null,c=null,v=!1,O=!1,m=null,k={tag:"",name:null},l=!1,R=null,y={width:0,height:0},i=new WeakMap,n=XX(),$0=null,X0=null,M0=null,T0=null,x=0,h=[],t=!1,J0=!1,G0=!1,N0=0,F0=0,a=0,o=0,Q0=0;function K0(){return P?0:A4}function _0(){let r=g5();P=r?r.motion==="reduce":F.matches,Z.toggleAttribute("data-still",P)}function f0(){let r=ON(f,L);if(Z.dataset.grab!==r)if(Z.dataset.grab=r,k1(r))Z.style.setProperty("--grab",r);else Z.style.removeProperty("--grab");if(I&&W.dataset.bar!==I)W.dataset.bar=I}function b0(){if(!N0&&!G0)N0=window.requestAnimationFrame(C3)}function u0(){if(!N&&E.length===0)return;O=!0,b0()}function Y1(r){let Z0=D.get(r);if(Z0===void 0)Z0=Hn(getComputedStyle(r).borderRadius),D.set(r,Z0);return Z0}function w0(r){let Z0=r.getBoundingClientRect(),Y0=Mn(Y1(r),Z0.width,Z0.height);return[Z0.left,Z0.top,Z0.width,Z0.height,Y0]}function S0(r){while(M.length<b.length){let Z0=document.createElement("div");Z0.className="pick",Z.insertBefore(Z0,V),M.push(Z0)}M.forEach((Z0,Y0)=>{let H0=b[Y0]??null;if(Z0.hidden!==(H0===null))Z0.hidden=H0===null;if(H0)Dn(Z0,H0,r)})}function R0(r){_2(V,"transform",r.at),_2(Y,"--unit",`${r.unit}px`),_2(Y,"--corner-width",`${r.corner.width}px`),_2(Y,"--corner-height",`${r.corner.height}px`),_2(Y,"--corner-radius",`${r.corner.radius}px`);for(let{piece:Z0,node:Y0}of q)_2(Y0,"transform",r.pieces[Z0])}function j1(r){let Z0=i.get(r);if(!Z0)Z0=getComputedStyle(r),i.set(r,Z0);return Z0}function I0(){let r=N?-1:E.findIndex((Y0)=>Y0.isConnected),Z0=N??E[r]??null;if($0=Z0?lS(Z0,j1(Z0)):null,X0=b[r]??null,!z||!N||T0?.of!==N)return;h=$0?uS({...T0.read,margin:$0.model.margin,padding:$0.model.padding}):[]}function o1(r){if(G0||r!==N||!r.isConnected)return;T0={of:r,read:dS(r,j1(r),n)},O=!0,b0()}function h2(r){let[Z0,Y0,H0,d]=r??X0??[],q0=$0!==null&&Z0!==void 0&&Y0!==void 0;if($0&&q0){let O0=CH($0.quads??XH({x:Z0,y:Y0,width:H0??0,height:d??0},$0.model));for(let{ring:l0,node:i0}of U)_2(i0,"clip-path",O0[l0])}for(let{ring:O0,node:l0}of U)l0.classList.toggle("on",q0&&(M0===null||M0===O0))}function Y8(){if(N&&!N.isConnected)N=null;if(b=E.map((Z0)=>Z0.isConnected?w0(Z0):null),j)I0();if(N||t){let{theme:Z0,grab:Y0}=_(N);I=VO(Z0),L=Y0}if(!N){A=null,g=null;return}let r=w0(N);if(!v||!w||!g)w=r,c=null;else if(A===N){let Z0=g;if(w=w.map((Y0,H0)=>Y0+(r[H0]??0)-(Z0[H0]??0)),c)c=[(c[0]??0)+r[0]-Z0[0],(c[1]??0)+r[1]-Z0[1]]}g=r,A=N}function q3(){let r=z&&g?T7(g[2],g[3]):"",Z0=z?`
604
+ ${r}
605
+ ${JSON.stringify(h)}`:"",Y0=`${l}
606
+ ${k.tag}
607
+ ${k.name??""}${Z0}`;if(Y0===R)return;K.toggleAttribute("hidden",!l),H.textContent=k.tag,H.hidden=!k.tag,B.textContent=z?v2(k.name??"",Kn):k.name??"",B.hidden=!k.name;let H0=z?`card
608
+ ${z.write(r,h)}`:Y0,d=S.get(H0);if(!d)d={width:W.offsetWidth,height:W.offsetHeight},S.set(H0,d);y=d,R=Y0}function Q4(){S.clear(),u0()}function C3(r){if(N0=0,G0)return;let Z0=O;if(O)O=!1,Y8();let Y0={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight},H0=window.devicePixelRatio||1;if(v=w!==null&&g!==null,v||t)q3();if(Z0)f0(),S0(H0);if(Y.classList.toggle("on",v),W.classList.toggle("toast",t),W.classList.toggle("on",v||t),!w||!g){if(F0=0,c=null,j)h2(null);if(!t)return;let cw=Math.round((Y0.width-y.width)/2);_2(G,"transform",`translate(${cw}px, ${Q6*2}px)`);return}let d=F0?r-F0:HO,q0=KO(w,g,d,P);if(w=q0.values,R0(_n(w,g[4],H0)),j)h2(w);let O0={top:g[1],bottom:g[1]+g[3],left:g[0],right:g[0]+g[2]},l0=z?Un(O0,y,Y0):MO(O0,y,Y0,m),i0=[Math.round(l0.x),Math.round(l0.y)],x1=KO(c??i0,i0,d,P);c=x1.values;let[x4=0,Qj=0]=c;_2(G,"transform",`translate(${h$(x4,H0)}px, ${h$(Qj,H0)}px)`);let dU=q0.done&&x1.done;if(F0=dU?0:r,!dU)b0()}function p(){a=0,N=null,clearTimeout(x),T0=null,h=[],Y.classList.remove("on"),W.classList.remove("on"),O=!0,b0()}function j0(){if(G0)return;if(G0=!0,clearTimeout(a),clearTimeout(o),clearTimeout(Q0),clearTimeout(x),clearInterval(U0),N0)window.cancelAnimationFrame(N0);window.removeEventListener("scroll",u0,!0),window.removeEventListener("resize",Q4),F.removeEventListener("change",_0),V0(),B0(),J.remove()}let V0=jJ(_0);f0();let B0=a2((r)=>{f=r.grabColor,f0()});F.addEventListener("change",_0),window.addEventListener("scroll",u0,{capture:!0,passive:!0}),window.addEventListener("resize",Q4);let U0=window.setInterval(u0,Vn);if(getComputedStyle(X).opacity,!$)X.classList.add("on");return{draw(r,Z0,Y0){if(J0)return;if(E=Y0,r){if(clearTimeout(a),a=0,z&&r!==N)clearTimeout(x),x=window.setTimeout(()=>o1(r),nZ);N=r,k=Z0,l=!1}else if(N&&!a)a=window.setTimeout(p,$B);O=!0,b0()},point(r){if(J0||r===m)return;if(m=r,N)b0()},toast(r,Z0,Y0){if(G0)return;clearTimeout(a),clearTimeout(o),clearTimeout(Q0),a=0,t=!0,Y.classList.toggle("copied",Y0),N=Z0?.isConnected?Z0:null,k={tag:"",name:r},l=Y0,O=!0,b0(),o=window.setTimeout(()=>{if(t=!1,p(),!J0)Y.classList.remove("copied");if(J0)Q0=window.setTimeout(j0,K0())},Yn)},area(r){if(J0||r===M0)return;M0=r,b0()},destroy(){if(J0)return;if(J0=!0,clearTimeout(a),X.classList.remove("on"),E=[],b=[],S0(1),t)return;p(),Q0=window.setTimeout(j0,K0())}}}var Qn=2147483647,CO=6,Q6=8,UO=2,Zn=0.3,HO=16.666666666666668,Xn=0.5,A4=125,$B=100,Vn=100,Yn=1500,qn=100,Cn=280,Gn=264,Wn=180,Kn=26,Bn,Fn,zn,Pn,eK="http://www.w3.org/2000/svg",BO;var jB=u(()=>{E1();m2();L8();h5();eZ();C8();jX();aK();iS();$O();oQ();oK();qO();g1();Bn=`
609
+ .layer {
610
+ all: initial;
611
+ position: fixed;
612
+ inset: 0;
613
+ overflow: hidden;
614
+ contain: strict;
615
+ pointer-events: none;
616
+ direction: ltr;
617
+ --grab: ${$6.blue.srgb};
618
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
619
+ font-size: 13px;
620
+ font-weight: 400;
621
+ line-height: 16px;
622
+ -webkit-font-smoothing: antialiased;
623
+ }
624
+ ${WO("srgb")}
625
+ @media (color-gamut: p3) {
626
+ ${WO("p3")}
627
+ }
628
+ .glow {
629
+ position: absolute;
630
+ inset: 0;
631
+ opacity: 0;
632
+ box-shadow: inset 0 0 50px color-mix(in srgb, var(--grab) 15%, transparent);
633
+ transition: opacity ${A4}ms ease-out, box-shadow ${A4}ms ease-out;
634
+ }
635
+ .glow.on { opacity: 1; }
636
+ .glide, .part {
637
+ position: absolute;
638
+ top: 0;
639
+ left: 0;
640
+ transform-origin: 0 0;
641
+ will-change: transform;
642
+ }
643
+ .fills > .part, .lines > .part {
644
+ width: var(--unit);
645
+ height: var(--unit);
646
+ background-color: currentColor;
647
+ }
648
+ .box {
649
+ opacity: 0;
650
+ will-change: opacity;
651
+ --line: color-mix(in srgb, var(--grab) 50%, transparent);
652
+ --fill: color-mix(in srgb, var(--grab) 8%, transparent);
653
+ --edge: color-mix(in srgb, var(--grab) ${GO(50,8)}%, transparent);
654
+ transition: opacity ${A4}ms ease-out;
655
+ }
656
+ .box.on { opacity: 1; }
657
+ .box.copied {
658
+ --line: color-mix(in srgb, var(--grab) 60%, transparent);
659
+ --fill: color-mix(in srgb, var(--grab) 20%, transparent);
660
+ --edge: color-mix(in srgb, var(--grab) ${GO(60,20)}%, transparent);
661
+ }
662
+ .fills, .lines, .corners { transition: color ${A4}ms ease-out; }
663
+ .fills { color: var(--fill); }
664
+ .lines { color: var(--edge); }
665
+ .corners { color: var(--line); }
666
+ .corner {
667
+ box-sizing: border-box;
668
+ width: var(--corner-width);
669
+ height: var(--corner-height);
670
+ border: 0 solid;
671
+ background-color: var(--fill);
672
+ transition: background-color ${A4}ms ease-out;
673
+ }
674
+ .top > .corner { border-top-width: 1px; }
675
+ .bottom > .corner { border-bottom-width: 1px; }
676
+ .left > .corner { border-left-width: 1px; }
677
+ .right > .corner { border-right-width: 1px; }
678
+ .top.left > .corner { border-top-left-radius: var(--corner-radius); }
679
+ .top.right > .corner { border-top-right-radius: var(--corner-radius); }
680
+ .bottom.left > .corner { border-bottom-left-radius: var(--corner-radius); }
681
+ .bottom.right > .corner { border-bottom-right-radius: var(--corner-radius); }
682
+ .pick {
683
+ position: absolute;
684
+ top: 0;
685
+ left: 0;
686
+ box-sizing: border-box;
687
+ will-change: transform;
688
+ border: 1px solid color-mix(in srgb, var(--grab) 30%, transparent);
689
+ border-radius: ${UO}px;
690
+ background: color-mix(in srgb, var(--grab) 5%, transparent);
691
+ transition: border-color ${A4}ms ease-out, background-color ${A4}ms ease-out;
692
+ }
693
+ .tint {
694
+ position: absolute;
695
+ inset: 0;
696
+ opacity: 0;
697
+ transition: opacity ${A4}ms ease-out;
698
+ }
699
+ .tint.on { opacity: 1; }
700
+ ${H6.map(($)=>`.tint.${$} { background: ${e8($)}; }`).join(`
701
+ `)}
702
+ .tip {
703
+ position: absolute;
704
+ inset: 0;
705
+ will-change: transform;
706
+ }
707
+ .pill {
708
+ position: absolute;
709
+ top: 0;
710
+ left: 0;
711
+ display: flex;
712
+ align-items: center;
713
+ gap: 6px;
714
+ max-width: min(${Cn}px, calc(100% - ${2*Q6}px));
715
+ box-sizing: border-box;
716
+ padding: 6px 8px;
717
+ white-space: nowrap;
718
+ opacity: 0;
719
+ --bar: #161616;
720
+ --quiet: #a7a7a7;
721
+ color: #ffffff;
722
+ background: var(--bar);
723
+ border-radius: 6px;
724
+ box-shadow: 0 0 0 1px rgb(255 255 255 / 12%), 0 2px 8px rgb(0 0 0 / 24%);
725
+ transition: opacity ${A4}ms ease-out;
726
+ }
727
+ .pill.on { opacity: 1; }
728
+ .pill.toast.on { transition: opacity ${qn}ms ease-out; }
729
+ .pill span {
730
+ min-width: 0;
731
+ overflow: hidden;
732
+ text-overflow: ellipsis;
733
+ }
734
+ .check {
735
+ flex: none;
736
+ margin-right: -2px;
737
+ opacity: 0.85;
738
+ }
739
+ .check circle { fill: currentColor; }
740
+ .check path {
741
+ fill: none;
742
+ stroke: var(--bar);
743
+ stroke-width: 1.5;
744
+ stroke-linecap: round;
745
+ stroke-linejoin: round;
746
+ }
747
+ .pill .tag { flex: none; color: #a7a7a7; }
748
+ .pill[data-bar="light"] {
749
+ --bar: #ffffff;
750
+ --quiet: #737373;
751
+ color: #171717;
752
+ box-shadow: 0 0 0 1px rgb(0 0 0 / 10%), 0 2px 8px rgb(0 0 0 / 32%);
753
+ }
754
+ .pill[data-bar="light"] .tag { color: #737373; }
755
+ /* Inspect's card: the label grown to a few rows, one width whatever it says. */
756
+ .pill.card {
757
+ display: block;
758
+ width: ${Gn}px;
759
+ max-height: ${Wn}px;
760
+ overflow: hidden;
761
+ padding: 8px;
762
+ border-radius: 8px;
763
+ }
764
+ .card .head { display: flex; align-items: center; gap: 6px; }
765
+ .card .size, .card .val {
766
+ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
767
+ font-size: 11px;
768
+ font-variant-numeric: tabular-nums;
769
+ }
770
+ .card .size { flex: none; margin-left: auto; color: var(--quiet); }
771
+ .card .rows { display: grid; gap: 2px; margin-top: 6px; }
772
+ .card .info { display: flex; align-items: center; gap: 12px; }
773
+ .card .key { flex: none; font-size: 11px; color: var(--quiet); }
774
+ .card .val { display: flex; align-items: center; gap: 5px; min-width: 0; margin-left: auto; }
775
+ .card .quiet { color: var(--quiet); }
776
+ .card .dot {
777
+ flex: none;
778
+ width: 9px;
779
+ height: 9px;
780
+ border-radius: 2px;
781
+ box-shadow: inset 0 0 0 1px rgb(128 128 128 / 45%);
782
+ }
783
+ .card .mark { flex: none; display: grid; overflow: visible; }
784
+ .card .mark.fail { color: var(--quiet); }
785
+ .layer [hidden] { display: none; }
786
+ .layer[data-still] * { transition: none; }
787
+ `;Fn=["top right","bottom left","bottom right"],zn=["top","bottom","left","right"],Pn=["middle","west","east"];BO=new WeakMap});function zO($,j){return $.includes(j)?$.filter((J)=>J!==j):[...$,j]}function JB($,j){if(j===null||$.includes(j))return[...$];return[...$,j]}function PO($){return $>1?`Copied ${$}`:"Copied"}function Rn($){let j=$.composedPath()[0];return j instanceof Element&&U4(j)}function LO($){let j=$.composedPath()[0];if(!(j instanceof HTMLElement))return!1;return j.tagName==="INPUT"||j.tagName==="TEXTAREA"||j.isContentEditable}function DO($){let j=$.composedPath()[0];return LO($)||j instanceof HTMLElement&&j.tagName==="BUTTON"}function NO($,j=Nn){let{purpose:J}=$,Q=j.createOverlay(!1,J!==void 0),Z=FS(),X=new WeakMap,V=new WeakSet,Y=new WeakMap,q=null,C=null,G=0,W=Number.NEGATIVE_INFINITY,K=[],H=0,B=null,z=null,M=0,U=0,F=0,P=!1;N1("grab-cursor").textContent="*:not([data-devknobs]){cursor:crosshair!important}",AC(!0);function D(O){if(J||X.has(O)||V.has(O))return;V.add(O),j.grabEntry(O).then((m)=>X.set(O,m)).catch(()=>{return}).finally(()=>V.delete(O))}function _(O){if(J)return J.label(O);let m=Y.get(O);if(m===void 0)m=j.componentOf(O),Y.set(O,m);return{tag:O.tagName.toLowerCase(),name:m}}function S(){if(P)return;if(q&&!q.isConnected)q=null;K=K.filter((O)=>O.isConnected),Q.draw(q,q?_(q):{tag:"",name:null},K)}function f(O){if(O===q)return;if(q=O,!O)W=performance.now();if(clearTimeout(H),O)H=window.setTimeout(()=>D(O),Ln);S()}function L(O){if(O.length===0)return;let m=O.map((l)=>X.get(l)??j.quickEntry(l)),k=O[O.length-1]??null;Q.toast(PO(O.length),k,!0),j.copyGrab({content:yK(m),entries:m}).then((l)=>{if(!l)Q.toast("Copy failed",k,!1)});for(let l of O)D(l);v()}function I(){clearTimeout(U),clearTimeout(F),U=0,F=0}function N(O=!1){if(I(),!B)return;let m=performance.now(),k=j.grabTargetAt(document,B.x,B.y),l=US(z??B,B,m-M);if(M=m,z=B,k!==C)C=k,G=m;if(k===q)return;let R=m-G,y=q!==null||m-W<$B;if(O||!k||BS({boxed:y,held:R,speed:l})){Z.clear(),f(k);return}F=window.setTimeout(()=>N(),Math.min(_O,nZ-R))}function A(O=B){if(!U&&!F)return;B=O,N(!0)}function E(O){if(!O.isPrimary)return;B={x:O.clientX,y:O.clientY},Q.point(B.x);let m=_O-(performance.now()-M);if(m<=0)N();else if(!U)U=window.setTimeout(()=>N(),m)}function b(O){if(Rn(O))return;if(O.preventDefault(),O.stopPropagation(),O.type!=="click"||!(O instanceof MouseEvent))return;A({x:O.clientX,y:O.clientY});let m=j.grabTargetAt(document,O.clientX,O.clientY)??(q?.isConnected?q:null);if(!m)return;if(J){J.pick(m),v();return}if(O.shiftKey){K=zO(K,m),D(m),S();return}L(JB(K,m))}function w(O){if(O.key==="Escape"){O.preventDefault(),O.stopImmediatePropagation(),v();return}let m=MS(O);if(m){if(LO(O)||O.metaKey||O.ctrlKey||O.altKey)return;if(J&&(O.key==="Tab"||DO(O)))return;O.preventDefault(),O.stopImmediatePropagation();let l=q?.isConnected?Z.next(m,q):null;if(l)I(),Q.point(null),f(l);return}if(O.repeat){if($.heldKey(O))O.preventDefault();return}if(J){if(O.key!=="Enter"||DO(O))return;if(A(),!q?.isConnected)return;O.preventDefault(),O.stopImmediatePropagation(),J.pick(q),v();return}if(O.key!=="Enter"&&!vW(O.key,O.code))return;A();let k=JB(K,q);if(k.length===0)return;O.preventDefault(),O.stopImmediatePropagation(),L(k)}function g(O){if(O.key==="Shift"&&K.length>0)L(K)}for(let O of IO)window.addEventListener(O,b,!0);window.addEventListener("pointermove",E,!0),window.addEventListener("keyup",g,!0);function c(){if(P)return;P=!0,clearTimeout(H),I();for(let O of IO)window.removeEventListener(O,b,!0);window.removeEventListener("pointermove",E,!0),window.removeEventListener("keyup",g,!0),v1("grab-cursor"),AC(!1),Q.destroy()}function v(){c(),$.onExit()}if($.pointer)B=$.pointer,Q.point(B.x),N();return{keydown:w,stop:c}}var Ln=80,_O=32,IO,Nn;var RO=u(()=>{g1();TC();mW();gK();j$();gW();zS();jB();IO=["pointerdown","mousedown","pointerup","mouseup","click","dblclick","auxclick","pointerover","pointerout","mouseover","mouseout"],Nn={componentOf:YS,copyGrab:PZ,createOverlay:YX,grabEntry:vK,grabTargetAt:D_,quickEntry:VS}});function AO($=YX){let j=null,J=null;function Q(X){if(!X){j?.destroy(),j=null;return}if(!j){if(j=$(!0,!0),J)j.area(J)}j.draw(null,An,[X])}function Z(X){J=X,j?.area(X)}return{show:Q,area:Z,destroy:()=>Q(null)}}var An;var TO=u(()=>{jB();An={tag:"",name:null}});var iZ={};F5(iZ,{startMode:()=>NO,grab:()=>On,createOutline:()=>AO});function Tn($){return typeof $==="object"&&$!==null&&typeof Reflect.get($,Symbol.iterator)==="function"}function Sn($){if(lZ($))return[$];return Tn($)?Array.from($):[]}async function On($,j={}){let J=Sn($).filter(lZ);if(J.length===0)return null;let Q=await qS(J,j);if(!Q.content.trim())return null;return{...Q,copied:await PZ(Q)}}var rZ=u(()=>{mW();gK();uK();RO();TO()});function xn(){let $=document.activeElement;while($?.shadowRoot?.activeElement)$=$.shadowRoot.activeElement;return $}function fn(){let $=xn(),j=$ instanceof HTMLInputElement||$ instanceof HTMLTextAreaElement,J=j||$ instanceof HTMLElement&&$.isContentEditable,Q=(window.getSelection()?.toString()??"")!=="";if(j)try{Q||=$.selectionStart!==$.selectionEnd}catch{}return{input:J,selection:Q}}function bn(){let $=g5();if($)return $.scheme;let j=document.createElement("div");j.setAttribute("data-devknobs","probe"),j.style.cssText="position:fixed;width:0;height:0;overflow:hidden;pointer-events:none";let J=j.attachShadow({mode:"open"});y1(J,"i{display:block;width:0}@media (prefers-color-scheme: dark){i{width:1px}}");let Q=document.createElement("i");J.append(Q),(document.body??document.documentElement).append(j);let Z=Q.getBoundingClientRect().width>0;return j.remove(),Z?"dark":"light"}function sZ($={},j=()=>Promise.resolve().then(() => (rZ(),iZ))){let J=$.key??vR,{purpose:Q}=$,Z=Q?.channel??"grab",X=_1(),V=new Set,Y="off",q=null,C=0,G=null,W=0,K=null,H;function B(){return X?null:b2()}function z(){let A=++C;j().then(({startMode:E})=>{if(A!==C||Y!=="here")return;q=E({pointer:K,scheme:H,purpose:Q,heldKey:(b)=>{let w=J();return w!==null&&MZ(b,w.key)},onExit:()=>{q=null,U("off")}})})}function M(){C++,q?.stop(),q=null}function U(A){if(A===Y)return;let E=Y!=="off";if(Y==="here")M();if(Y=A,A==="here")z();let b=A!=="off";if(b===E)return;if(X)f1(window.parent,{source:"devknobs",type:Z,on:b});for(let w of Array.from(V))w(b)}function F(A){let E=B(),b=W7(Y,{type:"ask",on:A,frame:E!==null});if(E&&(b==="frame"||Y==="frame")){if(f1(E,{source:"devknobs",type:Z,on:A,scheme:bn()}),A)E.focus()}U(b)}function P(A){let E=cR(G,A);if(G=E.hold,!G)clearTimeout(W);if(E.activate)F(!0)}function D(A){let E=J(),b=E!==null&&gR(E),w=E!==null&&uR(A,E)&&!(hR(E)&&fW(A));if(w&&b){if(A.preventDefault(),!A.repeat)F(Y==="off");return}if(q){q.keydown(A);return}if(Y!=="off"){if(A.key==="Escape")A.preventDefault(),A.stopImmediatePropagation(),F(!1);return}if(w){if(A.repeat){P({type:"repeat"});return}if(G)return;let g=pR(fn());P({type:"down",at:Date.now(),duration:g}),clearTimeout(W),W=window.setTimeout(()=>P({type:"timer"}),g);return}if(G&&!En.has(A.key))P({type:"cancel"})}function _(A){let E=J();if(G&&E&&mR(A,E))P({type:"release",at:Date.now()})}function S(){if(G)P({type:"copy"})}function f(){if(G)P({type:"cancel"})}function L(A){K={x:A.clientX,y:A.clientY}}function I(A){if(X){let b=$2(A,window.parent,window.location.origin);if(b?.type!==Z)return;H=b.scheme,F(b.on);return}let E=$2(A,b2(),window.location.origin);if(E?.type===Z)U(W7(Y,{type:"frame",on:E.on}));else if(E?.type==="ready")U(W7(Y,{type:"frame",on:!1}))}let N=a2((A)=>{if(!X)U(W7(Y,{type:"framed",frame:D1(A)}))});return window.addEventListener("keydown",D,!0),window.addEventListener("keyup",_,!0),window.addEventListener("blur",f),window.addEventListener("pointermove",L,{capture:!0,passive:!0}),window.addEventListener("message",I),document.addEventListener("copy",S,!0),{isOn:()=>Y!=="off",set:F,subscribe(A){return V.add(A),()=>{V.delete(A)}},destroy(){F(!1),M(),N(),clearTimeout(W),V.clear(),window.removeEventListener("keydown",D,!0),window.removeEventListener("keyup",_,!0),window.removeEventListener("blur",f),window.removeEventListener("pointermove",L,!0),window.removeEventListener("message",I),document.removeEventListener("copy",S,!0)}}}var En;var mK=u(()=>{E1();K1();n6();h5();y2();gW();g1();En=new Set(["Meta","Control","Shift","Alt","AltGraph","CapsLock"])});function T($,j,J){let Q=document.createElement($);if(Q.className=j,J!==void 0)Q.textContent=J;return Q}function z0($,j){let J=document.createElement("button");return J.type="button",J.className=$,J.textContent=j,J}function t6($,j){$.setAttribute("data-layout",j)}function I2($){let{main:j,grip:J,glyph:Q}=$,Z=T("div","row"),X=T("div","line"),V=T("span","row-label",$.title);if(Q)j.append(Q);if(j.append(V,...$.ends??[]),J)J.className=`lead ${J.className}`,X.append(J);return X.append(j,...$.after??[]),Z.append(X),{box:Z,label:V}}function GB($){return T("div","rows-label",$)}function Z6($,j,J){let Q=z0(`row-button ${$}`,"");return Q.append(j),Q.setAttribute("aria-label",J),Q}function e6($,j,J){let Q=document.createElement("input");return Q.className=`field ${$}`,Q.placeholder=j,Q.autocomplete="off",Q.spellcheck=!1,Q.setAttribute("aria-label",J),Q}function c$($,j=$){let J=e6("field-num",$,j);return J.type="number",J.step="any",J.inputMode="decimal",J}function s1($,j,J="aria-pressed"){$.classList.toggle("on",j),$.setAttribute(J,j?"true":"false")}function S4($,j){let J=$.offsetTop,Q=J+$.offsetHeight;if(J<j.scrollTop)j.scrollTop=J;else if(Q>j.scrollTop+j.clientHeight)j.scrollTop=Math.min(J,Q-j.clientHeight)}function JE($){if(!$)return null;return Array.from($.querySelectorAll("button, input, textarea")).find((J)=>J.tabIndex>=0&&J.getClientRects().length>0)??null}function QE($,j){j.scrollTop=$.offsetTop-(j.clientHeight-$.offsetHeight)/2}var t0=()=>{};function HX($){for(let j of[...BB])j($)}function d$($){$8?.open($)}function MX(){$8?.close()}function l$(){return $8?.view()??null}function LE($){$8?.show($)}function FX($,j){$8?.retitle($,j)}function zX($){return BB.add($),()=>{BB.delete($)}}function UB(){let $=z0("main",""),j=T("div","view-actions"),{box:J,label:Q}=I2({main:$,glyph:A0("chevron-left"),title:"",after:[j]});return J.className=`${J.className} view-head`,{box:J,back:$,title:Q,actions:j}}function sn(){let $=document.activeElement;while($?.shadowRoot?.activeElement)$=$.shadowRoot.activeElement;return $}function nn($){return $.isConnected&&$.getClientRects().length>0}function NE($){let{root:j,tips:J}=$,Q=T("div","view pane");Q.setAttribute("role","group");let{box:Z,back:X,title:V,actions:Y}=UB();X.addEventListener("click",P),X.addEventListener("pointerenter",()=>C?.point?.(!0)),X.addEventListener("pointerleave",()=>C?.point?.(!1));let q=T("div","view-body");Q.append(Z,q);let C=null,G=null,W=[],K=null;function H(){let _=j.activeElement;return _!==null&&Q.contains(_)}function B(_){V.textContent=_,Q.setAttribute("aria-label",_),X.setAttribute("aria-label",`back from ${_}`)}function z(_){let S=Z6("view-action",A0(_.icon),_.label),{hint:f,pressed:L}=_,I=f?()=>[_.label,f()].filter(Boolean).join(" · "):_.label;if(J.tooltip(S,I),S.addEventListener("click",()=>_.run()),L){let N=()=>S.setAttribute("aria-pressed",L()?"true":"false");if(N(),_.watch)W.push(_.watch(N))}return S}function M(){J.hide();let _=G;G=null,C=null;for(let S of W.splice(0))S();_?.()}function U(_){if(C?.id===_.id)return;if(C)M();else K=sn();q.replaceChildren(),q.scrollTop=0,C=_,t6(Q,_.layout),B(_.title),Y.replaceChildren(...(_.actions??[]).map(z));let S=_.mount(q);G=typeof S==="function"?S:null,$.uncover(),$.openPanel(),$.render(),X.focus({preventScroll:!0}),HX(_.id)}function F(){if(!C)return;let _=H();if(M(),$.render(),!Q.classList.contains("leaving"))q.replaceChildren();if(_)(K instanceof HTMLElement&&nn(K)?K:$.home).focus({preventScroll:!0});K=null,HX(null)}function P(){if(C?.back)C.back();else F()}let D={node:Q,open:U,close:F,drop(){if(!C)return;M(),K=null,HX(null)},retitle(_,S){if(C?.id===_)B(S)},show(_){if(C?.id!==_)return;$.uncover(),$.openPanel(),$.render()},view:()=>C?.id??null,focus(){if(C)X.focus({preventScroll:!0});return C!==null},escape(){if(C&&C.escape?.()!==!0)P()},landed(){if(!C)q.replaceChildren()},destroy(){if(C)M(),HX(null);if($8===D)$8=null}};return $8=D,D}var DE=340,BB,$8=null;var Y5=u(()=>{t0();r1();BB=new Set});function w7($){if(/[/+]json\b/i.test($))return"json";if(/html|[/+]xml\b|\/svg/i.test($))return"html";if(/\/css\b/i.test($))return"css";return/(java|ecma)script/i.test($)?"js":"text"}function Qa($,j,J){let Q=$[$.length-1];if(Q&&Q[0]===j)Q[1]+=J;else $.push([j,J])}function Za($,j,J){for(let[Q,Z]of J){Q.lastIndex=j;let X=Q.exec($);if(!X||X[0]==="")continue;let V=X[0];return[typeof Z==="function"?Z(V,$.slice(j+V.length,j+V.length+64)):Z,V]}return null}function PX($,j,J,Q){let Z=[],X=!1,V=0;while(V<$.length){let Y=Za($,V,X&&J?J:j),[q,C]=Y??["",$.charAt(V)];if(Qa(Z,q,C),Q)X=Q(C,X);V+=C.length}return Z}function Xa($,j){if(j==="json")return PX($,an);if(j==="js")return PX($,tn);if(j==="css"){let J=0;return PX($,en,$a,(Q)=>{if(Q==="{")J++;else if(Q==="}")J=Math.max(0,J-1);return J>0})}if(j==="html")return PX($,ja,Ja,(J,Q)=>Q?!/>$/.test(J):/^<[\w/]/.test(J));return $===""?[]:[["",$]]}function RE($,j){let J=[[]];for(let[Q,Z]of Xa($,j))Z.split(`
788
+ `).forEach((V,Y)=>{if(Y>0)J.push([]);if(V!=="")J[J.length-1]?.push([Q,V])});return J}function AE($){let j=/^[ \t]*/.exec($)?.[0]??"";return j.length+(j.split("\t").length-1)}function MB($){if(typeof $==="string")return["str",JSON.stringify($)];if(typeof $==="number")return["num",String($)];if($===null||typeof $==="boolean")return["kw",String($)];return["",String($)]}function FB($){return typeof $==="object"&&$!==null}function zB($){return Array.isArray($)?$.map((j,J)=>[String(J),j]):Object.entries($)}function Ya($){if(Array.isArray($))return`Array(${$.length})`;return FB($)?"{…}":MB($)[1]}function TE($,j=Va){let J=Array.isArray($),[Q,Z]=J?["[","]"]:["{","}"],X="";for(let[V,Y]of zB($)){let q=`${X===""?"":", "}${J?"":`${V}: `}${Ya(Y)}`;if(Q.length+X.length+q.length+Z.length>j)return`${Q}${X}${X===""?"":", "}…${Z}`;X+=q}return`${Q}${X}${Z}`}var _X,HB,an,on="const|let|var|function|return|if|else|for|while|do|switch|case|break|continue|new|class|extends|import|export|from|default|async|await|try|catch|finally|throw|typeof|instanceof|in|of|this|null|undefined|true|false|void|delete|yield|super|static",tn,en,$a,ja,Ja,Va=100;var IX=u(()=>{_X=/"(?:[^"\\\n]|\\.)*"?|'(?:[^'\\\n]|\\.)*'?/y,HB=/\/\*[\s\S]*?(?:\*\/|$)/y,an=[[/"(?:[^"\\\n]|\\.)*"?/y,($,j)=>/^\s*:/.test(j)?"key":"str"],[/-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/y,"num"],[/\b(?:true|false|null)\b/y,"kw"]],tn=[[/\/\/[^\n]*/y,"com"],[HB,"com"],[_X,"str"],[/`(?:[^`\\]|\\[\s\S])*`?/y,"str"],[/\b(?:0x[0-9a-f]+|\d[\d_]*(?:\.\d+)?(?:e[+-]?\d+)?)n?\b/iy,"num"],[new RegExp(`\\b(?:${on})\\b`,"y"),"kw"],[/[A-Za-z_$][\w$]*/y,""]],en=[[HB,"com"],[_X,"str"],[/@[\w-]+/y,"kw"],[/[^\s{},;/"'@]+/y,"tag"]],$a=[[HB,"com"],[_X,"str"],[/[^\s{};"']{1,256}(?=\s*\{)/y,"tag"],[/--[\w-]+|[a-zA-Z-]+(?=\s*:)/y,"key"],[/#[0-9a-fA-F]{3,8}\b|-?(?:\d+\.?\d*|\.\d+)(?:%|[a-zA-Z]+)?/y,"num"],[/![a-z]+/y,"kw"],[/[\w-]+/y,""]],ja=[[/<!--[\s\S]*?(?:-->|$)/y,"com"],[/<![^>]*>?/y,"tag"],[/<\/?[\w:-]+/y,"tag"],[/[^<]+/y,""]],Ja=[[/\/?>/y,"tag"],[_X,"str"],[/[^\s=>/"']+/y,"attr"]]});function PB($,j,J){let Q=()=>Array.from($.children).flatMap((Z)=>{let X=j.find((V)=>V.node===Z);return X&&!X.node.hidden?[X]:[]});return $.addEventListener("keydown",(Z)=>{if(Z.altKey||Z.ctrlKey||Z.metaKey)return;let X=Q(),V=X.findIndex((C)=>C.node===Z.target),Y=V<0?null:UZ(Z.key,V,X.length),q=Y===null?void 0:X[Y];if(!q)return;Z.preventDefault(),q.node.focus(),J(q.value)}),(Z)=>{let X=Q(),V=X.some((Y)=>Y.value===Z);for(let Y of j){let q=Y.value===Z;s1(Y.node,q,"aria-checked"),Y.node.tabIndex=q||!V&&Y===X[0]?0:-1}}}function X6($){let j=T("div","seg");j.setAttribute("role","radiogroup"),j.setAttribute("aria-label",$.label);let J=$.options.map((Z)=>{let X=z0("seg-item",Z.label);return X.setAttribute("role","radio"),X.addEventListener("click",()=>$.onChange(Z.value)),j.append(X),{node:X,value:Z.value}}),Q=PB(j,J,$.onChange);if($.value!==void 0)Q($.value);return{node:j,items:J,set:Q}}var DX=u(()=>{t0();y2()});function i$($){let j=e6("filter",$.placeholder,$.label??$.placeholder);return j.addEventListener("input",()=>$.onInput(j.value)),{node:j,clear(){if(j.value==="")return!1;return j.value="",$.onInput(""),!0}}}function j8($){let j=T("div","toolbar");return j.append(...$),j}function OE($){let j=z0("tool","");j.append(A0($.icon)),j.setAttribute("aria-label",$.label),j.addEventListener("click",()=>$.onPress());let J=(Q)=>s1(j,Q);return J($.on),{node:j,set:J}}function M1($){return T("div","empty",$)}function EE($,j){let J=z0("empty empty-action",$);return J.addEventListener("click",()=>j()),J}function r$($){let j=z0("main",""),J=T("span","turn");J.append(A0("chevron-left"));let{box:Q,label:Z}=I2({main:j,glyph:J,title:$.label,ends:$.ends});if($.glyph)j.insertBefore($.glyph,Z);let X=T("div","fold"),V=T("div","fold-body");X.append(V),Q.append(X);let Y=!1,q=!1,C=(G)=>{Y=G,Q.className=`row${G?" open":""}${q?" still":""}`,X.inert=!G,j.setAttribute("aria-expanded",G?"true":"false")};return j.addEventListener("click",()=>{if(q=V.scrollHeight>SE,C(!Y),$.onToggle?.(Y),Y&&V.scrollHeight>SE)q=!0,C(!0)}),C($.open),{node:Q,main:j,label:Z,body:V,set:C}}function k7($){let j=T("div","branch");return j.append(...$),j}function qa($,j,J){let Q=J.value!==void 0;if(j.className=`${j.className} cell-name${Q?" columned":""}${J.quiet?" quiet":""}`,j.title=J.name,J.index!==void 0)$.insertBefore(T("span","cell-index",J.index),j);if(J.value!==void 0)$.append(T("span","cell-value",J.value));if(J.end!==void 0&&J.end!=="")$.append(T("span","cell-end",J.end))}function V6($){let j=T("div","cells-head");if(j.setAttribute("aria-hidden","true"),j.append(T("span","cell-lead")),$.index!==void 0)j.append(T("span","cell-index",$.index));if(j.append(T("span",`cell-name${$.value!==void 0?" columned":""}`,$.name)),$.value!==void 0)j.append(T("span","cell-value",$.value));if($.end!==void 0&&$.end!=="")j.append(T("span","cell-end",$.end));return j}function Y6($){let j=r$({label:$.name,open:$.open,onToggle:$.onToggle});return qa(j.main,j.label,$),j}function L0($){return T("div","note",$)}function xE($,j){let J=z0("note note-button",$);return J.addEventListener("click",j),J}function LX($){let j=T("div","group");j.setAttribute("role","group"),j.setAttribute("aria-label",$.label);let J=T("div","group-head");return J.append(T("span","group-label",$.label),...$.ends??[]),j.append(J),j}function e0($){let j=T("div","stack");return j.append(...$),j}function F1($){let j=T("div","chips"),J=$.map((Q)=>{let Z=z0("chip",Q.label);return Z.addEventListener("click",()=>Q.run()),j.append(Z),Z});return{node:j,buttons:J}}function y7($){let j=e6("field-line",$.placeholder,$.label??$.placeholder);return j.value=$.value??"",j.addEventListener("keydown",(J)=>{if(J.key==="Enter"&&!J.isComposing)$.onEnter?.()}),j}function fE($){let j=document.createElement("textarea");j.className="field field-area",j.value=$.value??"",j.placeholder=$.placeholder??"",j.spellcheck=!1,j.setAttribute("aria-label",$.label);let J=()=>{j.rows=Math.min(Math.max(j.value.split(`
789
+ `).length,2),Ca)};return J(),j.addEventListener("input",J),j.addEventListener("keydown",(Q)=>{if(Q.key==="Enter"&&(Q.metaKey||Q.ctrlKey))Q.preventDefault(),$.onSave?.()}),j}function Z2($){let j=T("dl","pairs"),J=$.map(([Q,Z])=>{let X=[T("dt","pair-name",Q),T("dd","pair-value",typeof Z==="string"?Z:void 0)];if(typeof Z!=="string")X[1]?.append(Z);return j.append(...X),{name:Q,value:typeof Z==="string"?Z:Z.textContent??"",cells:X}});return{node:j,keep(Q){let Z=0;for(let X of J){let V=Q(X.name,X.value);if(V)Z++;for(let Y of X.cells)Y.hidden=!V}return Z}}}function NX($){let j=T("div","code"),J=$.text.split(`
790
+ `),Q=$.lines!==void 0&&J.length>$.lines,Z=T("pre","code-text",Q?J.slice(0,$.lines).join(`
791
+ `):$.text);if(j.append(Z),Q){let V=z0("chip code-all","show all");V.addEventListener("click",()=>{Z.textContent=$.text,V.remove()}),j.append(V)}let X=null;if(J.some((V)=>V.length>Ga)){let V=z0("chip code-wrap","wrap"),Y=!0;s1(V,Y),V.addEventListener("click",()=>{Y=!Y,s1(V,Y),Z.classList.toggle("nowrap",!Y)}),X=V}return{node:j,wrap:X}}function _B($){let j=T("div","knob knob-switch"),J=z0("switch","");J.setAttribute("role","switch"),J.setAttribute("aria-label",$.label);let Q=!1,Z=(X)=>{Q=X,s1(J,X,"aria-checked")};return J.addEventListener("click",()=>{Z(!Q),$.onChange(Q)}),Z($.on),j.append(T("span","knob-label",$.label),J),{node:j,control:J,set:Z}}function RX($){let j=T("div","ask"),J=F1([{label:$.confirm,run:$.onConfirm},{label:"cancel",run:$.onCancel}]);return j.append(L0($.text),J.node),{node:j,buttons:J.buttons}}function bE($){let j=`dk-tabs-${++Wa}`,J=T("div","tabs");J.setAttribute("role","tablist"),J.setAttribute("aria-label",$.label);let Q=T("div","tab-panel");Q.setAttribute("role","tabpanel"),Q.tabIndex=0,Q.id=`${j}-panel`;let Z=$.options.map((X,V)=>{let Y=z0("tab",X.label);return Y.id=`${j}-${V}`,Y.setAttribute("role","tab"),Y.setAttribute("aria-controls",Q.id),Y.addEventListener("click",()=>$.onChange(X.value)),J.append(Y),{node:Y,value:X.value}});return J.addEventListener("keydown",(X)=>{if(X.altKey||X.ctrlKey||X.metaKey)return;if(!["ArrowLeft","ArrowRight","Home","End"].includes(X.key))return;let V=Z.filter((G)=>!G.node.hidden),Y=V.findIndex((G)=>G.node===X.target),q=Y<0?null:UZ(X.key,Y,V.length),C=q===null?void 0:V[q];if(!C)return;X.preventDefault(),C.node.focus(),$.onChange(C.value)}),{node:J,items:Z,panel:Q,set(X){for(let V of Z){let Y=V.value===X;if(V.node.classList.toggle("on",Y),V.node.setAttribute("aria-selected",Y?"true":"false"),V.node.tabIndex=Y?0:-1,!Y)continue;Q.setAttribute("aria-labelledby",V.node.id);let q=V.node.offsetLeft,C=V.node.offsetWidth;if(typeof q!=="number"||typeof C!=="number")continue;if(q<J.scrollLeft)J.scrollLeft=q;else if(q+C>J.scrollLeft+J.clientWidth)J.scrollLeft=q+C-J.clientWidth}}}}function wE($){let j=T("div","sect"),J=T("div","sect-top"),Q=z0("sect-head",""),Z=T("span","sect-turn");if(Z.append(A0("chevron-left",12)),Q.append(Z,T("span","sect-label",$.label)),$.count!==void 0)Q.append(T("span","sect-count",$.count));J.append(Q,...$.ends??[]);let X=T("div","sect-body");X.id=`dk-sect-${++Ka}`,Q.setAttribute("aria-controls",X.id),j.append(J,X);let V=!1,Y=(q)=>{V=q,Q.setAttribute("aria-expanded",q?"true":"false"),X.hidden=!q};return Q.addEventListener("click",()=>{Y(!V),$.onToggle?.(V)}),Y($.open),{node:j,head:Q,body:X,set:Y}}function v7($,j,J){let Q=z0("act",$);if(Q.addEventListener("click",j),J!==void 0)s1(Q,J);return Q}function kE($){return $.map(([j,J])=>j===""?J:T("span",`tok-${j}`,J))}function J8($){let j=T("div","src"),J=RE($.text,$.lang??"text"),Q=$.text.split(`
792
+ `);return J.forEach((Z,X)=>{let V=T("div","src-line"),Y=T("span","src-num",String(X+1));Y.setAttribute("aria-hidden","true");let q=T("span","src-text");q.append(...kE(Z));let C=AE(Q[X]??"")+2;q.style.paddingLeft=`${C}ch`,q.style.textIndent=`-${C}ch`,V.append(Y,q),j.append(V)}),j}function yE($,j,J){let Q=$===null?[]:[T("span","tok-key",$),": "];if(!FB(j)){let G=T("div","json-leaf");return G.append(...Q,...kE([MB(j)])),G}let Z=T("div","json-node"),X=z0("json-head",""),V=T("span","sect-turn");V.append(A0("chevron-left",12)),X.append(V,...Q,T("span","json-preview",TE(j)));let Y=T("div","json-kids");Z.append(X,Y);let q=!1,C=(G)=>{if(G&&!q)q=!0,Y.append(...zB(j).map(([W,K])=>yE(W,K,!1)));X.setAttribute("aria-expanded",G?"true":"false"),Y.hidden=!G};return X.addEventListener("click",()=>C(X.getAttribute("aria-expanded")!=="true")),C(J),Z}function IB($){let j=T("div","json");return j.append(yE(null,$,!0)),j}var SE=1200,Ca=14,Ga=80,Wa=0,Ka=0;var g2=u(()=>{t0();r1();y2();IX();t0();DX()});function za($){return $!==""&&$!=="none"&&$!=="normal"}function Pa($){let j=$.ownerDocument.defaultView;if(!j)return[];let J=[];try{if(j.getComputedStyle($).display.includes("list-item")){if(j.getComputedStyle($,"::marker").content!=="none")J.push("::marker")}for(let Q of["::before","::after"]){let Z=j.getComputedStyle($,Q);if(za(Z.content)&&Z.display!=="none")J.push(Q)}}catch{}return J}function q6($){return $.nodeType===LB}function Ia($){return $.nodeType===cE&&"host"in $}function dE($){return $.nodeType===RB}function Da($){return $.nodeType===pE}function AX($){return q6($)&&$.hasAttribute("data-devknobs")}function AB($){return $.startsWith("data-devknobs")}function TX($){if(Ia($))return $.host;return $.parentNode}function DB($){return $.replace(/\s+/g," ").trim()}function hE($,j){let J=[...$];return J.length<=j?$:`${J.slice(0,j-1).join("")}…`}function La($){return v2($,$.startsWith("data:")?Ha:Ua)}function uE($){return $.localName||$.nodeName.toLowerCase()}function lE($){let j=$.publicId?` PUBLIC "${$.publicId}"`:"",J=$.systemId?`${j?"":" SYSTEM"} "${$.systemId}"`:"";return`<!DOCTYPE ${$.name}${j}${J}>`}function Na($=_a){let j=null,J=new WeakMap,Q=new WeakMap,Z=new WeakSet,X=new WeakSet;function V(U){let F=Q.get(U);if(!F)F=$.pseudos(U),Q.set(U,F);return F}function Y(U){switch(U.nodeType){case LB:return!AX(U);case g7:return DB(U.nodeValue??"")!=="";case NB:case RB:return!0;default:return!1}}function q(U){let F=J.get(U);if(F)return F;let P=[],D=q6(U)?U:null,_=D?V(D):[];if(D?.shadowRoot)P.push({node:D.shadowRoot,pseudo:null});if(D){for(let S of _)if(S!=="::after")P.push({node:D,pseudo:S})}for(let S of Array.from(U.childNodes))if(Y(S))P.push({node:S,pseudo:null});if(D&&_.includes("::after"))P.push({node:D,pseudo:"::after"});return J.set(U,P),P}function C(U){if(U.shadowRoot)return null;let F=U.childNodes,P=F[0];if(F.length!==1||!P||P.nodeType!==g7)return null;let D=DB(P.nodeValue??"");if(D===""||D.length>Ba)return null;return V(U).length===0?D:null}function G(U){if(q6(U)&&C(U)!==null)return!1;return q(U).length>0}function W(U,F,P){let D=q(U),_=X.has(U)?D.length:Math.min(D.length,vE);for(let S=0;S<_;S++){let f=D[S];if(f)K(f,F,P)}if(_<D.length)P.push({kind:"more",node:U,pseudo:null,depth:F,more:D.length-_})}function K({node:U,pseudo:F},P,D){let _=(S)=>({kind:S,node:U,pseudo:F,depth:P,more:0});if(F!==null){D.push(_("pseudo"));return}switch(U.nodeType){case LB:if(D.push(_("open")),Z.has(U)&&G(U))W(U,P+1,D),D.push(_("close"));return;case cE:if(D.push(_("shadow")),Z.has(U))W(U,P+1,D);return;case g7:D.push(_("text"));return;case NB:D.push(_("comment"));return;case RB:D.push(_("doctype"))}}function H(U){let F=uE(U),P=[["tag",`<${F}`]];for(let _ of Array.from(U.attributes)){if(AB(_.name))continue;if(P.push([""," "],["attr",_.name,_.name]),_.value!=="")P.push(["tag",'="',_.name],["val",La(_.value),_.name],["tag",'"',_.name])}if(Fa.has(F)&&U.namespaceURI==="http://www.w3.org/1999/xhtml")return P.push(["tag",">"]),P;let D=C(U);if(D!==null)P.push(["tag",">"],["text",D],["tag",`</${F}>`]);else if(!G(U))P.push(["tag",`></${F}>`]);else if(Z.has(U))P.push(["tag",">"]);else P.push(["tag",">"],["","…"],["tag",`</${F}>`]);return P}function B(U){let{node:F}=U;switch(U.kind){case"open":return q6(F)?H(F):[];case"close":return q6(F)?[["tag",`</${uE(F)}>`]]:[];case"text":return[["text",`"${hE(DB(F.nodeValue??""),gE)}"`]];case"comment":return[["com",`<!--${hE(F.nodeValue??"",gE)}-->`]];case"doctype":return dE(F)?[["doc",lE(F)]]:[];case"shadow":return[["","#shadow-root (open)"]];case"pseudo":return[["tag",U.pseudo??""]];case"more":return[["",`Show all nodes (${U.more} more)`]]}}function z(U){j=U,J=new WeakMap,Q=new WeakMap,Z=new WeakSet,X=new WeakSet;let F=U?.documentElement;if(F)Z.add(F);if(U?.body)Z.add(U.body)}function M(U){let F=[],P=U;while(P&&P.nodeType!==pE){if(AX(P))return!1;F.unshift(P),P=TX(P)}if(!P||P!==j)return!1;let D=P;for(let _ of F){let S=q(D).findIndex((f)=>f.node===_&&f.pseudo===null);if(S<0)return!1;if(S>=vE)X.add(D);if(_!==U)Z.add(_);D=_}return!0}return{root:()=>j,setRoot:z,children:q,inlineText:C,expandable:G,isExpanded:(U)=>Z.has(U),setExpanded(U,F){if(F)Z.add(U);else Z.delete(U)},showAll:(U)=>X.add(U),forget(U){if(J.delete(U),q6(U))Q.delete(U)},reveal:M,rows(){let U=[];if(j)W(j,0,U);return U},pieces:B}}function SX($){return $.kind!=="close"&&$.kind!=="more"}function Ra($,j){let J=$[j];if(!J)return null;for(let Q=j-1;Q>=0;Q--){let Z=$[Q];if(Z&&Z.depth===J.depth-1&&SX(Z))return Q}return null}function Aa($,j,J,Q){let Z=j.map((q,C)=>SX(q)?C:-1).filter((q)=>q>=0),X=Z.indexOf(J),V=j[J],Y=(q)=>q===void 0||q===J?null:{kind:"select",at:q};switch($){case"ArrowDown":return Y(Z[X<0?0:X+1]);case"ArrowUp":return Y(Z[X<0?0:X-1]);case"Home":return Y(Z[0]);case"End":return Y(Z[Z.length-1]);case"ArrowRight":if(!V||!Q.expandable(V.node)||V.kind==="pseudo")return null;if(!Q.isExpanded(V.node))return{kind:"expand",node:V.node};return Y(Z[X+1]);case"ArrowLeft":if(!V)return null;if(V.kind!=="pseudo"&&Q.expandable(V.node)&&Q.isExpanded(V.node))return{kind:"collapse",node:V.node};return Y(Ra(j,J)??void 0);default:return null}}function TB($){for(let j=$;j;j=TX(j))if(q6(j))return j;return null}function mE($){if(q6($)){let j=$.cloneNode(!0);if(!q6(j))return"";for(let J of Array.from(j.querySelectorAll("[data-devknobs]")))J.remove();for(let J of[j,...Array.from(j.querySelectorAll("*"))])for(let Q of Array.from(J.attributes))if(AB(Q.name))J.removeAttribute(Q.name);return j.outerHTML}if($.nodeType===g7)return $.nodeValue??"";if($.nodeType===NB)return`<!--${$.nodeValue??""}-->`;if(dE($))return lE($);return""}function Sa($){return $.kind==="pseudo"?$.pseudo??"":$.kind}function Oa($){return $!==null&&"classList"in $}function iE($,j=Na()){let J=`dk-dom-${++Ta}`,Q=T("div","dom"),Z=T("div","dom-tree");Z.setAttribute("role","tree"),Z.setAttribute("aria-label","DOM tree"),Z.tabIndex=0,Q.append(Z),Q.hidden=!0;let X=[],V=[],Y=new WeakMap,q=null,C=new Map,G=0,W=0,K=0,H=!1,B=typeof MutationObserver>"u"?null:new MutationObserver(k);function z(R){Y.delete(R)}function M(R){if(!q||!SX(R))return!1;return R.node===q.node&&(R.kind==="pseudo"?R.pseudo===q.pseudo:q.pseudo===null)}function U(R){let y=T("span","dom-code"),i=C.get(R.node);for(let[n,$0,X0]of j.pieces(R)){let M0=n===""?T("span","",$0):T("span",`tok-${n}`,$0);if(X0!==void 0&&i?.has(X0))M0.classList.add("dom-flash");y.append(M0)}return y}function F(R,y){R.node.classList.toggle("on",y),R.node.setAttribute("aria-selected",y?"true":"false");for(let X0 of R.marks)X0.remove();if(R.marks=[],!y)return;let i=T("span","dom-ref"," == $0");i.setAttribute("aria-hidden","true");let n=R.row.node,$0=v7("copy",()=>$.copy(mE(n)));$0.setAttribute("aria-label","Copy element"),R.code.append(i,$0),R.marks=[i,$0]}function P(R,y){let i=T("div",`dom-row dom-${R.kind}`);if(i.style.paddingLeft=`calc(var(--view-start) + ${R.depth} * var(--col-icon))`,R.kind==="more")return i.setAttribute("role","none"),i.append(v7(j.pieces(R)[0]?.[1]??"",()=>{j.showAll(R.node),z(R.node),f()})),{node:i,turn:i,code:i,row:R,open:y,marks:[]};let n=T("span","sect-turn dom-turn");n.setAttribute("aria-hidden","true");let $0=R.kind!=="close"&&R.kind!=="pseudo"&&j.expandable(R.node);if($0)n.append(A0("chevron-left",12)),n.addEventListener("click",(x)=>{x.stopPropagation(),c(R.node,!j.isExpanded(R.node))});let X0=U(R);if(i.append(n,X0),R.kind==="close")i.setAttribute("aria-hidden","true");else if(i.id=`${J}-${++G}`,i.setAttribute("role","treeitem"),i.setAttribute("aria-level",String(R.depth+1)),$0)i.setAttribute("aria-expanded",y?"true":"false");let M0={node:i,turn:n,code:X0,row:R,open:y,marks:[]};if(F(M0,M(R)),C.has(R.node)&&C.get(R.node)===null)i.classList.add("dom-flash");let T0=TB(R.node);return i.addEventListener("pointerenter",()=>$.outline(T0)),i.addEventListener("click",()=>g(R)),M0}function D(R){let y=Y.get(R.node);if(!y)y=new Map,Y.set(R.node,y);let i=Sa(R),n=y.get(i),$0=j.isExpanded(R.node);if(n&&n.row.depth===R.depth&&n.open===$0&&n.row.more===R.more)return n;let X0=P(R,$0);return y.set(i,X0),X0}function _(R){return D(R).node}function S(){if(!B)return;B.disconnect();let R=j.root();if(!R)return;let y=new Map([[R,{childList:!0}]]),i=(n,$0)=>y.set(n,{...y.get(n),...$0});for(let n of X)if(n.kind==="open"){i(n.node,{attributes:!0,childList:!0});let $0=n.node.firstChild;if($0&&$0.nodeType===g7&&$0===n.node.lastChild)i($0,{characterData:!0})}else if(n.kind==="shadow")i(n.node,{childList:!0});else if(n.kind==="text"||n.kind==="comment")i(n.node,{characterData:!0});for(let[n,$0]of y)try{B.observe(n,$0)}catch{}}function f(){clearTimeout(W),W=0,X=j.rows();let R=X.map(_);C=new Map;let y=R.length===V.length&&R.every((i,n)=>i===V[n]);if(!y)Z.replaceChildren(...R),V=R;if(L(),!y)S()}function L(){let R=X[I()],y=R?_(R):null;Z.setAttribute("aria-activedescendant",y?.id??"")}function I(){return X.findIndex((R)=>M(R))}function N(){if(K)window.cancelAnimationFrame(K);K=0}function A(R){let y=R.turn.offsetLeft,i=R.turn.offsetWidth,n=Q.clientWidth;if(typeof y!=="number"||typeof i!=="number"||typeof n!=="number")return;if(y>=Q.scrollLeft&&y<=Q.scrollLeft+n*2/3)return;Q.scrollLeft=Math.max(0,y-i)}function E(R,y=!0){N();let i=X[I()];if(!i)return;let n=Q.clientHeight;if(n===0){if(y)K=window.requestAnimationFrame(()=>{K=0,E(R,!1)});return}let $0=D(i);A($0);let X0=$0.node.offsetTop,M0=$0.node.offsetHeight;if(typeof X0!=="number"||typeof M0!=="number"||typeof n!=="number")return;if(X0>=Q.scrollTop&&X0+M0<=Q.scrollTop+n)return;if(R)Q.scrollTop=Math.max(0,X0-(n-M0)/2);else Q.scrollTop=X0<Q.scrollTop?X0:X0+M0-n}function b(R){for(let y of Y.get(R)?.values()??[])if(SX(y.row))F(y,M(y.row))}function w(R){let y=q;if(q=R,y)b(y.node);if(R)b(R.node)}function g(R){let y=R.kind==="close"?{node:R.node,pseudo:null}:{node:R.node,pseudo:R.pseudo};w(y),L(),E(!1),$.select(y.node,y.pseudo)}function c(R,y){if(y)j.forget(R);j.setExpanded(R,y),z(R),f()}function v(R){if(R.altKey)return;if((R.metaKey||R.ctrlKey)&&R.key.toLowerCase()==="c"){if(!q)return;R.preventDefault(),$.copy(mE(q.node));return}if(R.metaKey||R.ctrlKey)return;let y=Aa(R.key,X,I(),j);if(!y)return;if(R.preventDefault(),y.kind==="select"){let i=X[y.at];if(i)g(i);return}c(y.node,y.kind==="expand")}function O(){$.outline(null)}function m(R){if(Oa(R.target))R.target.classList.remove("dom-flash")}Z.addEventListener("keydown",v),Z.addEventListener("pointerleave",O),Z.addEventListener("animationend",m);function k(R){if(H)return;let y=!1,i=(n,$0)=>{if($0===null){C.set(n,null);return}let X0=C.get(n);if(X0===null)return;C.set(n,new Set([...X0??[],$0]))};for(let n of R){let $0=n.target;if(n.type==="childList"){let X0=[...Array.from(n.addedNodes??[]),...Array.from(n.removedNodes??[])];if(X0.length>0&&X0.every(AX))continue;j.forget($0),z($0);for(let M0 of Array.from(n.addedNodes??[]))if(!AX(M0))i(M0,null);y=!0}else if(n.type==="attributes"){let X0=n.attributeName??"";if(AB(X0))continue;j.forget($0),z($0),i($0,X0),y=!0}else if(n.type==="characterData"){z($0);let X0=$0.parentNode;if(X0)j.forget(X0),z(X0);i($0,null),y=!0}}if(y&&!W)W=window.setTimeout(f,Ma)}function l(R,y=null){if(!R){B?.disconnect(),clearTimeout(W),W=0,N(),j.setRoot(null),Y=new WeakMap,q=null,X=[],V=[],Z.replaceChildren(),Q.hidden=!0;return}let i=Da(R)?R:R.ownerDocument;if(i!==j.root())j.setRoot(i),Y=new WeakMap;Q.hidden=!1;for(let n=TX(R);n;n=TX(n))j.forget(n),z(n);j.reveal(R),w({node:R,pseudo:y}),f(),E(!0)}return{node:Q,reveal:l,selected:()=>q?.node??null,destroy(){H=!0,B?.disconnect(),clearTimeout(W),W=0,N(),Z.removeEventListener("keydown",v),Z.removeEventListener("pointerleave",O),Z.removeEventListener("animationend",m),$.outline(null),q=null}}}var LB=1,g7=3,NB=8,pE=9,RB=10,cE=11,vE=500,Ba=80,Ua=100,Ha=60,gE=200,Ma=100,Fa,_a,Ta=0;var rE=u(()=>{t0();r1();g2();eZ();Fa=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]);_a={pseudos:Pa}});function aE($){return/[\w-]/.test($)||$>""}function fa($,j){let J=j+1;if(!sE.test($[J]??""))return J+1;for(let Q=0;Q<6&&sE.test($[J]??"");Q++)J++;return $[J]===" "?J+1:J}function OX($,j){let J=j;while(J<$.length){let Q=$[J]??"";if(Q==="\\")J=fa($,J);else if(aE(Q))J++;else break}return J}function EX($,j){let J=$[j],Q=j+1;while(Q<$.length&&$[Q]!==J)Q+=$[Q]==="\\"?2:1;return Q+1}function s$($,j){let J=0,Q=j;while(Q<$.length){let Z=$[Q];if(Z==="\\"){Q+=2;continue}if(Z==='"'||Z==="'"){Q=EX($,Q);continue}if(Z==="("||Z==="[")J++;else if(Z===")"||Z==="]")J--;if(Q++,J===0)break}return Q}function OB($){let j=[],J=0,Q=0;while(Q<$.length){let Z=$[Q];if(Z==="\\")Q+=2;else if(Z==='"'||Z==="'")Q=EX($,Q);else if(Z==="("||Z==="[")Q=s$($,Q);else{if(Z===",")j.push($.slice(J,Q)),J=Q+1;Q++}}return j.push($.slice(J)),j.map((Z)=>Z.trim()).filter((Z)=>Z.length>0)}function oE($,j){let J=$[j+1]===":",Q=j+(J?2:1),Z=OX($,Q),X=$.slice(Q,Z).toLowerCase(),V=Z,Y=null;if($[Z]==="(")V=s$($,Z),Y=$.slice(Z+1,$[V-1]===")"?V-1:V).trim();return{start:j,end:V,name:X,args:Y,element:J||Y===null&&Ea.has(X)}}function Q8($,j){return[$[0]+j[0],$[1]+j[1],$[2]+j[2]]}function h7($,j){return $[0]-j[0]||$[1]-j[1]||$[2]-j[2]}function SB($){let j=[0,0,0];for(let J of OB($)){let Q=xX(J);if(h7(Q,j)>0)j=Q}return j}function ba($){let{name:j,args:J}=$;if($.element)return j==="slotted"&&J?Q8([0,0,1],xX(J)):[0,0,1];if(J===null)return[0,1,0];if(j==="where")return[0,0,0];if(xa.has(j))return SB(J);if(j==="nth-child"||j==="nth-last-child"){let Q=J.search(/\sof\s/i);return Q<0?[0,1,0]:Q8([0,1,0],SB(J.slice(Q+4)))}if(j==="host"||j==="host-context")return Q8([0,1,0],SB(J));return[0,1,0]}function xX($){let j=[0,0,0],J=0;while(J<$.length){let Q=$[J]??"";if(Q==="#")j=Q8(j,[1,0,0]),J=OX($,J+1);else if(Q===".")j=Q8(j,[0,1,0]),J=OX($,J+1);else if(Q==="[")j=Q8(j,[0,1,0]),J=s$($,J);else if(Q===":"){let Z=oE($,J);j=Q8(j,ba(Z)),J=Math.max(Z.end,J+1)}else if(Q==="\\"||aE(Q)&&!/[\d]/.test(Q)){let Z=Math.max(OX($,J),J+1);if(!($[Z]==="|"&&$[Z+1]!=="|"))j=Q8(j,[0,0,1]);J=Z}else J++}return j}function tE($){let j=[],J=[],Q=0;while(Q<$.length){let Z=$[Q]??"";if(Z==="\\")Q+=2;else if(Z==="["||Z==="(")Q=s$($,Q);else if(Z===":"){let X=oE($,Q);j.push(X),Q=Math.max(X.end,Q+1)}else{if(/[\s>+~]/.test(Z))J.push(Q);Q++}}return{pseudos:j,combinators:J}}function nE($){return $===void 0||/[\s>+~]/.test($)}function wa($,j,J){let Q=nE($[j-1])&&nE($[J]);return`${$.slice(0,j)}${Q?"*":""}${$.slice(J)}`}function EB($){let j=$.trim(),J=j.startsWith("::")?2:j.startsWith(":")?1:0,Q=j.indexOf("(");return`::${(Q<0?j:j.slice(0,Q)).slice(J).toLowerCase()}${Q<0?"":j.slice(Q)}`}function ka($){let{pseudos:j,combinators:J}=tE($),Q=j.filter(({name:X})=>X==="host"||X==="host-context");if(Q.length===0||J.length>0)return null;let Z=$;for(let X of Q.reverse()){let V=":scope";if(X.args!==null&&X.name==="host")V=`:scope:is(${X.args})`;if(X.args!==null&&X.name==="host-context")V=`:scope:is(${X.args}, :is(${X.args}) *)`;Z=`${Z.slice(0,X.start)}${V}${Z.slice(X.end)}`}return Z}function eE($){let j=$.trim(),J=tE(j).pseudos.filter((V)=>V.element),Q=j,Z=null,X=null;for(let V of J.reverse()){if(V.name==="slotted"&&V.args!==null)X=V.args;else Z??=EB(j.slice(V.start,V.end));Q=wa(Q,V.start,V.end)}return{match:Q,pseudo:Z,slotted:X,host:X===null?ka(Q):null}}function xB($){let j=0;while(j<$.length){let J=$[j];if(J==="\\")j+=2;else if(J==="[")j=s$($,j);else if(J==='"'||J==="'")j=EX($,j);else if(J==="&")return!0;else j++}return!1}function ya($,j){let J="",Q=0;while(Q<$.length){let Z=$[Q]??"",X=Q+1;if(Z==="\\")X=Q+2;else if(Z==="[")X=s$($,Q);else if(Z==='"'||Z==="'")X=EX($,Q);J+=Z==="&"?j:$.slice(Q,X),Q=X}return J}function fB($,j){let J=$.trim(),Q=j===null?":scope":`:is(${j})`;if(xB(J))return ya(J,Q);if(j===null)return J;return`${Q} ${J}`}var Ea,xa,sE;var u7=u(()=>{Ea=new Set(["before","after","first-line","first-letter"]),xa=new Set(["is","not","has","matches","-webkit-any","-moz-any"]),sE=/[0-9a-f]/i});function jx($,j,J,Q){if(j!==Q)return j?1:-1;let Z=j?-1:1;if($.context!==J.context)return(J.context-$.context)*Z;if($.inline!==J.inline)return $.inline?1:-1;if($.layer!==J.layer)return($.layer-J.layer)*Z;return h7($.specificity,J.specificity)||$.order-J.order}function n$($){let j=new Map;for(let J of $)for(let Q of J.declarations)for(let Z of Q.longhands){let X=j.get(Z);if(!X||jx(J.source,Q.important,X.candidate.source,X.declaration.important)>=0)j.set(Z,{candidate:J,declaration:Q})}return j}function wB($,j){for(let J of $)for(let Q of J.declarations){let Z=Q.longhands.every((V)=>j.get(V)?.declaration!==Q);Q.overridden=Z;let X=j.get(Q.longhands[0]??"")?.candidate.id;if(Z&&X!==void 0)Q.overriddenBy=X}}function Jx($,j,J){for(let X of $)X.declarations=X.declarations.filter((V)=>V.longhands.some(J));let Q=$.filter((X)=>X.declarations.length>0),Z=n$(Q);for(let X of Q)for(let V of X.declarations){let Y=V.longhands.filter(J),q=Y.some((W)=>!j.has(W)&&Z.get(W)?.declaration===V);V.overridden=!q;let C=Y[0]??"",G=j.get(C)??Z.get(C)?.candidate.id;if(!q&&G!==void 0)V.overriddenBy=G}for(let[X,V]of Z)if(J(X)&&!j.has(X))j.set(X,V.candidate.id);return Q}function bB($,j){let J=j.trim().replace(/\s+/g," ");return $.startsWith("--")?J:J.toLowerCase()}function $x($,j){if($.startsWith("--"))return j!==""&&!j.includes("var(");if(ha.has(j))return!1;if($==="display")return ga.has(j);return va.has($)&&/^[a-z-]+$/.test(j)}function Qx($,j){let J=[...$];for(let Q=!0;Q;){Q=!1;for(let Z of[...J]){let X=Z.conditional;if(X?.kind!=="container"||X.confirmed)continue;let V=J.filter((q)=>q!==Z),Y=ua(Z,n$(J),n$(V),j);if(Y===null)continue;if(Q=!0,Y)X.confirmed=!0;else J=V}}return J}function ua($,j,J,Q){for(let[Z,X]of j){if(X.candidate!==$)continue;let V=bB(Z,$.value(Z));if(!$x(Z,V))continue;if(bB(Z,Q(Z))!==V)return!1;let Y=J.get(Z),q=Y?bB(Z,Y.candidate.value(Z)):null;if(q!==null&&q!==V&&$x(Z,q))return!0}return null}function Zx($){return[...$].sort((j,J)=>jx(J.source,!1,j.source,!1))}var va,ga,ha;var Xx=u(()=>{u7();va=new Set(["box-sizing","flex-direction","flex-wrap","object-fit","pointer-events","position","text-transform","visibility"]),ga=new Set(["none","block","flex","grid"]),ha=new Set(["inherit","initial","unset","revert","revert-layer"])});function O4($,j){return $.constructor.name===j}function vB($){return $.href??($.ownerNode?"<style>":"constructed")}function Gx($){let j=$.ownerNode;return j&&"hasAttribute"in j?j:null}function ma($,j){if(j)return j.split(".");return $.layers.anonymous+=1,[`(anonymous ${$.layers.anonymous})`]}function Vx($,j,J){let Q=[...j.layer,...ma($,J)];$.flat.layers.push({path:Q,conditions:j.conditions});let Z=[...j.context,J?`@layer ${J}`:"@layer"];return{...j,layer:Q,context:Z}}function pa($,j){if(j.parent!==null||!j.scope)return fB($,j.parent);let J=$.replace(/:scope(?![\w-])/gi,"&");return xB(J)?fB(J,j.scope.start):$}function ca($,j){let J=[];return{parts:OB($).map((Z)=>{let X=pa(Z,j);return J.push(X),{...eE(X),text:Z,specificity:xX(X)}}),resolved:J.join(", ")}}function Yx($,j,J,Q,Z){let{parts:X,resolved:V}=ca(Q,j);return $.flat.rules.push({rule:J,selectorText:Q,parts:X,context:j.context,conditions:j.conditions,layer:j.layer.join("."),scope:j.scope,conditional:j.conditional,origin:{sheet:$.sheet,owner:$.owner?e2($.owner):null,path:[...j.path,Z]},order:$.flat.rules.length}),V}function da($,j,J,Q){let Z={...j,path:[...j.path,Q]};if(O4(J,"CSSStyleRule")){let X=Yx($,j,J,J.selectorText,Q);if(J.cssRules?.length){let V=[...j.context,J.selectorText];q5($,{...Z,context:V,parent:X},J.cssRules)}}else if(O4(J,"CSSNestedDeclarations"))Yx($,j,J,"&",Q);else if(O4(J,"CSSImportRule")){if(!J.styleSheet)return;let X=Z;if(J.layerName!=null)X=Vx($,X,J.layerName);if(J.supportsText){let V=[...X.context,`@supports ${J.supportsText}`],Y={kind:"supports",text:J.supportsText};X={...X,context:V,conditions:[...X.conditions,Y]}}if(J.media.mediaText)X=kB(X,J.media,Iq(J));Wx({...$,sheet:vB(J.styleSheet)},X,J.styleSheet)}else if(O4(J,"CSSMediaRule"))q5($,kB(Z,J.media,Iq(J)),J.cssRules);else if(O4(J,"CSSSupportsRule")){let X=[...j.context,`@supports ${J.conditionText}`],V={kind:"supports",text:J.conditionText},Y=[...j.conditions,V];q5($,{...Z,context:X,conditions:Y},J.cssRules)}else if(O4(J,"CSSContainerRule")){let X=[...j.context,`@container ${J.conditionText}`];q5($,{...Z,context:X,conditional:"container"},J.cssRules)}else if(O4(J,"CSSLayerBlockRule"))q5($,Vx($,Z,J.name),J.cssRules);else if(O4(J,"CSSLayerStatementRule"))for(let X of J.nameList){let V=[...j.layer,...X.split(".")];$.flat.layers.push({path:V,conditions:j.conditions})}else if(O4(J,"CSSScopeRule")){let X=J.end?`(${J.start}) to (${J.end})`:`(${J.start})`,V=[...j.context,J.start?`@scope ${X}`:"@scope"],Y={start:J.start,end:J.end,around:$.owner?.parentElement??null},q=j.conditional??"scope";q5($,{...Z,context:V,scope:Y,conditional:q,parent:null},J.cssRules)}else if(O4(J,"CSSPropertyRule"))$.flat.registered.set(J.name,J.inherits)}function kB($,j,J){return{...$,context:[...$.context,`@media ${J}`],conditions:[...$.conditions,{kind:"media",list:j}]}}function q5($,j,J){for(let Q=0;Q<J.length;Q++){let Z=J[Q];if(!Z)continue;try{da($,j,Z,Q)}catch{$.flat.skipped+=1}}}function la($){if(typeof $!=="object"||$===null)return!1;return"name"in $&&$.name==="SecurityError"}function Wx($,j,J){if($.seen.has(J))return;$.seen.add(J);let Q;try{Q=J.cssRules}catch(Z){let X=la(Z)?"cross-origin":"unreadable";$.flat.hidden.push({sheet:vB(J),reason:X});return}q5($,j,Q)}function ia($){return[...Array.from($.styleSheets),...$.adoptedStyleSheets??[]]}function ra($){if(LP($))return!0;let j=Gx($);return j!==null&&U4(j)}function sa($,j){let J={rules:[],layers:[],hidden:[],registered:new Map,skipped:0};if(v$($)&&U4($.host))return J;let Q=new Set,Z={anonymous:0};for(let X of j)try{if(X.disabled||ra(X))continue;let V={flat:J,seen:Q,sheet:vB(X),owner:Gx(X),layers:Z},Y={context:[],conditions:[],layer:[],parent:null,scope:null,conditional:null,path:[]};if(X.media.mediaText)Y=kB(Y,X.media,X.media.mediaText);Wx(V,Y,X)}catch{J.skipped+=1}return J}function na($){return $.map((j)=>{try{return j.disabled?-2:j.cssRules.length}catch{return-1}})}function Cx($,j){return $.length===j.length&&$.every((J,Q)=>J===j[Q])}function gB(){yB+=1}function Kx($){let j=ia($),J=na(j),Q=qx.get($),Z=Q?.version===yB&&Cx(Q.sheets,j);if(Q&&Z&&Cx(Q.signature,J))return Q.flat;let X=sa($,j);return qx.set($,{version:yB,sheets:j,signature:J,flat:X}),X}function Bx($,j){let J={children:new Map};for(let X of $){if(!j(X.conditions))continue;let V=J;for(let Y of X.path){let q=V.children.get(Y);if(!q)q={children:new Map},V.children.set(Y,q);V=q}}let Q=new Map,Z=(X,V)=>{for(let[Y,q]of X.children)Z(q,V?`${V}.${Y}`:Y);Q.set(V,Q.size)};return Z(J,""),Q}var qx,yB=0;var hB=u(()=>{o3();j$();u7();g1();qx=new WeakMap});function aa($,j){let J=$[j],Q=j+1;while(Q<$.length&&$[Q]!==J)Q+=$[Q]==="\\"?2:1;return Q+1}function oa($){let j=[],J=null,Q="",Z=0,X=()=>{if(J!==null&&J.trim())j.push({name:J.trim(),value:Q.trim()});J=null,Q=""},V=0;while(V<$.length){let Y=$[V]??"",q=V+1;if(Y==="\\")q=V+2;else if(Y==='"'||Y==="'")q=aa($,V);else if(Y==="/"&&$[V+1]==="*"){let C=$.indexOf("*/",V+2);V=C<0?$.length:C+2;continue}else if(Y==="("||Y==="["||Y==="{")Z++;else if(Y===")"||Y==="]"||Y==="}")Z=Math.max(0,Z-1);else if(Z===0&&Y===";"){X(),V=q;continue}else if(Z===0&&Y===":"&&J===null){J=Q,Q="",V=q;continue}Q+=$.slice(V,q),V=q}return X(),j}function Hx($){return oa($).map(({name:j,value:J})=>{let Q=Ux.test(J);return{name:j.startsWith("--")?j:j.toLowerCase(),value:Q?J.replace(Ux,"").trim():J,important:Q}})}function Mx($){return[...new Set(X5($).map((j)=>j.name))]}function fX($){let j=[];for(let J=0;J<$.length;J++){let Q=$.item(J);if(Q)j.push(Q)}return j}function Fx($,j,J){if($.startsWith("--")||j.includes($))return[$];let Q=J($).filter((X)=>j.includes(X));if(Q.length>0)return Q;let Z=j.filter((X)=>X.startsWith(`${$}-`));return Z.length>0?Z:[$]}var Ux;var zx=u(()=>{oZ();Ux=/!\s*important\s*$/i});function Px($,j){if($.startsWith("--"))return j.get($)??!0;return ta.has($)}var ta;var _x=u(()=>{ta=new Set(`accent-color border-collapse border-spacing caption-side caret-color caret-shape clip-rule color
793
+ color-interpolation color-interpolation-filters color-rendering color-scheme cursor direction
794
+ dominant-baseline dynamic-range-limit empty-cells fill fill-opacity fill-rule font font-family
795
+ font-feature-settings font-kerning font-language-override font-optical-sizing font-palette font-size
796
+ font-size-adjust font-stretch font-style font-synthesis font-synthesis-position
797
+ font-synthesis-small-caps font-synthesis-style font-synthesis-weight font-variant
798
+ font-variant-alternates font-variant-caps font-variant-east-asian font-variant-emoji
799
+ font-variant-ligatures font-variant-numeric font-variant-position font-variation-settings font-weight
800
+ font-width forced-color-adjust hanging-punctuation hyphenate-character hyphenate-limit-chars hyphens
801
+ image-orientation image-rendering interactivity interpolate-size letter-spacing line-break line-height
802
+ list-style list-style-image list-style-position list-style-type marker marker-end marker-mid
803
+ marker-start math-depth math-shift math-style orphans overflow-wrap paint-order pointer-events
804
+ print-color-adjust quotes ruby-align ruby-position scrollbar-color shape-rendering speak stroke
805
+ stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity
806
+ stroke-width tab-size text-align text-align-last text-anchor text-autospace text-box-edge
807
+ text-combine-upright text-decoration-skip-ink text-emphasis text-emphasis-color text-emphasis-position
808
+ text-emphasis-style text-indent text-justify text-orientation text-rendering text-shadow
809
+ text-size-adjust text-spacing-trim text-transform text-underline-offset text-underline-position
810
+ text-wrap text-wrap-mode text-wrap-style visibility white-space white-space-collapse widows word-break
811
+ word-spacing word-wrap writing-mode -moz-osx-font-smoothing -webkit-border-horizontal-spacing
812
+ -webkit-border-vertical-spacing -webkit-font-smoothing -webkit-line-break -webkit-locale
813
+ -webkit-print-color-adjust -webkit-rtl-ordering -webkit-tap-highlight-color -webkit-text-fill-color
814
+ -webkit-text-orientation -webkit-text-size-adjust -webkit-text-stroke -webkit-text-stroke-color
815
+ -webkit-text-stroke-width -webkit-user-modify -webkit-writing-mode`.split(/\s+/))});function Ix($){let j=new Map,J=(Q,Z)=>{let X=j.get(Q);if(X===void 0){try{X=Z()}catch{X=!1}j.set(Q,X)}return X};return(Q)=>Q.every((Z)=>{if(Z.kind==="supports")return J(`s:${Z.text}`,()=>$.CSS.supports(Z.text));let X=Z.list.mediaText;return X===""||J(`m:${X}`,()=>$.matchMedia(X).matches)})}function ea($,j,J){if(J.kind==="host")return j.host!==null&&$.matches(j.host);if(J.kind==="slotted"){if(j.slotted===null)return!1;return $.matches(j.slotted)&&J.slot.matches(j.match)}return j.host===null&&j.slotted===null&&$.matches(j.match)}function $o($,j){let J=j.around;if(j.start!==null){J=$;while(J&&!J.matches(j.start))J=J.parentElement;if(!J)return!1}else if(J&&!J.contains($))return!1;if(j.end===null)return!0;for(let Q=$;Q&&Q!==J;){if(Q.matches(j.end))return!1;Q=Q.parentElement}return!0}function Dx($,j,J,Q,Z,X){let V=new Map;for(let Y of j){if(X?.(Y)||!Z.holds(Y.conditions))continue;let q=null;for(let C=0;C<Y.parts.length;C++){let G=Y.parts[C],W=G?.pseudo??"";if(!G||!Q.has(W))continue;try{if(!ea($,G,J))continue;if(Y.scope&&!$o($,Y.scope))continue}catch{Z.threw();continue}q??=new Map;let K=q.get(W);if(!K)K={flat:Y,matched:Y.parts.map(()=>!1),specificity:G.specificity},q.set(W,K);if(K.matched[C]=!0,h7(G.specificity,K.specificity)>0)K.specificity=G.specificity}if(!q)continue;for(let[C,G]of q){let W=V.get(C);if(W)W.push(G);else V.set(C,[G])}}return V}var Lx=u(()=>{u7()});function Jo($){let j=Rx.get($)??{style:null,known:new Map};return Rx.set($,j),(J)=>{let Q=j.known.get(J);if(Q)return Q;Q=[];try{j.style??=$.createElement("div").style,j.style.cssText="",j.style.setProperty(J,"initial"),Q=fX(j.style)}catch{}return j.known.set(J,Q),Q}}function Ox($,j){let J=$.cssText,Q=Ax.get($);if(!Q||Q.text!==J){let Z=fX($),X=Hx(J).map((V)=>({...V,longhands:Fx(V.name,Z,j.expand),variables:Mx(V.value)}));Q={text:J,declarations:X},Ax.set($,Q)}return Q.declarations.map((Z)=>({...Z,overridden:!1}))}function Ex($,j){let J=Kx(j);if(!$.ranks.has(J)){$.ranks.set(J,Bx(J.layers,$.checks.holds));for(let[Q,Z]of J.registered)$.registered.set(Q,Z)}return J}function Qo($,j,J,Q){let{rule:Z,parts:X,selectorText:V,origin:Y,conditional:q}=J.flat,C={context:Q,inline:!1,layer:$.ranks.get(j)?.get(J.flat.layer)??0,specificity:J.specificity,order:J.flat.order},G={kind:"rule",id:$.ids++,selectorText:V,selector:X.map((W,K)=>({text:W.text,matches:J.matched[K]===!0})),specificity:J.specificity,origin:Y,context:J.flat.context,declarations:Ox(Z.style,$),rule:Z};if(q)G.conditional={kind:q,confirmed:!1};return{id:G.id,source:C,declarations:G.declarations,value:(W)=>Z.style.getPropertyValue(W),conditional:G.conditional,block:G}}function Zo($){return"style"in $}function Tx($,j){if(!Zo(j))return null;let J=j.style,Q=Ox(J,$).filter((X)=>{let V=Lz(j,X.name);return V===null||V!==J.getPropertyValue(X.name)});if(Q.length===0)return null;let Z={kind:"inline",id:$.ids++,declarations:Q,element:j};return{id:Z.id,source:{context:0,inline:!0,layer:0,specificity:[0,0,0],order:0},declarations:Q,value:(X)=>J.getPropertyValue(X),block:Z}}function Sx($,j,J,Q){let Z=new Map,X=(Y,q,C)=>{let G=Ex($,Y),W=Dx(j,G.rules,q,J,$.checks,Q);for(let[K,H]of W){let B=Z.get(K)??[];Z.set(K,B);for(let z of H)B.push(Qo($,G,z,C))}};X(CS(j),{kind:"own"},0);let V=1;for(let Y=j.assignedSlot;Y;Y=Y.assignedSlot){let q=Y.getRootNode();if(v$(q))X(q,{kind:"slotted",slot:Y},V++)}if(j.shadowRoot)X(j.shadowRoot,{kind:"host"},V);return Z}function Xo($){return $.kind==="rule"}function uB($){return Zx($).map((j)=>{return j.block.declarations=j.declarations,j.block})}function Vo($){return $.flatMap((j)=>{if(j.kind==="pseudo")return[];return j.kind==="inherited"?j.blocks:[j]})}function xx($,j){let J={label:e2($),pseudo:j?EB(j):null},Q={target:J,blocks:[],hidden:[],variables:{},skipped:0},Z=$.ownerDocument,X=Z.defaultView;if(!X||U4($))return Q;let V={checks:{holds:Ix(X),threw:()=>V.threw++},expand:Jo(Z),ids:0,threw:0,ranks:new Map,registered:new Map};Ex(V,Z);let Y=null,q=(P)=>{return Y??=X.getComputedStyle($,J.pseudo),Y.getPropertyValue(P)},C=new Set(J.pseudo?[J.pseudo]:[bX,...Nx]),G=Sx(V,$,C),W=G.get(J.pseudo??bX)??[],K=J.pseudo?null:Tx(V,$);if(K)W.push(K);W=Qx(W,q);let H=n$(W);if(wB(W,H),Q.blocks.push(...uB(W)),!J.pseudo)for(let P of Nx){let D=G.get(P);if(!D)continue;wB(D,n$(D)),Q.blocks.push({kind:"pseudo",pseudo:P,blocks:uB(D).filter(Xo)})}let B=new Map;for(let[P,D]of H)B.set(P,D.candidate.id);let z=(P)=>Px(P,V.registered),M=(P)=>{return P.hands??=fX(P.rule.style).some(z),!P.hands},U=J.pseudo?$:Z5($);for(;U;U=Z5(U)){let P=Sx(V,U,jo,M).get(bX)??[],D=Tx(V,U);if(D)P.push(D);let _=Jx(P,B,z);if(_.length===0)continue;Q.blocks.push({kind:"inherited",from:e2(U),element:U,blocks:uB(_)})}let F={};for(let P of Vo(Q.blocks))for(let D of P.declarations){if(D.overridden)continue;for(let _ of D.variables)F[_]??={value:q(_).trim(),definedIn:B.get(_)??null}}Q.variables=F;for(let P of V.ranks.keys())Q.hidden.push(...P.hidden),Q.skipped+=P.skipped;return Q.skipped+=V.threw,Q}var bX="",Nx,jo,Rx,Ax;var fx=u(()=>{XJ();j$();Xx();hB();zx();_x();Lx();u7();hB();Nx=["::before","::after"],jo=new Set([bX]),Rx=new WeakMap;Ax=new WeakMap});function kx($){let j=$.ownerDocument.defaultView;if(!j||!$.isConnected)return null;let J=j.getComputedStyle($),Q=Kj(J);return{model:Q,...QH(Q,J,$.getBoundingClientRect())}}function Co($,j){return j==="position"?$.model.offsets:$.model[j]}function kX($,j){let J=Co($,j);if(!J)return null;return{top:A7(J.top),right:A7(J.right),bottom:A7(J.bottom),left:A7(J.left)}}function Go($){let j=(Q)=>Math.max(Yo,Q.length*bx+wx),J=Math.max(qo,T7($.width,$.height).length*bx+wx);for(let Q of m7){let Z=kX($,Q);if(Z)J+=j(Z.left)+j(Z.right)}return J}function Wo($){let j=[`box-sizing: ${$.boxSizing}`,`display: ${$.display}`];if($.position!=="static")j.push(`position: ${$.position}`);return j}function wX($,j){if($.textContent!==j)$.textContent=j}function yx($){let j=T("div","box-model"),J=T("div","bm-ring bm-content"),Q=T("div","bm-line"),Z=T("span","bm-name"),X=T("span","bm-values");Q.append(Z,X);let V=T("div","bm-facts"),Y=new Map,q=null,C=Number.POSITIVE_INFINITY,G=null,W=null,K="margin";function H(){return W??G}function B(){let D=q?kX(q,K):null,_=D??(q?kX(q,"margin"):null);wX(Z,D?K:"margin"),wX(X,_?q8.map((S)=>_[S]).join(" "):"")}function z(){let D=H();if(D&&D!=="content")K=D;$(D===null||D==="position"?null:D),B()}function M(D,_,S){D.tabIndex=0,D.setAttribute("role","group"),D.addEventListener("pointerenter",()=>{G=_,z()}),D.addEventListener("pointerleave",()=>{G=S,z()}),D.addEventListener("focus",()=>{W=_,z()}),D.addEventListener("blur",()=>{W=null,z()})}let U=J;M(J,"content","padding");for(let D of[...m7].reverse()){let _=T("div",`bm-ring bm-${D}`),S={top:T("span","bm-v bm-top"),right:T("span","bm-v bm-right"),bottom:T("span","bm-v bm-bottom"),left:T("span","bm-v bm-left")},f=T("span","bm-name",D);f.setAttribute("aria-hidden","true"),_.append(f,S.top,S.left,U,S.right,S.bottom);let L=m7[m7.indexOf(D)-1]??null;M(_,D,L),Y.set(D,{node:_,values:S}),U=_}j.append(U,Q,V),j.setAttribute("role","group"),j.setAttribute("aria-label","box model");function F(){j.classList.toggle("narrow",q!==null&&Go(q)>C)}function P(D){if(q=D,!D)return;for(let S of m7){let f=Y.get(S);if(!f)continue;let L=kX(D,S);f.node.classList.toggle("off",L===null),f.node.tabIndex=L===null?-1:0;for(let N of q8)wX(f.values[N],L?L[N]:"");let I=L?q8.map((N)=>`${N} ${L[N]}`).join(", "):"";f.node.setAttribute("aria-label",L?`${S}: ${I}`:S)}let _=T7(D.width,D.height);if(wX(J,_),J.setAttribute("aria-label",`content: ${_}`),V.replaceChildren(...Wo(D.model).map((S)=>T("span","bm-fact",S))),K==="position"&&!D.model.offsets)K="margin";B(),F()}return{node:j,show:P,fit(D){C=D,F()}}}var m7,Yo=22,bx=6.5,wx=8,qo=120;var vx=u(()=>{C8();jX();t0();m7=["position","margin","border","padding"]});function mB($){return $.startsWith("--")}function Ho($){if(mB($))return"other";let j=$.toLowerCase().replace(Uo,""),J=Object.hasOwn(gx,j)?gx[j]:void 0;if(J)return J;return Bo.find(([Q])=>j.startsWith(Q))?.[1]??"other"}function ux($){return $.declarations.flatMap((j)=>j.overridden?[]:[{declaration:j,block:$}])}function mx($){return $.blocks.flatMap((j)=>j.kind==="inline"||j.kind==="rule"?ux(j):[])}function px($){let j=new Set,J=[];for(let Q of $.blocks){if(Q.kind!=="inherited")continue;for(let Z of Q.blocks.flatMap(ux)){if(j.has(Z.declaration.name))continue;j.add(Z.declaration.name),J.push(Z)}}return J}function cx($){return Ko.flatMap((j)=>{let J=$.filter((X)=>Ho(X.declaration.name)===j);if(J.length===0)return[];let Q=J.filter((X)=>mB(X.declaration.name)),Z=J.filter((X)=>!mB(X.declaration.name));return[{group:j,lines:[...Z,...Q]}]})}function dx($,j){if(X5($).length===0)return null;return N7($,(J)=>j[J]?.value??"")}function lx($){if($.length===0)return null;return`some styles are hidden: ${$.some((J)=>J.reason==="cross-origin")?"a stylesheet from another origin":"a stylesheet that could not be read"}`}var hx="no styles set on this element",Ko,gx,Bo,Uo;var ix=u(()=>{oZ();Ko=["layout","size and spacing","text","look","motion","other"],gx={display:"layout",position:"layout",top:"layout",right:"layout",bottom:"layout",left:"layout","z-index":"layout",gap:"layout","row-gap":"layout","column-gap":"layout",order:"layout",float:"layout",width:"size and spacing",height:"size and spacing","inline-size":"size and spacing","block-size":"size and spacing","box-sizing":"size and spacing","aspect-ratio":"size and spacing","line-height":"text","letter-spacing":"text","white-space":"text","overflow-wrap":"text",color:"text","box-shadow":"look",opacity:"look",filter:"look","backdrop-filter":"look","mix-blend-mode":"look","will-change":"motion",translate:"motion",rotate:"motion",scale:"motion"},Bo=[["inset","layout"],["flex","layout"],["grid","layout"],["align-","layout"],["justify-","layout"],["place-","layout"],["overflow","layout"],["min-","size and spacing"],["max-","size and spacing"],["margin","size and spacing"],["padding","size and spacing"],["font","text"],["text-","text"],["word-","text"],["background","look"],["border","look"],["outline","look"],["transition","motion"],["animation","motion"],["transform","motion"]],Uo=/^-(?:webkit|moz|ms|o)-/});function Io($,j,J){try{let Q=$.ownerDocument.defaultView;return Q?Q.getComputedStyle($,j).getPropertyValue(J).trim():""}catch{return""}}function Do($){try{return typeof CSS<"u"&&CSS.supports("color",$)}catch{return!1}}function No($){return $.nodeType===1}function Ro($){if($.type!=="childList")return!1;let j=[...Array.from($.addedNodes),...Array.from($.removedNodes)];return j.length>0&&j.every((J)=>No(J)&&J.hasAttribute("data-devknobs"))}function nx($){return JSON.stringify({...$,panel:null})}function ax($,j=Lo){let{tips:J}=$,Q=T("div","styles");Q.tabIndex=-1;let Z=T("div","crumbs");Z.setAttribute("role","group"),Z.setAttribute("aria-label","the element and its ancestors");let X=i$({placeholder:"filter",label:"filter the declarations",onInput:()=>o1()}),V=$.mode?.get()??"advanced",Y=$.mode?X6({options:sx.map((p)=>({value:p,label:p})),label:"how the styles are shown",value:V,onChange:q3}):null,{select:q}=$,C=q?OE({label:q.label,icon:"square-dashed-mouse-pointer",on:q.on(),onPress:q.run}):null,G=q?EE(cB,q.run):null;if(q){let p=()=>[q.label,q.hint?.()].filter(Boolean).join(" · ");if(C)J.tooltip(C.node,p);if(G)J.tooltip(G,p)}let W=j8([C?.node,X.node,Y?.node].filter((p)=>p!=null)),K=yx((p)=>$.area?.(p)),H=r$({label:"box",open:$.box?.get()??!0,onToggle:(p)=>$.box?.set(p)});H.body.append(K.node),K.node.addEventListener("pointerenter",()=>y(U)),K.node.addEventListener("pointerleave",()=>y(null));let B=T("div","css-blocks"),z=M1(pB);if(Q.append(Z,W,H.node,B,z),G)Q.append(G);let M=typeof ResizeObserver>"u"?null:new ResizeObserver((p)=>{let j0=p[p.length-1];if(j0)K.fit(j0.contentRect.width)});M?.observe(K.node);let U=null,F=null,P=[],D=null,_=[],S=null,f=!1,L=new Map,I=[],N=new Map,A=null,E=null,b=null,w=!1,g=nx(j.getState()),c=0,v=0,O=null,m={text:null,press:null},k=q?.watch(()=>{C?.set(q.on()),x()})??null,l=null,R=!1;function y(p){if(!p&&!R)return;R=p!==null,$.outline(p)}function i(){clearTimeout(c),c=window.setTimeout(h2,Mo)}function n(p){let j0=p.filter((B0)=>!Ro(B0));if(j0.length===0)return;let V0=U?.ownerDocument.head;if(V0&&j0.some((B0)=>V0.contains(B0.target)))w=!0;i()}function $0(){let p=U&&F===null&&U.isConnected?j.box(U):null;H.node.hidden=p===null,K.show(p)}function X0(){A?.disconnect(),A=null,E?.disconnect(),E=null,b?.removeEventListener("resize",i),b=null}function M0(p){X0(),A=new MutationObserver(n),A.observe(p,{attributes:!0});for(let V0=Z5(p);V0;V0=Z5(V0))A.observe(V0,{attributes:!0,childList:!0});let j0=p.ownerDocument.head;if(j0)A.observe(j0,{attributes:!0,characterData:!0,childList:!0,subtree:!0});if(b=p.ownerDocument.defaultView,b?.addEventListener("resize",i),typeof ResizeObserver<"u")E=new ResizeObserver($0),E.observe(p)}function T0(p,j0=null){m={text:p,press:j0},x()}function x(){let{text:p,press:j0}=m,V0=G!==null&&j0!==null&&q?.on()===!1;if(z.hidden=p===null||V0,p!==null)z.textContent=p;if(!G)return;if(G.hidden=!V0,j0!==null)G.textContent=j0}function h(p,j0){J.tooltip(p,j0),I.push(p)}function t(){if(I.some((p)=>J.isFor(p)))J.hide();I=[]}function J0(p,j0){t(),D=null,N=new Map,_=[],S=null,L=new Map,B.replaceChildren(),Z.replaceChildren(),Z.hidden=!0,W.hidden=!0,$0(),T0(p,j0)}function G0(p,j0,V0){let B0=z0(p,j0);return B0.addEventListener("click",V0),B0}function N0(p){if(p.key!=="ArrowLeft"&&p.key!=="ArrowRight")return;let j0=Array.from(Z.querySelectorAll("button")),V0=j0.findIndex((r)=>r.tabIndex===0),B0=j0[V0+(p.key==="ArrowRight"?1:-1)],U0=j0[V0];if(!B0||!U0)return;p.preventDefault(),p.stopPropagation(),U0.tabIndex=-1,B0.tabIndex=0,B0.focus({preventScroll:!0}),B0.scrollIntoView({block:"nearest",inline:"nearest"})}Z.addEventListener("keydown",N0);function F0(p){let j0=[];for(let U0=p;U0;U0=Z5(U0))j0.unshift(U0);let V0=[],B0=(U0,r,Z0,Y0)=>{if(V0.length>0){let d=T("span","crumb-sep","›");d.setAttribute("aria-hidden","true"),V0.push(d)}let H0=G0("crumb",U0,Y0);if(H0.addEventListener("pointerenter",()=>{l=H0,y(Z0)}),H0.addEventListener("pointerleave",()=>{l=null,y(null)}),H0.tabIndex=r?0:-1,r)H0.setAttribute("aria-current","true");V0.push(H0)};for(let U0 of j0)B0(tZ(e2(U0)),U0===p&&F===null,U0,()=>Q4(U0));for(let U0 of P)B0(U0,U0===F,p,()=>Q4(p,U0));if(l)y(null);l=null,Z.replaceChildren(...V0),Z.scrollLeft=Z.scrollWidth}function a(p){let j0=L.get(p);if(!j0||j0.hidden)return;clearTimeout(v),O?.classList.remove("flash"),j0.scrollIntoView({block:"nearest"}),j0.offsetWidth,j0.classList.add("flash"),O=j0,v=window.setTimeout(()=>j0.classList.remove("flash"),Fo)}function o(p){let j0=T("span","css-swatch");return j0.setAttribute("aria-hidden","true"),j0.style.backgroundColor=p,j0}function Q0(p){if(!D)return null;let j0=N.get(p);if(j0===void 0)j0=ES(D.found,p),N.set(p,j0);return j0}function K0(p,j0){let V0=U,U0=OS({name:p,fallback:j0},(Z0)=>V0?j.variable(V0,F,Z0):"",Q0(p),j.isColor),r=T("span","tip-lines");if(U0.lines.forEach((Z0,Y0)=>{let H0=T("span","tip-line");if(Y0===0&&U0.color)H0.append(o(U0.color));H0.append(Z0),r.append(H0)}),U0.source!==null)r.append(T("span","tip-line tip-quiet",U0.source));return r}function _0(p,j0,V0="css-var"){let B0=z0(V0,p);return h(B0,()=>K0(p,j0)),B0}function f0(p){return T("span","css-punct",p)}function b0(p,j0,V0){let{name:B0}=j0;p.append(B0.startsWith("--")?_0(B0,null,"css-name css-var"):T("span","css-name",B0),f0(": "));let U0=SS(j0,V0,j.isColor);if(U0)p.append(o(U0))}function u0(p,j0){let V0=T("span","css-value");for(let B0 of AS(p.value)){if(B0.kind!=="var"){V0.append(B0.text);continue}let U0=_0(B0.text,B0.fallback??null),r=j0?.[B0.text]?.definedIn??null;if(r!==null)U0.addEventListener("click",()=>a(r));V0.append(U0)}return V0}function Y1(p,j0){let V0=T(p.overridden?"s":"div","css-decl");if(b0(V0,p,j0),V0.append(u0(p,j0)),p.important)V0.append(" !important");return V0.append(f0(";")),{node:V0,declaration:p}}function w0(p,j0,V0){let B0=T("section","css-block");B0.setAttribute("role","region");let U0=T("div","css-head"),r=T("span","css-selector");if(p.kind==="inline")B0.setAttribute("aria-label","element.style"),r.textContent="element.style",U0.append(r);else{B0.setAttribute("aria-label",p.selectorText);for(let q0 of p.context)B0.append(T("div","css-context",q0));p.selector.forEach((q0,O0)=>{if(O0>0)r.append(", ");r.append(T("span",q0.matches?"css-part":"css-part off",q0.text))});let Y0=T("span","css-from");if(p.conditional&&!p.conditional.confirmed){let{kind:q0}=p.conditional,O0=T("span","css-mark",q0);h(O0,`could not tell whether its @${q0} holds for the element`),Y0.append(O0)}let H0=NS(p.origin),d=T("span","css-source",H0.text);h(d,H0.tip),Y0.append(d),U0.append(r,Y0)}B0.append(U0);let Z0=p.declarations.map((Y0)=>Y1(Y0,j0.variables));return B0.append(...Z0.map((Y0)=>Y0.node)),L.set(p.id,B0),{node:B0,lines:Z0,group:V0}}function S0(p,j0){t(),_=[],L=new Map;let V0=[],B0=(r,Z0)=>{let Y0=w0(r,p,Z0);_.push(Y0),V0.push(Y0.node)},U0=(r)=>{if(r.kind==="inherited"){let Z0=r.element,Y0=G0("css-group",`inherited from ${tZ(r.from)}`,()=>Q4(Z0));V0.push(Y0);for(let H0 of r.blocks)B0(H0,Y0)}else if(r.kind==="pseudo"){let Z0=r.pseudo,Y0=G0("css-group",Z0,()=>Q4(j0,Z0));V0.push(Y0);for(let H0 of r.blocks)B0(H0,Y0)}else B0(r,null)};p.blocks.forEach(U0);for(let r of p.hidden)V0.push(T("div","css-hidden",RS(r)));B.replaceChildren(...V0)}function R0({declaration:p},j0){let V0=T("div","css-decl");b0(V0,p,j0),V0.append(u0(p));let B0=dx(p.value,j0);if(B0!==null)V0.append(T("span","css-comes",` → ${B0}`));return{node:V0,declaration:p}}function j1(p){t(),_=[],L=new Map;let j0=cx(mx(p)),V0=j0.length>0?T("div","css-block css-applied"):M1(hx),B0=j0.map(({group:Y0,lines:H0})=>{let d=T("div","css-set");d.setAttribute("role","group"),d.setAttribute("aria-label",Y0);let q0=j0.length>1?T("div","css-label",Y0):null;if(q0)q0.setAttribute("aria-hidden","true");let O0=H0.map((l0)=>R0(l0,p.variables));return d.append(...q0?[q0]:[],...O0.map((l0)=>l0.node)),V0.append(d),{node:d,label:q0,lines:O0}}),U0=[V0],r=px(p);if(S={own:V0,sets:B0,inherited:null},r.length>0){let Y0=r$({label:"inherited",open:f,onToggle:(q0)=>{f=q0}}),H0=T("div","css-applied");H0.setAttribute("role","group"),H0.setAttribute("aria-label","inherited");let d=r.map((q0)=>R0(q0,p.variables));H0.append(...d.map((q0)=>q0.node)),Y0.body.append(H0),S.inherited={fold:Y0,lines:d},U0.push(Y0.node)}let Z0=lx(p.hidden);if(Z0!==null)U0.push(T("div","css-hidden",Z0));B.replaceChildren(...U0)}function I0(p){let j0=X.node.value,V0=j0.trim()!=="",B0=(Y0)=>{let H0=!1;for(let d of Y0){let q0=dK(d.declaration,j0);if(d.node.hidden=!q0,q0)H0=!0}return H0},U0=0;for(let Y0 of p.sets){let H0=B0(Y0.lines);if(Y0.node.hidden=!H0,H0)U0+=1}for(let Y0 of p.sets)if(Y0.label)Y0.label.hidden=U0<2;p.own.hidden=p.sets.length===0?V0:U0===0;let r=p.inherited,Z0=r?B0(r.lines):!1;if(r)r.fold.node.hidden=!Z0;T0(V0&&U0===0&&!Z0?rx:null)}function o1(){if(S){I0(S);return}let p=X.node.value,j0=p.trim()!=="",V0=new Map,B0=!1;for(let U0 of _){let r=!j0;for(let Z0 of U0.lines){let Y0=dK(Z0.declaration,p);if(Z0.node.hidden=!Y0,Y0)r=!0}if(U0.node.hidden=!r,r)B0=!0;if(U0.group)V0.set(U0.group,(V0.get(U0.group)??!1)||r)}for(let[U0,r]of V0)U0.hidden=!r;T0(B0?null:_.length===0?_o:rx)}function h2(){clearTimeout(c),c=0;let p=U;if(!p)return;if(w)w=!1,j.invalidate();if(!p.isConnected||!p.ownerDocument.defaultView){U=null,X0(),y(null),$.held?.(null),J0(zo,Po);return}let j0=j.inspect(p,F??void 0);if(F===null)P=j0.blocks.flatMap((V0)=>V0.kind==="pseudo"?[V0.pseudo]:[]);Z.hidden=!1,W.hidden=!1,$.title(v2(`${j0.target.label}${j0.target.pseudo??""}`,DS)),F0(p),$0(),D={found:j0,element:p},N=new Map,Y8()}function Y8(){if(!D)return;if(S=null,V==="simple")j1(D.found);else S0(D.found,D.element);o1()}function q3(p){let j0=sx.find((B0)=>B0===p);if(!j0||j0===V)return;V=j0,$.mode?.set(j0),Y?.set(j0);let V0=Q.closest(".view-body");if(V0)V0.scrollTop=0;Y8()}function Q4(p,j0){if(p!==U)P=[];if(U=p,F=j0??null,F!==null&&!P.includes(F))P=[...P,F];if(y(null),$.held?.(p),!p){X0(),$.title("styles"),J0(pB,cB);return}M0(p);let V0=Q.closest(".view-body");if(V0)V0.scrollTop=0;h2()}let C3=j.subscribe((p)=>{let j0=nx(p);if(j0===g)return;if(g=j0,w=!0,U)i()});return J0(pB,cB),{node:Q,show:Q4,refresh:h2,escape:X.clear,focus:()=>Q.focus({preventScroll:!0}),destroy(){clearTimeout(c),clearTimeout(v),X0(),C3(),k?.(),M?.disconnect(),y(null),$.area?.(null),Z.removeEventListener("keydown",N0),t(),U=null}}}var Mo=120,Fo=900,pB="pick an element to see its styles",zo="the element left the page",cB="select an element to see its styles",Po="the element left the page, select another",_o="no rule reaches this element",rx="no declaration matches",sx,Lo;var ox=u(()=>{E1();fx();vx();t0();g2();ix();eZ();sx=["simple","advanced"];Lo={inspect:xx,invalidate:gB,getState:C0,subscribe:a2,isColor:Do,box:kx,variable:Io}});var ex={};F5(ex,{createElementsView:()=>Ao,createDollar:()=>tx,DOLLAR:()=>C5});function tx(){let $=null;function j(){if(!$)return;let{view:Q,node:Z}=$;$=null;try{if(Reflect.get(Q,C5)===Z)Reflect.deleteProperty(Q,C5)}catch{}}function J(Q){let Z=Q?.ownerDocument?.defaultView??null;if($&&$.view!==Z)j();if(!Q||!Z)return;try{if($){if(Reflect.get(Z,C5)!==$.node)return;Reflect.set(Z,C5,Q),$={view:Z,node:Q};return}if(C5 in Z)return;Object.defineProperty(Z,C5,{value:Q,writable:!0,configurable:!0,enumerable:!1}),$={view:Z,node:Q}}catch{}}return{set:J,release:j}}function Ao($,j={}){let J=T("div","elements"),Q=tx(),Z=!1,X=j.copy??((q)=>void F$(q)),V=(j.tree??iE)({outline:(q)=>$.outline(q),select(q,C){Q.set(q),Z=!0;try{Y.show(TB(q),C??void 0)}finally{Z=!1}},copy:X}),Y=ax({...$,held(q){if($.held?.(q),Z)return;V.reveal(q),Q.set(q)}},j.page);return J.append(V.node,Y.node),{node:J,show:(q,C)=>Y.show(q,C),refresh:()=>Y.refresh(),escape:()=>Y.escape(),focus:()=>Y.focus(),destroy(){V.destroy(),Y.destroy(),Q.release()}}}var C5="$0";var $f=u(()=>{t0();rE();ox()});function pb($){return $==="devknobs"||$.startsWith("devknobs:")}function je($){if(typeof $!=="object"||$===null)return"";let j=Reflect.get($,"name");return typeof j==="string"?j:""}function a1($,j){let J=je($);if(J==="SecurityError")return`cannot ${j}: the browser blocks storage on this page`;if(J==="QuotaExceededError")return`cannot ${j}: the storage is full`;if(J==="InvalidStateError")return`cannot ${j}: the storage is not ready`;return`cannot ${j}${J?`: ${J}`:""}`}function JV($,j){try{let J=j==="local"?$.localStorage:$.sessionStorage;if(J)return J;return`${j}Storage is not here`}catch(J){return a1(J,`read ${j}Storage`)}}async function W5($){try{if($.isSecureContext===!1)return{names:[],error:"Cache Storage needs a secure page (https or localhost)"};let j=$.caches;if(!j)return{names:[],error:"Cache Storage is not here"};return{names:await j.keys(),error:null}}catch(j){return{names:[],error:a1(j,"list the caches")}}}async function QV($,j,J,Q=IU){try{let Z=$.caches;if(!Z)return{total:0,entries:[],error:"Cache Storage is not here"};let X=await Z.open(j),V=await X.keys(),Y=await Promise.all(V.slice(J,J+Q).map(async(q)=>{let C=await X.match(q),G=C?.headers.get("content-length"),W=G?Number(G):Number.NaN;return{method:q.method,url:q.url,status:C?.status??null,type:C?.headers.get("content-type")??"",size:Number.isFinite(W)?W:null}}));return{total:V.length,entries:Y,error:null}}catch(Z){return{total:0,entries:[],error:a1(Z,`read ${j}`)}}}async function cb($,j){try{return await $.caches?.delete(j)??!1}catch{return!1}}var IU=100;var ZV=()=>{};function G6($){let j=0;for(let J=0;J<$.length;J++){let Q=$.charCodeAt(J);if(Q<128)j+=1;else if(Q<2048)j+=2;else if(Q>=55296&&Q<56320&&($.charCodeAt(J+1)&64512)===56320)j+=4,J++;else j+=3}return j}function V2($){if($<1024)return`${$} B`;let j=["KB","MB","GB"],J=$/1024,Q=0;while(J>=1024&&Q<j.length-1)J/=1024,Q++;return`${J>=100?Math.round(J):Math.round(J*10)/10} ${j[Q]}`}function $3($,j=96){let J=Math.floor((j-1)/2),Q=(V)=>V.replace(/\s+/g," ");if($.length<=j){let V=Q($).trim();if(V.length<=j)return V}let Z=Q($.slice(0,J*4)).trimStart().slice(0,J),X=Q($.slice(-J*4)).trimEnd().slice(-J);return`${Z}…${X}`}function Je($){let j="",J=!1;for(let Q=0;Q<$.length;Q++){let Z=$.charAt(Q);if(J){if(j+=Z,Z==="\\")j+=$.charAt(++Q);else if(Z==='"')J=!1}else if(Z==='"')J=!0,j+=Z;else if(Z!==" "&&Z!==`
816
+ `&&Z!=="\t"&&Z!=="\r")j+=Z}return j}function db($){if($.length>1e5)return null;let j=$.trimStart().charAt(0);if(j!=="{"&&j!=="[")return null;try{let J=JSON.parse($);if(JSON.stringify(J)!==Je($))return null;return JSON.stringify(J,null,2)}catch{return null}}function DU($){if($.length>1e6)return!1;try{return JSON.parse($),!0}catch{return!1}}function LU($){let j=$.trimStart().charAt(0);return j==="{"||j==="["}function lb($,j=!1){let J=j?1e6:1e5;if($.length<=J)return{text:$,more:0,canShowAll:!1};return{text:$.slice(0,J),more:$.length-J,canShowAll:!j&&$.length<=1e6}}function ib($,j){let J=$-j,Q=Math.abs(J);for(let[Z,X]of Qe){if(Q<X)continue;let V=Math.floor(Q/X),Y=`${V} ${Z}${V===1?"":"s"}`;return J>=0?`in ${Y}`:`${Y} ago`}return"now"}function XV($,j=!1,J=Ze){let Q=J,Z=new Set;function X(Y){if(Y===null)return"null";if(Y===void 0)return"undefined";if(typeof Y==="string")return JSON.stringify(Y.length>Q?`${Y.slice(0,Math.max(Q,0))}…`:Y);if(typeof Y==="number"||typeof Y==="boolean")return String(Y);if(typeof Y==="bigint")return`${Y}n`;if(typeof Y!=="object")return typeof Y;if(Y instanceof Date)return Number.isNaN(Y.getTime())?"Date invalid":`Date ${Y.toISOString()}`;if(typeof Blob<"u"&&Y instanceof Blob)return`${typeof File<"u"&&Y instanceof File?"File":"Blob"} ${V2(Y.size)}${Y.type?` ${Y.type}`:""}`;if(Y instanceof ArrayBuffer)return`bytes ${V2(Y.byteLength)}`;if(ArrayBuffer.isView(Y))return`bytes ${V2(Y.byteLength)}`;if(Y instanceof RegExp)return String(Y);return null}function V(Y,q){if(Q<=0)return"…";let C=X(Y);if(C!==null)return Q-=C.length,C;if(typeof Y!=="object"||Y===null)return"…";if(Z.has(Y))return"(cycle)";Z.add(Y);let G=j?`
817
+ ${" ".repeat(q+1)}`:"",W=j?`
818
+ ${" ".repeat(q)}`:"",K=[],H="{",B="}",z=(M)=>{return Q-=M.length+2,K.push(M),Q>0};if(Array.isArray(Y)){H="[",B="]";for(let M of Y)if(!z(V(M,q+1)))break;if(K.length<Y.length)K.push("…")}else if(Y instanceof Map){H="Map {";for(let[M,U]of Y)if(!z(`${V(M,q+1)} => ${V(U,q+1)}`))break;if(K.length<Y.size)K.push("…")}else if(Y instanceof Set){H="Set [",B="]";for(let M of Y)if(!z(V(M,q+1)))break;if(K.length<Y.size)K.push("…")}else{let M=Object.keys(Y);for(let U of M){let F=Reflect.get(Y,U);if(!z(`${JSON.stringify(U)}:${j?" ":""}${V(F,q+1)}`))break}if(K.length<M.length)K.push("…")}if(Z.delete(Y),K.length===0)return`${H}${B}`;return`${H}${G}${K.join(`,${G||" "}`)}${W}${B}`}return V($,0)}var Qe,Ze=20000;var W6=u(()=>{Qe=[["year",31536000000],["month",2592000000],["day",86400000],["hour",3600000],["minute",60000],["second",1000]]});function sb($){let j=[];for(let J of $.split(";")){let Q=J.trim();if(Q==="")continue;let Z=Q.indexOf("=");j.push(Z<0?{name:"",value:Q}:{name:Q.slice(0,Z),value:Q.slice(Z+1)})}return j}function nb($,j){return{name:$,value:j,domain:null,path:null,expires:null,secure:null,sameSite:null,size:G6($)+G6(j),placed:!1}}function Xe($){try{return{cookies:sb($.document.cookie).map((J)=>nb(J.name,J.value)),error:null}}catch(j){return{cookies:[],error:a1(j,"read the cookies")}}}async function K6($){let j=Xe($),J=$.cookieStore;if(!J||j.error!==null)return j;try{return{cookies:(await J.getAll()).map((X)=>{return{...nb(X.name??"",X.value??""),domain:X.domain??null,path:X.path??null,expires:X.expires??null,secure:X.secure??null,sameSite:X.sameSite??null,placed:typeof X.path==="string"}}),error:null}}catch{return j}}function NU($,j){return $.length===j.length&&$.every((J,Q)=>{let Z=j[Q];return Z!==void 0&&J.name===Z.name&&J.value===Z.value&&J.path===Z.path&&J.domain===Z.domain&&J.expires===Z.expires})}function Ve($){let j=new Set,J=$.startsWith("/")?$:"/";while(J.length>1)j.add(J),J=J.endsWith("/")?J.slice(0,-1):J.slice(0,J.lastIndexOf("/")+1);return j.add("/"),[...j]}function Ye($){if($===""||/^[\d.]+$/.test($)||$.includes(":"))return[];let j=$.split("."),J=[];for(let Q=0;Q<j.length-1;Q++)J.push(j.slice(Q).join("."));return J}function K5($,j,J){return sb($.document.cookie).filter((Q)=>Q.name===j&&(J===void 0||Q.value===J)).length}function ob($,j){let J=j.path!==null?[j.path]:Ve($.location.pathname).reverse(),Q=j.placed&&j.domain!==null?[j.domain,void 0]:[void 0,...Ye($.location.hostname)];return J.flatMap((Z)=>Q.map((X)=>({path:Z,domain:X})))}function i7($,j){try{let J=K5($,j.name);if(J===0)return!0;for(let Q of ob($,j))if($.document.cookie=O$({name:j.name,value:"",expires:ab,...Q}),K5($,j.name)<J)return!0;return!1}catch{return!1}}function tb($,j,J,Q=Date.now()){try{let Z=K5($,j.name),X=K5($,j.name,J),V={name:j.name,value:J};if(j.expires!==null)V.maxAge=Math.max(Math.round((j.expires-Q)/1000),1);if(j.sameSite!==null)V.sameSite=j.sameSite;if(j.secure===!0)V.secure=!0;for(let Y of ob($,j)){$.document.cookie=O$({...V,...Y});let q=K5($,j.name);if(q===Z&&K5($,j.name,J)>X)return!0;if(q===Z&&j.value===J)return!0;if(q>Z)$.document.cookie=O$({name:j.name,value:"",expires:ab,...Y})}return!1}catch{return!1}}function eb($,j,J){try{return $.document.cookie=O$({name:j,value:J,path:"/"}),K5($,j,J)>0}catch{return!1}}function j3($,j){let J=j.trim().toLowerCase();if(J==="")return[...$];return $.filter((Q)=>Q.name.toLowerCase().includes(J)||Q.value.toLowerCase().includes(J))}var rb="cookies marked HttpOnly are not shown: a page cannot read them",ab="Thu, 01 Jan 1970 00:00:00 GMT";var r7=u(()=>{W6();V7()});async function a7($){try{let j=$.indexedDB;if(!j)return{databases:[],error:"IndexedDB is not here"};if(typeof j.databases!=="function")return{databases:[],error:qe};return{databases:(await j.databases()).flatMap((Z)=>typeof Z.name==="string"?[{name:Z.name,version:Z.version??0}]:[]),error:null}}catch(j){return{databases:[],error:a1(j,"list the databases")}}}function Ce($,j,J){return new Promise((Q,Z)=>{let X=!0,V=$.open(j),Y=setTimeout(()=>{X=!1,Z(new B5(`${j} did not open in time: the page may be upgrading it`))},J);V.onupgradeneeded=()=>{try{V.transaction?.abort()}catch{}},V.onsuccess=()=>{let q=V.result;if(!X){q.close();return}X=!1,clearTimeout(Y),Q(q)},V.onerror=(q)=>{if(q.preventDefault?.(),!X)return;X=!1,clearTimeout(Y);let C=V.error?.name==="AbortError";Z(new B5(C?`${j} is gone`:a1(V.error,`open ${j}`)))}})}function $w($,j,J){return new Promise((Q,Z)=>{let X=setTimeout(()=>{try{$.abort()}catch{}Z(new B5(`cannot ${J}: it took too long`))},j);$.oncomplete=()=>{clearTimeout(X),Q()},$.onabort=()=>{clearTimeout(X),Z(new B5(a1($.error,J)))},$.onerror=(V)=>{V.preventDefault?.()}})}async function jw($,j,J,Q){let Z=$.indexedDB;if(!Z)throw new B5("IndexedDB is not here");let X=await Ce(Z,j,J);X.onversionchange=()=>X.close();try{return await Q(X)}finally{X.close()}}function Jw($,j){return $ instanceof B5?$.line:a1($,j)}function Ge($){if($===null)return"";return typeof $==="string"?$:$.join(", ")}async function VV($,j,J=s7){try{return await jw($,j,J,async(Q)=>{let Z=Array.from(Q.objectStoreNames);if(Z.length===0)return{version:Q.version,stores:[],error:null};let X=Q.transaction(Z,"readonly"),V=$w(X,J,`read ${j}`);V.catch(()=>{});let Y=Z.map((q)=>{let C=X.objectStore(q),G={name:q,keyPath:Ge(C.keyPath),autoIncrement:C.autoIncrement,indexes:Array.from(C.indexNames),count:null},W=C.count();return W.onsuccess=()=>{G.count=W.result},G});return await V,{version:Q.version,stores:Y,error:null}})}catch(Q){return{version:0,stores:[],error:Jw(Q,`read ${j}`)}}}async function Qw($,j,J,Q,Z=n7,X=s7){let V=`read ${J}`;try{return await jw($,j,X,async(Y)=>{let q=Y.transaction([J],"readonly"),C=$w(q,X,V);C.catch(()=>{});let G=[],W=q.objectStore(J).openCursor(),K=Q===0;return W.onsuccess=()=>{let H=W.result;if(!H||G.length>=Z)return;if(!K){K=!0,H.advance(Q);return}if(G.push({key:H.key,value:H.value}),G.length<Z)H.continue()},await C,{records:G,error:null}})}catch(Y){return{records:[],error:Jw(Y,V)}}}function YV($,j,J=s7){return new Promise((Q)=>{try{let Z=$.indexedDB;if(!Z){Q("failed");return}let X=Z.deleteDatabase(j),V=setTimeout(()=>Q("blocked"),J);X.onsuccess=()=>{clearTimeout(V),Q("deleted")},X.onerror=(Y)=>{Y.preventDefault?.(),clearTimeout(V),Q("failed")}}catch{Q("failed")}})}var s7=1000,n7=50,qe="this browser cannot list databases: indexedDB.databases() is missing",B5;var qV=u(()=>{B5=class B5 extends Error{line;constructor($){super($);this.line=$}}});function j4($,j,J=[]){let Q=JV($,j);if(typeof Q==="string")return{items:[],error:Q};try{let Z=new Map(J.map((V)=>[V.key,V])),X=[];for(let V=0;V<Q.length;V++){let Y=Q.key(V);if(Y===null)continue;let q=Q.getItem(Y)??"",C=Z.get(Y);X.push(C&&C.value===q?C:{key:Y,value:q,size:G6(q),own:pb(Y)})}return{items:X,error:null}}catch(Z){return{items:[],error:a1(Z,`read ${j}Storage`)}}}function Zw($,j){return $.length===j.length&&$.every((J,Q)=>J===j[Q])}function CV($,j,J,Q){let Z=JV($,j);if(typeof Z==="string")return Z;try{return Z.setItem(J,Q),null}catch(X){return a1(X,`save ${J}`)}}function RU($,j,J){let Q=JV($,j);if(typeof Q==="string")return Q;try{return Q.removeItem(J),null}catch(Z){return a1(Z,`delete ${J}`)}}function GV($,j,J){let Q=j4($,j);if(Q.error!==null)return{removed:0,error:Q.error};let Z=0;for(let X of Q.items){if(X.own&&!J)continue;let V=RU($,j,X.key);if(V!==null)return{removed:Z,error:V};Z++}return{removed:Z,error:null}}function Y2($,j,J){let Q=j.trim().toLowerCase();return $.filter((Z)=>{if(Z.own&&!J)return!1;if(Q==="")return!0;return Z.key.toLowerCase().includes(Q)||Z.value.toLowerCase().includes(Q)})}function WV($){let j=$.trim();if(j==="")return null;if(j.startsWith("{"))try{let Q=JSON.parse(j);if(typeof Q==="object"&&Q!==null&&!Array.isArray(Q)){let Z=Object.entries(Q).map(([X,V])=>({name:X,value:typeof V==="string"?V:JSON.stringify(V)}));return Z.length>0?Z:null}}catch{}let J=[];for(let Q of j.split(`
819
+ `)){if(Q.trim()==="")continue;let Z=Q.indexOf("=");if(Z<=0)return null;let X=Q.slice(0,Z).trim();if(X==="")return null;J.push({name:X,value:Q.slice(Z+1).trim()})}return J.length>0?J:null}function Xw($,j){let J=`${$} copy`;if(!j.has(J))return J;let Q=2;while(j.has(`${J} ${Q}`))Q++;return`${J} ${Q}`}var J3=u(()=>{W6()});async function Vw($,j){let[J,Q,Z]=await Promise.all([K6($),a7($),W5($)]);return{local:Y2(j4($,"local").items,"",j).length,session:Y2(j4($,"session").items,"",j).length,cookies:J.cookies.length,databases:Q.databases.length,caches:Z.names.length}}function AU($){let j=We.flatMap(([J,Q,Z])=>$[J]>0?[`${$[J]} ${$[J]===1?Q:Z}`]:[]);return j.length>0?j.join(", "):"nothing"}async function Yw($,j,J=s7){let Q={removed:{local:0,session:0,cookies:0,databases:0,caches:0},cookiesLeft:0,blocked:[],errors:[]};for(let q of["local","session"]){let C=GV($,q,j);if(Q.removed[q]=C.removed,C.error!==null)Q.errors.push(C.error)}let Z=await K6($);if(Z.error!==null)Q.errors.push(Z.error);for(let q of Z.cookies)if(i7($,q))Q.removed.cookies++;else Q.cookiesLeft++;let X=await a7($);(await Promise.all(X.databases.map((q)=>YV($,q.name,J)))).forEach((q,C)=>{let G=X.databases[C]?.name??"";if(q==="deleted")Q.removed.databases++;else if(q==="blocked")Q.blocked.push(G);else Q.errors.push(`cannot delete ${G}`)});let Y=await W5($);for(let q of Y.names)if(await cb($,q))Q.removed.caches++;else Q.errors.push(`cannot delete the cache ${q}`);return Q}function qw($){let j=[`cleared ${AU($.removed)}`];if($.cookiesLeft>0){let J=$.cookiesLeft;j.push(`${J} ${J===1?"cookie":"cookies"} could not be removed: set on another path or domain`)}for(let J of $.blocked)j.push(`${J} is held open by the page: it goes once the page lets go, or on reload`);return[...j,...$.errors]}var We;var Cw=u(()=>{ZV();r7();qV();J3();We=[["local","local","local"],["session","session","session"],["cookies","cookie","cookies"],["databases","database","databases"],["caches","cache","caches"]]});function X8($){return{preset:null,error:$}}function SU($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function Kw($){if(typeof $!=="string")return null;return Ke.find((j)=>j===$.toLowerCase())??null}function TU($,j){if($===void 0)return[];if(!Array.isArray($))return`"${j}" must be a list of entries`;let J=[];for(let[Q,Z]of $.entries()){if(!SU(Z))return`${j} entry ${Q+1} must be an object with a name and a value`;if(typeof Z.name!=="string"||Z.name==="")return`${j} entry ${Q+1} needs a name`;if(typeof Z.value!=="string")return`${j} entry "${Z.name}" needs a value that is text`;J.push({name:Z.name,value:Z.value})}return J}function Be($){let j=TU($,"cookies");if(typeof j==="string"||!Array.isArray($))return j;let J=[];for(let[Q,Z]of j.entries()){let X=$[Q],V={...Z};if(!SU(X))continue;if(X.path!==void 0){if(typeof X.path!=="string"||!X.path.startsWith("/"))return`cookie "${Z.name}": path must start with /`;V.path=X.path}if(X.maxAge!==void 0){if(typeof X.maxAge!=="number"||!Number.isFinite(X.maxAge))return`cookie "${Z.name}": maxAge must be a number of seconds`;V.maxAge=X.maxAge}if(X.sameSite!==void 0){let Y=Kw(X.sameSite);if(!Y)return`cookie "${Z.name}": sameSite must be strict, lax or none`;V.sameSite=Y}if(X.secure!==void 0){if(typeof X.secure!=="boolean")return`cookie "${Z.name}": secure must be true or false`;V.secure=X.secure}J.push(V)}return J}function KV($){return $.local.length+$.session.length+$.cookies.length}function o7($){let{name:j,local:J,session:Q,cookies:Z}=$;return JSON.stringify({name:j,local:J,session:Q,cookies:Z},null,2)}function OU($,j=!1){if(!SU($))return X8("a preset is a json object with a name");if(typeof $.name!=="string"||$.name.trim()==="")return X8("the preset needs a name");let J=TU($.local,"local");if(typeof J==="string")return X8(J);let Q=TU($.session,"session");if(typeof Q==="string")return X8(Q);let Z=Be($.cookies);if(typeof Z==="string")return X8(Z);let X={name:$.name.trim(),local:J,session:Q,cookies:Z,onLoad:j&&$.onLoad===!0,clearFirst:j&&$.clearFirst===!0};if(KV(X)>Gw)return X8(`a preset holds at most ${Gw} entries, this has ${KV(X)}`);if(G6(o7(X))>Ww)return X8(`a preset is at most ${Ww/1024} KB as json`);return{preset:X,error:null}}function EU($){let j;try{j=JSON.parse($)}catch(J){return X8(`not valid json${J instanceof Error?`: ${J.message}`:""}`)}return OU(j)}function Bw(){return o7({name:"new preset",local:[{name:"example-key",value:"example value"}],session:[{name:"example-key",value:"example value"}],cookies:[{name:"example",value:"1",path:"/",maxAge:86400,sameSite:"lax"}],onLoad:!1,clearFirst:!1})}function xU($,j,J,Q,Z=Date.now()){let X=(V)=>V.filter((Y)=>!Y.own).map((Y)=>({name:Y.key,value:Y.value}));return OU({name:$,local:X(j),session:X(J),cookies:Q.filter((V)=>V.name!=="").map((V)=>{let Y={name:V.name,value:V.value};if(V.path!==null)Y.path=V.path;if(V.expires!==null)Y.maxAge=Math.max(Math.round((V.expires-Z)/1000),1);let q=Kw(V.sameSite);if(q)Y.sameSite=q;if(V.secure===!0)Y.secure=!0;return Y})})}function Q3(){return E0("local")!==null}function t7(){return ZZ().flatMap(($)=>OU($,!0).preset??[])}function Z3($){let j=E0("local");if(!j)return"presets are not kept here";try{if($.length===0)j.removeItem(X7);else j.setItem(X7,JSON.stringify(q1({presets:$},QZ)));return null}catch{return"cannot keep the preset: the storage is full"}}function e7($,j,J){let Q=new Set(j.filter((X)=>X!==J).map((X)=>X.name));if(!Q.has($))return $;let Z=2;while(Q.has(`${$} ${Z}`))Z++;return`${$} ${Z}`}function Uw($,j,J){return RW($,{...j},J==="replace")}function BV($){let j=[$.local.length>0?`${$.local.length} local`:"",$.session.length>0?`${$.session.length} session`:"",$.cookies.length>0?`${$.cookies.length} ${$.cookies.length===1?"cookie":"cookies"}`:""].filter((J)=>J!=="");return j.length>0?j.join(", "):"empty"}function UV($,j){let J=j.trim().toLowerCase();return J===""?[...$]:$.filter((Q)=>Q.name.toLowerCase().includes(J))}var Gw=200,Ww=262144,Ke;var fU=u(()=>{G2();W6();V7();Ke=["strict","lax","none"]});function B6($,j){return`${$} ${$===1?j[0]:j[1]}`}function HV($,j){j.forEach((J,Q)=>{let Z=$.children[Q];if(Z!==J)$.insertBefore(J,Z??null)});for(let J=$.children[j.length];J;J=$.children[j.length])$.removeChild(J)}function V8($,j){$.addEventListener("keydown",(J)=>{if(J.altKey||J.ctrlKey||J.metaKey||J.shiftKey)return;let Q=j(),Z=Q.findIndex((V)=>V.main===J.target),X=Q[Z];if(!X)return;if(J.key==="ArrowDown"||J.key==="ArrowUp"){let V=Q[Z+(J.key==="ArrowDown"?1:-1)];J.preventDefault(),V?.main.focus({preventScroll:!1})}else if((J.key==="Delete"||J.key==="Backspace")&&X.remove)J.preventDefault(),X.remove()})}function MV($,j,J){let Q=T("div","ask"),Z=(X)=>{let V=lb(db(j)??j,X),Y=NX({text:V.text}).node;Y.title="click to copy",Y.addEventListener("click",()=>{if((typeof getSelection==="function"?String(getSelection()??""):"")==="")$.copy(j,J)});let q=[];if(V.more>0&&V.canShowAll)q.push(L0(`${V.more.toLocaleString("en-US")} more characters`),F1([{label:"show all",run:()=>Z(!0)}]).node);else if(V.more>0)q.push(L0(`${V2(G6(j))} in all, too long to show: copy it to read the rest`));Q.replaceChildren(Y,...q)};return Z(!1),Q}function Hw($,j,J,Q){if($>=j)return[];return[e0([L0(`${$.toLocaleString("en-US")} of ${j.toLocaleString("en-US")}`),F1([{label:`show ${Math.min(J,j-$)} more`,run:Q}]).node])]}function U6($,j){let J=T("div","ask"),Q=()=>{V(),j.close(!1)},Z=()=>{let q=j.save(X.value);if(q!==null){J.replaceChildren(L0(q));return}V(),j.close(!0)},X=fE({label:j.label,value:j.value,placeholder:j.placeholder,onSave:Z}),V=$.hold(Q);return{node:e0([X,J,F1([{label:j.action??"save",run:Z},{label:"cancel",run:Q}]).node]),area:X,cancel:Q}}function U5($,j,J,Q,Z,X){let V=$.hold(()=>{V(),X()}),Y=RX({text:J,confirm:Q,onConfirm:()=>{V(),Z()},onCancel:()=>{V(),X()}});j.replaceChildren(e0([Y.node])),Y.buttons[0]?.focus({preventScroll:!0})}var $j=200;var jj=u(()=>{W6();t0();g2()});function Ue($){return`${$.name}
820
+ ${$.path??""}
821
+ ${$.domain??""}`}function He($,j){let J=[["name",$.name===""?"(none)":$.name]];if($.domain!==null)J.push(["domain",$.domain]);else if($.placed)J.push(["domain","this host only"]);if($.path!==null)J.push(["path",$.path]);if($.expires!==null)J.push(["expires",`${new Date($.expires).toISOString()}, ${ib($.expires,j)}`]);else if($.placed)J.push(["expires","with the session"]);if(J.push(["size",V2($.size)]),$.secure!==null)J.push(["secure",$.secure?"yes":"no"]);if($.sameSite!==null)J.push(["sameSite",$.sameSite]);return J}function Mw($){let{site:j}=$,J=T("div","st-list"),Q=T("div","st-list"),Z=V6({name:"name",value:"value"}),X=T("div","st-list"),V=T("div","st-list");J.append(Q,Z,X,V,L0(rb));let Y=[],q=null,C=!1,G=new Set,W=new Map,K=0,H=0;function B(){let f=j3(Y,$.query()),L=new Map,I=f.map((N)=>{let A=Ue(N),E=W.get(A),b=E&&NU([E.cookie],[N])?E:U(N,A);return L.set(A,b),b.fold.node});if(W=L,Z.hidden=I.length===0,HV(X,I),q!==null)V.replaceChildren(L0(q));else if(f.length===0)V.replaceChildren(M1($.query().trim()===""?"no cookies a page can read":"nothing matches"));else V.replaceChildren();$.counted()}async function z(){if(K>0)return;let f=++H,L=await K6(j);if(f!==H||K>0)return;if(C&&L.error===q&&NU(L.cookies,Y))return;C=!0,Y=L.cookies,q=L.error,B()}function M(f){if(K--,f)$.touched();else z()}function U(f,L){let I=f.name===""?"(no name)":f.name,N=Y6({name:I,value:$3(f.value),end:V2(f.size),open:G.has(L),onToggle(c){if(c)G.add(L),E();else G.delete(L),A?.()}}),A=null;function E(){let c=[Z2(He(f,$.now())).node,MV($,f.value,I)];if(!f.placed)c.push(L0("this browser does not tell a cookie's path, domain or expiry"));c.push(F1([{label:"copy value",run:()=>$.copy(f.value,I)},{label:"edit",run:b},{label:"delete",run:w}]).node),N.body.replaceChildren(e0(c))}function b(){K++;let c=U6($,{label:`value of ${I}`,value:f.value,save(v){if(tb(j,f,v,$.now()))return null;return`${I} could not be changed: it may sit on another path or domain, or be HttpOnly now`},close(v){A=null,E(),M(v)}});A=c.cancel,N.body.replaceChildren(c.node),c.area.focus({preventScroll:!0})}function w(){if(!i7(j,f)){$.say(`${I} could not be deleted: it may sit on another path or domain`),E();return}G.delete(L),$.touched()}function g(){G.add(L),N.set(!0),U5($,N.body,`delete ${I}?`,"delete",w,E)}if(G.has(L))E();return{cookie:f,fold:N,remove:g}}V8(X,()=>[...W.values()].map((f)=>({main:f.fold.main,remove:f.remove})));let F=null;function P(){if(F){F.focus({preventScroll:!0});return}K++;let f=U6($,{label:"add cookies",placeholder:"name=value, a line each, or a json object of names",action:"add",save(L){let I=WV(L);if(!I)return"write name=value, a line each, or a json object of names";let N=I.filter((A)=>!eb(j,A.name,A.value));if(N.length===0)return null;return`the browser did not take ${N.map((A)=>A.name).join(", ")}`},close(L){F=null,Q.replaceChildren(),M(L)}});F=f.area,Q.replaceChildren(f.node),f.area.focus({preventScroll:!0})}let D=j.cookieStore,_=()=>void z(),S=!1;try{D?.addEventListener("change",_),S=D!==void 0}catch{S=!1}return{node:J,live:!S,refresh:z,filter(){if(C)B()},controls:()=>[{label:"add",run:P}],clear(){if(Y.length===0){$.say("no cookies to clear");return}$.ask(`clear ${B6(Y.length,["cookie","cookies"])}?`,"clear",()=>{let f=Y.filter((L)=>!i7(j,L)).length;if(f>0)$.say(`${B6(f,["cookie","cookies"])} could not be removed: set on another path or domain`);$.touched()})},destroy(){H++;try{D?.removeEventListener("change",_)}catch{}}}}var Fw=u(()=>{r7();W6();J3();t0();g2();jj()});function zw($){return`${$} is held open by the page: it goes once the page lets go, or on reload`}function Pw($,j){let J=j.trim().toLowerCase(),Q=0;for(let Z of $){let X=J===""||Z.text.includes(J);if(Z.node.hidden=!X,X)Q++}return Q}function _w($,j,J){return e0([L0($),F1([{label:`show ${j} more`,run:J}]).node])}function Iw($,j,J){let{site:Q}=$,Z=T("div","st-list"),X=T("div","st-list"),V=V6({index:"#",name:"key",value:"value"}),Y=T("div","st-list"),q=T("div","st-list");Z.append(X,V,Y,q);let C=null,G=[],W=null,K=!1,H=!1,B=0;function z(F,P,D){let _=XV(P,!1,200),S=$3(XV(D,!1,400)),f=Y6({index:String(F),name:_,value:S,open:!1,onToggle(L){if(!L||f.body.children.length>0)return;let I=XV(D,!0);f.body.replaceChildren(e0([NX({text:I}).node,F1([{label:"copy value",run:()=>$.copy(I,_)}]).node]))}});return{node:f.node,text:`${_}
822
+ ${S}`.toLowerCase()}}function M(){let F=Pw(G,$.query());if(V.hidden=F===0,W!==null)q.replaceChildren(e0([L0(W)]));else if(G.length===0)q.replaceChildren(M1("no records"));else{let P=C?.count??null,D=P===null?!H:G.length<P,_=P===null?n7:Math.min(n7,P-G.length),S=P===null?`${G.length} read`:`${G.length} of ${P}`;q.replaceChildren(...F===0?[M1("nothing matches")]:[],...D&&!H?[_w(S,_,()=>void U(B))]:[])}$.counted()}async function U(F){let P=await Qw(Q,j,J,G.length);if(F!==B)return;let D=G.length,_=P.records.map((S,f)=>z(D+f,S.key,S.value));Y.append(..._.map((S)=>S.node)),G=[...G,..._],W=P.error,H=P.records.length<n7,M()}return{node:Z,live:!1,async refresh(){let F=++B,P=await VV(Q,j);if(F!==B)return;if(K=!0,G=[],H=!1,Y.replaceChildren(),C=P.stores.find((D)=>D.name===J)??null,W=P.error??(C?null:`${j} has no object store ${J}`),X.replaceChildren(e0([L0(Me),...C?[Z2([["key path",C.keyPath===""?"none":C.keyPath],["auto increment",C.autoIncrement?"yes":"no"],["indexes",C.indexes.length>0?C.indexes.join(", "):"none"]]).node]:[]])),W!==null)M();else await U(F)},filter(){if(K)M()},destroy(){B++}}}function Dw($,j){let{site:J}=$,Q=T("div","st-list"),Z=V6({index:"#",name:"name",end:"status"}),X=T("div","st-list"),V=T("div","st-list");Q.append(e0([L0(Fe)]),Z,X,V);let Y=[],q=0,C=null,G=!1,W=0;function K(){let B=Pw(Y,$.query());if(Z.hidden=B===0,C!==null)V.replaceChildren(e0([L0(C)]));else if(Y.length===0)V.replaceChildren(M1("no requests"));else{let z=Math.min(IU,q-Y.length);V.replaceChildren(...B===0?[M1("nothing matches")]:[],...z>0?[_w(`${Y.length} of ${q}`,z,()=>void H(W))]:[])}$.counted()}async function H(B){let z=await QV(J,j,Y.length);if(B!==W)return;if(G=!0,C=z.error,z.error===null){q=z.total;let M=Y.length,U=z.entries.map((F,P)=>{let D=J.location.origin,_=F.url.startsWith(D)?F.url.slice(D.length):F.url,S=F.status===null?"gone":String(F.status),f=Y6({index:String(M+P),name:_,end:S,open:!1});return f.label.title=F.url,f.body.append(e0([Z2([["method",F.method],["url",F.url],["status",S],["type",F.type===""?"none":F.type],["size",F.size===null?"not told":V2(F.size)]]).node])),{node:f.node,text:`${F.method} ${F.url} ${S}`.toLowerCase()}});if(X.append(...U.map((F)=>F.node)),Y=[...Y,...U],z.entries.length===0)q=Y.length}K()}return{node:Q,live:!1,async refresh(){let B=++W,z=await W5(J);if(B!==W)return;if(Y=[],q=0,X.replaceChildren(),z.error!==null||!z.names.includes(j)){G=!0,C=z.error??`there is no cache ${j}`,K();return}await H(B)},filter(){if(G)K()},destroy(){W++}}}var Me="read only: records cannot be changed",Fe="read only";var Lw=u(()=>{ZV();W6();qV();t0();g2()});function Nw($){let j=$.filter((J)=>J.onLoad).map((J)=>J.name);return j.length>0?`applies on every load of this page: ${j.join(", ")}`:"no preset applies on load"}async function bU($,j){if(!Q3()){$.say(FV);return}let{site:J}=$,Q=Y2(j4(J,"local").items,j,!1),Z=Y2(j4(J,"session").items,j,!1),X=j3((await K6(J)).cookies,j),V=xU("preset",Q,Z,X,$.now());if(V.preset===null){$.say(V.error);return}let Y=BV(V.preset);$.put((q)=>{let C=T("div","ask"),G=()=>{let H=xU(W.value,Q,Z,X,$.now());if(H.preset===null){C.replaceChildren(L0(H.error));return}let B=t7(),z={...H.preset,name:e7(H.preset.name,B)},M=Z3([...B,z]);if(M!==null){C.replaceChildren(L0(M));return}q(),$.say(`kept the preset ${z.name}: ${BV(z)}`),$.touched()},W=y7({placeholder:"preset name",onEnter:G});return{node:e0([L0(`keeps ${Y}${j.trim()===""?"":", as the filter shows them"}, without devknobs' own`),W,C,F1([{label:"save preset",run:G},{label:"cancel",run:q}]).node]),focus:W}})}function Rw($){let{site:j}=$,J=T("div","st-list"),Q=T("div","st-list"),Z=V6({name:"name",value:"holds"}),X=T("div","st-list");J.append(Q,Z,X);let V=[],Y=!1,q=new Set,C=[],G=new Map;function W(F){let P=Z3(F);if(P!==null)return $.say(P),!1;return V=F,B(),!0}function K(F,P){return W(V.map((D)=>D===F?P:D))}function H(F){let{name:P}=F,D=Y6({name:P,value:BV(F),end:F.onLoad?"on load":"",open:q.has(P),onToggle(N){if(N)q.add(P),I();else q.delete(P)}});function _(){let N=G.get(P)??"add",A=Uw(j,F,N),E=KV(F)-A.length;$.say([`${N==="replace"?"replaced with":"applied"} ${P}: ${B6(E,["value","values"])} set`,...A.length>0?[`not set: ${A.join(", ")}`]:[]]),$.touched()}function S(){let N=U6($,{label:`the preset ${P} as json`,value:o7(F),save(A){let E=EU(A);if(E.preset===null)return E.error;let b={...E.preset,name:e7(E.preset.name,V,F),onLoad:F.onLoad,clearFirst:F.clearFirst},w=Z3(V.map((g)=>g===F?b:g));if(w!==null)return w;return q.delete(P),q.add(b.name),null},close(A){if(A)z();else I()}});D.body.replaceChildren(N.node),N.area.focus({preventScroll:!0})}function f(){let N=T("div","ask"),A=()=>{w(),I()},E=()=>{let g=b.value.trim();if(g===""){N.replaceChildren(L0("the preset needs a name"));return}let c={...F,name:e7(g,V,F)},v=Z3(V.map((O)=>O===F?c:O));if(v!==null){N.replaceChildren(L0(v));return}w(),q.delete(P),q.add(c.name),z()},b=y7({placeholder:"preset name",label:`name of ${P}`,value:P,onEnter:E}),w=$.hold(A);D.body.replaceChildren(e0([b,N,F1([{label:"rename",run:E},{label:"cancel",run:A}]).node])),b.focus({preventScroll:!0})}function L(){q.add(P),D.set(!0),U5($,D.body,`delete the preset ${P}?`,"delete",()=>{q.delete(P),W(V.filter((N)=>N!==F))},I)}function I(){let N=X6({label:`how ${P} applies`,options:[{value:"add",label:"add to what is there"},{value:"replace",label:"replace"}],value:G.get(P)??"add",onChange(E){G.set(P,E==="replace"?"replace":"add"),N.set(E)}}),A=[N.node,F1([{label:"apply",run:_},{label:"rename",run:f},{label:"edit",run:S},{label:"export",run:()=>$.copy(o7(F),`the preset ${P}`)},{label:"delete",run:L}]).node,_B({label:"apply on load",on:F.onLoad,onChange(E){if(!K(F,{...F,onLoad:E}))return;if(E)$.say(`${P} is set on every load of this page, until it is turned off`)}}).node];if(F.onLoad)A.push(_B({label:"clear local and session first",on:F.clearFirst,onChange:(E)=>void K(F,{...F,clearFirst:E})}).node);D.body.replaceChildren(e0(A))}if(q.has(P))I();return C.push({main:D.main,remove:L}),D.node}function B(){if(!Q3()){Z.hidden=!0,X.replaceChildren(),$.counted();return}let F=UV(V,$.query());if(C=[],Z.hidden=F.length===0,F.length===0)X.replaceChildren(M1(V.length===0?"no presets yet":"nothing matches"));else X.replaceChildren(...F.map(H));$.counted()}function z(){V=t7(),Y=!0,B()}V8(X,()=>C);let M=null;function U(F,P,D,_){M?.();let S=U6($,{label:F,value:D,placeholder:_,action:P,save(f){let L=EU(f);if(L.preset===null)return L.error;let I={...L.preset,name:e7(L.preset.name,V)},N=Z3([...V,I]);if(N===null)q.add(I.name);return N},close(f){if(M=null,Q.replaceChildren(),f)z()}});M=S.cancel,Q.replaceChildren(S.node),S.area.focus({preventScroll:!0})}return{node:J,live:!1,refresh:z,filter(){if(Y)B()},controls(){if(!Q3())return[];return[{label:"new preset",run:()=>U("a new preset as json","add",Bw(),"")},{label:"import",run:()=>U("a preset's json","import","","paste a preset's json")}]}}}var FV="fresh mode: presets are not read or kept";var Aw=u(()=>{r7();fU();J3();t0();g2();jj()});function wU($,j){let{site:J}=$,Q=T("div","st-list"),Z=T("div","st-list"),X=V6({name:"key",value:"value"}),V=T("div","st-list"),Y=T("div","st-list");Q.append(Z,X,V,Y);let q=[],C=null,G=!1,W=$j,K=new Set,H=new Map,B=0;function z(){let _=Y2(q,$.query(),$.own()),S=new Map,f=_.slice(0,W).map((L)=>{let I=H.get(L.key),N=I&&I.item===L?I:F(L);return S.set(L.key,N),N.fold.node});if(H=S,X.hidden=f.length===0,HV(V,f),C!==null)Y.replaceChildren(L0(C));else if(_.length===0){let L=$.query().trim()===""?`nothing in ${j}Storage`:"nothing matches";Y.replaceChildren(M1(L))}else Y.replaceChildren(...Hw(f.length,_.length,$j,()=>{W+=$j,z()}));$.counted()}function M(){if(B>0)return;let _=j4(J,j,q);if(G&&_.error===C&&Zw(_.items,q))return;G=!0,q=_.items,C=_.error,z()}function U(_){if(B--,_)$.touched();else M()}function F(_){let{key:S}=_,f=Y6({name:S,value:$3(_.value),end:V2(_.size),quiet:_.own,open:K.has(S),onToggle(g){if(g)K.add(S),I();else K.delete(S),L?.()}}),L=null;function I(){f.body.replaceChildren(e0([MV($,_.value,S),F1([{label:"copy value",run:()=>$.copy(_.value,S)},{label:"edit",run:()=>N("edit",A)},{label:"duplicate",run:E},{label:"delete",run:()=>N("delete",b)}]).node]))}function N(g,c){if(!_.own)c();else U5($,f.body,`${S} is devknobs' own. ${g} it anyway?`,g,c,I)}function A(){B++;let g=U6($,{label:`value of ${S}`,value:_.value,save(c){let v=CV(J,j,S,c);if(v!==null)return v;if((LU(c)||LU(_.value)&&DU(_.value))&&!DU(c))$.say(ze);return null},close(c){L=null,I(),U(c)}});L=g.cancel,f.body.replaceChildren(g.node),g.area.focus({preventScroll:!0})}function E(){let g=Xw(S,new Set(q.map((v)=>v.key))),c=CV(J,j,g,_.value);if(c!==null)$.say(c);else $.touched()}function b(){let g=RU(J,j,S);if(g!==null){$.say(g),I();return}K.delete(S),$.touched()}function w(){K.add(S),f.set(!0),U5($,f.body,`delete ${S}?`,"delete",b,I)}if(f.main.addEventListener("dblclick",()=>{if(L)return;K.add(S),f.set(!0),N("edit",A)}),K.has(S))I();return{item:_,fold:f,remove:w}}V8(V,()=>[...H.values()].map((_)=>({main:_.fold.main,remove:_.remove})));let P=null;function D(){if(P){P.focus({preventScroll:!0});return}B++;let _=U6($,{label:`add to ${j}Storage`,placeholder:"key=value, a line each, or a json object of keys",action:"add",save(S){let f=WV(S);if(!f)return"write key=value, a line each, or a json object of keys";for(let L of f){let I=CV(J,j,L.name,L.value);if(I!==null)return I}return null},close(S){P=null,Z.replaceChildren(),U(S)}});P=_.area,Z.replaceChildren(_.node),_.area.focus({preventScroll:!0})}return{node:Q,live:!0,refresh:M,filter(){if(W=$j,G)z()},controls:()=>[{label:"add",run:D}],hidden:()=>q.filter((_)=>_.own).length,clear(){let _=Y2(q,"",$.own()).length;if(_===0){$.say(`nothing to clear in ${j}Storage`);return}$.ask(`clear ${B6(_,["item","items"])}?`,"clear",()=>{let S=GV(J,j,$.own());if(S.error!==null)$.say(S.error);$.touched()})}}}var ze="saved as text, not valid JSON";var Tw=u(()=>{W6();J3();t0();g2();jj()});var bw={};F5(bw,{storeKey:()=>kU,storageView:()=>Ie,databaseKey:()=>PV,cacheKey:()=>yU,STORAGE_KINDS:()=>vU,POLL_MS:()=>Ow,OWN_GROUP:()=>fw,NOT_READ:()=>xw,NODE_ICONS:()=>zV,FOLD_MS:()=>Ew});function J4($){return vU.find((j)=>j.value===$)?.label??$}function X3($){return vU.find((j)=>j.value===$)?.icon??"database"}function PV($){return`database:${$}`}function kU($,j){return`store:${$}/${j}`}function yU($){return`cache:${$}`}function _e(){return{site:window,copy:F$,every($,j){let J=window.setInterval(j,$);return()=>window.clearInterval(J)},onStorage($){return window.addEventListener("storage",$),()=>window.removeEventListener("storage",$)},visible:()=>!document.hidden,now:()=>Date.now(),memory:Pe}}function H5($,j,J){if($===0)return{text:`no ${j[1]}`,idle:!0};let Q=J===void 0?"":` · ${V2(J)}`;return{text:`${B6($,j)}${Q}`,idle:!1}}function V3($){return{text:xw,idle:!0,why:$}}function Sw($){return $.reduce((j,J)=>j+J.size,0)}function Ie($={}){let j={..._e(),...$},J=j.site,{memory:Q}=j,{expanded:Z}=Q,X=null;function V(Y){let q=!1,C=[],G=new Set;function W(){let a=T("div","ask"),o=null,Q0=[],K0=null;function _0(){let S0=[...o?[o]:[],...Q0];a.replaceChildren(...S0.length>0?[e0(S0)]:[])}let f0=(S0,R0)=>{Q0=[...(typeof S0==="string"?[S0]:S0).map(L0),...R0?[F1([R0]).node]:[]],_0()},b0=(S0)=>{return C.push(S0),()=>{let R0=C.indexOf(S0);if(R0>=0)C.splice(R0,1)}},u0=(S0)=>{K0?.();let R0=()=>{if(j1(),o=null,_0(),K0===R0)K0=null},j1=b0(R0);K0=R0;let I0=S0(R0);o=I0.node,_0(),I0.focus?.focus({preventScroll:!0})},Y1=(S0,R0,j1)=>{u0((I0)=>{let o1=RX({text:S0,confirm:R0,onConfirm(){I0(),j1()},onCancel:I0});return{node:o1.node,focus:o1.buttons[0]}})},w0=(S0,R0)=>{j.copy(S0).then((j1)=>f0(j1?`copied ${R0}`:`could not copy ${R0}`),()=>f0(`could not copy ${R0}`))};return{node:a,shell:{site:J,now:j.now,say:f0,hold:b0,put:u0,ask:Y1,copy:w0},close:()=>K0?.()}}let K=i$({placeholder:"filter storage",onInput:()=>f()}),H=()=>K.node.value.trim().toLowerCase();function B(a){let o=H();if(o==="")return"";return a.some((Q0)=>Q0.toLowerCase().includes(o))?"":K.node.value}function z(a,o){let Q0=()=>{if(!q&&!o())a.body.replaceChildren()};if(typeof getComputedStyle!=="function")Q0();else setTimeout(Q0,Ew)}function M(a,o,Q0,K0){let _0=T("span","row-value idle",""),f0={text:"",idle:!0},b0=!1,u0=!1,Y1=null;function w0(){_0.textContent=f0.text,_0.title=f0.why??"",_0.classList.toggle("idle",f0.idle||b0)}function S0(I0){if(I0===u0)return;if(u0=I0,I0)Y1=K0(R0);else Y1?.(),Y1=null,z(R0,()=>u0)}let R0=r$({label:Q0,glyph:A0(o),ends:[_0],open:!1,onToggle(I0){if(I0)Z.add(a);else Z.delete(a);S0(I0)}});return{fold:R0,tell(I0){f0=I0,w0()},hush(I0){b0=I0,w0()},isOpen:()=>u0,show(I0){if(I0===u0)return;R0.set(I0),S0(I0)}}}function U(a,o,Q0){let K0=!1,_0=W(),f0=T("div","st-list"),b0=xE("",()=>{K0=!K0,w0.filter(),u0()});function u0(){let I0=w0.hidden?.()??0;if(I0===0){f0.replaceChildren();return}if(b0.textContent=K0?"hide devknobs' own":`${I0} hidden (devknobs' own)`,f0.children.length===0)f0.replaceChildren(b0)}let Y1={..._0.shell,own:()=>K0,query:()=>B(o),counted(){u0(),$0()},touched:h},w0=Q0(Y1),S0=[...w0.controls?.()??[]];if(w0.clear)S0.push({label:"clear",run:()=>w0.clear?.()});if(a==="presets")S0.unshift({label:"save current as preset",run:()=>void bU(Y1,"")});else if(a!=="indexeddb"&&a!=="cache")S0.push({label:"save as preset",run:()=>void bU(Y1,Y1.query())});let R0=k7([...S0.length>0?[e0([F1(S0).node])]:[],_0.node,w0.node,f0]),j1={kind:a,node:R0,section:w0,own:()=>K0,destroy(){G.delete(j1),_0.close(),w0.destroy?.()}};return G.add(j1),w0.filter(),w0.refresh(),j1}function F(a,o,Q0,K0,_0,f0){return M(a,o,Q0,(b0)=>{let u0=U(K0,_0,f0);return b0.body.replaceChildren(u0.node),u0.destroy})}let P={local:[],session:[],cookies:[],presets:[],databases:[],caches:[]},D={local:F("local",X3("local"),J4("local"),"local",[J4("local")],(a)=>wU(a,"local")),session:F("session",X3("session"),J4("session"),"session",[J4("session")],(a)=>wU(a,"session")),cookies:F("cookies",X3("cookies"),J4("cookies"),"cookies",[J4("cookies")],Mw),presets:F("presets",X3("presets"),J4("presets"),"presets",[J4("presets")],Rw)},_=["local","session","cookies","presets"];function S(a,o){if(a==="cookies")return j3(P.cookies,o).length;if(a==="presets")return UV(P.presets,o).length;return Y2(P[a],o,!1).length}function f(){let a=H()!=="";for(let o of _){let Q0=D[o],K0=!a||B([J4(o)])==="",_0=K0?0:S(o,K.node.value);Q0.hush(!K0&&_0===0),Q0.show(K0?Z.has(o):_0>0)}for(let o of G)o.section.filter()}let L=[],I=[],N=0;function A(a){let{name:o}=a,Q0=W(),K0=T("div","st-list"),_0=null,f0=0;function b0(){Q0.shell.ask(`delete the database ${o}? the page may need a reload after`,"delete",()=>{YV(J,o).then((S0)=>{if(S0==="blocked")l.shell.say(zw(o));else if(S0==="failed")l.shell.say(`cannot delete ${o}`);Z.delete(PV(o)),T0()})})}async function u0(){let S0=++f0;if(_0===null)K0.replaceChildren(L0("reading"));let R0=await VV(J,o);if(q||S0!==f0||!w0.node.isOpen())return;let j1=R0.error??R0.stores.map((I0)=>I0.name).join(`
823
+ `);if(j1!==_0){_0=j1;for(let I0 of w0.stores)I0.node.show(!1);w0.stores=R0.stores.map((I0)=>({name:I0.name,node:F(kU(o,I0.name),zV.store,I0.name,"indexeddb",[I0.name,o],(o1)=>Iw(o1,o,I0.name))})),K0.replaceChildren(...R0.error!==null?[L0(R0.error)]:w0.stores.length>0?w0.stores.map((I0)=>I0.node.fold.node):[M1("no object stores")]);for(let I0 of w0.stores)I0.node.show(Z.has(kU(o,I0.name)))}for(let I0 of R0.stores){let o1=w0.stores.find((h2)=>h2.name===I0.name);if(I0.count!==null)o1?.node.tell(H5(I0.count,["record","records"]))}}let Y1=M(PV(o),zV.database,o,(S0)=>{return _0=null,S0.body.replaceChildren(k7([Q0.node,K0,e0([F1([{label:"delete database",run:b0}]).node])])),u0(),()=>{f0++,Q0.close();for(let R0 of w0.stores)R0.node.show(!1);w0.stores=[]}});Y1.tell({text:`version ${a.version}`,idle:!1});let w0={name:o,node:Y1,stores:[],refresh(){if(Y1.isOpen())u0()}};return w0}let E=null,b=null;function w(a){let o=b??P.databases.map((Q0)=>`${Q0.name}
824
+ ${Q0.version}`).join(`
825
+
826
+ `);if(o===E){for(let Q0 of L)Q0.refresh();return}E=o;for(let Q0 of L)Q0.node.show(!1);L=b===null?P.databases.map(A):[],a.body.replaceChildren(k7(b!==null?[L0(b)]:L.length>0?L.map((Q0)=>Q0.node.fold.node):[M1("no databases")]));for(let Q0 of L)Q0.node.show(Z.has(PV(Q0.name)))}let g=M("indexeddb",X3("indexeddb"),J4("indexeddb"),(a)=>{return E=null,w(a),()=>{for(let o of L)o.node.show(!1);L=[]}});async function c(){let a=N;for(let o of[...I]){let Q0=await QV(J,o.name,0,0);if(q||a!==N)return;o.node.tell(Q0.error===null?H5(Q0.total,["request","requests"]):V3(Q0.error))}}let v=null,O=null;function m(a){let o=O??P.caches.join(`
827
+ `);if(o!==v){v=o;for(let Q0 of I)Q0.node.show(!1);I=O===null?P.caches.map((Q0)=>({name:Q0,node:F(yU(Q0),zV.cache,Q0,"cache",[Q0],(K0)=>Dw(K0,Q0))})):[],a.body.replaceChildren(k7(O!==null?[L0(O)]:I.length>0?I.map((Q0)=>Q0.node.fold.node):[M1("no caches")]));for(let Q0 of I)Q0.node.show(Z.has(yU(Q0.name)))}c()}let k=M("cache",X3("cache"),J4("cache"),(a)=>{return v=null,m(a),()=>{for(let o of I)o.node.show(!1);I=[]}}),l=W(),R=T("div","st-list"),y=T("div","st-list"),i=LX({label:fw});i.append(D.presets.fold.node,y),R.append(D.local.fold.node,D.session.fold.node,D.cookies.fold.node,g.fold.node,k.fold.node,i),Y.append(j8([K.node]),l.node,R);function n(){let a=[D.local.fold.main,D.session.fold.main,D.cookies.fold.main];a.push(g.fold.main);for(let o of L)a.push(o.node.fold.main,...o.stores.map((Q0)=>Q0.node.fold.main));return a.push(k.fold.main,...I.map((o)=>o.node.fold.main),D.presets.fold.main),a.map((o)=>({main:o}))}V8(R,n);function $0(){for(let Q0 of["local","session"]){let K0=j4(J,Q0,P[Q0]);P[Q0]=K0.items;let _0=Y2(K0.items,"",!1);D[Q0].tell(K0.error===null?H5(_0.length,["item","items"],Sw(_0)):V3(K0.error))}let a=Q3()?t7():null;P.presets=a??[],D.presets.tell(a===null?V3(FV):H5(a.length,["preset","presets"]));let o=a===null?FV:Nw(a);if(y.children[0]?.textContent!==o)y.replaceChildren(L0(o))}let X0=0;async function M0(){let a=++X0;$0();let o=await K6(J);if(q||a!==X0)return;P.cookies=o.cookies,D.cookies.tell(o.error===null?H5(o.cookies.length,["cookie","cookies"],Sw(o.cookies)):V3(o.error))}async function T0(){let a=++N,[o,Q0]=await Promise.all([a7(J),W5(J)]);if(q||a!==N)return;if(P.databases=o.databases,b=o.error,g.tell(o.error===null?H5(o.databases.length,["database","databases"]):V3(o.error)),g.isOpen())w(g.fold);if(P.caches=Q0.names,O=Q0.error,k.tell(Q0.error===null?H5(Q0.names.length,["cache","caches"]):V3(Q0.error)),k.isOpen())m(k.fold)}function x(a){for(let o of G)if(!a||a.includes(o.kind))o.section.refresh()}function h(){M0(),x(_)}function t(){return x(),Promise.all([M0(),T0()])}let J0={...l.shell,own:()=>[...G].some((a)=>a.own()),query:()=>"",counted(){},touched:()=>void t()};function G0(){let a=J0.own();Vw(J,a).then((o)=>{let Q0=a?", devknobs' own items too":". devknobs' own items are kept";J0.ask(`clear site data? ${AU(o)}${Q0}`,"clear site data",()=>{Yw(J,a).then((K0)=>{J0.say(qw(K0),{label:"reload the page",run:()=>J.location.reload()}),J0.touched()})})})}let N0=j.every(Ow,()=>{if(!j.visible())return;M0();for(let a of G)if(a.section.live)a.section.refresh()}),F0=j.onStorage(()=>{M0(),x(["local","session","presets"])});X={refresh:()=>void t(),clearAll:G0,escape(){let a=C.pop();if(a)return a(),!0;return K.clear()}};for(let a of _)D[a].show(Z.has(a));return g.show(Z.has("indexeddb")),k.show(Z.has("cache")),t().then(()=>{if(q||Q.seeded)return;Q.seeded=!0;let o=[[Y2(P.local,"",!1).length>0,D.local,"local"],[Y2(P.session,"",!1).length>0,D.session,"session"],[P.cookies.length>0,D.cookies,"cookies"],[P.databases.length>0,g,"indexeddb"],[P.caches.length>0,k,"cache"],[P.presets.length>0,D.presets,"presets"]].find(([Q0])=>Q0);if(!o||Z.size>0)return;Z.add(o[2]),o[1].show(!0)}),()=>{q=!0,X=null,N0(),F0();for(let a of[...G])a.destroy()}}return{id:gU,title:"storage",layout:"flush",mount:V,actions:[{label:"refresh",icon:"refresh-cw",run:()=>X?.refresh()},{label:"clear site data",icon:"trash-2",run:()=>X?.clearAll()}],escape:()=>X?.escape()??!1}}var vU,zV,Ow=1000,Ew=200,xw="cannot read",fw="devknobs",Pe;var ww=u(()=>{ZV();Cw();r7();W6();qV();fU();J3();t0();r1();g2();hU();Fw();Lw();jj();Aw();Tw();vU=[{value:"local",label:"local storage",icon:"table-2"},{value:"session",label:"session storage",icon:"table-2"},{value:"cookies",label:"cookies",icon:"cookie"},{value:"indexeddb",label:"IndexedDB",icon:"database"},{value:"cache",label:"cache storage",icon:"hard-drive"},{value:"presets",label:"presets",icon:"bookmark"}],zV={database:"database",store:"table-2",cache:"file"},Pe={expanded:new Set,seeded:!1}});function De(){return Promise.resolve().then(() => (ww(),bw)).then(($)=>$.storageView({visible:()=>C0().panel.open&&!document.hidden}))}function kw($=De){let j=0,J=()=>l$()===gU,Q=()=>{if(j++,J())MX()};return{toggle(){if(J()){Q();return}let Z=++j;$().then((X)=>{if(Z===j)d$(X)},()=>{})},isOn:J,close:Q,subscribe:(Z)=>zX(()=>Z()),destroy(){Q()}}}var gU="storage";var hU=u(()=>{E1();Y5()});b3();E1();m2();E1();q4();T8();m2();W1();K1();u8();n6();dj();q4();oQ();m4();z3();t1();B8();lY();d3();aJ();q4();r3();y8();var BW=60000,UW=3600000,j7=86400000,ic=7*j7,rc=60*j7;function w2(...$){return $.map((j)=>({value:j,label:j}))}var D4=w2("off","on");function L4($){return $?"on":"off"}function S$($,j,J){let Q=$.trim(),Z=Number(Q);if(Q===""||!Number.isFinite(Z)||Z<j||Z>J)return null;return{value:String(Z),label:String(Z)}}function J7($){let j=new Date($),J=(Z,X=2)=>String(Z).padStart(X,"0");return`${`${J(j.getFullYear(),4)}-${J(j.getMonth()+1)}-${J(j.getDate())}`}T${J(j.getHours())}:${J(j.getMinutes())}`}function HW($){let j=$<0?"-":"+",J=Math.abs($);if(J<BW)return"now";if(J<UW)return`${j}${Math.round(J/BW)}m`;if(J<j7)return`${j}${Math.round(J/UW)}h`;return`${j}${Math.round(J/j7)}d`}var sc=[{pattern:/^(m|mins?|minutes?)$/,ms:BW,short:"m",word:"minute"},{pattern:/^(h|hrs?|hours?)$/,ms:UW,short:"h",word:"hour"},{pattern:/^(d|days?)$/,ms:j7,short:"d",word:"day"},{pattern:/^(w|wks?|weeks?)$/,ms:ic,short:"w",word:"week"}];function MW($){let j=/^([+-]?)\s*(\d+(?:\.\d+)?)\s*([a-z]+)$/i.exec($.trim());if(!j)return null;let[,J="",Q="",Z=""]=j,X=sc.find((C)=>C.pattern.test(Z.toLowerCase())),V=Number(Q);if(!X||!(V>0))return null;let Y=J==="-"?"-":"+",q=Math.round(V*X.ms)*(J==="-"?-1:1);return{value:String(q),label:`${Y}${V}${X.short}`,long:`${Y}${V} ${X.word}${V===1?"":"s"}`}}var tQ;function FW($){if(tQ===void 0)try{tQ=new Intl.DisplayNames(["en"],{type:"language"})}catch{tQ=null}try{let j=tQ?.of($);return j&&j.toLowerCase()!==$.toLowerCase()?j.toLowerCase():void 0}catch{return}}function nc($){let j=$.trim();if(!/^[a-z]{2}(-[a-z0-9]{2,8})*$/i.test(j))return null;try{let[J]=Intl.getCanonicalLocales(j);if(!J||!FW(J))return null;return{value:J,label:J.toLowerCase(),aliases:[FW(J)??""]}}catch{return null}}function ac($){let j=/^(-?\d+(?:\.\d+)?)\s*[,\s]\s*(-?\d+(?:\.\d+)?)$/.exec($.trim());if(!j)return null;let J=Number(j[1]),Q=Number(j[2]);if(Math.abs(J)>90||Math.abs(Q)>180)return null;return{value:`${J},${Q}`,label:`${J}, ${Q}`}}function EN($){return String(Math.round($*100)/100)}var oc=new Set(w8),KW=null;function tc(){if(!KW){let $=[];try{$=Intl.supportedValuesOf("timeZone")}catch{}KW=$.filter((j)=>!oc.has(j)).map((j)=>({value:j,label:j}))}return KW}function xN($){let j=$.trim();return/^[\w.!#$%&'*+^`|~-]+\/\S/.test(j)?{value:j,label:j}:null}var fN={"iphone-safari":["ios","mobile"],"android-chrome":["mobile","pixel"],"ipad-safari":["ipados","tablet"],"mac-safari":["macos"],"mac-chrome":["macos"],"windows-chrome":["pc"],"windows-edge":["microsoft","pc"],"linux-firefox":["gecko","mozilla"],googlebot:["bot","crawler","google","seo"]};function bN(){return typeof navigator<"u"&&"connection"in navigator}var wN={id:"scheme",label:"scheme",category:"look",control:"segments",options:w2("system","light","dark"),aliases:["color","theme","mode","appearance"],read:($)=>$.scheme,write:($)=>({scheme:$}),reset:{scheme:e.scheme}},kN={id:"contrast",label:"contrast",category:"look",control:"segments",options:[{value:"system",label:"system"},{value:"more",label:"more",aliases:["high"]}],aliases:[],read:($)=>$.contrast,write:($)=>({contrast:$}),reset:{contrast:e.contrast}},yN={id:"transparency",label:"transparency",category:"look",control:"segments",options:w2("system","reduce"),aliases:["reduced","blur"],read:($)=>$.transparency,write:($)=>({transparency:$}),reset:{transparency:e.transparency}},vN={id:"text",label:"text size",category:"look",control:"chips",options:w2("system","13","15","17","20"),aliases:["font","font size","root"],read:($)=>String($.text),write:($)=>({text:$==="system"?"system":Number($)}),reset:{text:e.text},parse:($)=>S$($,GJ,WJ)},gN={id:"spacing",label:"text spacing",category:"look",control:"switch",options:D4,aliases:["wcag","letter","line height"],read:($)=>L4($.spacing),write:($)=>({spacing:$==="on"}),reset:{spacing:e.spacing},brief:()=>"spacing"},hN={id:"motion",label:"motion",category:"motion",control:"segments",options:[{value:"system",label:"system"},{value:"reduce",label:"reduce",aliases:["reduced"]}],aliases:["reduced","animation","animations"],read:($)=>$.motion,write:($)=>({motion:$}),reset:{motion:e.motion}},uN={id:"speed",label:"speed",category:"motion",control:"chips",options:[{value:"1",label:"1"},{value:"0.25",label:"0.25",aliases:["slow"]},{value:"0.1",label:"0.1",aliases:["slower"]},{value:"0",label:"pause",aliases:["paused","stop"]}],aliases:["animation speed","playback","rate"],read:($)=>String($.speed),write:($)=>({speed:Number($)}),reset:{speed:e.speed},parse:($)=>S$($,rJ,sJ)},mN={id:"locale",label:"locale",category:"language",control:"list",options:[{value:"system",label:"system"},...c3.map(($)=>({value:$,label:$.toLowerCase(),aliases:[FW($)??""]}))],aliases:["language","lang","i18n"],read:($)=>$.locale.lang,write:($)=>({locale:{lang:$}}),reset:{locale:{lang:e.locale.lang}},name:($)=>$.toLowerCase(),parse:nc,bare:!0},pN={id:"direction",label:"direction",category:"language",control:"segments",options:w2("system","ltr","rtl"),aliases:["dir","writing"],read:($)=>$.locale.dir,write:($)=>({locale:{dir:$}}),reset:{locale:{dir:e.locale.dir}}},cN={id:"pseudo",label:"pseudo",category:"language",control:"switch",options:D4,aliases:["pseudo-localization","pseudolocalization","accents"],read:($)=>L4($.pseudo),write:($)=>({pseudo:$==="on"}),reset:{pseudo:e.pseudo}},zW={id:"geo",label:"geo",category:"location and time",control:"list",options:[{value:"system",label:"system"},...D5.map(($)=>({value:$.id,label:$.label.toLowerCase()})),{value:"custom",label:"custom",opens:!0},{value:"route",label:"route",opens:!0}],aliases:["location","geolocation","gps","position","city"],read:($)=>$.geo.preset,write:($,j)=>{if($.includes(",")){let[Q=0,Z=0]=$.split(",").map(Number);return{geo:{preset:"custom",lat:Q,lng:Z}}}let J=$==="custom"?F3(j.geo):null;return{geo:J?{preset:$,lat:J.lat,lng:J.lng}:{preset:$}}},reset:{geo:{preset:e.geo.preset}},brief:($)=>{let{preset:j,lat:J,lng:Q}=$.geo;if(j==="custom")return`${EN(J)}, ${EN(Q)}`;return zW.options.find((Z)=>Z.value===j)?.label??j},parse:ac,bare:!0},dN={id:"geoError",label:"geo error",category:"location and time",control:"segments",options:w2("none","denied","unavailable","timeout"),aliases:["permission","fail"],read:($)=>$.geo.error,write:($)=>({geo:{error:$}}),reset:{geo:{error:e.geo.error}}},lN={id:"timeZone",label:"time zone",category:"location and time",control:"list",options:[{value:"geo",label:"follow geo"},{value:"system",label:"system"},...w2(...w8)],aliases:["timezone","tz","zone"],read:($)=>$.timeZone,write:($)=>({timeZone:$}),reset:{timeZone:e.timeZone},parse:($)=>{let j=$.trim()?k8($.trim()):null;return j?{value:j,label:j}:null},bare:!0,extra:tc},iN={id:"clock",label:"clock",category:"location and time",control:"segments",options:[{value:"system",label:"system"},...WH.map(($)=>({value:String($.ms),label:$.label,long:MW($.label)?.long}))],aliases:["time","date","now","travel"],read:($)=>$.clock.mode==="system"?"system":String($.clock.at-$.clock.since),write:($,j)=>{if($==="system")return{clock:{mode:"system"}};let J=r0();return{clock:{mode:j.clock.mode==="frozen"?"frozen":"offset",at:J+Number($),since:J}}},reset:{clock:{mode:e.clock.mode}},brief:($,j)=>{let J=j.now-j.real;return Math.abs(J)>rc?J7(j.now).slice(0,10):HW(J)},name:($)=>HW(Number($)),parse:MW,bare:!0},rN={id:"clockMode",label:"clock mode",category:"location and time",control:"segments",options:[{value:"offset",label:"running",aliases:["offset","run"]},{value:"frozen",label:"frozen",aliases:["freeze","stopped"]}],aliases:[],read:($)=>$.clock.mode,write:($)=>({clock:{mode:$}}),reset:{clock:{mode:e.clock.mode}},brief:($)=>$.clock.mode==="frozen"?"frozen":"",shown:($)=>$.clock.mode!=="system"},sN={id:"clockSpeed",label:"clock speed",category:"location and time",control:"segments",options:[{value:"1",label:"1x"},{value:"60",label:"60x"},{value:"3600",label:"3600x"}],aliases:["fast","forward"],read:($)=>String($.clock.speed),write:($,j)=>{let{mode:J}=j.clock;return{clock:{mode:J==="system"?"offset":J,speed:Number($)}}},reset:{clock:{speed:e.clock.speed}},name:($)=>`${$}x`,parse:($)=>{let j=S$($.replace(/x$/i,""),Bj,Uj);return j&&{...j,label:`${j.value}x`}},shown:($)=>$.clock.mode==="offset"},nN={id:"header",label:"send to server",category:"location and time",control:"switch",options:D4,aliases:["header","server","x-devknobs-now","backend"],read:($)=>L4($.clock.header),write:($)=>({clock:{header:$==="on"}}),reset:{clock:{header:e.clock.header}},brief:($)=>dY($.clock)?"server":"",shown:($)=>$.clock.mode!=="system"},aN={id:"online",label:"network",category:"network",control:"segments",options:w2("system","offline"),aliases:["online","internet"],read:($)=>$.network.online,write:($)=>({network:{online:$}}),reset:{network:{online:e.network.online}}},oN={id:"connection",label:"connection",category:"network",control:"segments",options:w2("system","slow-2g","2g","3g","4g"),aliases:["effective type","slow","throttle"],read:($)=>$.network.type,write:($)=>({network:{type:$}}),reset:{network:{type:e.network.type}},available:bN},tN={id:"saveData",label:"save data",category:"network",control:"segments",options:w2("system","on","off"),aliases:["data saver","lite"],read:($)=>$.network.saveData,write:($)=>({network:{saveData:$}}),reset:{network:{saveData:e.network.saveData}},brief:($)=>`save data ${$.network.saveData}`,available:bN};function P2($,j){return $.options.find((Q)=>Q.value===j)?.label??$.name?.(j)??j}function ec($){let j=/^(\d+)\s*[x×*]\s*(\d+)(?:\s*px)?$/i.exec($.trim());if(!j)return null;let J=Number(j[1]),Q=Number(j[2]);if([J,Q].some((Z)=>Z<R5||Z>A5))return null;return{value:`${J}x${Q}`,label:`${J} × ${Q}`}}var $d=w2("portrait","landscape"),jd={closed:["fold","folded","shut"],open:["unfold","unfolded"]},Jd=b4.flatMap(($)=>$.postures?f4.map((j)=>({value:`${$.id}:${j}`,label:`${$.label} ${j}`,aliases:jd[j]})):[]);function Q7($){return u2($.device,$.posture)}function eN($){return typeof $.height==="number"?`${$.width}x${$.height}`:"none"}var IW={id:"device",label:"device",category:"device",control:"list",options:[{value:"none",label:"none"},...b4.map(($)=>({value:$.id,label:$.label,aliases:[$.kind,...$.ua.split("-")],group:$.kind}))],aliases:["devices","height","orientation","rotate"],read:($)=>$.device==="none"?eN($):$.device,write:($,j)=>{if($==="portrait"||$==="landscape")return{orientation:$};let J=f4.find((X)=>$.endsWith(`:${X}`));if(J)return{device:$.slice(0,-J.length-1),posture:J};let Q=/^(\d+|full)x(\d+)$/.exec($);if(Q)return{width:Q[1]==="full"?"full":Number(Q[1]),height:Number(Q[2])};if($!=="none")return{device:$};let Z=z1(j.device,j.posture);return Z&&j.dpr===Z.dpr?{device:"none",width:"full",height:"full",dpr:"system"}:{device:"none",width:"full",height:"full"}},reset:{device:e.device,width:e.width,height:e.height,dpr:e.dpr,posture:e.posture},brief:($)=>{let j=n0($.device);if(!j)return P2(IW,eN($));let J=j.postures?` · ${$.posture}`:"";return`${j.label}${J} · ${$.orientation}`},name:($)=>$.replace("x"," × "),parse:ec,bare:!0,extra:()=>[...$d,...Jd]};function PW($){return O5(Q7($),$.orientation)!==null}var jR={id:"mock",label:"mock",category:"device",control:"switch",options:D4,aliases:["mockup","bezel","body"],read:($)=>L4($.mock&&PW($)),write:($)=>({mock:$==="on"}),reset:{mock:e.mock},brief:()=>"",offers:($)=>PW($)?["off","on"]:[]},JR={id:"touchPointer",label:"touch pointer",category:"device",control:"switch",options:D4,aliases:["finger","tap","swipe","drag","cursor","touch events"],read:($)=>L4($.touchPointer&&w4($.device)),write:($)=>({touchPointer:$==="on"}),reset:{touchPointer:e.touchPointer},brief:()=>"",offers:($)=>w4($.device)?["off","on"]:[]};function eQ($){return O6(Q7($),$.browser)??"off"}var QR={id:"browser",label:"browser",category:"device",control:"segments",options:[{value:"compact",label:"compact",aliases:["floating"]},{value:"bottom",label:"bottom"},{value:"top",label:"top"},{value:"off",label:"off",aliases:["fullscreen"]}],aliases:["safari","chrome","address bar","url bar","search bar","toolbar","browser ui"],read:eQ,write:($)=>({browser:$}),reset:{browser:e.browser},brief:($)=>eQ($)===PJ(Q7($))[0]?"":eQ($),offers:($)=>PJ(Q7($))};function _W($){return eQ($)!=="off"}var ZR={id:"bars",label:"bars",category:"device",control:"segments",options:[{value:"auto",label:"auto",aliases:["scroll","follow"]},{value:"expanded",label:"expanded"},{value:"minimized",label:"minimized",aliases:["scrolled","collapsed"]}],aliases:["browser bars","minimize","collapse"],read:($)=>_W($)?$.bars:"auto",write:($)=>({bars:$}),reset:{bars:e.bars},offers:($)=>_W($)?["auto","expanded","minimized"]:[]};function $R($){return Rq(Q7($))==="safari"&&_W($)}var XR={id:"edgeToEdge",label:"edge to edge",category:"device",control:"switch",options:D4,aliases:["edge","under bars","true height","full height"],read:($)=>L4($.edgeToEdge&&$R($)),write:($)=>({edgeToEdge:$==="on"}),reset:{edgeToEdge:e.edgeToEdge},brief:()=>"",offers:($)=>$R($)?["off","on"]:[]},VR={id:"width",label:"width",category:"viewport",control:"chips",options:[{value:"full",label:"full"},{value:"1024",label:"1024",aliases:["laptop"]},{value:"768",label:"768",aliases:["tablet","ipad"]},{value:"390",label:"390",aliases:["phone","mobile","iphone"]}],aliases:["viewport","responsive","breakpoint","device"],read:($)=>String($.width),write:($)=>({width:$==="full"?"full":Number($)}),reset:{width:e.width},base:($)=>n0($.device)?String($.width):void 0,brief:($)=>typeof $.height==="number"?"":String($.width),parse:($)=>{let j=/^(\d+)(?:\s*px)?$/i.exec($.trim());return j?S$(j[1]??"",R5,A5):null},bare:!0},YR={id:"dpr",label:"dpr",category:"viewport",control:"chips",options:[{value:"system",label:"system"},{value:"1",label:"1"},{value:"2",label:"2",aliases:["retina"]},{value:"3",label:"3"}],aliases:["pixel ratio","device pixel ratio","density","resolution"],read:($)=>String($.dpr),write:($)=>({dpr:$==="system"?"system":Number($)}),reset:{dpr:e.dpr},base:($)=>{let j=z1($.device,$.posture);return j?String(j.dpr):void 0},brief:($)=>`dpr ${$.dpr}`,parse:($)=>S$($,Lj,Nj)};function Qd($){let j=/^(\d+(?:\.\d+)?)\s*%?$/.exec($.trim()),J=Number(j?.[1])/100;if(!j||!(J>=Ij&&J<=Dj))return null;return{value:String(J),label:z6(J)}}var qR={id:"zoom",label:"zoom",category:"viewport",control:"segments",options:[{value:"fit",label:"fit",aliases:["window"]},...L5.map(($)=>({value:String($),label:String(Math.round($*100)),long:z6($)}))],aliases:["scale","magnify","magnification"],read:($)=>String($.zoom),write:($)=>({zoom:$==="fit"?"fit":Number($)}),reset:{zoom:e.zoom},brief:($)=>k4($)?z6(Number($.zoom)):"",name:($)=>z6(Number($)),parse:Qd,shown:k4},CR={id:"frame",label:"frame",category:"viewport",control:"switch",options:D4,aliases:["iframe"],read:($)=>L4($.frame),write:($)=>({frame:$==="on"}),reset:{frame:e.frame},brief:($)=>L3($)?"":"frame",shown:($)=>!L3($)};function GR($){let j=G8($);return j?xV(j):void 0}var Zd={green:["classic"],graphite:["black","gray","grey","dark"]},WR={id:"mat",label:"mat",category:"viewport",control:"swatches",options:h8.map(($)=>({value:$,label:$,aliases:Zd[$],swatch:E6(d4[$].srgb),color:GR(d4[$].srgb[0])})),aliases:["background","cutting mat","mat color","letterbox"],read:($)=>$.mat,write:($)=>({mat:M9($)||k1($)?$:e.mat}),reset:{mat:e.mat},custom:"mat",land:IN,brief:($)=>k4($)?$.mat:"",shown:k4},KR={id:"vision",label:"vision",category:"look",control:"list",options:[{value:"none",label:"none"},{value:"protanopia",label:"protanopia",aliases:["red"]},{value:"deuteranopia",label:"deuteranopia",aliases:["green"]},{value:"tritanopia",label:"tritanopia",aliases:["blue"]},{value:"achromatopsia",label:"achromatopsia",aliases:["gray","grayscale","monochrome"]},{value:"blur",label:"blur",aliases:["blurry"]}],aliases:["color blind","colorblind","blindness","deficiency"],read:($)=>$.vision,write:($)=>({vision:$}),reset:{vision:e.vision}},DW={id:"ua",label:"user agent",category:"device",control:"list",options:[{value:"system",label:"system"},...s5.map(($)=>({value:$.id,label:$.label.toLowerCase(),aliases:fN[$.id]??[]})),{value:"custom",label:"custom",opens:!0}],aliases:["ua","useragent","browser"],read:($)=>$.ua.preset,write:($,j)=>{if($==="system"||T2($))return{ua:{preset:$}};if($!=="custom")return{ua:{preset:"custom",custom:$}};let J=typeof navigator>"u"?"":navigator.userAgent;return{ua:{preset:"custom",custom:T2(j.ua.preset)?.userAgent||j.ua.custom||J}}},reset:{ua:{preset:e.ua.preset}},brief:($)=>z1($.device,$.posture)?.ua===$.ua.preset?"":P2(DW,$.ua.preset),parse:xN},BR={id:"overflow",label:"overflow",category:"debug",control:"switch",options:D4,aliases:["horizontal","scroll","sideways"],read:($)=>L4($.overflow),write:($)=>({overflow:$==="on"}),reset:{overflow:e.overflow},brief:($,j)=>j.overflow===null?"overflow":`overflow · ${j.overflow}`},UR={id:"outlines",label:"outlines",category:"debug",control:"switch",options:D4,aliases:["outline","borders","boxes"],read:($)=>L4($.outlines),write:($)=>({outlines:$==="on"}),reset:{outlines:e.outlines},brief:()=>"outlines"},Xd=["linear-gradient(135deg",`${$6.blue.srgb} 50%`,`${$6.green.srgb} 50%)`].join(", "),HR={id:"grabColor",label:"grab color",category:"debug",control:"swatches",options:[{value:"auto",label:"auto",aliases:["automatic"],swatch:Xd},...aQ.map(($)=>({value:$,label:$,swatch:$6[$].srgb,color:GR($6[$].srgb)}))],aliases:["highlight","overlay"],read:($)=>$.grabColor,write:($)=>({grabColor:$}),reset:{grabColor:e.grabColor},custom:"grab"};E1();D9();function Vd($){return{panel:{docked:!$.docked}}}function $Z(){X1(Vd(C0().panel)),T$()}function Z7($){return $?"unpin":"pin to the side"}function MR($,j){return dC(j,q$())?Z7($):`${Z7($)} · over the page in a window this narrow`}var jZ="move to the other side",LW="close the panel";function FR($){return`${LW} · ${$}`}function zR($,j){return $.id==="pin"&&j?"unpin panel":$.label}V7();var P0={grab:null,inspect:null,inspector:null,requests:null,storage:null,flip:null};var Cd=["look","motion","language","location and time","network","device","viewport","debug"];function Gd($){return $>0?`${$} ${$===1?"preset":"presets"}`:""}var Wd="picking",XZ=[{id:"grab",label:"grab",long:"pick an element to copy",aliases:["pick","element","component","select","agent"],icon:"square-dashed-mouse-pointer",binding:"grab",run:()=>P0.grab?.set(!P0.grab.isOn()),state:()=>P0.grab?P0.grab.isOn()?"on":"off":null,off:()=>P0.grab?.set(!1),watch:($)=>P0.grab?.subscribe(()=>$())??(()=>{}),available:()=>P0.grab!==null},{id:"inspect",label:"inspect",long:"pick an element to see its styles",aliases:["styles","css","rules","cascade","stylesheet"],icon:"braces",binding:"inspect",run:()=>P0.inspector?.open(),state:()=>P0.inspect?P0.inspect.isOn()?"on":"off":null,off:()=>P0.inspect?.set(!1),watch:($)=>{let j=[P0.inspect?.subscribe(()=>$()),P0.inspector?.subscribe($)];return()=>{for(let J of j)J?.()}},available:()=>P0.inspect!==null,value:()=>P0.inspect?.isOn()?Wd:P0.inspector?.picked()??"",reset:()=>P0.inspector?.forget()},{id:"replay",label:"replay animations",long:"restart every animation from the start",aliases:["restart","animation","rerun"],icon:"rotate-ccw",binding:"replay",run:()=>$7()},{id:"requests",label:"requests",long:"what the page asks for",aliases:["network","fetch","xhr","http","api","log"],icon:"arrow-up-down",binding:"requests",run:()=>P0.requests?.toggle(),state:()=>P0.requests?P0.requests.shows()?"on":"off":null,off:()=>P0.requests?.close(),available:()=>P0.requests!==null},{id:"storage",label:"storage",long:"local storage, cookies, databases and presets",aliases:["data","browser data","application","cookies","localstorage","local storage","session storage","indexeddb","indexed db","cache","presets","clear site data"],icon:"database",binding:"storage",run:()=>P0.storage?.toggle(),state:()=>P0.storage?P0.storage.isOn()?"on":"off":null,off:()=>P0.storage?.close(),watch:($)=>P0.storage?.subscribe($)??(()=>{}),available:()=>P0.storage!==null,value:()=>Gd(IR()),reset:()=>DR()},{id:"pin",label:"pin panel",long:"dock the panel to its side, the page beside it",aliases:["unpin","dock","undock","sidebar","column","devtools"],icon:"pin",run:$Z,state:()=>C0().panel.docked?"on":"off"},{id:"side",label:"move panel across",long:"take the panel to the other side of the window",aliases:["side","left","right","other","flip","switch"],icon:"panel-left",run:()=>P0.flip?.()}];function Kd($){return{id:$.id,label:$.label,knobs:[],action:$}}var NR=[wN,hN,uN,kN,yN,vN,gN,mN,pN,cN,zW,dN,lN,iN,rN,sN,nN,aN,oN,tN,IW,jR,JR,QR,ZR,XR,VR,YR,qR,CR,WR,KR,DW,BR,UR,HR],RR=[{id:"scheme",label:"scheme",knobs:["scheme"]},{id:"contrast",label:"contrast",knobs:["contrast"]},{id:"transparency",label:"transparency",knobs:["transparency"]},{id:"vision",label:"vision",knobs:["vision"]},{id:"text",label:"text",knobs:["text","spacing"]},{id:"motion",label:"motion",knobs:["motion","speed"]},{id:"locale",label:"locale",knobs:["locale","direction","pseudo"]},{id:"location",label:"location",knobs:["geo","geoError"]},{id:"clock",label:"time",knobs:["clock","clockMode","clockSpeed","timeZone","header"]},{id:"network",label:"network",knobs:["online","connection","saveData"]},{id:"device",label:"device",knobs:["device","mock","touchPointer","browser","bars","edgeToEdge","ua"]},{id:"viewport",label:"viewport",knobs:["width","dpr","zoom","frame","mat"]},{id:"debug",label:"debug",knobs:["overflow","outlines","grabColor"]}],j6=[...RR,...XZ.map(Kd)];function VZ($){let j=NR.find((J)=>J.id===$);if(!j)throw Error(`devknobs: no knob ${$}`);return j}function o2($){let j=RR.find((J)=>J.knobs.includes($));if(!j)throw Error(`devknobs: no row for ${$}`);return j}function AW(){return NR.filter(($)=>$.available?.()??!0)}function E$($){return $.knobs.map(VZ).filter((j)=>j.available?.()??!0)}function YZ($,j){return $.read(j)!==($.base?.(j)??$.read(e))}function Bd($,j,J){if(!YZ($,j))return"";return $.brief?.(j,J)??P2($,$.read(j))}function AR(){return XZ.filter(($)=>$.available?.()??!0)}function TW($){return $.action?.available?.()??!0}function Y7($,j){if($.action)return $.action.off!==void 0&&$.action.state?.()==="on"||Boolean($.action.value?.());return E$($).some((J)=>YZ(J,j))}function TR($,j,J){return E$($).map((Q)=>Bd(Q,j,J)).filter((Q)=>Q!=="").join(" · ")}function LR($){return typeof $==="object"&&$!==null}function SW($){let j={};for(let J of $)for(let[Q,Z]of Object.entries(J)){let X=j[Q];j[Q]=LR(Z)&&LR(X)?{...X,...Z}:Z}return j}function SR(){let $=AW();return Cd.map((j)=>({category:j,knobs:$.filter((J)=>J.category===j)})).filter((j)=>j.knobs.length>0)}t1();W1();K1();B8();d3();u8();q4();aJ();r3();y8();m4();z3();var A1=($)=>({type:"enum",values:[...$]}),k2={type:"boolean"};function v0($,j,J="none"){return{description:$,value:j,reload:J}}function V1($,j){return{description:$,value:j}}function Ud(){return{scheme:v0("prefers-color-scheme.",A1(pV)),motion:v0("prefers-reduced-motion.",A1(cV)),speed:v0("Playback rate of every animation. 1 is normal, 0 pauses.",{type:"number",min:rJ,max:sJ}),contrast:v0("prefers-contrast.",A1(dV)),transparency:v0("prefers-reduced-transparency.",A1(lV)),locale:v0("Language and writing direction. A new lang reloads the page when it keeps its locale in a cookie or storage.",{type:"object",fields:{lang:V1("BCP 47 language tag.",{type:"string",examples:[...c3],or:["system"]}),dir:V1("Writing direction. system derives it from lang.",A1(iV))}},"page"),pseudo:v0("Pseudo-localize the page's text.",k2),geo:v0("Geolocation the page reads.",{type:"object",fields:{preset:V1("A city, custom for lat and lng, route to travel the route, or system.",A1([...D5.map(($)=>$.id),"custom","route","system"])),lat:V1("Latitude of the custom position.",{type:"number",min:-90,max:90}),lng:V1("Longitude of the custom position.",{type:"number",min:-180,max:180}),accuracy:V1("Accuracy in meters.",{type:"number",min:0}),timeZone:V1("IANA zone of the custom position.",{type:"string",examples:[...w8]}),error:V1("A failure to report instead of a position.",A1(rV)),route:V1("The route preset's path: lat,lng per line, or a GPX file.",{type:"string"}),speed:V1("How fast the route preset travels, in km/h.",{type:"number",min:0})}}),timeZone:v0("Time zone. geo follows the geolocation preset.",{type:"string",examples:[...w8],or:["geo","system"]}),clock:v0("The clock the page reads. A new mode or speed starts from what the clock reads now, so set mode and at in one patch.",{type:"object",fields:{mode:V1("system for the real clock, offset to run on from at, frozen to stop at at.",A1(sV)),at:V1("The instant the clock reads, in epoch ms.",{type:"number"}),speed:V1("Clock ms per real ms while it runs.",{type:"number",min:Bj,max:Uj}),header:V1("Send the clock's instant to the page's own origin in an x-devknobs-now header.",k2)}}),network:v0("navigator.onLine and navigator.connection. Requests still go out.",{type:"object",fields:{online:V1("navigator.onLine and its events.",A1(nV)),type:V1("navigator.connection.effectiveType.",A1(aV)),saveData:V1("navigator.connection.saveData.",A1(oV))}}),text:v0("Root font size in px.",{type:"number",min:GJ,max:WJ,or:["system"]}),spacing:v0("WCAG 1.4.12 text spacing.",k2),width:v0("Viewport width in px, rendered as a frame that wide.",{type:"number",min:R5,max:A5,or:["full"]},"frame"),height:v0("Viewport height in px, rendered as a frame that tall.",{type:"number",min:R5,max:A5,or:["full"]},"frame"),device:v0("A device preset. Sets width, height, dpr and ua.",A1([...b4.map(($)=>$.id),"none"]),"frame"),orientation:v0("How the frame is held. Needs a numeric width and height, and swaps them.",A1($Y)),posture:v0("How a foldable device stands. Needs a device that folds.",A1(f4)),mock:v0("Draw the device's body around its frame.",k2),touchPointer:v0("On a touch device, the mouse acts as a finger in its frame.",k2),browser:v0("Where a phone's browser keeps its bars, or off.",A1(eV)),bars:v0("Whether the browser bars follow the scroll or stay one way.",A1(tV)),edgeToEdge:v0("Safari draws the page under its bars to the bottom of the screen.",k2),frame:v0("Render the page in a full-width frame even at full width.",k2,"frame"),dpr:v0("Device pixel ratio inside the frame.",{type:"number",min:Lj,max:Nj,or:["system"]},"frame"),zoom:v0("How big the frame is drawn. The page sees the same viewport.",{type:"number",min:Ij,max:Dj,or:["fit"]}),mat:v0("Color of the mat the frame lies on: a name, or a hex #rrggbb in lower case.",{type:"string",examples:["#336699"],or:[...h8]}),vision:v0("A vision deficiency drawn as a filter over the frame.",A1(JY),"frame"),ua:v0("User agent and client hints.",{type:"object",fields:{preset:V1("A browser preset, custom for the custom string, or system.",A1([...s5.map(($)=>$.id),"custom","system"])),custom:V1("The user agent of the custom preset.",{type:"string"})}},"frame"),overflow:v0("Mark the boxes that stick out of the viewport sideways.",k2),outlines:v0("Outline every element.",k2),panel:v0("The devknobs panel. Close it and hide its handle to keep it out of screenshots. reset() leaves it as it is, open or closed, docked or not.",{type:"object",fields:{open:V1("The panel is open.",k2),docked:V1("Pinned to its side as a column, with the page in a frame beside it.",k2),handle:V1("Show the knobs handle on the window's edge while the panel is closed. false keeps it out of screenshots for this tab.",k2)}},"frame")}}function qZ(){let $=Ud(),j=(J)=>(J in $);return Object.keys($).filter(j).map((J)=>({key:J,...$[J],default:Hd(J)}))}function Hd($){if($==="panel"){let{open:J,docked:Q,handle:Z}=e.panel;return{open:J,docked:Q,handle:Z}}if($==="clock"){let{mode:J,at:Q,speed:Z,header:X}=e.clock;return{mode:J,at:Q,speed:Z,header:X}}let j=e[$];return typeof j==="object"?{...j}:j}tj();q4();y8();var Md={"locale.lang":($)=>iY($)!==null,timeZone:($)=>k8($)!==null,"geo.timeZone":($)=>$===""||k8($)!==null,mat:k1},OW=($)=>typeof $==="number"&&Number.isFinite($),CZ=($)=>(j)=>typeof j==="string"&&$.includes(j),Fd=new Map(Object.entries({grabColor:($)=>k1($)||CZ(QY)($),"clock.since":OW,"panel.side":CZ(jY),"panel.y":OW,"panel.top":OW,"panel.edge":CZ(_3),"panel.tab":CZ(_3),"panel.pinned":($)=>Array.isArray($)&&new Set($).size===$.length&&$.every((j)=>j6.some((J)=>J.id===j))}));function OR($){return typeof $==="object"&&$!==null&&!Array.isArray($)}function ER($,j,J){switch(j.type){case"enum":return typeof J==="string"&&j.values.includes(J);case"boolean":return typeof J==="boolean";case"number":if(typeof J==="string")return j.or?.includes(J)??!1;return typeof J==="number"&&Number.isFinite(J)&&J>=(j.min??-1/0)&&J<=(j.max??1/0);case"string":if(typeof J!=="string")return!1;if(j.or?.includes(J))return!0;return Md[$]?.(J)??!0;case"object":return!1}}function WZ($){if(!OR($))throw TypeError("devknobs: setState takes an object");let j=new Map(qZ().map((J)=>[J.key,J.value]));for(let[J,Q]of Object.entries($)){let Z=j.get(J);if(!Z){xR(J,Q);continue}if(Z.type!=="object"){if(!ER(J,Z,Q))throw GZ(J,Q);continue}if(!OR(Q))throw GZ(J,Q);for(let[X,V]of Object.entries(Q)){let Y=`${J}.${X}`,q=Object.hasOwn(Z.fields,X)?Z.fields[X]:void 0;if(!q)xR(Y,V);else if(!ER(Y,q.value,V))throw GZ(Y,V)}}}function xR($,j){let J=Fd.get($);if(!J)throw TypeError(`devknobs: unknown knob ${$}`);if(!J(j))throw GZ($,j)}function GZ($,j){return TypeError(`devknobs: bad value for ${$}: ${zd(j)}`)}function zd($){if(typeof $==="number"&&!Number.isFinite($))return String($);try{return JSON.stringify($)??String($)}catch{return String($)}}W1();K1();B8();d3();y8();m4();mK();uK();function SO($){let j={},J=Reflect.get($,"hotkey"),Q=Reflect.get($,"grabKey"),Z=Reflect.get($,"grab"),X=Reflect.get($,"open"),V=Reflect.get($,"grabColor");if(typeof J==="string")j.hotkey=J;if(typeof Q==="string")j.grabKey=Q;if(typeof Z==="boolean")j.grab=Z;if(typeof X==="boolean")j.open=X;if(V!==void 0){let Y={grabColor:V};try{if(WZ(Y),Y.grabColor!==void 0)j.grabColor=Y.grabColor}catch{}}return j}var V5=Symbol.for("devknobs.owner"),E7=Symbol.for("devknobs.host");function OO($){return typeof $==="object"&&$!==null&&typeof Reflect.get($,"release")==="function"&&typeof Reflect.get($,"adopt")==="function"}function QB($,j,J,Q){let Z=Reflect.get($,V5);if(typeof Z==="function"&&Z!==j)Z();if(Reflect.set($,V5,j),J)Reflect.set($,E7,{release:j,adopt:J,api:Q});else Reflect.deleteProperty($,E7)}function qX($){let j=Reflect.get($,E7);return OO(j)&&j.release===Reflect.get($,V5)?j:null}function EO($){return typeof Reflect.get($,V5)==="function"}function xO($,j){let J=Reflect.get($,V5);return J!==void 0&&J!==j}function fO($,j){if(Reflect.get($,V5)===j)Reflect.deleteProperty($,V5);let J=Reflect.get($,E7);if(OO(J)&&J.release===j)Reflect.deleteProperty($,E7)}var bO=Symbol.for("devknobs.pinned");function wO($,j){Reflect.set($,"devknobs",j)}function kO($){Reflect.set($,bO,!0)}function yO($,j){if(Reflect.get($,bO)===!0)return;if(Reflect.get($,"devknobs")===j)Reflect.deleteProperty($,"devknobs")}V7();G2();y2();var CX="devknobs:keys",hO=1,u$=["panel","grab","inspect","replay","requests","storage","reset"],T4={panel:"panel",grab:"grab",inspect:"inspect",replay:"replay animations",requests:"requests",storage:"storage",reset:"reset"},wn=new Set([..."cvxzawrtqlnfpshm"]),kn=new Set(["=","-","_","0"]);function uO($){return!$.meta&&!$.ctrl&&!$.alt&&!$.shift}function yn($){let j=$.key;if(j==="f5")return!0;if((j==="f11"||j==="f12")&&uO($))return!0;if(j==="f4"&&($.alt||$.ctrl))return!0;if(!$.meta&&!$.ctrl)return!1;return wn.has(j)||/^[0-9]$/.test(j)||kn.has(j)}function mO($){if($5($)||$==="backspace"||$==="delete")return!0;return[...$].length===1&&$!=="+"&&$.trim()!==""}function ZB($){return R4($.key==="delete"?{...$,key:"backspace"}:$)}function pO($,j,J={}){if(!mO($.key))return"use a letter, digit, symbol or F1 to F12";if(uO($)&&!$5($.key))return"add a modifier, alone it types";if(yn($))return"the browser uses it";if($.key==="/"&&!$.meta&&!$.ctrl&&!$.alt)return"/ opens the search";let Q=ZB($);for(let Z of u$){let X=J[Z];if(Z!==j&&X&&ZB(X)===Q)return`used by ${T4[Z]}`}return null}var vn=new Set(["Shift","Alt","Control","Meta","AltGraph","CapsLock","Fn"]);function gn($){let j=$.key,J=$.code??"",Q={meta:$.metaKey,ctrl:$.ctrlKey,shift:$.shiftKey,alt:$.altKey},Z=null;if(/^F([1-9]|1[0-2])$/.test(j))Z=j.toLowerCase();else if(j==="Backspace"||j==="Delete")Z=j.toLowerCase();else if(/^[a-z]$/.test(G7(j)))Z=G7(j);else if(/^Key[A-Z]$/.test(J)&&($.altKey||[...j].length===1&&!/\p{Script=Latin}/u.test(j)))Z=J.slice(3).toLowerCase();else if(/^Digit[0-9]$/.test(J))Z=J.slice(5);else if([...j].length===1)Z=G7(j);return Z!==null&&mO(Z)?{...Q,key:Z}:null}function cO($,j,J){if($.key==="Escape"||$.key==="Tab")return{type:"cancel"};if(vn.has($.key)||$.isComposing===!0||$.key==="Process")return{type:"wait"};if($.key==="/"&&!$.ctrlKey&&!$.metaKey&&!$.altKey)return{type:"refuse",reason:"/ opens the search"};let Q=gn($);if(!Q)return{type:"refuse",reason:"use a letter, digit, symbol or F1 to F12"};let Z=pO(Q,j,J);return Z?{type:"refuse",reason:Z}:{type:"keep",combo:Q}}function hn($){return typeof $==="object"&&$!==null&&!Array.isArray($)?Object.fromEntries(Object.entries($)):{}}function un($){let j=null;try{j=$?JSON.parse($):null}catch{return{}}if(P1(j,hO))return{};let J=hn(j),Q={};for(let Z of u$){let X=J[Z],V=typeof X==="string"?C7(X):null;if(V&&pO(V,Z)===null)Q[Z]=R4(V)}return Q}function vO($,j,J=!0){let Q={...$},Z=new Set;for(let Y of u$){let q=C7(j[Y]);if(!q)continue;Q[Y]=q,Z.add(Y)}let X=u$.filter((Y)=>J||Y!=="grab"),V=(Y)=>{let q=Q[Y];return q?ZB(q):null};for(let Y of X){if(!Z.has(Y))continue;let q=V(Y);if(!X.some((G)=>G!==Y&&(Z.has(G)||G==="panel")&&V(G)===q))continue;Q[Y]=$[Y],Z.delete(Y)}for(let Y of X){if(Y==="panel"||Z.has(Y))continue;let q=V(Y);if(X.some((C)=>Z.has(C)&&V(C)===q))Q[Y]=null}return Q}function gO(){try{return un(E0("local")?.getItem(CX))}catch{return{}}}function mn($){try{if(Object.keys($).length===0)E0("local")?.removeItem(CX);else E0("local")?.setItem(CX,JSON.stringify(q1($,hO)))}catch{}}function GX($={}){let j=EW($),J=$.grab!==!1,Q=gO(),Z=vO(j,Q,J),X=new Set;function V(){Z=vO(j,Q,J);for(let q of Array.from(X))q()}function Y(q){if(q.key!==CX&&q.key!==null)return;if(e1())return;Q=gO(),V()}if(typeof window<"u")window.addEventListener("storage",Y);return{get:()=>Z,custom:(q)=>{let C=Z[q];return Q[q]!==void 0&&C!==null&&R4(C)===Q[q]},set(q,C){let G={...Q};if(C===null||R4(C)===R4(j[q]))delete G[q];else G[q]=R4(C);Q=G,mn(Q),V()},subscribe(q){return X.add(q),()=>{X.delete(q)}},recording:!1,destroy(){if(X.clear(),typeof window<"u")window.removeEventListener("storage",Y)}}}y2();E1();t1();K1();cq();m4();D9();L8();n6();o3();h5();E1();y2();q4();function XB($){let j=j6.map((Q)=>Q.id),J=$.panel.pinned.flatMap((Q)=>j.filter((Z)=>Z===Q));return[...J,...j.filter((Q)=>!J.includes(Q))]}function m$($){return XB($).filter((j)=>j6.some((J)=>J.id===j&&YB(J,$)))}function pn($,j,J){let Q=$.length-1,Z=Math.min(Math.max(j,0),Q),X=Math.min(Math.max(J,0),Q),V=[...$],[Y]=V.splice(Z,1);if(Y!==void 0)V.splice(X,0,Y);return V}function dO($,j,J=[]){let Q=[];for(let Y of J){let q=$.indexOf(Y),C=j.indexOf(Y);if(q<0||C<0||Q.includes(Y))continue;if(Q.every((W)=>q<$.indexOf(W)===C<j.indexOf(W)))Q.push(Y)}let Z=[...$],X=[],V=0;for(let Y of j){if(Q.includes(Y)){V=Z.indexOf(Y)+1;continue}if(Z[V]===Y){V+=1;continue}let q=Z[V]??null,C=Z.indexOf(Y);if(C>=0)Z.splice(C,1);Z.splice(q===null?Z.length:Z.indexOf(q),0,Y),X.push([Y,q]),V=Z.indexOf(Y)+1}return X}function VB($,j,J){return{panel:{pinned:pn(m$($),j,J)}}}function x7($,j,J){let{pinned:Q}=$.panel;return{...J,panel:{pinned:Q.includes(j)?Q:[...Q,j]}}}function lO($,j){if(!YZ($,j))return{};let J=$.base?.(j);return J===void 0?$.reset:$.write(J,j)}function iO($,j){return x7($,j.id,SW(j.knobs.map((J)=>lO(VZ(J),$))))}function rO($,j){let J=$.panel.pinned.filter((Q)=>Q!==j.id);return{...SW(j.knobs.map((Q)=>lO(VZ(Q),$))),panel:{pinned:J}}}function sO($){let j=$.panel.pinned.filter((J)=>j6.some((Q)=>Q.id===J&&TW(Q)));return j6.every((J)=>!Y7(J,$))&&j.length===N5.length&&j.every((J,Q)=>J===N5[Q])}function YB($,j){return TW($)&&(Y7($,j)||j.panel.pinned.includes($.id))}function nO($,j){return j.label!==$.label}function qB($,j,J){if($.action)return $.action.value?.()||($.action.state?.()??"");let Q=TR($,j,J);if(Q)return Q;let[Z]=E$($);return Z?P2(Z,Z.read(j)):""}function p$($,j=O1){let J=j.getState();if(!J.panel.pinned.includes($.id))j.setState(x7(J,$.id,{}));$.run()}function f7($){if($.state?.()==="on")$.off?.();$.reset?.()}function aO($,j,J){let Q=$.binding?j[$.binding]:void 0;return Q?t2(Q,J):""}var oO=["transform","translate"],cn=["width"];function CB($,j){return $.getAnimations().some((J)=>("transitionProperty"in J)&&typeof J.transitionProperty==="string"&&j.includes(J.transitionProperty))}function tO($){return CB($,oO)}function eO($,j,J,Q){let Z=j.getBoundingClientRect();return{cover:J==="left"?Z.right:Q-Z.left,moving:CB($,oO)||CB(j,cn)}}v4();var dn=150;function $E($){return{column:$.open?1:0,handle:!$.open&&$.handle?1:0}}function ln($){let j=$,J=$E($),Q=null,Z=null;function X(q,C,G){return q===C?null:{from:q,to:C,start:G,time:dn*Math.abs(C-q)}}function V(q,C){let G=(C-q.start)/q.time;if(G>=1)return{value:q.to,landed:!0};return{value:g0(q.from,q.to,c2(y4,G)),landed:!1}}function Y(q){if(Q){let C=V(Q,q);if(J={...J,column:C.value},C.landed){if(Q=null,!j.open&&j.handle)Z=X(J.handle,1,q)}}if(Z){let C=V(Z,q);if(J={...J,handle:C.value},C.landed)Z=null}return J}return{go(q,C,G){if(q.open===j.open&&q.handle===j.handle)return;if(Y(C),j=q,G){Q=null,Z=null,J=$E(q);return}if(Q=X(J.column,q.open?1:0,C),q.open||!q.handle)Z=X(J.handle,0,C);else Z=Q?null:X(J.handle,1,C)},at:Y,moving:()=>Q!==null,resting:()=>Q===null&&Z===null,coming:()=>!j.open&&j.handle}}function jE($){let{wrap:j,panel:J}=$,Q=null,Z="right",X=0;function V(W,K){let H=Z==="left"?-1:1;if(W.column===1||W.column===0)j.dataset.column=W.column===1?"out":"away",j.style.removeProperty("--column-away");else{j.dataset.column="sliding";let B=Math.round(J.offsetWidth*(1-W.column));j.style.setProperty("--column-away",`${H*B}px`)}if(W.handle===1)j.dataset.handleAt="edge",j.style.removeProperty("--handle-away");else if(W.handle>0||K)j.dataset.handleAt="sliding",j.style.setProperty("--handle-away",String(H*(1-W.handle)));else delete j.dataset.handleAt,j.style.removeProperty("--handle-away")}function Y(){if(X)$.drop(X);X=0}function q(W){if(!Q)return!1;if(V(Q.at(W),Q.coming()),Q.resting())Y();else X||=$.frame(C);return Q.moving()}function C(W){X=0,q(W)}function G(){Y(),Q=null,delete j.dataset.column,delete j.dataset.handleAt,j.style.removeProperty("--column-away"),j.style.removeProperty("--handle-away")}return{aim(W){if(Z=W.side,!W.docked){if(Q)G();return}let K=$.clock();if(!Q)Q=ln(W);else Q.go(W,K,$.still());q(K)},draw:q,resting:()=>Q?.resting()??!0,destroy:G}}t0();E1();var KX=4,XE=150;var VE=16,YE=220;var qE=8;function CE($,j){return j&&!$?"panel":"handle"}function KB($){return $==="right"?"left":"right"}function n1($,j,J){return Math.min(Math.max($,j),Math.max(j,J))}function WX($,j,J){let Q=Math.max(j,J),Z=n1($,j,Q);if(Z-j<=24&&Z-j<=Q-Z)return j;return Q-Z<=24?Q:Z}function WB($,j,J,Q){let Z=Math.abs($-j)<0.5,X=Math.abs($-J)<0.5;if(Z&&X)return Q==="none"?"top":Q;return Z?"top":X?"bottom":"none"}function b7($,j,J="edge"){let Q=j.view-8-j.panel,Z=J==="top"?n1:WX,X=Z(J==="top"||$.edge==="none"?$.top:$.edge==="top"?8:Q,8,Q),V=X+j.panel-j.handle,Y=Z($.tab==="top"?X:$.tab==="bottom"?V:$.y,X,V);return{y:Y,top:X,edge:WB(X,8,Q,$.edge),tab:WB(Y,X,V,$.tab)}}function GE($,j,J){return WB($,j,j+J.panel-J.handle,"none")}function WE($,j,J,Q,Z){let X=Q.y-Q.top;if($==="panel"){let Y=WX(J,8,Z.view-8-Z.panel);return b7({y:Y+X,top:Y,edge:"none",tab:"none"},Z)}if(j)return b7({...Q,y:J,tab:"none"},Z);let V=WX(J,8,Z.view-8-Z.handle);return b7({y:V,top:V-X,edge:"none",tab:"none"},Z)}function KE($,j,J){let Q=WX($,8,J.view-8-J.handle);return{y:Q,top:Q-(j.y-j.top),edge:"none",tab:j.tab}}function BE($,j){return n1($,8,j.view-8-j.handle)}function ZE($,j){let J=j.t-$.t;return{x:(j.x-$.x)/J,y:(j.y-$.y)/J}}function UE($,j){let J=$.filter((Y)=>Y.t>=j-150&&Y.t<=j),Q={x:0,y:0},Z=!1;for(let[Y,q]of J.entries()){let C;for(let W of J.slice(0,Y))if(q.t-W.t>=40)C=W;if(!C)continue;let G=ZE(C,q);if(!Z||Math.hypot(G.x,G.y)>Math.hypot(Q.x,Q.y))Q=G;Z=!0}let X=J[0],V=J[J.length-1];if(!Z&&X&&V&&V.t-X.t>=8)return ZE(X,V);return Q}function HE($){return n1($/6,220,440)}function ME($,j,J,Q,Z){let X=KB($),V=$==="right"?-Q:Q,Y=Math.abs(Q)>=0.5&&Math.abs(Q)>1.5*Math.abs(Z),q=$==="right"?j<J/2:j>J/2;if(Y&&V>0)return X;if(Y&&V<0)return $;return q?X:$}function FE($){let[j=0,J=0]=$==="none"?[]:$.split(" ").map((Q)=>parseFloat(Q));return{x:Number.isFinite(j)?j:0,y:Number.isFinite(J)?J:0}}function zE($){let{host:j,wrap:J,handle:Q,panel:Z}=$;function X(){return{view:window.innerHeight,panel:Z.getBoundingClientRect().height,handle:Q.getBoundingClientRect().height}}let V=C0().panel.top,Y=C0().panel.open,q=C0().panel.docked,C=null;function G(k){let l=J.style.transitionProperty;J.style.transitionProperty="none",k(),J.getBoundingClientRect(),J.style.transitionProperty=l}function W(k,l,R){if(l||Y)V=k.top;if(Y=l,J.dataset.side!==R)G(()=>{J.dataset.side=R,j.style.left=R==="left"?"0":"",j.style.right=R==="right"?"0":""});if(C0().panel.docked){K(k,l);return}J.dataset.tab=l?k.tab:GE(k.y,V,X()),j.style.top=`${k.y}px`,Z.style.marginTop=`${V-k.y}px`}function K(k,l){let R={view:window.innerHeight,handle:Q.getBoundingClientRect().height},y=l?0:BE(k.y,R);J.dataset.tab="none",j.style.top=`${y}px`,Z.style.marginTop=`${-y}px`}function H(){return getComputedStyle(J).transitionDuration.split(",").every((l)=>parseFloat(l)===0)}function B(k){if(typeof Z.animate!=="function"||H())return;let l=Z.getBoundingClientRect();if(k.top===l.top&&k.height===l.height)return;let R=parseFloat(Z.style.marginTop)||0,y=Z.animate([{marginTop:`${R+k.top-l.top}px`,height:`${k.height}px`,maxHeight:"none"},{marginTop:`${R}px`,height:`${l.height}px`,maxHeight:"none"}],{duration:YE,easing:"ease-out"});C=y;let i=()=>{if(C!==y)return;C=null,$.render()};y.finished.then(i,i)}function z(k="top"){if(U||C)return;let l=C0().panel,y=l.docked!==q&&l.open&&Y?Z.getBoundingClientRect():null;if(q=l.docked,J.dataset.dock=l.docked?"true":"false",l.docked)W(l,l.open,l.side);else M(l,k);if(y)B(y)}function M(k,l){let R=X(),y=R.handle>0?b7(k,R,l):k;if(W(y,k.open,k.side),y.y!==k.y||y.top!==k.top||y.edge!==k.edge||y.tab!==k.tab)X1({panel:y})}let U=!1,F=!1,P=-1,D=0,_=0,S=0,f=0,L=null,I=C0().panel,N=I,A=0,E=0,b=0,w=[];function g(k){let l=Q.getBoundingClientRect();if(!k)return{left:l.left,top:l.top,width:l.width};let R=Z.getBoundingClientRect();if(l.width===0)return{left:R.left,top:R.top,width:R.width};let y=Math.min(l.left,R.left);return{left:y,top:Math.min(l.top,R.top),width:Math.max(l.right,R.right)-y}}function c(){return document.documentElement.clientWidth||window.innerWidth}function v(k){w=w.filter((l)=>l.t>=k.timeStamp-XE),w.push({t:k.timeStamp,x:k.clientX,y:k.clientY})}Q.addEventListener("mousedown",(k)=>k.preventDefault()),Q.addEventListener("pointerdown",(k)=>{if(k.button!==0||U)return;let{y:l,top:R,edge:y,tab:i}=C0().panel;U=!0,F=!1,P=k.pointerId,D=k.clientY,_=k.clientY,S=k.clientX,f=k.clientX,w=[],v(k),L=null,N={y:l,top:R,edge:y,tab:i},Q.setPointerCapture(k.pointerId)}),Q.addEventListener("pointermove",(k)=>{if(!U||k.pointerId!==P)return;let l=k.clientY-_,R=k.clientX-f;_=k.clientY,f=k.clientX,v(k);let y=Math.hypot(k.clientX-S,k.clientY-D);if(!F&&y<KX)return;if(!F)({x:E,y:b}=FE(getComputedStyle(J).translate)),J.style.transitionProperty="transform",J.style.removeProperty("--glide");F=!0;let{open:i,side:n,docked:$0}=C0().panel,X0=CE(k.shiftKey,i);if(J.dataset.drag=X0,X0!==L)L=X0,I=N,A=X0==="panel"?N.top:N.y;if(A+=l,N=$0?KE(A,I,X()):WE(X0,i,A,I,X()),W(N,i,n),X0==="panel"||!i){let M0=g(i),T0=M0.left-E;E=n1(E+R,-T0,c()-M0.width-T0)}J.style.translate=`${E}px ${b}px`,J.dataset.float=E!==0?"true":"false"});function O(k){let{open:l}=C0().panel,R=g(l);if(J.style.transitionProperty="transform",J.style.translate="",k)X1({panel:k});else $.render();let y=g(l),i=R.left-y.left,n=R.top-y.top;if(J.style.setProperty("--glide",`${HE(Math.hypot(i,n))}ms`),J.dataset.float="false",i!==0||n!==0)J.style.translate=`${i}px ${n}px`,J.getBoundingClientRect();J.style.transitionProperty="",J.style.translate=""}function m(k){if(!U)return;if(U=!1,J.dataset.drag="false",Q.hasPointerCapture(P))Q.releasePointerCapture(P);if(F&&k){v(k);let{open:l,side:R}=C0().panel,y=g(l),i=UE(w,k.timeStamp),n=Math.abs(k.clientX-S)>=VE?i.x:0,$0=y.left+y.width/2;O({...N,side:l&&L==="handle"?R:ME(R,$0,c(),n,i.y)}),T$()}else if(F)O(null);else $.render();Q.blur()}return Q.addEventListener("pointerup",(k)=>{if(k.pointerId===P)m(k)}),Q.addEventListener("pointercancel",(k)=>{if(k.pointerId!==P)return;m(null),F=!1}),Q.addEventListener("lostpointercapture",(k)=>{if(!U||k.pointerId!==P)return;m(null),F=!1}),Q.addEventListener("click",()=>{if(F){F=!1;return}$.toggle()}),{layout:z,dragging:()=>U,flip(){if(U)return;O({side:KB(C0().panel.side)}),T$()},cancel(){if(!U)return;m(null),F=!1}}}G2();t0();r1();y2();var rn="fresh mode: nothing is kept";function _E($,j){return $&&j!==null?`${j} overflowing`:""}function BX($,j){return $?t2($,j):""}function PE($,j,J,Q=!1){let Z=[{command:"panel",key:t2($.panel,J),word:T4.panel},{command:"search",key:"/",word:"search"}];if(j)Z.push({command:"grab",key:BX($.grab,J),word:T4.grab});if(Q){let X=BX($.inspect,J);Z.push({command:"inspect",key:X,word:T4.inspect})}return Z.push({command:"replay",key:BX($.replay,J),word:T4.replay},{command:"reset",key:BX($.reset,J),word:T4.reset}),Z}function UX($,j,J){let Q=z0(`hint ${$}`,"");if(J)Q.append(J);return Q.setAttribute("aria-label",j),Q}function IE($,j,J,Q=null){let Z=T("div","foot"),X=T("span","badge"),V=T("div","meta"),Y=new Map,q=new Map;for(let M of PE($.get(),j!==null,J,Q!==null)){let U=z0("hint","");U.dataset.command=M.command;let F=T("kbd","hint-key",M.key);U.append(F,M.word),V.append(U),Y.set(M.command,U),q.set(M.command,F)}let C=UX("pin-toggle",Z7(!1)),G=null,W=(M)=>{let U=A0(M,12);return U.setAttribute("class","glyph sided"),U},K=UX("flip-toggle",jZ,W("panel-left")),H=UX("collapse-toggle",LW,W("panel-right-close")),B=UX("keys-toggle","settings",A0("settings",12));V.append(K,H,C,B);function z(M){if(M===G)return;G=M,K.hidden=!M,H.hidden=!M,C.replaceChildren(A0(M?"pin-off":"pin",12)),C.setAttribute("aria-label",Z7(M)),C.setAttribute("aria-pressed",M?"true":"false")}if(z(!1),Z.append(X),e1())Z.append(T("span","fresh-note",rn));return Z.append(V),{foot:Z,badge:X,hints:Y,pin:C,flip:K,collapse:H,keysToggle:B,drawPin:z,drawKeys(M){for(let U of PE(M,j!==null,J,Q!==null)){let F=q.get(U.command);if(F)F.textContent=U.key}}}}r1();E1();K1();n6();Y5();var a$="styles",To="select an element",So={openPane:d$,paneView:l$,onPane:zX,retitlePane:FX,showPane:LE};function Oo($){return $.isConnected&&$.ownerDocument.defaultView!==null}function jf($,j=()=>Promise.resolve().then(() => ($f(),ex)).then(({createElementsView:Q})=>({createStylesView:Q})),J=So){let{inspect:Q,tips:Z,prefs:X}=$,V=new Set,Y=null,q=null,C=!1,G=0,W=D1(C0());function K(f){if(f===q)return;q=f;for(let L of Array.from(V))L()}function H(){return q&&Oo(q)?q:null}function B(f){if(f&&Q.isOn())return;Q.outline(f)}function z(){if(Q.set(!Q.isOn()),Q.isOn())Y?.focus()}function M(f){if(J.paneView()===a$){J.showPane(a$);return}if(J.openPane({id:a$,title:a$,layout:"flush",mount(L){let I=f({tips:Z,title:(A)=>J.retitlePane(a$,A),outline:B,held:K,area:Q.area,select:{label:To,hint:$.key,on:()=>Q.isOn(),run:z,watch:(A)=>Q.subscribe(()=>A())},...X&&{mode:{get:()=>X.get().stylesMode,set:X.setStylesMode},box:{get:()=>X.get().stylesBox,set:X.setStylesBox}}});Y=I,L.append(I.node);let N=H();if(N)I.show(N);else K(null);return()=>{if(I.destroy(),Y===I)Y=null}},escape:()=>{if(!Q.isOn())return Y?.escape()??!1;return Q.set(!1),!0},point:(L)=>B(L?H():null)}),!Q.isOn())return;Y?.focus(),b2()?.focus()}function U(){let f=++G;j().then(({createStylesView:L})=>{if(f===G)M(L)})}let F=Q.subscribe((f)=>{if(f)C=!1,Q.outline(null),U();else if(!Y&&!C)G++}),P=Q.onPick((f)=>{if(C=!0,Y)Y.show(f);else K(f)}),D=J.onPane((f)=>{if(f===a$)return;G++,Q.set(!1),Q.outline(null)}),_=a2((f)=>{let L=D1(f);if(L===W)return;if(W=L,Y)Y.show(null);else K(null)});function S(f){if($2(f,b2(),window.location.origin)?.type==="ready")Y?.refresh()}return window.addEventListener("message",S),{open(){if(Q.isOn())Q.set(!1);else if(H())U();else Q.set(!0)},picked(){let f=H();return f?e2(f):null},forget(){if(Q.set(!1),Y)Y.show(null);else K(null)},subscribe(f){return V.add(f),()=>{V.delete(f)}},destroy(){F(),P(),D(),_(),window.removeEventListener("message",S),V.clear()}}}y2();E1();K1();t0();E1();t1();W1();y8();m4();m2();G2();var yX="devknobs:colors",Zf=1,Xf=8;function dB($){if(!Array.isArray($))return[];return Array.from(new Set($.filter(k1))).slice(-Xf)}function Jf($){let j=null;try{j=$?JSON.parse($):null}catch{j=null}if(typeof j!=="object"||j===null||P1(j,Zf))return{mat:[],grab:[]};return{mat:dB(Reflect.get(j,"mat")),grab:dB(Reflect.get(j,"grab"))}}function Eo($){return JSON.stringify(q1({mat:$.mat,grab:$.grab},Zf))}function xo($,j){return $.includes(j)?[...$]:[...$,j].slice(-Xf)}function Vf($,j){return $.filter((J)=>J!==j)}function Yf($,j,J){let Q=LH($);if(!Q)return null;let Z=j.find((X)=>X.color===Q);if(Z)return{value:Z.value,list:[...J]};return{value:Q,list:xo(J,Q)}}function Qf(){try{return Jf(E0("local")?.getItem(yX))}catch{return Jf(null)}}function fo($){try{let j=E0("local");if($.mat.length+$.grab.length===0)j?.removeItem(yX);else j?.setItem(yX,Eo($))}catch{}}function qf(){let $=Qf(),j=new Set;function J(){for(let Z of Array.from(j))Z()}function Q(Z){if(Z.key!==yX&&Z.key!==null)return;if(e1())return;$=Qf(),J()}if(typeof window<"u")window.addEventListener("storage",Q);return{get:()=>$,set(Z,X){$={...$,[Z]:dB(X)},fo($),J()},subscribe(Z){return j.add(Z),()=>{j.delete(Z)}},destroy(){if(j.clear(),typeof window<"u")window.removeEventListener("storage",Q)}}}t0();E1();W1();n6();r1();var Bf=[0,0.333,1],Cf=0.08,lB=28,Gf=2;function bo($){return Bf.reduce((j,J)=>Math.abs(J-$)<Math.abs(j-$)?J:j)}function iB($){let j=Math.min(Math.max($,0),1);if(j<=Cf)return 0;if(j>=1-Cf)return 1;return j}function Wf($,j){let J=Bf.filter((Q)=>j===1?Q>$:Q<$);return(j===1?J[0]:J[J.length-1])??(j===1?1:0)}function wo($,j){if($==="ArrowLeft"||$==="ArrowDown")return Wf(j,-1);if($==="ArrowRight"||$==="ArrowUp")return Wf(j,1);if($==="Home")return 0;if($==="End")return 1;return null}function Kf($,j){let J=$===1?"open":$===0?"closed":null;return J===j?null:J}function ko($){return Math.round(Math.min(Math.max($,0),1)*100)}function yo($){if($<=0)return"closed";return $>=1?"open":"half open"}function rB($){return $==="open"?{label:"fold",posture:"closed"}:{label:"unfold",posture:"open"}}function Uf($){let j=document.createElement("div");j.className="fold-slider",j.tabIndex=0,j.setAttribute("role","slider"),j.setAttribute("aria-label","fold"),j.setAttribute("aria-orientation","horizontal"),j.setAttribute("aria-valuemin","0"),j.setAttribute("aria-valuemax","100");let J=document.createElement("div");J.className="fold-tick";let Q=document.createElement("div");Q.className="fold-thumb",Q.append(A0("chevrons-left-right",14)),j.append(J,Q);let Z=0,X=null,V=lB/2,Y=!1;function q(){j.classList.toggle("following",Y),j.style.setProperty("--at",String(Math.min(Math.max(Z,0),1))),j.setAttribute("aria-valuenow",String(ko(Z))),j.setAttribute("aria-valuetext",yo(Z))}function C(){if(Y)return;Z=QW()??L2(C0().posture),q()}function G(z){let M=j.getBoundingClientRect(),U=M.width-lB-2*Gf;return U>0?(z.clientX-M.left-Gf-V)/U:0}function W(z){if(X!==z.pointerId)return;if(X=null,j.classList.remove("held"),j.hasPointerCapture(z.pointerId))j.releasePointerCapture(z.pointerId)}j.addEventListener("pointerdown",(z)=>{if(z.button!==0||X!==null||!jW(C0()))return;z.preventDefault(),j.focus(),X=z.pointerId,j.setPointerCapture(z.pointerId),j.classList.add("held");let M=Q.getBoundingClientRect();V=z.clientX>=M.left&&z.clientX<=M.right?z.clientX-M.left:lB/2,Z=Math.min(Math.max(G(z),0),1),JW(iB(Z)),q()}),j.addEventListener("pointermove",(z)=>{if(X!==z.pointerId)return;if(Z=Math.min(Math.max(G(z),0),1),!JW(iB(Z))){W(z),C();return}q()}),j.addEventListener("pointerup",(z)=>{if(X!==z.pointerId)return;W(z);let M=bo(iB(Z));if(!DN()||!o9(M)){C();return}Z=M,q();let U=Kf(M,C0().posture);if(U)$(U)});let K=(z)=>{if(X!==z.pointerId)return;W(z),o9(L2(C0().posture)),C()};j.addEventListener("pointercancel",K),j.addEventListener("lostpointercapture",K),j.addEventListener("keydown",(z)=>{if(z.altKey||z.ctrlKey||z.metaKey||X!==null)return;let M=wo(z.key,Z);if(M===null)return;z.preventDefault();let U=C0(),F=Kf(M,U.posture);if(M===0||M===1){if(QW()!==null)o9(M)}else if(!jW(U)||!o9(M))return;if(Z=M,q(),F)$(F)});let H=LN(()=>{if(Y=!1,!j.isConnected)H(),B();else if(X===null)C()}),B=NN((z,M)=>{if(Y=!M,!Y||X!==null)return;Z=z,q()});return q(),{node:j,update(z){if(j.hidden=!n0(z.device)?.postures,X===null)C()},destroy(){H(),B()}}}DX();var Ff=40,zf=2.5;function hX($){return $.toLowerCase().split(/[\s/_,·]+/).map((j)=>j.replace(/^\+/,"")).filter((j)=>j!=="")}function sB($){return $.trim().split(/\s+/).map((j)=>({raw:j,words:hX(j)})).filter((j)=>j.words.length>0)}function vo($,j){let J=0;for(let Q of j){if(Q===$)return 3;if(Q.startsWith($))J=Math.max(J,2);else if($.length>=3&&Q.includes($))J=Math.max(J,1)}return J}function gX($,j){return Math.min(...$.words.map((J)=>vo(J,j)))}var Hf=new WeakMap,Mf=new WeakMap;function go($){let j=Hf.get($);if(!j)j=[$.label,...$.aliases].flatMap(hX),Hf.set($,j);return j}function Pf($){let j=Mf.get($);if(!j)j=[$.label,$.long??"",...$.aliases??[]].flatMap(hX),Mf.set($,j);return j}function vX($){return $.reduce((j,J)=>j+J,0)}function _f($){return $.map((j,J)=>({entry:j,index:J})).sort((j,J)=>J.entry.score-j.entry.score||j.index-J.index).map(({entry:j})=>j)}function ho($,j){let J=go($),Q=j.map((Y)=>gX(Y,J)),Z=[];if(Q.every((Y)=>Y>0))Z.push({knob:$,option:null,score:vX(Q)});let X=new Set,V=(Y,q)=>{let C=Pf(Y),G=!1,W=j.map((K,H)=>{let B=gX(K,C);if(B>0)G=!0;return Math.max(B,Q[H]??0)});if(W.some((K)=>K===0)||q&&!G)return;X.add(Y.value),Z.push({knob:$,option:Y,score:vX(W)-(G?0:0.5)})};for(let Y of $.options)V(Y,!1);for(let Y of $.extra?.()??[])V(Y,!0);if($.parse){let Y=j.filter((C,G)=>!((Q[G]??0)>0)),q=Y.length<j.length;if(Y.length>0&&(q||$.bare)){let C=$.parse(Y.map((G)=>G.raw).join(" "));if(C&&!X.has(C.value)){let G=vX(Q.filter((W)=>W>0))+zf*Y.length;Z.push({knob:$,option:C,score:G})}}}return Z}function If($,j=AW()){let J=sB($);if(J.length===0)return[];let Q=new Map;for(let Z of _f(j.flatMap((X)=>ho(X,J)))){let X=`${Z.knob.id}:${Z.option?.value??""}`;if(!Q.has(X))Q.set(X,Z)}return Array.from(Q.values()).slice(0,Ff)}function Df($,j=XZ){let J=sB($);if(J.length===0)return[];return j.filter((Q)=>{let Z=[Q.label,...Q.aliases].flatMap(hX);return J.every((X)=>gX(X,Z)>0)})}function Lf($,j){let J=sB(j);if(J.length===0)return[...$.options];let Q=[];for(let X of[...$.options,...$.extra?.()??[]]){let V=Pf(X),Y=J.map((q)=>gX(q,V));if(Y.every((q)=>q>0))Q.push({option:X,score:vX(Y)})}let Z=$.parse?.(j);if(Z&&!Q.some((X)=>X.option.value===Z.value))Q.push({option:Z,score:zf*J.length});return _f(Q).slice(0,Ff).map((X)=>X.option)}function Nf($){let j=$.option?$.option.long??$.option.label:"";return{knob:$.knob.label,value:j}}E1();m2();t0();r1();g2();DX();var uo="use a hex such as #1e90ff, or rgb()";function Rf($,j){let{root:J,colors:Q,set:Z}=j,X=T("div","swatches");X.setAttribute("role","radiogroup"),X.setAttribute("aria-label",$.label);let V=(N,A,E)=>{let b=z0("swatch","");return b.setAttribute("role","radio"),b.setAttribute("aria-label",A),b.title=A,b.style.background=E,b.addEventListener("click",()=>Z($,N)),b},Y=$.options.map((N)=>{let A=V(N.value,N.label,N.swatch??"");return X.append(A),{node:A,value:N.value}}),q=PB(X,Y,(N)=>Z($,N)),C=(N)=>q($.read(N)),G=$.custom;if(!G)return[X,C];let W=()=>Q.get()[G],K=(N)=>Q.set(G,N),H=Y.length,B=[],z=T("div","colors"),M=T("span","swatch-plus"),U=z0("swatch swatch-add","");U.append(A0("plus",10)),U.setAttribute("aria-label",`add a color to ${$.label}`),U.title="add a color";let F=document.createElement("input");F.type="color",F.className="swatch-pick",F.tabIndex=-1,F.setAttribute("aria-label",`pick a color for ${$.label}`),M.append(U,F);let P=y7({placeholder:"#hex or rgb()",label:`a color for ${$.label}, as a hex or rgb()`,onEnter:()=>{if(L(P.value))I();else j.refuse(P,uo)}});P.hidden=!0,X.append(M),z.append(X,P);let D=()=>Y.find((N)=>N.node.tabIndex===0),_=(...N)=>N.some((A)=>J.activeElement!==null&&A.contains(J.activeElement));function S(N){let A=_(X),E=$.read(C0())===N;if(K(Vf(W(),N)),E)j.reset($);if(A)(D()??Y[0])?.node.focus({preventScroll:!0})}function f(){let N=Y.find((A)=>A.node===J.activeElement)?.value;for(let A of B)A.remove();B=[],Y.length=H;for(let A of W()){let E=V(A,A,A);E.classList.add("swatch-own");let b=z0("swatch-x","");b.append(A0("x",8)),b.tabIndex=-1,b.setAttribute("aria-label",`remove ${A}`),b.title=`remove ${A}`,b.addEventListener("click",()=>S(A)),E.addEventListener("keydown",(w)=>{if(w.key!=="Delete"&&w.key!=="Backspace")return;if(w.altKey||w.ctrlKey||w.metaKey||w.shiftKey)return;w.preventDefault(),S(A)}),M.before(E,b),B.push(E,b),Y.push({node:E,value:A})}if(N!==void 0)Y.find((A)=>A.value===N)?.node.focus()}function L(N){let A=Yf(N,$.options,W());if(!A)return!1;if(A.list.join()!==W().join())K(A.list);return Z($,A.value),!0}function I(){let N=_(M,P);if(P.hidden=!0,P.value="",N)(D()?.node??U).focus({preventScroll:!0})}return U.addEventListener("click",()=>{P.hidden=!1;let N=$.read(C0()),A=$.options.find((E)=>E.value===N)?.color??N;if(k1(A))F.value=A;try{F.showPicker()}catch{F.click()}}),F.addEventListener("input",()=>{Z($,F.value),$.land?.()}),F.addEventListener("change",()=>{if(L(F.value))$.land?.();I()}),P.addEventListener("keydown",(N)=>{if(N.key!=="Escape")return;P.hidden=!0,P.value=""}),Q.subscribe(()=>{f(),C(C0())}),f(),[z,C]}var mo=400,Af=6,p7=8;function po($,j,J){let Q=n1($.left+($.width-j.width)/2,p7,J.width-p7-j.width),Z=$.top-Af-j.height,X=Z>=p7?Z:n1($.bottom+Af,p7,J.height-p7-j.height);return{x:Q,y:X}}function Tf($,j){let J=null,Q=0;function Z(Y,q,C=!1){if(clearTimeout(Q),J=Y,typeof q==="string")$.textContent=q;else $.replaceChildren(q);$.classList.toggle("hot",C);let G=po(Y.getBoundingClientRect(),{width:$.offsetWidth,height:$.offsetHeight},{width:window.innerWidth,height:window.innerHeight}),W=j.getBoundingClientRect();$.style.left=`${G.x-W.left}px`,$.style.top=`${G.y-W.top}px`,$.classList.add("on")}function X(){clearTimeout(Q);let Y=$.classList.contains("on");return $.classList.remove("on"),J=null,Y}function V(Y,q){let C=()=>typeof q==="string"?q:q(),G=!1;Y.addEventListener("pointerenter",()=>{if(G||J===Y)return;clearTimeout(Q),J=Y,Q=window.setTimeout(()=>Z(Y,C()),mo)}),Y.addEventListener("pointerleave",()=>{if(G=!1,J===Y&&!Y.matches(":focus-visible"))X()}),Y.addEventListener("pointerdown",()=>{G=!0,X()}),Y.addEventListener("focus",()=>{if(Y.matches(":focus-visible"))Z(Y,C())}),Y.addEventListener("blur",()=>{if(J===Y)X()})}return{show:Z,hide:X,hideAfter(Y){Q=window.setTimeout(X,Y)},isFor:(Y)=>J===Y,tooltip:V,destroy(){clearTimeout(Q)}}}var co=1000,lo=1800;function uX($,j){let J=0;return{refuse(Q,Z){clearTimeout(J),Q.classList.remove("refused"),Q.offsetWidth,Q.classList.add("refused"),J=window.setTimeout(()=>Q.classList.remove("refused"),co),$.show(Q,Z,!0),$.hideAfter(lo),j.textContent=Z},unrefuse(Q){if(clearTimeout(J),Q.classList.remove("refused"),$.isFor(Q))$.hide()},destroy(){clearTimeout(J)}}}var io=200;function ro(){return`now: ${new Date(X4()).toLocaleString()}`}function mX($){let j=Number($);return Number.isFinite(j)?j:0}function X2($,j){X1(x7(C0(),$,j))}function Z8($,j){X2(o2($.id).id,$.write(j,C0()))}function Sf($){let{root:j,pickOption:J}=$,Q=qf(),Z=uX($.tips,$.said);function X(I,N){if(j.activeElement===I)return;if(I.value!==N)I.value=N}let V=new Map;function Y(I){clearTimeout(V.get(I)),V.set(I,window.setTimeout(()=>{V.delete(I),I()},io))}function q(I){let{node:N,items:A,set:E}=X6({options:I.options,label:I.label,onChange:(g)=>Z8(I,g)}),b=(g)=>E(I.read(g)),w=I.offers;if(!w)return[N,b];return[N,(g)=>{let v=w(g).flatMap((m)=>A.filter((k)=>k.value===m));for(let m of A)m.node.hidden=!v.includes(m);let O=Array.from(N.children).filter((m)=>m instanceof HTMLElement&&!m.hidden);if(v.some((m,k)=>O[k]!==m.node))N.append(...v.map((m)=>m.node));b(g)}]}function C(I){return Rf(I,{root:j,colors:Q,set:Z8,reset:(N)=>X2(o2(N.id).id,N.reset),refuse:Z.refuse})}function G(I,N){let A=T("div","chips");A.setAttribute("aria-label",I.label);let E=I.options.map((w)=>{let g=z0("chip",w.label);return g.addEventListener("click",()=>Z8(I,w.value)),A.append(g),{node:g,value:w.value}}),b=T("span","chip on");return A.append(N??b),[A,(w)=>{let g=I.read(w),c=!1;for(let v of E)s1(v.node,v.value===g),c||=v.value===g;if(N){N.classList.toggle("on",!c),X(N,c?"":g);return}b.hidden=c||g==="",b.textContent=P2(I,g)}]}function W(I){let[N,A]=I.options,E=z0("switch","");return E.setAttribute("role","switch"),E.setAttribute("aria-label",I.label),E.addEventListener("click",()=>{if(!N||!A)return;Z8(I,I.read(C0())===A.value?N.value:A.value)}),[E,(b)=>s1(E,I.read(b)===A?.value,"aria-checked")]}function K(I){let N=T("div","list"),A=e6("filter","filter",`filter ${I.label}`),E=T("div","items");E.setAttribute("role","listbox"),E.setAttribute("aria-label",I.label),E.addEventListener("mousedown",(c)=>c.preventDefault()),N.append(A,E);let b=[],w=-1,g=(c)=>{let v=I.read(c);if(b=Lf(I,A.value),A.value.trim()===""&&!b.some((R)=>R.value===v))b.unshift({value:v,label:P2(I,v)});let O=A.value.trim()==="",m=[],k;b.forEach((R,y)=>{if(O&&R.group&&R.group!==k)m.push(T("div","group-label",R.group));k=R.group;let i=z0("item",R.label);i.setAttribute("role","option"),i.tabIndex=-1,s1(i,R.value===v,"aria-selected"),i.classList.toggle("cursor",y===w),i.addEventListener("click",()=>J(I,R)),m.push(i)}),E.replaceChildren(...m);let l=E.querySelector(".cursor");if(l instanceof HTMLElement)S4(l,E)};return A.addEventListener("input",()=>{w=A.value.trim()?0:-1,E.scrollTop=0,g(C0())}),A.addEventListener("keydown",(c)=>{if(c.key==="ArrowDown"||c.key==="ArrowUp"){c.preventDefault();let v=c.key==="ArrowDown"?1:-1;w=Math.min(Math.max(w+v,0),b.length-1),g(C0())}else if(c.key==="Enter"){c.preventDefault();let v=b[Math.max(w,0)];if(v)J(I,v)}}),[N,g]}let H=e6("chip chip-field","other","custom width in pixels");H.type="number",H.inputMode="numeric";function B(){let I=Number(H.value);if(Number.isFinite(I)&&I>0)X2("viewport",{width:I})}H.addEventListener("input",()=>Y(B));function z(I){if(I.control==="switch")return W(I);if(I.control==="segments")return q(I);if(I.control==="swatches")return C(I);if(I.control==="list")return K(I);return G(I,I.id==="width"?H:null)}function M(I,N=r0()){let A=C0().clock.mode==="frozen";X2("clock",{clock:{mode:A?"frozen":"offset",at:I,since:N}})}function U(){let I=T("div","extra"),N=e6("field-clock","","clock date and time");N.type="datetime-local";let A=T("div","note");return I.append(N,A),N.addEventListener("change",()=>{let E=Date.parse(N.value);if(!Number.isNaN(E))M(E)}),[I,(E)=>{X(N,E.clock.mode==="system"?"":J7(E.clock.at)),A.hidden=E.clock.mode==="system",A.textContent=ro()}]}function F(){let I=T("div","extra"),N=c$("lat","latitude"),A=c$("lng","longitude"),E=T("div","fields");E.append(T("span","unit","lat"),N,T("span","unit","lng"),A);let b=document.createElement("textarea");b.className="field field-route",b.placeholder="lat,lng per line, or gpx",b.spellcheck=!1,b.setAttribute("aria-label","route");let w=c$("speed","route speed in kilometers per hour"),g=T("div","fields");g.append(w,T("span","unit","kilometers per hour"));let c=T("div","extra");c.append(b,g),I.append(E,c);let v=()=>X2("location",{geo:{preset:"custom",lat:mX(N.value),lng:mX(A.value)}}),O=()=>X2("location",{geo:{preset:"route",route:b.value}}),m=()=>X2("location",{geo:{speed:mX(w.value)}});for(let k of[N,A])k.addEventListener("input",()=>Y(v));return b.addEventListener("input",()=>Y(O)),w.addEventListener("input",()=>Y(m)),[I,(k)=>{E.hidden=k.geo.preset!=="custom",c.hidden=k.geo.preset!=="route",X(N,String(k.geo.lat)),X(A,String(k.geo.lng)),X(b,k.geo.route),X(w,String(k.geo.speed))}]}let P=null;function D(){let I=T("div","extra extra-device"),N=T("div","fields"),A=c$("width","viewport width in pixels"),E=c$("height","viewport height in pixels"),b=z0("chip","rotate"),w=z0("chip","unfold");N.append(A,T("span","unit","×"),E,b,w);let g=Uf((O)=>X2("device",{posture:O}));P=g,I.append(N,g.node);let c=(O)=>{let m=mX(O.value);return m>0?m:"full"},v=()=>X2("device",{width:c(A),height:c(E)});for(let O of[A,E])O.addEventListener("input",()=>Y(v));return b.addEventListener("click",()=>{let O=C0().orientation==="portrait"?"landscape":"portrait";X2("device",{orientation:O})}),w.addEventListener("click",()=>{X2("device",{posture:rB(C0().posture).posture})}),[I,(O)=>{X(A,typeof O.width==="number"?String(O.width):""),X(E,typeof O.height==="number"?String(O.height):""),b.hidden=typeof O.width!=="number"||typeof O.height!=="number",w.hidden=!n0(O.device)?.postures,w.textContent=rB(O.posture).label,g.update(O)}]}function _(){let I=T("div","note");return[I,(N)=>{I.hidden=N.timeZone!=="geo",I.textContent=`in use: ${$Q(N.timeZone,N.geo)??"system"}`}]}function S(){let I=document.createElement("textarea");I.className="field field-ua",I.placeholder="custom user agent",I.spellcheck=!1,I.setAttribute("aria-label","custom user agent");let N=()=>X2("device",{ua:{preset:"custom",custom:I.value}});return I.addEventListener("input",()=>Y(N)),[I,(A)=>{I.hidden=A.ua.preset!=="custom",X(I,O8(A.ua))}]}let f={clock:U,device:D,geo:F,timeZone:_,ua:S};function L(I,N){let A=[];for(let E of E$(I)){let b=T("div",`knob knob-${E.control}`);b.dataset.knob=E.id;let[w,g]=z(E);if(nO(I,E))b.append(T("div","knob-label",E.label));b.append(w),A.push(g);let c=f[E.id]?.();if(c)b.append(c[0]),A.push(c[1]);let{shown:v,offers:O}=E;if(v||O)A.push((m)=>{b.hidden=!(v?.(m)??!0)||O?.(m).length===0});N.append(b)}return A}return{buildEditor:L,destroy(){P?.destroy(),Q.destroy(),Z.destroy();for(let I of V.values())clearTimeout(I)}}}r1();y2();function so($){if($.keys)return"keys";if($.view)return"view";return $.query?"results":$.browsing?"browse":"rows"}function Of($){let{root:j,wrap:J,slide:Q,searchInput:Z,closeSearch:X,add:V,results:Y,rows:q,actionsHere:C}=$,{render:G}=$,W=!1,K="",H=!1,B=[],z=0;function M(b){z=q7(b,B.length),B.forEach((g,c)=>{g.node.classList.toggle("cursor",c===z),g.node.setAttribute("aria-selected",c===z?"true":"false")});let w=B[z];if(w)Z.setAttribute("aria-activedescendant",w.node.id),S4(w.node,Y);else Z.removeAttribute("aria-activedescendant")}function U(b,w,...g){let c=T("div","entry");return c.id=`devknobs-entry-${b}`,c.setAttribute("role","option"),c.append(...g),c.addEventListener("click",w),c.addEventListener("pointermove",()=>{if(B[z]?.node===c)return;M(B.findIndex((v)=>v.node===c))}),{node:c,pick:w}}function F(b,w,g){return U(b,()=>p$(w),A0(w.icon),T("span","entry-knob",zR(w,g.panel.docked)),T("span","entry-value",w.long))}function P(b,w){let g=Df(b,C),c=If(b).map((v,O)=>{let m=Nf(v),k=v.option!==null&&v.knob.read(w)===v.option.value,l=A0("check",12);return l.classList.add("entry-check"),U(g.length+O,()=>L(v),A0(QX[o2(v.knob.id).id]),T("span","entry-knob",m.knob),T("span","entry-value",m.value),...k?[l]:[])});return[...g.map((v,O)=>F(O,v,w)),...c]}function D(b){let w=[],g=[];w.push(T("div","group-label","actions"));for(let c of C){let v=F(g.length,c,b);g.push(v),w.push(v.node)}for(let c of SR()){w.push(T("div","group-label",c.category));for(let v of c.knobs){let O=U(g.length,()=>I(v),A0(QX[o2(v.id).id]),T("span","entry-name",v.label),T("span","entry-now",P2(v,v.read(b))));g.push(O),w.push(O.node)}}return{nodes:w,list:g}}function _(b){let w=Z.value.trim(),g=so({keys:$.editingKeys(),view:$.viewing(),query:w!=="",browsing:W});if(Q.show(g==="keys"||g==="view"?g:"home",b.panel.open,()=>{J.dataset.mode=g}),Z.setAttribute("aria-expanded",g==="rows"?"false":"true"),g==="results"){B=P(w,b);let c=B.map((v)=>v.node);Y.replaceChildren(...c.length?c:[T("div","empty","no knob found")])}else if(g==="browse"){let{nodes:c,list:v}=D(b);B=v,Y.replaceChildren(...c)}else B=[],Y.replaceChildren();M(q7(z,B.length,w!==K)),K=w}function S(){if(Z.value="",W=!1,z=0,Y.scrollTop=0,j.activeElement===Z)Z.blur();else G()}function f(b){if(b){if(W||Z.value)S();let w=j.activeElement;if(w instanceof HTMLElement)w.blur()}}function L(b){let{knob:w,option:g}=b;if(!g){I(w);return}let c=o2(w.id).id;if(S(),w.id==="frame"&&L3(C0()))return;if(w.offers&&!w.offers(C0()).includes(g.value))return;if(Z8(w,g.value),g.opens)q.openEditor(c);if(q.showRow(c,w),g.opens)q.focusCustom(w)}function I(b){let w=o2(b.id).id;S(),X2(w,{}),q.openEditor(w),q.showRow(w,b)}function N(b=""){if($.dropKeys(),b)Z.value+=b,Y.scrollTop=0;if(!W||b)W=!0,G();Z.focus({preventScroll:!0})}Z.addEventListener("focus",()=>{if(W)return;W=!0,G()}),V.addEventListener("click",()=>N()),Z.addEventListener("blur",()=>{if(j.activeElement===Z||H)return;S()}),Z.addEventListener("click",()=>N()),Z.addEventListener("input",()=>{W=!0,Y.scrollTop=0,G()}),Z.addEventListener("keydown",(b)=>{let w=b.isComposing?null:kR(b.key,z,B.length);if(!w)return;if(b.preventDefault(),b.key!=="Enter"&&!W&&!Z.value.trim()){W=!0,G();return}if(M(w.cursor),w.pick)B[w.cursor]?.pick()}),Y.addEventListener("mousedown",(b)=>b.preventDefault()),X.addEventListener("mousedown",(b)=>b.preventDefault()),X.addEventListener("click",()=>{S(),V.focus({preventScroll:!0})});function A(){H=!0}function E(){if(H=!1,!W&&!Z.value)return;window.setTimeout(()=>{if(j.activeElement!==Z&&(W||Z.value))S()})}return{searching:()=>W||Z.value!=="",clear(){W=!1,Z.value=""},renderBody:_,leaveSearch:S,startBrowsing:N,onGrab:f,onPointerDown:A,onPointerUp:E}}Y5();G2();D9();Y5();var oB=240,tB=DE,ff=240,no=280,ao=720,eB=96;function nB($){return $?kI:eB}var Ef=16,bf=21;function aB($,j,J=eB){let Q=$==="view"?no:ff;return{min:Q,max:Math.max(Q,Math.min(ao,j-J))}}function xf($,j,J,Q=eB){let{min:Z,max:X}=aB($,J,Q),V=J-bf-qE;return Math.max(ff,Math.min(Math.round(n1(j,Z,X)),V))}function oo($,j,J){return $+(J==="right"?-j:j)}function to($,j,J,Q){if($==="Home")return J.min;if($==="End")return J.max;if($!=="ArrowLeft"&&$!=="ArrowRight")return null;return n1(j+($==="ArrowLeft"===(Q==="right")?Ef:-Ef),J.min,J.max)}function eo($){return!$.first&&!$.dragging&&!$.resizing}function wf($){let{host:j,wrap:J,panel:Q,prefs:Z}=$,X=document.createElement("div");X.className="sizer",X.tabIndex=0,X.setAttribute("role","separator"),X.setAttribute("aria-orientation","vertical"),X.setAttribute("aria-label","panel width");let V=null,Y=null;function q(){return document.documentElement.clientWidth||window.innerWidth}function C(K){J.style.setProperty("--panel-width",`${K}px`)}function G(K,H){let B=$.showing(),z=q(),M=B==="view"?Z.get().viewWidth:Z.get().listWidth,U=nB($.place().docked),F=xf(B,Y?.showing===B?Y.width:M,z,U),P=V,D=aB(B,z,U);if(X.setAttribute("aria-valuemin",String(D.min)),X.setAttribute("aria-valuemax",String(D.max)),F===P||P!==null&&!$.place().open){K?.();return}X.setAttribute("aria-valuenow",String(F));let _=eo({first:P===null,dragging:Y!==null,resizing:H});if(V=F,$.wide(F),j.style.width=`${bf+F}px`,Q.style.transitionProperty="none",C(F),K?.(),_&&P!==null)C(P);if(Q.getBoundingClientRect(),Q.style.transitionProperty="",C(F),P!==null)$.sized(_)}function W(K){if(!Y)return;let{showing:H,pointer:B,width:z,moved:M}=Y;if(Y=null,delete J.dataset.sizing,X.hasPointerCapture(B))X.releasePointerCapture(B);if(K&&M)Z.setWidth(H,z);else G(void 0,!1)}return X.addEventListener("pointerdown",(K)=>{if(K.button!==0||Y||V===null)return;Y={showing:$.showing(),pointer:K.pointerId,from:V,x:K.clientX,width:V,moved:!1},J.dataset.sizing="true",X.setPointerCapture(K.pointerId)}),X.addEventListener("pointermove",(K)=>{if(!Y||K.pointerId!==Y.pointer)return;let{side:H,docked:B}=$.place(),z=oo(Y.from,K.clientX-Y.x,H),M=xf(Y.showing,z,q(),nB(B));if(M===Y.width)return;Y.width=M,Y.moved=!0,G(void 0,!1)}),X.addEventListener("pointerup",(K)=>{if(K.pointerId===Y?.pointer)W(!0)}),X.addEventListener("pointercancel",(K)=>{if(K.pointerId===Y?.pointer)W(!1)}),X.addEventListener("lostpointercapture",(K)=>{if(K.pointerId===Y?.pointer)W(!1)}),X.addEventListener("dblclick",()=>{let K=$.showing();Z.setWidth(K,K==="view"?tB:oB)}),X.addEventListener("keydown",(K)=>{if(V===null||K.altKey||K.ctrlKey||K.metaKey)return;let H=$.showing(),{side:B,docked:z}=$.place(),M=aB(H,q(),nB(z)),U=to(K.key,V,M,B);if(U===null)return;K.preventDefault(),Z.setWidth(H,U)}),{strip:X,size:(K)=>G(K,!1),fit:()=>G(void 0,!0),cancel:()=>W(!1)}}var pX="devknobs:prefs",vf=4,$t="simple",jt=!0,$U={list:"listWidth",view:"viewWidth"};function Jt($){let j=null;try{j=$?JSON.parse($):null}catch{return{}}if(typeof j!=="object"||j===null||Array.isArray(j))return{};if(P1(j,vf))return{};let J={},Q=Reflect.get(j,"handle");if(typeof Q==="boolean")J.handle=Q;for(let V of[$U.list,$U.view]){let Y=Reflect.get(j,V);if(typeof Y==="number"&&Number.isFinite(Y)&&Y>0)J[V]=Y}let Z=Reflect.get(j,"stylesMode");if(Z==="simple"||Z==="advanced")J.stylesMode=Z;let X=Reflect.get(j,"stylesBox");if(typeof X==="boolean")J.stylesBox=X;return J}function kf($,j){return{...$,...j}}function yf(){try{return Jt(E0("local")?.getItem(pX))}catch{return{}}}function Qt($){try{if(Object.keys($).length===0)E0("local")?.removeItem(pX);else E0("local")?.setItem(pX,JSON.stringify(q1($,vf)))}catch{}}function gf($={}){let j={handle:$.handle!==!1,listWidth:oB,viewWidth:tB,stylesMode:$t,stylesBox:jt},J=yf(),Q=kf(j,J),Z=new Set;function X(){Q=kf(j,J);for(let q of Array.from(Z))q()}function V(q){J=q,Qt(J),X()}function Y(q){if(q.key!==pX&&q.key!==null)return;if(e1())return;J=yf(),X()}if(typeof window<"u")window.addEventListener("storage",Y);return{get:()=>Q,setHandle(q){let C={...J};if(q===j.handle)delete C.handle;else C.handle=q;V(C)},setWidth(q,C){let G=$U[q],W={...J};if(C===j[G])delete W[G];else W[G]=C;V(W)},setStylesMode(q){let C={...J};if(q===j.stylesMode)delete C.stylesMode;else C.stylesMode=q;V(C)},setStylesBox(q){let C={...J};if(q===j.stylesBox)delete C.stylesBox;else C.stylesBox=q;V(C)},subscribe(q){return Z.add(q),()=>{Z.delete(q)}},destroy(){if(Z.clear(),typeof window<"u")window.removeEventListener("storage",Y)}}}hY();t0();r1();g2();Y5();t1();z5();t0();r1();g2();f5();var c7="the browser gives a page only timing and size for this",pf="<hidden>",cf=16,Zt=4;function dX($,j){let J=[...$];if(J.length<=j)return $;let Q=Math.ceil((j-1)/2),Z=j-1-Q;return`${J.slice(0,Q).join("")}…${Z>0?J.slice(-Z).join(""):""}`}function df($){let j;try{j=new URL($)}catch{return{name:$,query:""}}if(j.protocol==="data:")return{name:`data:${j.pathname.split(/[;,]/,1)[0]}`,query:""};let J=j.pathname.split("/").filter((X)=>X!==""),Q=J[J.length-1],Z=Q!==void 0&&j.pathname.endsWith("/")?"/":"";return{name:Q===void 0?j.host:`${Q}${Z}`,query:j.search}}var Xt=new Map([["css","css"],["js","js"],["mjs","js"],["woff","font"],["woff2","font"],["ttf","font"],["otf","font"],["png","img"],["jpg","img"],["jpeg","img"],["gif","img"],["webp","img"],["avif","img"],["svg","img"],["ico","img"],["mp4","media"],["webm","media"],["mp3","media"],["wasm","wasm"],["json","json"]]),Vt=new Map([["img","img"],["image","img"],["script","js"],["css","css"],["iframe","frame"],["video","media"],["audio","media"],["fetch","fetch"],["xmlhttprequest","xhr"]]);function Yt($){if(/^image\//i.test($))return"img";if(/^text\/css/i.test($))return"css";if(/(java|ecma)script/i.test($))return"js";if(/^font\//i.test($))return"font";if(/^application\/wasm/i.test($))return"wasm";if(rX($))return"json";return/^(video|audio)\//i.test($)?"media":""}function qt($){try{let j=/\.([a-z0-9]+)$/i.exec(new URL($).pathname)?.[1]??"";return Xt.get(j.toLowerCase())??""}catch{return""}}function d7($){if($.kind==="fetch"||$.kind==="xhr"||$.kind==="eventsource")return $.kind;if($.kind==="navigation")return"doc";return Yt($.contentType)||qt($.url)||Vt.get($.initiatorType)||$.initiatorType.slice(0,6)||"other"}var Ct=new Map([["DELETE","DEL"],["OPTIONS","OPT"],["CONNECT","CONN"]]);function Gt($){if($.detail==="light"||$.method==="")return d7($);return Ct.get($.method)??$.method.slice(0,5)}var Wt=new Map([["js",{icon:"javascript",tone:""}],["css",{icon:"css",tone:""}],["doc",{icon:"html5",tone:""}],["frame",{icon:"html5",tone:""}],["wasm",{icon:"webassembly",tone:""}],["json",{icon:"json",tone:""}],["img",{icon:"image",tone:"req-image"}],["font",{icon:"type",tone:"req-font"}],["media",{icon:"film",tone:"req-media"}],["fetch",{icon:"arrow-up-down",tone:"req-rest"}],["xhr",{icon:"arrow-up-down",tone:"req-rest"}]]);function Kt($){return Wt.get($)??{icon:"file",tone:"req-rest"}}var Bt=new Map([["GET","req-get"],["POST","req-post"],["PUT","req-put"],["PATCH","req-patch"],["DELETE","req-delete"]]);function Ut($){return Bt.get($.toUpperCase())??"req-rest"}function lX($){let j=Gt($);if($.detail==="light"||$.method==="")return{text:j,...Kt(j)};return{text:j,icon:null,tone:Ut($.method)}}function JU($){if($.state==="pending"||$.state==="aborted")return $.state;if($.status===0)return"opaque";if($.status!==null)return String($.status);return $.state==="failed"?"failed":""}function Ht($){return $.state==="failed"||$.status!==null&&$.status>=400}var iX=["ok","moved","hot","idle"];function l7($){if($.state==="pending"||$.state==="aborted")return"idle";if(Ht($))return"hot";if($.status===null||$.status<200)return null;return $.status<300?"ok":"moved"}function o$($){if($===null)return"";let j=Math.round($);return j<1000?`${j}ms`:`${($/1000).toFixed(1)}s`}function hf($){return $.toFixed(1).replace(/\.0$/,"")}function $4($){if($<1024)return $===1?"1 byte":`${$} bytes`;if($<1048576)return`${hf($/1024)} KB`;return`${hf($/1048576)} MB`}function Mt($){if($.hidden)return"hidden by the server";let j=`${$4($.decoded)} of body`;return $.transfer===0?`nothing over the wire, ${j}`:`${$4($.transfer)} over the wire, ${j}`}function cX($,j=2){return String($).padStart(j,"0")}function lf($){return`${cX($.getHours())}:${cX($.getMinutes())}:${cX($.getSeconds())}.${cX($.getMilliseconds(),3)}`}var QU=[{id:"all",label:"all"},{id:"script",label:"fetch/xhr"},{id:"other",label:"other"}];function Ft($){if($.kind==="fetch"||$.kind==="xhr"||$.kind==="eventsource")return!0;return $.initiatorType==="fetch"||$.initiatorType==="xmlhttprequest"}function ZU($,j,J){if(J!=="all"&&Ft($)!==(J==="script"))return!1;let Q=j.toLowerCase().split(/\s+/).filter((X)=>X!=="");if(Q.length===0)return!0;let Z=`${$.method} ${$.url} ${JU($)} ${$.status??""}`.toLowerCase();return Q.every((X)=>Z.includes(X))}function rf($){return $<=Zt}function sf($,j){return j>0?Math.floor(Math.max(0,$)/j):0}function nf($,j,J){return Math.max(0,$+j*J)}function rX($){return/[/+]json\b/i.test($)}function sX($){if($.kind==="stream")return"stream, not read";if($.kind==="opaque")return"opaque";if($.kind==="binary")return $.size===null?"binary":`binary, ${$4($.size)}`;if($.timedOut)return`cut after ${P8/1000} seconds, the rest was still coming`;if($.truncated){let j=$.size===null?"":` of ${$4($.size)}`;return`truncated at ${$4(l2)}${j}`}return $.size===null?"":$4($.size)}function G5($){return $.kind==="text"||$.kind==="form"}function zt($){let j="",J=!1;for(let Q=0;Q<$.length;Q++){let Z=$.charAt(Q);if(J){if(j+=Z,Z==="\\")j+=$.charAt(++Q);else if(Z==='"')J=!1}else if(Z==='"')J=!0,j+=Z;else if(Z!==" "&&Z!==`
828
+ `&&Z!=="\r"&&Z!=="\t")j+=Z}return j}function nX($,j=""){let J=XU($,j);return J?JSON.stringify(J.value,null,2):$.text}function XU($,j=""){if($.kind!=="text"||$.truncated||!rX($.type||j))return null;try{let J=JSON.parse($.text);return JSON.stringify(J)===zt($.text)?{value:J}:null}catch{return null}}function VU($){if($.state==="pending"||$.state==="aborted")return $.state;if($.status===null){if($.state!=="failed")return"not given by the browser";return $.error?`failed, ${$.error}`:"failed"}if($.status===0)return"opaque";return`${$.status} ${$.statusText}`.trim()}var Pt=new Set(["authorization","cookie","set-cookie","proxy-authorization"]),_t=["token","secret","key","password","auth","session","signature","credential","jwt"];function af($){let j=$.toLowerCase();return Pt.has(j)||_t.some((J)=>j.includes(J))}var It=/([?&#])([^=&#\s]+)=([^&#\s]*)/g;function jU($){return $.replace(It,(j,J,Q)=>af(Q)?`${J}${Q}=${pf}`:j)}var Dt=/(?::\d+){1,2}\)?$/;function Lt($){return $.split(`
829
+ `).map((j)=>{let J=Dt.exec(j)?.[0]??"";return`${jU(j.slice(0,j.length-J.length))}${J}`}).join(`
830
+ `)}function uf($,j){if(j.length===0)return[];let J=j.map(([Q,Z])=>`${Q}: ${af(Q)?pf:Z}`);return["",`${$}:`,...J]}function mf($,j){if(!j)return[];let J=sX(j);if(!G5(j))return["",`${$}: ${[J,j.type].filter(Boolean).join(", ")}`];let Q=[j.type,J].filter(Boolean).join(", ");return["",`${$}${Q?` (${Q})`:""}:`,j.text]}function of($){let j=$.detail==="light",J=[`${j||!$.method?d7($):$.method} ${jU($.url)}`];if($.finalUrl&&$.finalUrl!==$.url)J.push(`answered from: ${jU($.finalUrl)}`);if(!j||$.status!==null)J.push(`status: ${VU($)}`);let Q=o$($.timing.duration),Z=o$($.timing.response);if(Q)J.push(`time: ${Q}${Z?`, response after ${Z}`:""}`);if($.sizes)J.push(`size: ${Mt($.sizes)}`);if($.protocol)J.push(`protocol: ${$.protocol}`);if($.source==="frame")J.push("from: the device frame");if(j)return[...J,`note: ${c7}, no headers and no bodies`].join(`
831
+ `);if(J.push(...uf("request headers",$.requestHeaders),...mf("request body",$.requestBody),...uf("response headers",$.responseHeaders),...mf("response body",$.responseBody)),$.initiator)J.push("","initiator:",Lt($.initiator));return J.join(`
832
+ `)}f5();IX();var Nt=72,Rt=6.7;function jb($){if(!($>0))return Nt;return Math.max(8,2*Math.floor($/Rt)-1)}function At($){try{let j=new URL($),J=`${j.protocol}//${j.host}`;if(j.host===""||!$.startsWith(J))return{host:"",path:$};return{host:j.host,path:$.slice(J.length)||"/"}}catch{return{host:"",path:$}}}function Jb($){let j=lX($),{host:J,path:Q}=At($.url);return{verb:j.icon?j:{...j,text:$.method},path:Q,status:$.status===null&&$.state==="ok"?"":VU($),tone:l7($),time:o$($.timing.duration),host:J}}function Qb($){let j=[];for(let J of $.split(`
833
+ `)){let Q=J.indexOf("="),Z=j[j.length-1];if(Q<0&&Z)Z[1]=`${Z[1]}
834
+ ${J}`;else j.push(Q<0?[J,""]:[J.slice(0,Q),J.slice(Q+1)])}return j}function qU($,j=""){if($.kind==="stream")return{kind:"line",text:"not read: a stream"};if($.kind==="opaque")return{kind:"line",text:"hidden by the browser: an opaque answer"};if(!G5($))return{kind:"line",text:[sX($),$.type].filter(Boolean).join(", ")};if($.text==="")return{kind:"line",text:"empty"};if($.kind==="form")return{kind:"fields",lines:Qb($.text)};if(!$.truncated&&/x-www-form-urlencoded/i.test($.type||j))return{kind:"fields",lines:[...new URLSearchParams($.text)]};return{kind:"code",text:nX($,j)}}function CU($){if($.timedOut)return`cut after ${P8/1000} seconds`;if(!$.truncated)return"";return`first ${$4(l2)}${$.size===null?"":` of ${$4($.size)}`}`}var Tt=new Map([["doc","document"],["js","script"],["css","stylesheet"],["img","image"]]);function St($){if($.kind!=="resource")return $.kind==="navigation"?"document":$.kind;let j=d7($),J=/^image\/([\w.+-]+)/i.exec($.contentType)?.[1];if(j==="img"&&J)return J.toLowerCase();return Tt.get(j)??j}var aX=["Headers","Payload","Preview","Response","Initiator","Timing","Cookies","EventStream"];function GU($){return aX.some((j)=>j===$)}function Ot($){return/^text\/event-stream\b/i.test($.contentType.trim())}function WU($){let j=$.detail==="full",J={Headers:!0,Payload:j&&($.requestBody!==null||oX($.url)!==""),Preview:j||Fb($),Response:j,Initiator:$.initiator!==""||$.initiatorType!=="",Timing:!0,Cookies:FU($).length+zU($).length>0,EventStream:j&&Ot($)};return aX.filter((Q)=>J[Q])}function Zb($,j){return j!==null&&WU($).includes(j)?j:"Headers"}function oX($){try{return new URL($).search.slice(1)}catch{return""}}function KU($,j=!0){let J=oX($);if(j)return J===""?[]:[...new URLSearchParams(J)];return BU(J)}function BU($){return $.split("&").filter((j)=>j!=="").map((j)=>{let J=j.indexOf("=");return J<0?[j,""]:[j.slice(0,J),j.slice(J+1)]})}function UU($){try{return decodeURIComponent($.replace(/\+/g," "))}catch{return $}}var Et=new Map([[100,"Continue"],[101,"Switching Protocols"],[200,"OK"],[201,"Created"],[202,"Accepted"],[203,"Non-Authoritative Information"],[204,"No Content"],[205,"Reset Content"],[206,"Partial Content"],[300,"Multiple Choices"],[301,"Moved Permanently"],[302,"Found"],[303,"See Other"],[304,"Not Modified"],[307,"Temporary Redirect"],[308,"Permanent Redirect"],[400,"Bad Request"],[401,"Unauthorized"],[402,"Payment Required"],[403,"Forbidden"],[404,"Not Found"],[405,"Method Not Allowed"],[406,"Not Acceptable"],[408,"Request Timeout"],[409,"Conflict"],[410,"Gone"],[411,"Length Required"],[412,"Precondition Failed"],[413,"Content Too Large"],[414,"URI Too Long"],[415,"Unsupported Media Type"],[416,"Range Not Satisfiable"],[418,"I'm a teapot"],[422,"Unprocessable Content"],[425,"Too Early"],[426,"Upgrade Required"],[428,"Precondition Required"],[429,"Too Many Requests"],[431,"Request Header Fields Too Large"],[451,"Unavailable For Legal Reasons"],[500,"Internal Server Error"],[501,"Not Implemented"],[502,"Bad Gateway"],[503,"Service Unavailable"],[504,"Gateway Timeout"],[505,"HTTP Version Not Supported"]]);function xt($){if($.state==="pending")return"(pending)";if($.state==="aborted")return"(canceled)";if($.status===null){if($.state!=="failed")return"";return $.error?`(failed) ${$.error}`:"(failed)"}if($.status===0)return"(opaque)";return`${$.status} ${$.statusText||Et.get($.status)||""}`.trim()}function Xb($,j=""){let J=$.finalUrl!==null&&$.finalUrl!==$.url,Q=[{label:"Request URL",value:J&&$.finalUrl?$.finalUrl:$.url}];if(J)Q.push({label:"Redirected From",value:$.url});if($.method!=="")Q.push({label:"Request Method",value:$.method});let Z=xt($);if(Z!=="")Q.push({label:"Status Code",value:Z,tone:l7($)});let X=$.referrerPolicy||j;if(X!=="")Q.push({label:"Referrer Policy",value:X});return Q}var Vb="Provisional headers are shown";function Yb($){return $.map(([j,J])=>`${j}: ${J}`).join(`
835
+ `)}var qb="This request has no response data available.",HU="Failed to load response data",ft="waiting for the response";function MU($){if($.state==="pending")return ft;return $.state==="failed"&&$.status===null?HU:qb}var Cb="(binary)";function bt($){let j=/;\s*boundary=(?:"([^"]+)"|([^;\s]+))/i.exec($);return j?.[1]??j?.[2]??""}function wt($,j){if(j==="")return[];let J=[],Q=$.split(`--${j}`).slice(1);for(let Z of Q){if(Z.startsWith("--"))break;let X=Z.replace(/^\r?\n/,""),V=/\r?\n\r?\n/.exec(X),Y=V?X.slice(0,V.index):X,q=V?X.slice(V.index+V[0].length).replace(/\r?\n$/,""):"",C=/^content-disposition:(.*)$/im.exec(Y)?.[1]??"",G=/\bname="([^"]*)"/i.exec(C)?.[1]??/\bname=([^;\s]+)/i.exec(C)?.[1]??"";J.push([G,/\bfilename\*?=/i.test(C)?Cb:q])}return J}var kt=/^\(file .*, \d+ bytes\)$/;function Gb($){if($.kind==="stream")return{kind:"line",text:"not read: a stream"};if(!G5($))return{kind:"line",text:[sX($),$.type].filter(Boolean).join(", ")};if($.text==="")return{kind:"line",text:"empty"};if($.kind==="form")return{kind:"form",lines:Qb($.text).map(([Q,Z])=>[Q,kt.test(Z)?Cb:Z]),source:$.text,encoded:!1};if(/x-www-form-urlencoded/i.test($.type))return{kind:"form",lines:[...new URLSearchParams($.text)],source:$.text,encoded:!0};if(/^multipart\/form-data/i.test($.type)){let J=wt($.text,bt($.type));if(J.length>0)return{kind:"form",lines:J,source:$.text,encoded:!1}}let j=XU($);return j?{kind:"json",value:j.value,source:$.text}:{kind:"text",text:$.text}}function tf($){if($<1000)return`${$} B`;if($<1e6)return`${($/1000).toFixed(1)} kB`;return`${($/1e6).toFixed(1)} MB`}function Wb($){let j=[["Type",St($)]];if($.contentType&&$.detail==="light")j.push(["Content-Type",$.contentType]);let J=$.sizes;if(J?.hidden)j.push(["Size","hidden: the server sends no Timing-Allow-Origin"]);else if(J){let Q=J.transfer===0&&J.decoded>0?"(cache)":`${tf(J.transfer)} transferred over network`;j.push(["Size",`${Q}, resource size: ${tf(J.decoded)}`])}if($.protocol)j.push(["Protocol",$.protocol]);if($.source==="frame")j.push(["Frame","the device frame"]);return j}function tX($){if($<1)return`${Math.round($*1000)} µs`;if($<1000)return`${$.toFixed(2)} ms`;return`${($/1000).toFixed(2)} s`}var Kb="CAUTION: request is not finished yet!",ef="The server on another origin sends no Timing-Allow-Origin, so the browser shows a page only the start and the end",$b="The browser gave no Resource Timing for this request, so only what the page saw is shown";function C6($,j,J,Q,Z){if(Z>=Q)$.push({label:j,start:Q,end:Z,tone:J})}function Bb($){let{at:j,response:J,duration:Q}=$.timing,Z=$.phases,X=$.state==="pending"||$.timing.end===null,V=[],Y=[],q=[],C="";if(Z&&$.detail==="full"&&Z.startTime>j)C6(V,"Queueing","queue",j,Z.startTime);if(Z&&Z.requestStart>0){let H=Z.domainLookupEnd>Z.domainLookupStart,B=Z.connectEnd>Z.connectStart,z=Z.fetchStart||Z.startTime,M=H?Z.domainLookupStart:B?Z.connectStart:Z.requestStart;if(C6(Y,"Stalled","stall",z,M),H)C6(Y,"DNS Lookup","dns",Z.domainLookupStart,Z.domainLookupEnd);if(B)C6(Y,"Initial connection","connect",Z.connectStart,Z.connectEnd);if(B&&Z.secureConnectionStart>Z.connectStart)C6(Y,"SSL","ssl",Z.secureConnectionStart,Z.connectEnd);if(Z.responseStart>0)C6(q,"Waiting for server response","wait",Z.requestStart,Z.responseStart),C6(q,"Content Download","download",Z.responseStart,Z.responseEnd)}else if($.detail==="full"&&J!==null){let H=Z?.startTime??j,B=Math.max(H,j+J);if(C6(q,"Waiting for server response","wait",H,B),Q!==null)C6(q,"Content Download","download",B,Math.max(B,j+Q));if(!X)C=Z?ef:$b}else if(!X)C=Z?ef:$b;let G=[...V,...Y,...q],W=Math.max(j+(Q??0),Z?.responseEnd??0,...G.map((H)=>H.end)),K=[{name:"Resource Scheduling",phases:V},{name:"Connection Start",phases:Y},{name:"Request/Response",phases:q}].filter((H)=>H.phases.length>0);return{queuedAt:j,startedAt:Z?Z.startTime:null,sections:K,from:Math.min(j,Z?.startTime??j),to:W,total:Q,pending:X,note:C}}function Ub($,j){let J=$.to-$.from;if(!(J>0))return{left:0,width:0};let Q=Math.min(1,Math.max(0,(j.start-$.from)/J));return{left:Q,width:Math.min(1-Q,Math.max(0,(j.end-j.start)/J))}}function YU($,j,J){return{name:$,value:j,domain:"",path:"",expires:"",size:J,httpOnly:!1,secure:!1,sameSite:"",partitioned:!1}}function Hb($){return $.split(";").map((j)=>j.trim()).filter((j)=>j!=="").map((j)=>{let J=j.indexOf("=");return J<0?YU("",j,j.length):YU(j.slice(0,J).trim(),j.slice(J+1).trim(),j.length)})}function yt($,j){let[J="",...Q]=$.split(";"),[Z]=Hb(J),X={...Z??YU("","",0),size:$.trim().length,expires:"Session"},V=null;for(let Y of Q){let q=Y.indexOf("="),C=(q<0?Y:Y.slice(0,q)).trim().toLowerCase(),G=q<0?"":Y.slice(q+1).trim();if(C==="domain")X.domain=G;else if(C==="path")X.path=G;else if(C==="httponly")X.httpOnly=!0;else if(C==="secure")X.secure=!0;else if(C==="partitioned")X.partitioned=!0;else if(C==="samesite")X.sameSite=G;else if(C==="max-age"&&/^-?\d+$/.test(G))V=Number(G);else if(C==="expires"&&V===null){let W=Date.parse(G);X.expires=Number.isFinite(W)?new Date(W).toISOString():G}}if(V!==null)X.expires=new Date(j+V*1000).toISOString();return X}function FU($){return $.requestHeaders.filter(([j])=>j.toLowerCase()==="cookie").flatMap(([,j])=>Hb(j))}function zU($){let j=$.timing.start+($.timing.response??0);return $.responseHeaders.filter(([J])=>J.toLowerCase()==="set-cookie").flatMap(([,J])=>J.split(`
836
+ `)).filter((J)=>J.trim()!=="").map((J)=>yt(J,j))}function Mb($){let j=[["Name",$.name],["Value",$.value]];if($.domain)j.push(["Domain",$.domain]);if($.path)j.push(["Path",$.path]);if($.expires)j.push(["Expires / Max-Age",$.expires]);if(j.push(["Size",String($.size)]),$.httpOnly)j.push(["HttpOnly","✓"]);if($.secure)j.push(["Secure","✓"]);if($.sameSite)j.push(["SameSite",$.sameSite]);if($.partitioned)j.push(["Partitioned","✓"]);return j}function Fb($){if($.method!==""&&$.method!=="GET")return!1;if(/^image\//i.test($.contentType))return!0;return $.detail==="light"&&d7($)==="img"}var vt="This request has no preview available";function eX($){let j=$.responseBody;if(Fb($)&&$.state!=="pending"&&$.state!=="failed")return{kind:"image",url:$.finalUrl??$.url};if(!j)return{kind:"line",text:MU($)};if(!G5(j))return{kind:"line",text:vt};if(j.text==="")return{kind:"line",text:qb};let J=j.type||$.contentType;if(j.kind==="text"&&!j.truncated&&rX(J))try{return{kind:"json",value:JSON.parse(j.text)}}catch{}if(j.kind==="text"&&/^text\/html\b/i.test(J.trim()))return{kind:"html",html:j.text};let Q=qU(j,$.contentType);if(Q.kind==="fields")return Q;if(Q.kind==="line")return Q;return{kind:"code",text:j.text,lang:j.kind==="form"?"text":w7(J)}}var gt=`<meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src data:; style-src 'unsafe-inline'">`;function zb($){return $.replace(/^(\s*<!doctype[^>]*>)?/i,(j)=>j+gt)}function Pb($,j,J=""){let Q=[],Z=(Y)=>{if(Q.some((q)=>q.url===Y))return;Q.push({url:Y,depth:Q.length,self:!1})};if(j!==""&&$.kind!=="navigation")Z(j);let X=PU($.initiator,J).find((Y)=>Y.kind==="frame"),V=X?.kind==="frame"?$V(X.frame.where):"";if(/^https?:/i.test(V))Z(V);return Q.push({url:$.url,depth:Q.length,self:!0}),Q}var ht=new Map([["img","an <img> element"],["image","an <image> in SVG"],["link","a <link> element"],["script","a <script> element"],["css","a stylesheet"],["iframe","an <iframe> element"],["frame","a <frame> element"],["video","a <video> element"],["audio","an <audio> element"],["track","a <track> element"],["input","an <input type=image>"],["object","an <object> element"],["embed","an <embed> element"],["body","the <body> background"],["fetch","fetch()"],["xmlhttprequest","XMLHttpRequest"],["beacon","navigator.sendBeacon()"],["navigation","Navigation"],["early-hints","Early Hints"],["other","Other"]]);function _b($){return ht.get($)??$}var Ib="Messages of a stream read through fetch are not recorded: reading a copy would keep the stream open after the page lets it go",Db="No messages yet",Lb=/(?::\d+){1,2}$/;function $V($){return $.replace(Lb,"")}function ut($){let j=Lb.exec($)?.[0]??"",Q=($V($).split(/[?#]/,1)[0]??"").split("/").filter((Z)=>Z!=="").pop();return Q===void 0?$:`${Q}${j}`}function Nb($){let j=/^at (.*?) \((.*)\)$/.exec($),J=/^at (.*)$/.exec($),Q=/^(.*?)@(.*)$/.exec($),[Z="",X=""]=j?[j[1],j[2]]:J?["",J[1]]:Q?[Q[1],Q[2]]:[$,""];return{name:Z||"(anonymous)",where:X,short:ut(X)}}function Rb($){if(typeof $!=="string")return"";let j=$.split(`
837
+ `).map((J)=>J.trim()).find((J)=>/^at |@/.test(J));return j===void 0?"":$V(Nb(j).where)}function PU($,j=""){let J=[];for(let Q of $.split(`
838
+ `)){if(Q.trim()==="")continue;let Z=Nb(Q.trim()),X=/[\\/]node_modules[\\/]/.test(Z.where)||j!==""&&$V(Z.where)===j,V=J[J.length-1];if(!X)J.push({kind:"frame",frame:Z});else if(V?.kind==="more")V.frames.push(Z);else J.push({kind:"more",frames:[Z]})}return J}IX();var mt="header values and address parameters that look like secrets are copied as <hidden>. bodies are copied as they are: check before you paste",pt="this request is no longer in the log, and shows as it last was";function _U(){return{tab:null,open:new Map}}function w1($,j){return{of:$,build:j,shown:null,node:null}}function ct($,j){return $!==null&&$.length===j.length&&$.every((J,Q)=>J===j[Q])}function t$($,j){if($.textContent!==j)$.textContent=j}function dt(){if(typeof document.querySelector!=="function")return"";return document.querySelector('meta[name="referrer"]')?.getAttribute("content")?.trim()??""}function Ab($,j){let J=j.own??Rb(Error().stack),Q=j.memory??_U(),Z=j.policy??dt(),X=j.page??(typeof location>"u"?"":location.href),V=$,Y=T("span","req-verb"),q=null,C=z0("req-url","");C.addEventListener("click",()=>j.copy(V.url));let G=T("div","req-first");G.append(Y,C);let W=T("span","req-stat"),K=T("span","req-took"),H=T("span","req-host"),B=T("div","req-second");B.append(W,K,H);let z=T("div","req-sum");z.append(G,B);let M=bE({options:aX.map((x)=>({value:x,label:x})),label:"what of the request shows",onChange(x){if(!GU(x)||x===_())return;Q.tab=x,M0(),j.picked?.()}}),U=L0(mt);U.hidden=!0;let F=L0(pt);F.hidden=!0;let P=M.panel;P.classList.add("req-body");let D=T("div","req-detail");D.append(j8([z,M.node]),U,F,P);function _(){return Zb(V,Q.tab)}function S(x,h=!0){return Q.open.get(x)??h}function f(x,h,t){return wE({label:x,count:h,ends:t,open:S(x),onToggle:(J0)=>Q.open.set(x,J0)})}function L(x,h,t,J0,G0=[]){let N0=(K0)=>`${x}/${K0}`,F0=(K0)=>{let _0=t.find((f0)=>f0.name===K0);return S(N0(K0),_0?.start??!1)},a=t.map((K0)=>{let _0=K0.on===K0.off,f0=()=>F0(K0.name)?K0.off:K0.on,b0=v7(f0(),()=>{if(Q.open.set(N0(K0.name),!F0(K0.name)),b0.textContent=f0(),_0)b0.setAttribute("aria-pressed",F0(K0.name)?"true":"false");b0.classList.toggle("on",_0&&F0(K0.name)),Q0()},_0?F0(K0.name):void 0);return b0}),o=f(x,h,[...a,...G0]);function Q0(){o.body.replaceChildren(...J0(F0))}return Q0(),o.node}function I(x,h){let t=Z6("req-copy",A0("copy"),`copy the ${h}`);return t.addEventListener("click",()=>j.copy(x)),t}function N(){let x=Jb(V),h=q,t=x.verb;if(!h||h.text!==t.text||h.icon!==t.icon||h.tone!==t.tone)if(q=t,Y.className=["req-verb",t.icon?"mark":"",t.tone].filter(Boolean).join(" "),t.icon)Y.replaceChildren(ZX(t.icon)),Y.setAttribute("role","img"),Y.setAttribute("aria-label",t.text),Y.title=t.text;else Y.textContent=t.text,Y.removeAttribute("role"),Y.removeAttribute("aria-label"),Y.title="";if(t$(C,dX(x.path,jb(C.clientWidth))),C.title!==V.url)C.title=V.url;C.setAttribute("aria-label",`copy the address ${V.url}`),t$(W,x.status);for(let J0 of iX)W.classList.toggle(J0,J0===x.tone);t$(K,x.time),t$(H,x.host)}function A(x){let h=f("General"),t=Xb(x,Z).map(({label:J0,value:G0,tone:N0})=>{if(N0===void 0)return[J0,G0];let F0=T("span","req-code"),a=T("span",`req-dot req-stat${N0?` ${N0}`:""}`,"●");return a.setAttribute("aria-hidden","true"),F0.append(a,G0),[J0,F0]});return h.body.append(Z2(t).node),h.node}function E(x,h,t){return L(x,`(${h.length})`,[{name:"raw",on:"Raw",off:"Raw",start:!1}],(J0)=>{let G0=[];if(t){let N0=T("div","req-warn");N0.append(T("span","req-warn-mark","⚠"),Vb),G0.push(N0)}if(J0("raw"))G0.push(J8({text:Yb(h)}));else if(h.length>0)G0.push(Z2(h).node);return G0})}function b(x){let h=oX(x.url);if(h==="")return null;return L("Query String Parameters",`(${KU(x.url).length})`,[{name:"source",on:"view source",off:"view parsed",start:!1},{name:"encoded",on:"view URL-encoded",off:"view decoded",start:!1}],(t)=>[t("source")?J8({text:t("encoded")?h:UU(h)}):Z2(KU(x.url,!t("encoded"))).node],[I(h,"query string")])}function w(x){let h=Gb(x),t=CU(x),J0=t?[L0(t)]:[],G0=G5(x)&&x.text!==""?[I(x.text,"request payload")]:[];if(h.kind==="form"){let F0=[{name:"source",on:"view source",off:"view parsed",start:!1}];if(h.encoded)F0.push({name:"encoded",on:"view URL-encoded",off:"view decoded",start:!1});return L("Form Data",`(${h.lines.length})`,F0,(a)=>{let o=h.encoded&&!a("encoded");if(a("source"))return[...J0,J8({text:o?UU(h.source):h.source})];let Q0=h.encoded&&!o?BU(h.source):h.lines;return[...J0,Z2(Q0).node]},G0)}if(h.kind==="json")return L("Request Payload",void 0,[{name:"source",on:"view source",off:"view parsed",start:!1}],(F0)=>[...J0,F0("source")?J8({text:h.source,lang:"json"}):IB(h.value)],G0);let N0=f("Request Payload",void 0,G0);return N0.body.append(...J0,h.kind==="text"?J8({text:h.text,lang:w7(x.type)}):L0(h.text)),N0.node}function g(x){let h=x.responseBody,t=T("div","req-response");if(!h)return t.append(L0(MU(x))),t;let J0=qU(h,x.contentType),G0=h.type||x.contentType,N0=CU(h);if(J0.kind==="line")return t.append(L0(J0.text)),t;let F0=LX({label:G0.split(";",1)[0]||"response",ends:[I(h.text,"response")]});if(t.append(F0),N0)t.append(L0(N0));return t.append(J8({text:nX(h,x.contentType),lang:h.kind==="form"?"text":w7(G0)})),t}function c(x){let h=T("div","req-stack"),t=(J0)=>{let G0=T("div","req-frame");if(G0.append(T("span","req-fn",J0.name)),J0.where!==""){let N0=z0("req-where",J0.short);N0.title=J0.where,N0.setAttribute("aria-label",`copy ${J0.where}`),N0.addEventListener("click",()=>j.copy(J0.where)),G0.append(N0)}return G0};for(let J0 of PU(x,J))if(J0.kind==="frame")h.append(t(J0.frame));else{let G0=J0.frames.length,N0=z0("chip req-skipped",`Show ${G0} ignore-listed frame${G0===1?"":"s"}`),F0=T("div","req-frame");F0.append(N0),N0.addEventListener("click",()=>{for(let a of J0.frames)h.insertBefore(t(a),F0);F0.remove()}),h.append(F0)}return h}let v=(x)=>x.detail==="light"?L0(c7):null;function O(x){let h=T("div","req-shot"),t=document.createElement("img");t.className="req-picture",t.alt="";let J0=T("div","req-natural");return t.addEventListener("load",()=>t$(J0,`${t.naturalWidth} × ${t.naturalHeight}`)),t.addEventListener("error",()=>t$(J0,HU)),W3(x),t.src=x,h.append(t,J0),h}function m(x){let h=document.createElement("iframe");return h.className="req-html",h.setAttribute("sandbox",""),h.setAttribute("title","the response, drawn"),h.setAttribute("srcdoc",zb(x)),h}function k(x){let h=eX(x);if(h.kind==="json")return IB(h.value);if(h.kind==="image")return O(h.url);if(h.kind==="html")return m(h.html);if(h.kind==="fields")return Z2(h.lines).node;if(h.kind==="code")return J8({text:h.text,lang:h.lang});return L0(h.text)}function l(x){if(eX(x).kind!=="image")return null;let h=[];if(x.sizes&&!x.sizes.hidden&&x.sizes.decoded>0)h.push($4(x.sizes.decoded));let t=x.contentType||x.responseBody?.type||"";if(t)h.push(t.split(";",1)[0]??t);return h.length===0?null:L0(h.join(", "))}function R(x){let h=f("Request initiator chain"),t=T("div","req-chain");for(let J0 of Pb(x,X,J)){let G0=T("div",`req-link${J0.self?" self":""}`,J0.url);G0.style.paddingLeft=`${J0.depth*2}ch`,t.append(G0)}if(h.body.append(t),x.initiator===""&&x.initiatorType!=="")h.body.append(Z2([["Initiator",_b(x.initiatorType)]]).node);return h.node}function y(x){let h=Bb(x),t=T("div","req-timing"),J0=T("div","req-when");if(J0.append(T("div","",`Queued at ${tX(h.queuedAt)}`)),h.startedAt!==null)J0.append(T("div","",`Started at ${tX(h.startedAt)}`));if(t.append(J0),h.pending)t.append(L0(Kb));let G0=(F0,a,o)=>[T("span","req-phase",F0),o??T("span","req-track"),T("span","req-ms",a===null?"":tX(a))];for(let F0 of h.sections){let a=f(F0.name,void 0,[T("span","req-dur","DURATION")]),o=T("div","req-phases");for(let Q0 of F0.phases){let K0=T("span","req-track"),{left:_0,width:f0}=Ub(h,Q0),b0=T("span",`req-span ${Q0.tone}`);b0.style.left=`${(_0*100).toFixed(2)}%`,b0.style.width=`${(f0*100).toFixed(2)}%`,K0.append(b0),o.append(...G0(Q0.label,Q0.end-Q0.start,K0))}a.body.append(o),t.append(a.node)}let N0=T("div","req-phases req-total");if(N0.append(...G0("Total",h.total,null)),t.append(N0),h.note)t.append(L0(h.note));return t}function i(x,h){if(h.length===0)return null;let t=f(x);for(let J0 of h){let G0=Z2(Mb(J0)).node;G0.classList.add("req-cookie"),t.body.append(G0)}return t.node}function n(x){if(x.kind!=="eventsource")return L0(Ib);let h=T("div","req-events");h.setAttribute("role","table");let t=(G0,N0)=>{let F0=T("div",G0?"req-event req-event-head":"req-event");F0.setAttribute("role","row");for(let a of N0){let o=T("span","req-cell",a);o.setAttribute("role",G0?"columnheader":"cell"),F0.append(o)}return F0};h.append(t(!0,["Id","Type","Data","Time"]));for(let G0 of x.messages)h.append(t(!1,[G0.id,G0.type,G0.truncated?`${G0.data}…`:G0.data,lf(new L1(G0.time))]));if(x.messages.length>0)return h;let J0=T("div","req-response");return J0.append(h,L0(Db)),J0}let $0={Headers:[w1((x)=>[x.detail],v),w1((x)=>[x.url,x.finalUrl,x.method,x.state,x.status,x.statusText,x.error,x.referrerPolicy],A),w1((x)=>[x.detail,x.responseHeaders],(x)=>x.detail==="light"||x.responseHeaders.length===0?null:E("Response Headers",x.responseHeaders,!1)),w1((x)=>[x.detail,x.requestHeaders],(x)=>x.detail==="light"?null:E("Request Headers",x.requestHeaders,!0))],Payload:[w1((x)=>[x.url],b),w1((x)=>[x.requestBody],(x)=>x.requestBody?w(x.requestBody):null)],Preview:[w1((x)=>{let h=eX(x);return h.kind==="image"?[h.kind,h.url]:[x.responseBody,x.contentType,x.state]},k),w1((x)=>[x.sizes,x.contentType,x.responseBody,x.state],l)],Response:[w1((x)=>[x.responseBody,x.contentType,x.state],g)],Initiator:[w1((x)=>[x.initiator],(x)=>{if(x.initiator==="")return null;let h=f("Request call stack");return h.body.append(c(x.initiator)),h.node}),w1((x)=>[x.url,x.kind,x.initiator,x.initiatorType],R)],Timing:[w1((x)=>[x.timing,x.phases,x.state,x.detail],y),w1((x)=>[x.contentType,x.sizes,x.protocol,x.kind,x.initiatorType,x.source,x.detail],(x)=>{let h=f("Request");return h.body.append(Z2(Wb(x)).node),h.node})],Cookies:[w1((x)=>[x.requestHeaders],(x)=>i("Request Cookies",FU(x))),w1((x)=>[x.responseHeaders,x.timing.start,x.timing.response],(x)=>i("Response Cookies",zU(x)))],EventStream:[w1((x)=>[x.kind,x.messages],n)]},X0=[];function M0(){N();let x=WU(V);for(let J0 of M.items)J0.node.hidden=!GU(J0.value)||!x.includes(J0.value);let h=_();M.set(h);let t=[];for(let J0 of $0[h]){let G0=J0.of(V);if(!ct(J0.shown,G0))J0.shown=G0,J0.node=J0.build(V);if(J0.node)t.push(J0.node)}if(t.length!==X0.length||t.some((J0,G0)=>J0!==X0[G0]))P.replaceChildren(...t),X0=t}M0();let T0=typeof ResizeObserver>"u"?null:new ResizeObserver(N);return T0?.observe(C),{node:D,update(x){V=x,M0()},gone(){F.hidden=!1},hides(){U.hidden=!1},escape:()=>!1,destroy(){T0?.disconnect()}}}var Tb="requests",jV="request",Sb="request",lt=1800,Ob="no requests yet",it="no request matches";function e$($,j){if($.textContent!==j)$.textContent=j}function rt($,j){let J=$.lead;if(J&&J.text===j.text&&J.icon===j.icon&&J.tone===j.tone)return;$.lead=j;let Q=$.method;if(Q.className=["req-method",j.icon?"mark":"",j.tone].filter(Boolean).join(" "),j.icon)Q.replaceChildren(ZX(j.icon)),Q.setAttribute("role","img"),Q.setAttribute("aria-label",j.text),Q.title=j.text;else Q.textContent=j.text,Q.removeAttribute("role"),Q.removeAttribute("aria-label"),Q.title=""}function Eb($={}){let j=$.log??wF,J=$.pane??{open:d$,close:MX,view:l$,retitle:FX},Q=$.copy??FZ,Z="all",X=i$({placeholder:"filter",label:"filter requests",onInput:g}),V=X6({options:QU.map((R)=>({value:R.id,label:R.label})),label:"requests shown",value:Z,onChange(R){let y=QU.find((i)=>i.id===R);if(!y)return;Z=y.id,V.set(Z),g()}}),Y=T("span","req-count"),q=j8([X.node,V.node,Y]),C=T("div","req-list");C.setAttribute("role","group"),C.setAttribute("aria-label","requests");let G=M1(Ob),W=new Map,K=new WeakMap,H=[],B=!0,z=null,M=null,U=null,F=null,P=null,D=!1,_=_U();function S(R){return!R.box.hidden}function f(R){if(M===R)return;if(M)M.node.tabIndex=-1;if(M=R,R)R.node.tabIndex=0}function L(R,y){R.entry=y;let{name:i,query:n}=df(y.url),$0=y.detail==="light";rt(R,lX(y)),e$(R.path,i),e$(R.query,dX(n,cf)),e$(R.status,JU(y));let X0=l7(y);for(let T0 of iX)R.status.classList.toggle(T0,T0===X0);e$(R.time,o$(y.timing.duration)),R.box.classList.toggle("light",$0);let M0=$0?`${y.url}
839
+ ${c7}`:y.url;if(R.node.title!==M0)R.node.title=M0;R.box.hidden=!ZU(y,X.node.value,Z)}function I(R){let y=z0("main","");y.tabIndex=-1;let i=T("span","req-method"),n=T("span","req-path"),$0=T("span","req-query"),X0=T("span","req-status"),M0=T("span","req-time"),{box:T0,label:x}=I2({main:y,glyph:i,title:"",ends:[X0,M0]});T0.classList.add("req-row"),x.classList.add("req-name"),x.append(n,$0);let h={entry:R,box:T0,node:y,method:i,lead:null,path:n,query:$0,status:X0,time:M0};return K.set(y,h),y.addEventListener("click",()=>k(h)),y.addEventListener("focus",()=>f(h)),L(h,R),h}function N(){let R=H.filter(S);if(e$(Y,R.length===H.length?String(H.length):`${R.length} of ${H.length}`),e$(G,H.length===0?Ob:it),G.hidden=R.length>0,C.hidden=R.length===0,!M||!W.has(M.entry.id)||!S(M))f(R[0]??null)}function A(R){let y=new Set;for(let $0 of R)y.add($0.id);let i=H.filter(($0)=>{if(y.has($0.entry.id))return!0;return W.delete($0.entry.id),$0.box.remove(),!1}),n=0;H=[...R].reverse().map(($0)=>{let X0=W.get($0.id);if(X0&&i[n]===X0)n++;else if(!X0)X0=I($0),W.set($0.id,X0),C.insertBefore(X0.box,i[n]?.box??null);if(X0.entry!==$0)L(X0,$0);return X0})}function E(){if(B||!U)return null;let R=H.filter(S),[y,i]=R,n=y&&i?i.box.getBoundingClientRect().top-y.box.getBoundingClientRect().top:0,$0=sf(U.scrollTop,n);return{top:U.scrollTop,pitch:n,row:R[$0],above:$0}}function b(R){if(!U)return;let y=0;if(R){let i=R.row?H.filter(S).indexOf(R.row):-1;y=i<0?R.top:nf(R.top,i-R.above,R.pitch)}if(U.scrollTop!==y)U.scrollTop=y}function w(R){let y=E(),i=R.length===0;for(let n of R){let $0=W.get(n.id);if(!$0)i=!0;else if($0.entry!==n)L($0,n)}if(i)A(F?.entries()??[]);N(),b(y)}function g(){for(let R of H)R.box.hidden=!ZU(R.entry,X.node.value,Z);if(N(),B)b(null)}function c(){if(!U)return;B=rf(U.scrollTop)}function v(R){let y=R.target?K.get(R.target):void 0;if(!y)return;let i=H.filter(S),n=i.indexOf(y),$0=-1;if(R.key==="ArrowDown")$0=Math.min(n+1,i.length-1);else if(R.key==="ArrowUp")$0=Math.max(n-1,0);else if(R.key==="Home")$0=0;else if(R.key==="End")$0=i.length-1;else return;R.preventDefault(),i[$0]?.node.focus()}C.addEventListener("keydown",v);let O={id:Tb,title:"requests",layout:"flush",actions:[{label:"clear",icon:"ban",run(){F?.clear(),F?.flush()}}],mount(R){U=R,F=j(),R.append(q,C,G),A(F?.entries()??[]),N(),b(z),R.addEventListener("scroll",c);let y=F?.subscribe(w);return()=>{y?.(),R.removeEventListener("scroll",c),z=E(),U=null,F=null}},escape:()=>X.clear()};function m(){J.open(O);let R=P===null?void 0:W.get(P);if(P=null,R&&S(R))R.node.focus({preventScroll:!0})}function k(R){let y=R.entry.id,i=R.entry,n=null,$0;P=y;function X0(M0,T0){Q(M0).then((x)=>{let h=x?"copied":"copy failed";if($.said)$.said.textContent=h;if(!n)return;clearTimeout($0),J.retitle(jV,h),$0=setTimeout(()=>J.retitle(jV,Sb),lt),T0?.(n,x)})}J.open({id:jV,title:Sb,layout:"flush",actions:[{label:"copy as text for AI",icon:"copy",run(){X0(of(i),(M0,T0)=>{if(T0&&!D)M0.hides();if(T0)D=!0})}}],mount(M0){let T0=Ab(i,{copy:(t)=>X0(t),memory:_,picked(){if(M0.scrollTop!==0)M0.scrollTop=0}});n=T0,M0.append(T0.node);let x=j(),h=x?.subscribe((t)=>{if(x.get(y)===void 0)T0.gone();let J0=t.find((G0)=>G0.id===y);if(!J0||J0===i)return;i=J0,T0.update(J0)});return()=>{h?.(),clearTimeout($0),T0.destroy(),n=null}},escape:()=>n?.escape()??!1,back:m})}function l(){let R=J.view();return R===Tb||R===jV}return{toggle(){if(l())J.close();else J.open(O)},shows:l,close(){if(l())J.close()}}}E1();t0();r1();var fb=1000,xb=new Set(["Enter"," "]);function bb($,j,J=1000){let Q=null,Z=!1,X=null;$.classList.add("hold");function V(){X?.();let C=$.getRootNode(),G=null,W=(B)=>{B.stopPropagation(),B.preventDefault(),H()},K=()=>{G??=setTimeout(H,300)};function H(){if(G!==null)clearTimeout(G);C.removeEventListener("click",W,!0),C.removeEventListener("pointerdown",H,!0),C.removeEventListener("pointerup",K,!0),C.removeEventListener("pointercancel",K,!0),X=null}C.addEventListener("click",W,!0),C.addEventListener("pointerdown",H,!0),C.addEventListener("pointerup",K,!0),C.addEventListener("pointercancel",K,!0),X=H}function Y(C){q(),Z=C,$.classList.add("holding"),Q=setTimeout(()=>{if(Q=null,$.classList.remove("holding"),Z)V();j.hold()},J)}function q(){if(Q===null)return!1;return clearTimeout(Q),Q=null,$.classList.remove("holding"),!0}$.addEventListener("pointerdown",(C)=>{if(C.button!==0)return;if($.hasPointerCapture(C.pointerId))$.releasePointerCapture(C.pointerId);Y(!0)}),$.addEventListener("pointerup",()=>{q()});for(let C of["pointerleave","pointercancel"])$.addEventListener(C,()=>{if(Z&&q())V()});return $.addEventListener("click",()=>{j.press()}),$.addEventListener("keydown",(C)=>{if(!xb.has(C.key))return;if(C.preventDefault(),!C.repeat)Y(!1)}),$.addEventListener("keyup",(C)=>{if(!xb.has(C.key))return;if(C.preventDefault(),q())j.press()}),$.addEventListener("blur",()=>{q()}),$.addEventListener("contextmenu",(C)=>C.preventDefault()),{cancel(){q(),X?.()}}}function st($){let j=z0("grip","");j.append(A0("grip-vertical")),j.setAttribute("aria-label",`move ${$.label}`),j.title="drag, or press up or down, to reorder";let J=z0("main",""),Q=T("span","row-value"),Z=$.action?.binding?T("kbd","hint-key row-key"):null,X=Z6("clear",A0("x"),`reset ${$.label} (hold to remove)`);X.title="reset (hold to remove)";let{box:V}=I2({main:J,grip:j,glyph:A0(sS($)),title:$.label,ends:Z?[Q,Z]:[Q],after:[X]});return V.dataset.row=$.id,{box:V,grip:j,main:J,value:Q,key:Z,clear:X}}var nt=180,at=1,wb=16,kb=8;function yb($){let{root:j,rows:J,said:Q}=$,Z=Sf({root:j,pickOption:V,said:Q,tips:$.tips}),X=null;function V(L,I){if(Z8(L,I.value),!I.opens)return;_(o2(L.id).id),Y(L)}function Y(L){if(L.id!=="ua")return;F(o2(L.id).id)?.editor.querySelector(".field-ua")?.focus({preventScroll:!0})}let q=[],C=j6.map((L)=>{let I=st(L),{box:N,grip:A,main:E,clear:b}=I,w=T("div","fold"),g=T("div","editor");g.hidden=!0,w.inert=!0,w.append(g),N.append(w);for(let O of["transitionend","transitioncancel"])w.addEventListener(O,(m)=>{if(m.target!==w)return;if(X!==L.id)g.hidden=!0;else if(O==="transitionend")S4(N,J)});let{action:c}=L;E.addEventListener("click",()=>{if(c)p$(c);else _(X===L.id?null:L.id)}),q.push(bb(b,{press:()=>{if(c)f7(c);X1(iO(C0(),L))},hold:()=>{if(X===L.id)X=null;if(c)f7(c);X1(rO(C0(),L))}})),A.addEventListener("pointerdown",(O)=>H(O,L.id)),A.addEventListener("pointermove",z),A.addEventListener("pointerup",(O)=>{if(O.pointerId===W?.pointer)M(!0)});for(let O of["pointercancel","lostpointercapture"])A.addEventListener(O,(m)=>{if(m.pointerId===W?.pointer)M(!1)});A.addEventListener("keydown",(O)=>{if(O.key!=="ArrowUp"&&O.key!=="ArrowDown")return;if(O.altKey||O.ctrlKey||O.metaKey||O.shiftKey)return;O.preventDefault(),U(L.id,O.key==="ArrowUp"?-1:1)});let v=Z.buildEditor(L,g);return{...I,row:L,fold:w,editor:g,updates:v}});function G(L){let I=XB(L).flatMap((b)=>F(b)?.box??[]),N=j.activeElement,A=C.flatMap((b)=>N&&b.box.contains(N)?[b.box]:[]),E=X?F(X):void 0;if(E)A.push(E.box);for(let[b,w]of dO(Array.from(J.children),I,A)){let g=Array.from(b.querySelectorAll(".items")),c=g.map((v)=>v.scrollTop);J.insertBefore(b,w),g.forEach((v,O)=>{v.scrollTop=c[O]??0})}}let W=null;function K(L){let I=m$(C0()),N=F(L)?.row.label??L;Q.textContent=`${N} moved to ${I.indexOf(L)+1} of ${I.length}`}function H(L,I){if(L.button!==0||W||$.dragging())return;let N=m$(C0()),A=N.indexOf(I),E=F(I)?.grip;if(A<0||!E)return;L.preventDefault();let b=N.flatMap((w)=>F(w)?.box??[]);W={pointer:L.pointerId,grip:E,startY:L.clientY,startScroll:J.scrollTop,y:L.clientY,started:!1,boxes:b,tops:b.map((w)=>w.offsetTop),heights:b.map((w)=>w.offsetHeight),from:A,to:A},E.setPointerCapture(L.pointerId)}function B(){let L=W;if(!L?.started)return;let I=L.boxes.length-1,N=L.tops[L.from]??0,A=L.heights[L.from]??0,E=(L.tops[I]??0)+(L.heights[I]??0),b=L.y-L.startY+J.scrollTop-L.startScroll,w=n1(b,(L.tops[0]??0)-N,E-N-A);L.to=L.boxes.filter((c,v)=>{let O=v<L.from?N+w:N+A+w;return v!==L.from&&(L.tops[v]??0)+(L.heights[v]??0)/2<O}).length;let g=A+at;L.boxes.forEach((c,v)=>{let O=0;if(v===L.from)O=w;else if(v>L.from&&v<=L.to)O=-g;else if(v<L.from&&v>=L.to)O=g;c.style.transform=O===0?"":`translateY(${O}px)`})}function z(L){let I=W;if(!I||L.pointerId!==I.pointer)return;if(I.y=L.clientY,!I.started&&Math.abs(I.y-I.startY)<KX)return;if(!I.started)I.started=!0,J.classList.add("reordering"),I.boxes[I.from]?.classList.add("lifted");let N=J.getBoundingClientRect();if(I.y<N.top+wb)J.scrollTop-=kb;else if(I.y>N.bottom-wb)J.scrollTop+=kb;B()}function M(L){let I=W;if(!I)return;if(W=null,I.grip.hasPointerCapture(I.pointer))I.grip.releasePointerCapture(I.pointer);J.classList.remove("reordering");for(let A of I.boxes)A.classList.remove("lifted"),A.style.transform="";if(!L||!I.started||I.to===I.from)return;let N=m$(C0())[I.from];if(X1(VB(C0(),I.from,I.to)),N)K(N)}function U(L,I){let N=C0(),A=m$(N),E=A.indexOf(L),b=n1(E+I,0,A.length-1),w=F(L);if(E<0||b===E||!w)return;X1(VB(N,E,b)),S4(w.box,J),K(L)}function F(L){return C.find((I)=>I.row.id===L)}let P=0;function D(L){cancelAnimationFrame(P);let I=performance.now()+nt,N=(A)=>{if(X!==L.row.id)return;if(S4(L.box,J),A<I)P=requestAnimationFrame(N)};S4(L.box,J),P=requestAnimationFrame(N)}function _(L){let I=X&&X!==L?F(X):void 0,N=j.activeElement;if(X=L,$.render(),I&&N&&I.fold.contains(N))I.main.focus({preventScroll:!0});let A=L?F(L):void 0;if(!A)return;for(let E of Array.from(A.editor.querySelectorAll(".items"))){let b=E.querySelector(".on");if(b)QE(b,E)}D(A)}function S(L,I,N){let A=L.box.classList.contains("open");if(I&&!A&&!N)L.box.getBoundingClientRect();if(L.box.classList.toggle("open",I),L.fold.inert=!I,I)L.editor.hidden=!1;else if(!A||L.box.hidden||getComputedStyle(L.fold).transitionDuration==="0s")L.editor.hidden=!0}function f(L,I){let N=F(L);if(!N)return;S4(N.box,J);let A=X===L?N.editor.querySelector(`[data-knob="${I.id}"]`):null;(JE(A)??N.main).focus({preventScroll:!0})}return J.addEventListener("scroll",B),{viewOf:F,openRow:()=>X,clearOpen(){X=null},openEditor:_,focusCustom:Y,showRow:f,renderRows(L,I){let N=!1;G(L);for(let A of C){let E=YB(A.row,L),b=X===A.row.id;N||=E||b;let w=!A.box.hidden;A.box.hidden=!E&&!b,S(A,b,w);let g=A.row.action?.state?.()??null;if(g)A.main.setAttribute("aria-pressed",g==="on"?"true":"false");else if(!A.row.action)A.main.setAttribute("aria-expanded",b?"true":"false");if(A.value.textContent=qB(A.row,L,I),A.value.classList.toggle("idle",g?g!=="on":!Y7(A.row,L)),A.clear.hidden=!E,A.grip.hidden=!E,b)for(let c of A.updates)c(L)}return N},tick(L,I){for(let N of C){if(N.box.hidden)continue;let A=qB(N.row,L,I);if(N.value.textContent!==A)N.value.textContent=A}if(X==="clock")for(let N of F("clock")?.updates??[])N(L)},drawKeys(L){for(let I of C){if(!I.key||!I.row.action)continue;I.key.textContent=aO(I.row.action,L,$.mac),I.key.hidden=I.key.textContent===""}},reordering:()=>W!==null,endReorder:M,destroy(){cancelAnimationFrame(P);for(let L of q)L.cancel();Z.destroy()}}}t0();r1();y2();Y5();var vb=["home","view","keys"];function ot($,j,J,Q){if($===j)return null;if(!J||!Q)return"swap";return vb.indexOf(j)>vb.indexOf($)?"push":"pop"}function gb($){return $==="keys"?"back":"toggle"}function hb($,j,J){let Q="home",Z=0;function X(){clearTimeout(Z),Z=0,delete $.dataset.slide,$.style.height="";for(let C of Object.values(j))C.classList.remove("leaving"),C.style.height="",C.inert=!1;J?.()}function V(C,G){return $.dataset.slide=G,!getComputedStyle(C).transitionDuration.split(",").every(tt)}function Y(C,G,W){let K=Q,H=ot(K,C,G,G&&C!==K&&V(j[C],K));if(Q=C,H===null){W();return}if(H==="swap"){X(),W();return}let B=j[K],z=j[C];clearTimeout(Z);let M=$.getBoundingClientRect().height,U=B.getBoundingClientRect().height;z.classList.remove("leaving"),z.style.height="",z.inert=!1,B.classList.add("leaving"),B.style.height=`${U}px`,W(),$.style.transition="none",$.style.height="";let F=z.getBoundingClientRect().height;z.style.height=`${F}px`,$.style.height=`${M}px`,$.getBoundingClientRect(),$.style.transition="",$.style.height=`${F}px`,B.inert=!0,Z=window.setTimeout(X,1000)}function q(C){if(Z&&C.target===j[Q]&&C.propertyName==="transform")X()}return $.addEventListener("transitionend",q),{show:Y,destroy(){X(),$.removeEventListener("transitionend",q)}}}function tt($){return parseFloat($)===0}var ub="not set",et=4000;function $e($,j){return`press ${t2($.panel,j)} to open knobs`}function mb($){let{keys:j,prefs:J,grab:Q,mac:Z,bindingsHere:X,keysToggle:V,said:Y,tips:q,render:C,renderKeys:G}=$,W=T("div","keys pane");t6(W,"rows"),W.setAttribute("role","group"),W.setAttribute("aria-label","settings");let K=UB(),H=K.back;K.title.textContent="settings",H.setAttribute("aria-label","back from settings");let B=z0("switch row-control","");B.setAttribute("role","switch"),B.setAttribute("aria-label","show handle");let z=(v)=>{let O=A0(v);if(v.startsWith("panel-"))O.classList.add("sided");return O};W.append(K.box,I2({main:T("div","main"),glyph:z("panel-right"),title:"show handle",ends:[B]}).box);let M=$.native,U=z0("switch row-control",""),F=T("div","row-hint",M?.hint??"");if(M){U.setAttribute("role","switch"),U.setAttribute("aria-label",M.label),F.id="devknobs-native-hint",U.setAttribute("aria-describedby",F.id);let v=I2({main:T("div","main"),glyph:A0("bug"),title:M.label,ends:[U]}).box;v.append(F),W.append(v),U.addEventListener("click",()=>$.setNative(U.getAttribute("aria-checked")!=="true"))}W.append(GB("shortcuts"));let P=new Map;for(let v of X){let O=T4[v],m=z0("key-set row-control",""),k=Z6("clear",A0("x"),`put the ${O} key back`);W.append(I2({main:T("div","main"),glyph:z(nS[v]),title:O,ends:[k,m]}).box),P.set(v,{set:m,back:k})}let D=!1,_=null,{refuse:S,unrefuse:f,destroy:L}=uX(q,Y);function I(v){V.setAttribute("aria-pressed",D?"true":"false");for(let[O,m]of P){let k=T4[O],l=_===O,R=v[O];m.set.textContent=l?"press keys…":R?t2(R,Z):ub,m.set.classList.toggle("recording",l),m.set.setAttribute("aria-label",l?`press the new ${k} key`:`${k}, ${R?KZ(R):ub}, ${R?"change":"set"}`),m.back.hidden=!j.custom(O)}}function N(){let v=j.get();return Object.fromEntries(X.map((O)=>[O,v[O]]))}function A(v){_=v,j.recording=!0,Q?.set(!1),$.inspect?.set(!1),G(),P.get(v)?.set.focus({preventScroll:!0})}function E(){if(_===null)return;let v=P.get(_)?.set;if(_=null,j.recording=!1,v)f(v);G()}function b(v,O){if(v.key==="Tab"){E();return}v.preventDefault(),v.stopImmediatePropagation();let m=cO(v,O,N()),k=P.get(O)?.set;if(k&&q.isFor(k))q.hide();if(m.type==="cancel")E();else if(m.type==="refuse"&&k)S(k,m.reason);else if(m.type==="keep")E(),j.set(O,m.combo)}function w(v){(gb(v)==="back"?H:V).focus({preventScroll:!0})}function g(){if($.searching())$.leaveSearch();D=!0,C(),w("keys")}function c(){E(),D=!1,C(),w("home")}V.addEventListener("click",()=>D?c():g()),H.addEventListener("click",c),q.tooltip(V,"settings"),B.addEventListener("click",()=>{let v=!$.handleShown();if(J.setHandle(v),v){if($.showHandle(),q.isFor(B))q.hide();return}let O=$e(j.get(),Z);q.show(B,O),q.hideAfter(et),Y.textContent=O});for(let[v,O]of P)O.set.addEventListener("click",()=>{if(_===v)E();else A(v)}),O.set.addEventListener("blur",()=>{if(_===v)E()}),O.back.addEventListener("click",()=>{E(),j.set(v,null),O.set.focus({preventScroll:!0})});return{view:W,editing:()=>D,setEditing(v){D=v},drawKeys:I,drawHandle(v){s1(B,v,"aria-checked")},drawNative(v,O){s1(U,v,"aria-checked");let m=O??M?.hint??"";if(F.textContent===m)return;if(F.textContent=m,O)Y.textContent=O},recordingKey(v){if(_===null)return!1;return b(v,_),!0},stopRecording:E,leaveKeys:c,destroy:L}}hU();oQ();var uU=`
840
+ .wrap {
841
+ all: initial;
842
+ direction: ltr;
843
+ /* The host box stays the size of an open panel however far the wrapper is
844
+ translated, so nothing in here takes a pointer by default. The reset above
845
+ puts pointer-events back to auto, which is why the wrapper says it again. */
846
+ pointer-events: none;
847
+ color-scheme: light dark;
848
+ --bg: #fbfbf9;
849
+ --fg: #1b1b19;
850
+ --faint: #73736d;
851
+ --line: #e6e6e0;
852
+ --card: #f1f1ec;
853
+ --track: #e6e6e0;
854
+ --raised: #ffffff;
855
+ --lift: 0 1px 2px rgb(0 0 0 / 0.1);
856
+ --hot: #e5484d;
857
+ --ok: #18794e;
858
+ --key: #1a65ad;
859
+ --req-moved: #9e5c00;
860
+ --req-get: #0b6fc6;
861
+ --req-post: #6550b9;
862
+ --req-put: #bd4800;
863
+ --req-patch: #007f6d;
864
+ --req-delete: #ce2c31;
865
+ --req-image: #2a7e3b;
866
+ --req-font: #c2298a;
867
+ --req-media: #00749e;
868
+ /* Code as the browsers' tools color it, each 4.5:1 on the ground and on a card. */
869
+ --code-key: #881280;
870
+ --code-str: #c41a16;
871
+ --code-num: #1a1aa6;
872
+ --code-kw: #0d22aa;
873
+ --code-attr: #994500;
874
+ --code-com: #236e25;
875
+ /* An attribute's value in the DOM tree, and the ground of its selected line. */
876
+ --code-val: #1a1aa6;
877
+ --pick: #e4ecf8;
878
+ --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
879
+ --edge: 0px;
880
+ --edge-line: transparent;
881
+ --glide: 220ms;
882
+ --panel-width: 240px;
883
+ /* The columns: what a row keeps clear inside its edges, an icon's width,
884
+ the room between an icon and its word, and how far in a line of words
885
+ starts and ends. */
886
+ --col-pad: 4px;
887
+ --col-icon: 14px;
888
+ --col-gap: 8px;
889
+ --col-inset: 10px;
890
+ /* How far in a level of a tree is from the one over it: an icon and the
891
+ gap, so a node's chevron stands under the icon of the node it is in. */
892
+ --col-step: calc(var(--col-icon) + var(--col-gap));
893
+ --view-end: var(--col-inset);
894
+ display: flex;
895
+ align-items: flex-start;
896
+ justify-content: flex-end;
897
+ font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
898
+ font-size: 12px;
899
+ font-weight: 400;
900
+ line-height: 1.5;
901
+ color: var(--fg);
902
+ -webkit-font-smoothing: antialiased;
903
+ /* Closed, the wrapper slides out by the panel less the pixel the handle
904
+ sits over it, which leaves the handle on the edge. */
905
+ transform: translateX(calc(var(--panel-width) - 1px));
906
+ /* The open and close slide is the transform. A drag moves the wrapper by
907
+ translate, one to one, and lets it glide to its place from there. A glide
908
+ takes --glide, which the panel sets longer for a long way, and the edge
909
+ eases back flush in the same time. */
910
+ transition: transform 150ms ease-out, translate var(--glide) ease-out;
911
+ }
912
+ @media (prefers-color-scheme: dark) {
913
+ .wrap {
914
+ --bg: #151513;
915
+ --fg: #e9e9e3;
916
+ --faint: #8c8c85;
917
+ --line: #2b2b28;
918
+ --card: #1f1f1c;
919
+ --track: #0f0f0e;
920
+ --raised: #383833;
921
+ --lift: none;
922
+ --hot: #ff6369;
923
+ --ok: #3dd68c;
924
+ --key: #8cbcec;
925
+ --req-moved: #f1a10d;
926
+ --req-get: #70b8ff;
927
+ --req-post: #baa7ff;
928
+ --req-put: #ff977d;
929
+ --req-patch: #0bd8b6;
930
+ --req-delete: #ff9592;
931
+ --req-image: #71d083;
932
+ --req-font: #ff8dcc;
933
+ --req-media: #4ccce6;
934
+ --code-key: #5db0d7;
935
+ --code-str: #f29766;
936
+ --code-num: #9980ff;
937
+ --code-kw: #c58af9;
938
+ --code-attr: #9bbbdc;
939
+ --code-com: #8fbf8f;
940
+ --code-val: #f29766;
941
+ --pick: #1e2a38;
942
+ }
943
+ }
944
+ .wrap[data-side="left"] {
945
+ flex-direction: row-reverse;
946
+ transform: translateX(calc(1px - var(--panel-width)));
947
+ }
948
+ /* With the handle hidden, a closed panel slides all the way off its edge,
949
+ handle and all, and once there nothing of it paints or takes a pointer. The
950
+ panel key brings it back, and an open panel shows its handle as ever. */
951
+ .wrap[data-handle="hidden"][data-open="false"] {
952
+ visibility: hidden;
953
+ transform: translateX(100%);
954
+ transition: transform 150ms ease-out, translate var(--glide) ease-out,
955
+ visibility 0s linear 150ms;
956
+ }
957
+ .wrap[data-handle="hidden"][data-open="false"][data-side="left"] { transform: translateX(-100%); }
958
+ .wrap[data-handle="hidden"][data-open="false"] .handle { pointer-events: none; }
959
+ .wrap[data-open="true"] { transform: translateX(0); }
960
+ @media (prefers-reduced-motion: reduce) {
961
+ .wrap, .wrap *, .wrap *::before, .wrap *::after {
962
+ transition: none !important;
963
+ animation: none !important;
964
+ }
965
+ }
966
+ .wrap [hidden] { display: none !important; }
967
+ /* Where a view's lines start, by the layout it names. */
968
+ [data-layout="rows"] { --view-start: var(--col-inset); }
969
+ [data-layout="flush"] { --view-start: var(--col-inset); }
970
+
971
+ button, input, textarea {
972
+ appearance: none;
973
+ -webkit-appearance: none;
974
+ box-sizing: border-box;
975
+ margin: 0;
976
+ font: inherit;
977
+ color: inherit;
978
+ }
979
+ button {
980
+ padding: 0;
981
+ text-align: inherit;
982
+ white-space: nowrap;
983
+ background: none;
984
+ border: 0;
985
+ cursor: pointer;
986
+ }
987
+ :focus { outline: none; }
988
+ button:focus-visible { outline: 1px solid var(--faint); outline-offset: -1px; }
989
+
990
+ .handle {
991
+ flex: none;
992
+ box-sizing: border-box;
993
+ /* Sits a pixel over the panel and above it, so the handle's own background
994
+ hides the panel's border on that side and the two read as one outline. */
995
+ position: relative;
996
+ z-index: 1;
997
+ width: 22px;
998
+ height: 64px;
999
+ display: flex;
1000
+ align-items: center;
1001
+ justify-content: center;
1002
+ margin-right: -1px;
1003
+ letter-spacing: 0.06em;
1004
+ text-align: center;
1005
+ writing-mode: vertical-rl;
1006
+ color: var(--faint);
1007
+ background: var(--bg);
1008
+ border: 1px solid var(--line);
1009
+ border-right: 0 solid var(--edge-line);
1010
+ border-radius: 8px var(--edge) var(--edge) 8px;
1011
+ /* The one thing a closed panel shows, so the one thing it can be clicked on. */
1012
+ pointer-events: auto;
1013
+ cursor: grab;
1014
+ touch-action: none;
1015
+ user-select: none;
1016
+ -webkit-user-select: none;
1017
+ }
1018
+ .handle:hover { color: var(--fg); }
1019
+ .handle:focus-visible { outline-offset: 2px; }
1020
+ .wrap[data-drag="panel"] .handle { cursor: grabbing; }
1021
+ .wrap[data-drag="handle"] .handle { cursor: ns-resize; }
1022
+ .wrap[data-side="left"] .handle {
1023
+ margin-right: 0;
1024
+ margin-left: -1px;
1025
+ border-right: 1px solid var(--line);
1026
+ border-left: 0 solid var(--edge-line);
1027
+ border-radius: var(--edge) 8px 8px var(--edge);
1028
+ }
1029
+ /* A closed panel shows the handle alone, so off the edge the handle is what
1030
+ floats. Open, its edge side is the panel's and stays as it is. The border
1031
+ there comes at once and goes when its color has eased out, and the padding
1032
+ on the other side keeps the label in the middle. */
1033
+ .wrap[data-open="false"] .handle {
1034
+ transition: border-top-right-radius var(--glide) ease-out,
1035
+ border-bottom-right-radius var(--glide) ease-out, border-right-color var(--glide) ease-out,
1036
+ border-right-width 0s linear var(--glide), padding-left 0s linear var(--glide);
1037
+ }
1038
+ .wrap[data-open="false"][data-side="left"] .handle {
1039
+ transition-property: border-top-left-radius, border-bottom-left-radius, border-left-color,
1040
+ border-left-width, padding-right;
1041
+ }
1042
+ .wrap[data-float="true"][data-open="false"] .handle {
1043
+ --edge: 8px;
1044
+ --edge-line: var(--line);
1045
+ padding-left: 1px;
1046
+ border-right-width: 1px;
1047
+ transition-delay: 0s;
1048
+ }
1049
+ .wrap[data-float="true"][data-open="false"][data-side="left"] .handle {
1050
+ padding: 0 1px 0 0;
1051
+ border-left-width: 1px;
1052
+ }
1053
+
1054
+ .panel {
1055
+ flex: none;
1056
+ box-sizing: border-box;
1057
+ /* The strip that changes the width is placed in it. */
1058
+ position: relative;
1059
+ width: var(--panel-width);
1060
+ display: flex;
1061
+ flex-direction: column;
1062
+ /* All the height there is, less the gap the panel keeps top and bottom, and
1063
+ no taller than a list is worth. What is past it scrolls inside. */
1064
+ max-height: min(672px, calc(100vh - 16px));
1065
+ max-height: min(672px, calc(100dvh - 16px));
1066
+ padding: 4px;
1067
+ background: var(--bg);
1068
+ border: 1px solid var(--line);
1069
+ border-right: 0 solid var(--edge-line);
1070
+ border-radius: 13px var(--edge) var(--edge) 13px;
1071
+ /* Closed, the wrapper slides out only as far as the handle's width, and the
1072
+ handle overlaps the panel by a pixel, so the panel's border by the handle
1073
+ would stay on the window's edge as a line the panel's height. It hides
1074
+ once the slide is over. The edge side's border and the padding that pays
1075
+ for it go once its color has eased out. The width glides to a new one, as
1076
+ a view comes or goes, and the panel turns that off under the strip. */
1077
+ visibility: hidden;
1078
+ transition: visibility 0s linear 150ms, border-top-right-radius var(--glide) ease-out,
1079
+ border-bottom-right-radius var(--glide) ease-out, border-right-color var(--glide) ease-out,
1080
+ border-right-width 0s linear var(--glide), padding-right 0s linear var(--glide),
1081
+ width var(--glide) ease-out;
1082
+ }
1083
+ /* Only a panel that is out catches anything. The attribute flips the moment
1084
+ the close starts, so the slide back leaves nothing hit-testable behind. */
1085
+ .wrap[data-open="true"] .panel {
1086
+ pointer-events: auto;
1087
+ visibility: visible;
1088
+ transition-delay: 0s, 0s, 0s, 0s, var(--glide), var(--glide), 0s;
1089
+ }
1090
+ /* The handle covers one of these corners, so square that one off. It goes by
1091
+ the tab alone, not by data-open: the open flag flips the moment a close
1092
+ starts, while the panel shows until the slide is over. A panel the handle
1093
+ meets in the middle keeps both radii. The left side's own radii come after
1094
+ the right side's corners here, so those never square its edge side. */
1095
+ .wrap[data-tab="top"] .panel { border-top-left-radius: 0; }
1096
+ .wrap[data-tab="bottom"] .panel { border-bottom-left-radius: 0; }
1097
+ .wrap[data-side="left"] .panel {
1098
+ border-right: 1px solid var(--line);
1099
+ border-left: 0 solid var(--edge-line);
1100
+ border-radius: var(--edge) 13px 13px var(--edge);
1101
+ transition-property: visibility, border-top-left-radius, border-bottom-left-radius,
1102
+ border-left-color, border-left-width, padding-left, width;
1103
+ }
1104
+ .wrap[data-side="left"][data-tab="top"] .panel { border-top-right-radius: 0; }
1105
+ .wrap[data-side="left"][data-tab="bottom"] .panel { border-bottom-right-radius: 0; }
1106
+ /* Off the edge the border comes at once. A panel that closes there still
1107
+ hides only once its slide is over. */
1108
+ .wrap[data-float="true"] .panel {
1109
+ --edge: 13px;
1110
+ --edge-line: var(--line);
1111
+ padding-right: 3px;
1112
+ border-right-width: 1px;
1113
+ transition-delay: 0s;
1114
+ }
1115
+ .wrap[data-float="true"][data-side="left"] .panel {
1116
+ padding: 4px 4px 4px 3px;
1117
+ border-left-width: 1px;
1118
+ }
1119
+ .wrap[data-float="true"][data-open="false"] .panel {
1120
+ transition-delay: 150ms, 0s, 0s, 0s, 0s, 0s, 0s;
1121
+ }
1122
+
1123
+ /* The search opens where the add knob button was, and is as tall as a row. */
1124
+ .head {
1125
+ flex: none;
1126
+ box-sizing: border-box;
1127
+ display: flex;
1128
+ align-items: center;
1129
+ gap: var(--col-gap);
1130
+ height: 26px;
1131
+ padding: 0 var(--view-end) 0 var(--view-start);
1132
+ background: var(--card);
1133
+ border-radius: 8px;
1134
+ cursor: text;
1135
+ }
1136
+ .head:focus-within { box-shadow: inset 0 0 0 1px var(--line); }
1137
+ .search { flex: 1; min-width: 0; padding: 0; background: transparent; border: 0; }
1138
+ .search::placeholder { color: var(--faint); }
1139
+ /* 4 in from the search's edges, so 4 round. */
1140
+ .search-close {
1141
+ flex: none;
1142
+ width: 22px;
1143
+ height: 22px;
1144
+ margin-right: calc(var(--col-pad) - var(--view-end));
1145
+ display: grid;
1146
+ place-items: center;
1147
+ color: var(--faint);
1148
+ border-radius: 4px;
1149
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1150
+ }
1151
+ .search-close:hover { color: var(--fg); background: var(--track); }
1152
+
1153
+ /* Its plus and label line up with the rows' icons and names. */
1154
+ .add {
1155
+ flex: none;
1156
+ box-sizing: border-box;
1157
+ display: flex;
1158
+ align-items: center;
1159
+ gap: var(--col-gap);
1160
+ height: 26px;
1161
+ padding: 0 var(--view-end) 0 var(--view-start);
1162
+ color: var(--faint);
1163
+ border-radius: 8px;
1164
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1165
+ }
1166
+ .add:hover { color: var(--fg); background: var(--card); }
1167
+ /* Icons sit in the middle of a line whose text sits on its baseline. Beside a
1168
+ row's or a result's name they stay faint, so the words are read first. */
1169
+ .glyph { flex: none; align-self: center; }
1170
+ .main .glyph, .entry .glyph { color: var(--faint); }
1171
+ .entry .glyph { margin-right: 2px; }
1172
+
1173
+ /* The rows on top, then the add knob button, or the search in its place with
1174
+ its results under it. The rows and the results each scroll in their own
1175
+ room, so the results never cover the rows. The settings and a feature's
1176
+ view take the place of all of it. */
1177
+ .body, .home {
1178
+ position: relative;
1179
+ flex: 0 1 auto;
1180
+ min-height: 0;
1181
+ display: flex;
1182
+ flex-direction: column;
1183
+ gap: 4px;
1184
+ }
1185
+ /* The settings push in from the right and push the rows out to the left, the
1186
+ two moving together by the body's width and the 4px out to the border, so
1187
+ the view that leaves is clipped away whole by the time it is taken out.
1188
+ They pop back the same way, with the curve and the time of an iOS sheet. A
1189
+ view coming in starts from where it rests while it is away, and one turned
1190
+ round on its way goes back from where it is. The body eases between the
1191
+ heights of the two and clips what is past it, out to the panel's border
1192
+ across. The view that leaves is taken out of the
1193
+ flow and the panel holds it at the height it had, and the settings ride
1194
+ above the rows. Reduced motion swaps them at once, as the panel finds no
1195
+ time on them. A feature's view sits between the two: it pushes the rows
1196
+ out as the settings do, and the settings push it out in turn. data-slide
1197
+ names the view the slide left, so a view the settings leave comes back in
1198
+ from the left. It may shrink while it slides, so it is measured at the
1199
+ height the panel leaves it and grows with the body. */
1200
+ .body[data-slide] {
1201
+ clip-path: inset(0 -4px);
1202
+ transition: height 500ms cubic-bezier(0.32, 0.72, 0, 1);
1203
+ }
1204
+ .body[data-slide] > .pane {
1205
+ flex: none;
1206
+ transition: transform 500ms cubic-bezier(0.32, 0.72, 0, 1);
1207
+ }
1208
+ .body[data-slide] > .keys { position: relative; z-index: 1; background: var(--bg); }
1209
+ .body[data-slide] > .view {
1210
+ position: relative;
1211
+ z-index: 1;
1212
+ flex: 0 1 auto;
1213
+ background: var(--bg);
1214
+ }
1215
+ .body[data-slide] > .pane.leaving { position: absolute; top: 0; left: 0; width: 100%; }
1216
+ .wrap[data-mode="keys"] .body[data-slide] > .home { transform: translateX(calc(-100% - 4px)); }
1217
+ .wrap[data-mode="view"] .body[data-slide] > .home { transform: translateX(calc(-100% - 4px)); }
1218
+ .wrap[data-mode="keys"] .body[data-slide] > .view { transform: translateX(calc(-100% - 4px)); }
1219
+ .wrap:not([data-mode="keys"]) .body[data-slide] > .keys { transform: translateX(calc(100% + 4px)); }
1220
+ .wrap:not([data-mode="keys"], [data-mode="view"]) .body[data-slide] > .view {
1221
+ transform: translateX(calc(100% + 4px));
1222
+ }
1223
+ @starting-style {
1224
+ .wrap[data-mode="keys"] .body[data-slide] > .keys { transform: translateX(calc(100% + 4px)); }
1225
+ .wrap:not([data-mode="keys"]) .body[data-slide] > .home { transform: translateX(calc(-100% - 4px)); }
1226
+ .wrap[data-mode="view"] .body[data-slide] > .view { transform: translateX(calc(100% + 4px)); }
1227
+ .wrap[data-mode="view"] .body[data-slide="keys"] > .view {
1228
+ transform: translateX(calc(-100% - 4px));
1229
+ }
1230
+ }
1231
+ .rows, .results {
1232
+ position: relative;
1233
+ flex: 0 1 auto;
1234
+ min-height: 0;
1235
+ overflow-x: hidden;
1236
+ overflow-y: auto;
1237
+ overscroll-behavior: contain;
1238
+ scrollbar-width: thin;
1239
+ scrollbar-color: var(--line) transparent;
1240
+ }
1241
+ /* While the search is open the rows keep their height up to two fifths of the
1242
+ tallest panel, and scroll past it, so the results have the rest. */
1243
+ .wrap:is([data-mode="results"], [data-mode="browse"]) .rows {
1244
+ flex-shrink: 0;
1245
+ max-height: calc(min(672px, 100vh - 16px) * 0.4);
1246
+ max-height: calc(min(672px, 100dvh - 16px) * 0.4);
1247
+ }
1248
+ /* The rows view stays as it was while the settings or a view show, so it
1249
+ leaves and comes back as it is. */
1250
+ .wrap:not([data-mode="results"], [data-mode="browse"]) .results,
1251
+ .wrap:not([data-mode="results"], [data-mode="browse"]) .head,
1252
+ .wrap:is([data-mode="results"], [data-mode="browse"]) .add,
1253
+ .wrap:is([data-mode="results"], [data-mode="browse"]) .home > .empty,
1254
+ .wrap[data-mode="keys"] .home:not(.leaving),
1255
+ .wrap[data-mode="view"] .home:not(.leaving),
1256
+ .wrap:not([data-mode="keys"]) .keys:not(.leaving),
1257
+ .wrap:not([data-mode="view"]) .view:not(.leaving) { display: none; }
1258
+ .empty { padding: 4px var(--view-end) 4px var(--view-start); color: var(--faint); }
1259
+ /* An empty line that is a button: the same line, a row wide, so 8 round, on
1260
+ the rows' ground under the pointer. */
1261
+ .empty-action {
1262
+ display: block;
1263
+ width: 100%;
1264
+ text-align: left;
1265
+ white-space: normal;
1266
+ border-radius: 8px;
1267
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1268
+ }
1269
+ .empty-action:hover { color: var(--fg); background: var(--card); }
1270
+ /* Heard, not seen. */
1271
+ .said {
1272
+ position: absolute;
1273
+ width: 1px;
1274
+ height: 1px;
1275
+ overflow: hidden;
1276
+ clip-path: inset(50%);
1277
+ white-space: nowrap;
1278
+ }
1279
+
1280
+ .rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; align-content: start; }
1281
+ .row { position: relative; border-radius: 8px; transition: background-color 120ms ease-out; }
1282
+ .row:hover, .row.open { background: var(--card); }
1283
+ /* The grip stands over the row's icon, where the row's content starts, and
1284
+ takes no room of its own. It is the one rule that says where it stands. */
1285
+ .lead {
1286
+ position: absolute;
1287
+ top: 4px;
1288
+ left: var(--view-start);
1289
+ width: var(--col-icon);
1290
+ height: 18px;
1291
+ display: grid;
1292
+ place-items: center;
1293
+ color: var(--faint);
1294
+ border-radius: 4px;
1295
+ }
1296
+ /* The grip shows only while the pointer is over its row, or the row is
1297
+ dragged, or the grip has the keys' focus, in place of the icon under it,
1298
+ so nothing moves on hover. */
1299
+ .grip {
1300
+ z-index: 1;
1301
+ opacity: 0;
1302
+ cursor: grab;
1303
+ touch-action: none;
1304
+ user-select: none;
1305
+ -webkit-user-select: none;
1306
+ transition: opacity 120ms ease-out, color 120ms ease-out;
1307
+ }
1308
+ .grip:hover { color: var(--fg); }
1309
+ @media (hover: hover) {
1310
+ .row:hover .grip { opacity: 1; }
1311
+ .row:hover > .line > .grip:not([hidden]) + .main > .glyph { opacity: 0; }
1312
+ }
1313
+ .row.lifted .grip, .grip:focus-visible { opacity: 1; }
1314
+ .line > .grip + .main > .glyph { transition: opacity 120ms ease-out; }
1315
+ .row:is(.lifted, :has(> .line > .grip:focus-visible)) > .line > .grip:not([hidden]) + .main > .glyph { opacity: 0; }
1316
+ /* While a row is dragged the others make way for it, and it rides above them. */
1317
+ .rows.reordering .row { transition: transform 150ms ease-out, background-color 120ms ease-out; }
1318
+ .rows.reordering .row.lifted {
1319
+ z-index: 2;
1320
+ background: var(--card);
1321
+ box-shadow: var(--lift);
1322
+ transition: none;
1323
+ }
1324
+ .rows.reordering .grip { cursor: grabbing; }
1325
+ .line { display: flex; align-items: center; }
1326
+ .main {
1327
+ flex: 1;
1328
+ min-width: 0;
1329
+ display: flex;
1330
+ align-items: baseline;
1331
+ gap: var(--col-gap);
1332
+ padding: 4px var(--view-end) 4px var(--view-start);
1333
+ border-radius: 8px;
1334
+ }
1335
+ /* A title too long for its row is cut short, in the head of a view as in a row. */
1336
+ .row-label {
1337
+ flex: 0 1 auto;
1338
+ min-width: 0;
1339
+ overflow: hidden;
1340
+ text-overflow: ellipsis;
1341
+ white-space: nowrap;
1342
+ color: var(--faint);
1343
+ }
1344
+ .row-value {
1345
+ flex: 1;
1346
+ min-width: 0;
1347
+ overflow: hidden;
1348
+ text-overflow: ellipsis;
1349
+ white-space: nowrap;
1350
+ text-align: right;
1351
+ }
1352
+ /* A row kept in the list with its knobs back at their defaults. */
1353
+ .row-value.idle { color: var(--faint); }
1354
+ .row-value.hot { color: var(--hot); }
1355
+ /* The small icon button a row ends with: a row's x, and an action in the
1356
+ head of a view. Half the pad in from the row's edges, 2, so 6 round. */
1357
+ .row-button {
1358
+ flex: none;
1359
+ width: 22px;
1360
+ height: 22px;
1361
+ margin: calc(var(--col-pad) / 2);
1362
+ display: grid;
1363
+ place-items: center;
1364
+ color: var(--faint);
1365
+ border-radius: 6px;
1366
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1367
+ }
1368
+ .row-button:hover { color: var(--fg); background: var(--track); }
1369
+ /* One that is a toggle, while it is on. */
1370
+ .row-button[aria-pressed="true"] { color: var(--fg); }
1371
+ /* A button with a hold, as a row's x: no menu or selection on a long touch,
1372
+ and a fill from its leading edge while the hold runs. With reduced motion
1373
+ the fill is there at once, and the hold still counts. */
1374
+ .hold {
1375
+ position: relative;
1376
+ isolation: isolate;
1377
+ touch-action: none;
1378
+ user-select: none;
1379
+ -webkit-user-select: none;
1380
+ -webkit-touch-callout: none;
1381
+ }
1382
+ .hold.holding { color: var(--hot); }
1383
+ .hold.holding::before {
1384
+ content: "";
1385
+ position: absolute;
1386
+ inset: 0;
1387
+ z-index: -1;
1388
+ border-radius: inherit;
1389
+ background: color-mix(in srgb, var(--hot) 16%, transparent);
1390
+ animation: hold-fill ${fb}ms linear;
1391
+ }
1392
+ /* A clip, not a scale: a scaled fill squeezes its corners and spills past the
1393
+ button's round ones. */
1394
+ @keyframes hold-fill {
1395
+ from { clip-path: inset(0 100% 0 0); }
1396
+ to { clip-path: inset(0); }
1397
+ }
1398
+
1399
+ /* An open row's editor folds out under its line and pushes the rows below it
1400
+ down. The fold eases between none and all of the editor's height, and clips
1401
+ what is past it without scrolling, so a control focused while it folds out
1402
+ never shifts the editor. The track's floor of 0 lets it close past the
1403
+ editor's padding, which a bare 0fr keeps open. */
1404
+ .fold {
1405
+ display: grid;
1406
+ grid-template-rows: minmax(0, 0fr);
1407
+ overflow: clip;
1408
+ transition: grid-template-rows 180ms ease-out;
1409
+ }
1410
+ .row.open > .fold { grid-template-rows: minmax(0, 1fr); }
1411
+ /* A fold whose body is very tall goes at once, see kit.ts. */
1412
+ .row.still > .fold { transition: none; }
1413
+ /* The editor and a view's stack sit a row's pad inside it, and what is read
1414
+ in them starts and ends that much less far in, at the inset still. */
1415
+ .editor, .stack {
1416
+ --view-start: calc(var(--col-inset) - var(--col-pad));
1417
+ --view-end: calc(var(--col-inset) - var(--col-pad));
1418
+ }
1419
+ .editor {
1420
+ min-height: 0;
1421
+ display: grid;
1422
+ grid-template-columns: minmax(0, 1fr);
1423
+ gap: 8px;
1424
+ padding: 2px var(--col-pad) 6px;
1425
+ animation: editor-in 140ms ease-out;
1426
+ }
1427
+ @keyframes editor-in {
1428
+ from { opacity: 0; transform: translateY(-2px); }
1429
+ }
1430
+ .knob { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
1431
+ .knob-label { padding: 0 var(--view-end) 0 var(--view-start); font-size: 11px; color: var(--faint); }
1432
+ .knob-switch { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
1433
+ .knob-switch .switch { margin-right: 2px; }
1434
+
1435
+ .seg {
1436
+ display: flex;
1437
+ gap: 2px;
1438
+ padding: 2px;
1439
+ background: var(--track);
1440
+ border-radius: 4px;
1441
+ }
1442
+ .seg-item {
1443
+ flex: 1 1 auto;
1444
+ min-width: 0;
1445
+ padding: 1px 4px;
1446
+ overflow: hidden;
1447
+ text-overflow: ellipsis;
1448
+ text-align: center;
1449
+ color: var(--faint);
1450
+ border-radius: 2px;
1451
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1452
+ }
1453
+ .seg-item:hover { color: var(--fg); }
1454
+ /* What is on has a ground of its own: a segment, and a bar's toggle. */
1455
+ .seg-item.on, .tool[aria-pressed="true"] { color: var(--fg); background: var(--raised); box-shadow: var(--lift); }
1456
+
1457
+ .swatches { display: flex; flex-wrap: wrap; gap: 8px; padding: 3px 5px; }
1458
+ .swatch {
1459
+ width: 16px;
1460
+ height: 16px;
1461
+ border-radius: 50%;
1462
+ box-shadow: 0 0 0 2px var(--card), 0 0 0 3px transparent;
1463
+ transition: box-shadow 120ms ease-out;
1464
+ }
1465
+ .swatch:hover { box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--faint); }
1466
+ .swatch.on { box-shadow: 0 0 0 2px var(--card), 0 0 0 3px var(--fg); }
1467
+ .swatch:focus-visible { outline-offset: 4px; }
1468
+ /* Colors of the user's own stand after a knob's own, each with an x on its
1469
+ corner that shows with the pointer or the focus on it, then a plus the
1470
+ size of a swatch. The x stands after its swatch in the track and lies over
1471
+ its corner, its margins taking back the room and the gap it would take. The browser's color input lies unseen under the plus, so
1472
+ its picker opens there, and the field for a color typed out shows under
1473
+ the swatches while one is being added. A color it cannot read shakes it
1474
+ and turns it red, as a key a shortcut cannot take does. */
1475
+ .colors { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
1476
+ .swatch-plus { position: relative; display: flex; }
1477
+ .swatch-x {
1478
+ position: relative;
1479
+ flex: none;
1480
+ align-self: flex-start;
1481
+ width: 12px;
1482
+ height: 12px;
1483
+ margin: -5px -5px 0 -15px;
1484
+ display: grid;
1485
+ place-items: center;
1486
+ color: var(--faint);
1487
+ background: var(--raised);
1488
+ border-radius: 50%;
1489
+ box-shadow: var(--lift);
1490
+ opacity: 0;
1491
+ /* Unseen, it is hidden too, so it takes no press meant for the swatch under it. */
1492
+ visibility: hidden;
1493
+ transition: opacity 120ms ease-out, color 120ms ease-out, visibility 0s linear 120ms;
1494
+ }
1495
+ .swatch-own:hover + .swatch-x, .swatch-own:focus + .swatch-x, .swatch-x:hover {
1496
+ opacity: 1;
1497
+ visibility: visible;
1498
+ transition: opacity 120ms ease-out, color 120ms ease-out;
1499
+ }
1500
+ .swatch-x:hover { color: var(--fg); }
1501
+ .swatch-add {
1502
+ display: grid;
1503
+ place-items: center;
1504
+ color: var(--faint);
1505
+ background: var(--track);
1506
+ transition: box-shadow 120ms ease-out, color 120ms ease-out;
1507
+ }
1508
+ .swatch-add:hover { color: var(--fg); }
1509
+ .swatch-pick {
1510
+ position: absolute;
1511
+ inset: 0;
1512
+ width: 100%;
1513
+ height: 100%;
1514
+ padding: 0;
1515
+ border: 0;
1516
+ opacity: 0;
1517
+ pointer-events: none;
1518
+ }
1519
+
1520
+ .chips { display: flex; flex-wrap: wrap; gap: 4px; }
1521
+ .chip {
1522
+ height: 22px;
1523
+ padding: 0 6px;
1524
+ line-height: 22px;
1525
+ color: var(--faint);
1526
+ background: var(--track);
1527
+ border-radius: 4px;
1528
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1529
+ }
1530
+ .chip:hover { color: var(--fg); }
1531
+ .chip.on { color: var(--fg); background: var(--raised); box-shadow: var(--lift); }
1532
+
1533
+ .switch {
1534
+ position: relative;
1535
+ width: 28px;
1536
+ height: 16px;
1537
+ background: var(--track);
1538
+ border-radius: 8px;
1539
+ transition: background-color 140ms ease-out;
1540
+ }
1541
+ .switch::after {
1542
+ content: "";
1543
+ position: absolute;
1544
+ top: 2px;
1545
+ left: 2px;
1546
+ width: 12px;
1547
+ height: 12px;
1548
+ background: var(--raised);
1549
+ border-radius: 6px;
1550
+ box-shadow: var(--lift);
1551
+ transition: transform 140ms ease-out, background-color 140ms ease-out;
1552
+ }
1553
+ .switch.on { background: var(--fg); }
1554
+ .switch.on::after { background: var(--bg); transform: translateX(12px); }
1555
+
1556
+ .field {
1557
+ height: 22px;
1558
+ padding: 0 6px;
1559
+ color: var(--fg);
1560
+ background: var(--bg);
1561
+ border: 1px solid var(--line);
1562
+ border-radius: 4px;
1563
+ }
1564
+ .field::placeholder { color: var(--faint); }
1565
+ .field:focus { border-color: var(--faint); }
1566
+ .field::-webkit-outer-spin-button,
1567
+ .field::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
1568
+ .chip-field { width: 48px; padding: 0 6px; border: 0; background: var(--track); }
1569
+ .chip-field.on { background: var(--raised); box-shadow: var(--lift); }
1570
+ .chip-field:focus { box-shadow: inset 0 0 0 1px var(--faint); }
1571
+ .fields { display: flex; align-items: center; gap: 4px; }
1572
+ /* A device's size and fold, set apart from the list over it. */
1573
+ .knob-list > .extra-device { margin-top: 5px; }
1574
+ .fields .field-num { flex: 1; min-width: 0; }
1575
+ .field-clock { width: 100%; }
1576
+ .field-route { width: 100%; height: 44px; padding: 3px 6px; resize: vertical; }
1577
+ .field-ua { width: 100%; height: 56px; padding: 3px 6px; resize: vertical; }
1578
+ .unit { flex: none; font-size: 11px; color: var(--faint); }
1579
+ /* The fold slider, experimental: a thumb on a track as far along as the hinge
1580
+ is open, a tick under where it lands a third of the way. The thumb eases to
1581
+ a stop once let go, and follows the pointer while held, and the hinge
1582
+ while the knobs fold it. */
1583
+ .fold-slider {
1584
+ position: relative;
1585
+ height: 22px;
1586
+ background: var(--track);
1587
+ border-radius: 4px;
1588
+ cursor: grab;
1589
+ touch-action: none;
1590
+ }
1591
+ .fold-slider:focus-visible { outline: 1px solid var(--faint); outline-offset: -1px; }
1592
+ .fold-tick {
1593
+ position: absolute;
1594
+ top: 8px;
1595
+ bottom: 8px;
1596
+ left: calc(16px + (100% - 32px) * 0.333);
1597
+ width: 1px;
1598
+ background: var(--faint);
1599
+ opacity: 0.5;
1600
+ }
1601
+ .fold-thumb {
1602
+ position: absolute;
1603
+ top: 2px;
1604
+ left: calc(2px + (100% - 32px) * var(--at, 0));
1605
+ width: 28px;
1606
+ height: 18px;
1607
+ display: flex;
1608
+ align-items: center;
1609
+ justify-content: center;
1610
+ color: var(--fg);
1611
+ background: var(--raised);
1612
+ border-radius: 2px;
1613
+ box-shadow: var(--lift);
1614
+ transition: left 200ms ease-out;
1615
+ }
1616
+ .fold-slider.held { cursor: grabbing; }
1617
+ .fold-slider.held .fold-thumb,
1618
+ .fold-slider.following .fold-thumb { transition: none; }
1619
+ .extra { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
1620
+ .note { padding: 0 var(--view-end) 0 var(--view-start); font-size: 10.5px; line-height: 1.4; color: var(--faint); }
1621
+
1622
+ .list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
1623
+ .items {
1624
+ position: relative;
1625
+ display: grid;
1626
+ grid-template-columns: minmax(0, 1fr);
1627
+ /* Items clip their text, which would let the rows shrink to fit the box. */
1628
+ grid-auto-rows: max-content;
1629
+ max-height: 136px;
1630
+ overflow-y: auto;
1631
+ padding: 2px;
1632
+ background: var(--bg);
1633
+ border-radius: 4px;
1634
+ overscroll-behavior: contain;
1635
+ scrollbar-width: thin;
1636
+ scrollbar-color: var(--line) transparent;
1637
+ }
1638
+ .item {
1639
+ display: flex;
1640
+ align-items: center;
1641
+ gap: 4px;
1642
+ padding: 1px 6px 1px 4px;
1643
+ overflow: hidden;
1644
+ color: var(--faint);
1645
+ border-radius: 2px;
1646
+ }
1647
+ /* The check that marks the value that is on, faint as a result's is. */
1648
+ .item::before {
1649
+ content: "";
1650
+ flex: none;
1651
+ display: inline-block;
1652
+ width: 3px;
1653
+ height: 7px;
1654
+ margin: 0 4px 2px 3px;
1655
+ border: solid transparent;
1656
+ border-width: 0 1.5px 1.5px 0;
1657
+ transform: rotate(45deg);
1658
+ }
1659
+ .item:hover, .item.cursor { color: var(--fg); background: var(--card); }
1660
+ .item.on { color: var(--fg); }
1661
+ .item.on::before { border-color: var(--faint); }
1662
+
1663
+ .results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
1664
+ .entry {
1665
+ display: flex;
1666
+ align-items: baseline;
1667
+ gap: 6px;
1668
+ padding: 4px var(--view-end) 4px var(--view-start);
1669
+ white-space: nowrap;
1670
+ border-radius: 8px;
1671
+ cursor: pointer;
1672
+ }
1673
+ .entry.cursor { background: var(--card); }
1674
+ .entry-knob { flex: none; color: var(--faint); }
1675
+ /* Past the entry's padding to the right edge the rows' x ends on. */
1676
+ .entry .entry-check { margin: 0 calc(var(--col-pad) / 2 - var(--view-end)) 0 auto; }
1677
+ .entry-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
1678
+ .entry-name { flex: none; }
1679
+ .entry-now {
1680
+ flex: 1;
1681
+ min-width: 0;
1682
+ overflow: hidden;
1683
+ text-overflow: ellipsis;
1684
+ text-align: right;
1685
+ color: var(--faint);
1686
+ }
1687
+ /* A small quiet label over a run of lines: the search's results, a list's
1688
+ options, a group of a view's content. One rule, so it starts where the
1689
+ lines under it do, and is cut short where it has no room. */
1690
+ .group-label {
1691
+ flex: 1;
1692
+ min-width: 0;
1693
+ padding: 8px var(--view-end) 2px var(--view-start);
1694
+ overflow: hidden;
1695
+ text-overflow: ellipsis;
1696
+ white-space: nowrap;
1697
+ font-size: 10.5px;
1698
+ color: var(--faint);
1699
+ }
1700
+ .group-label:first-child { padding-top: 2px; }
1701
+
1702
+ .foot {
1703
+ flex: none;
1704
+ display: grid;
1705
+ grid-template-columns: minmax(0, 1fr);
1706
+ gap: 8px;
1707
+ margin-top: 4px;
1708
+ padding: 6px 6px 2px;
1709
+ border-top: 1px solid var(--line);
1710
+ }
1711
+ .badge { color: var(--faint); }
1712
+ .badge.hot { color: var(--hot); }
1713
+ /* Says fresh mode is on, as quiet as the key hints under it. */
1714
+ .fresh-note { font-size: 10px; line-height: 1.4; color: var(--faint); }
1715
+ /* The key hints, each a button for what its key does. Where they leave no
1716
+ room, the line wraps. */
1717
+ .meta {
1718
+ display: flex;
1719
+ flex-wrap: wrap;
1720
+ align-items: center;
1721
+ gap: 6px 12px;
1722
+ font-size: 10px;
1723
+ line-height: 1.4;
1724
+ color: var(--faint);
1725
+ }
1726
+ /* A key and its word. Only the key is a box. */
1727
+ .hint {
1728
+ display: inline-flex;
1729
+ align-items: center;
1730
+ gap: 4px;
1731
+ white-space: nowrap;
1732
+ border-radius: 4px;
1733
+ transition: color 120ms ease-out;
1734
+ }
1735
+ .hint:hover { color: var(--fg); }
1736
+ .hint:focus-visible { outline-offset: 2px; }
1737
+ .hint:disabled { cursor: default; opacity: 0.5; }
1738
+ .hint:disabled:hover { color: inherit; }
1739
+ /* The pin and the way into the settings, at the end of the last line, and
1740
+ before them the two controls of a pinned panel. */
1741
+ .pin-toggle, .flip-toggle { margin-left: auto; }
1742
+ .flip-toggle:not([hidden]) ~ .pin-toggle { margin-left: 0; }
1743
+ .keys-toggle[aria-pressed="true"], .pin-toggle[aria-pressed="true"] { color: var(--fg); }
1744
+ /* The tooltip of an icon-only control, set over it by the panel. */
1745
+ .tip {
1746
+ position: absolute;
1747
+ top: 0;
1748
+ left: 0;
1749
+ z-index: 2;
1750
+ box-sizing: border-box;
1751
+ padding: 3px 8px;
1752
+ white-space: nowrap;
1753
+ color: var(--fg);
1754
+ background: var(--raised);
1755
+ border: 1px solid var(--line);
1756
+ border-radius: 6px;
1757
+ box-shadow: var(--lift);
1758
+ opacity: 0;
1759
+ pointer-events: none;
1760
+ transition: opacity 120ms ease-out;
1761
+ }
1762
+ .tip.on { opacity: 1; }
1763
+ .tip.hot { color: var(--hot); }
1764
+ /* A tooltip of more than one line: each on its own, and one said quietly. */
1765
+ .tip-line { display: block; }
1766
+ .tip-quiet { color: var(--faint); }
1767
+ .hint-key {
1768
+ box-sizing: border-box;
1769
+ min-width: 14px;
1770
+ padding: 0 3px;
1771
+ font: inherit;
1772
+ color: inherit;
1773
+ text-align: center;
1774
+ background: transparent;
1775
+ border: 1px solid var(--line);
1776
+ border-radius: 4px;
1777
+ }
1778
+ /* A binding with no key shows its word alone. */
1779
+ .hint-key:empty { display: none; }
1780
+
1781
+ /* The settings, in place of the rows: the head every view has on top, then
1782
+ each a row as the knob rows are, as their layout, rows, says. Nothing here pads
1783
+ the head or a row: both are the shared ones. A row has no x after it, so
1784
+ the handle's main ends with a switch, and a shortcut's with its key as a
1785
+ button that records a new one, an x before it that puts it back. A key it
1786
+ cannot take shakes the key and turns it red for a moment; reduced motion
1787
+ keeps only the red. */
1788
+ .keys { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
1789
+ /* A title over a run of rows, over where their content starts. */
1790
+ .rows-label { padding: 8px var(--view-end) 2px var(--view-start); font-size: 10.5px; color: var(--faint); }
1791
+ /* A line under a setting's row, where its words start, past its icon. */
1792
+ .row-hint { padding: 0 var(--view-end) 4px calc(var(--view-start) + var(--col-step)); font-size: 10.5px; color: var(--faint); }
1793
+ /* An action's key, at the end of its row, as quiet as the footer shows a key. */
1794
+ .row-key { flex: none; align-self: center; font-size: 10px; line-height: 1.4; color: var(--faint); }
1795
+ .row-control { flex: none; align-self: center; margin-left: auto; }
1796
+ /* A row's small button inside its main, before what the main ends with,
1797
+ takes no height of its own, so the row is as tall as any. */
1798
+ .main > .row-button { align-self: center; margin: -2px 0 -2px auto; }
1799
+ .main > .row-button:not([hidden]) + .row-control { margin-left: 0; }
1800
+ /* The panel's icons face the side the panel is on. */
1801
+ .wrap[data-side="left"] .glyph.sided { transform: scaleX(-1); }
1802
+ .key-set {
1803
+ flex: none;
1804
+ box-sizing: border-box;
1805
+ min-width: 26px;
1806
+ height: 18px;
1807
+ /* The line sits a little above the middle, so the text looks centered: a
1808
+ key's capitals, and while it records the lowercase by their x-height. */
1809
+ padding: 0 6px 1px;
1810
+ font-size: 11px;
1811
+ line-height: 15px;
1812
+ text-align: center;
1813
+ border: 1px solid var(--line);
1814
+ border-radius: 4px;
1815
+ transition: border-color 120ms ease-out, color 120ms ease-out, background-color 120ms ease-out;
1816
+ }
1817
+ .key-set:hover { border-color: var(--faint); }
1818
+ .key-set.recording {
1819
+ padding-bottom: 3px;
1820
+ line-height: 13px;
1821
+ color: var(--faint);
1822
+ border-color: var(--faint);
1823
+ }
1824
+ .key-set.refused, .field.refused {
1825
+ color: var(--hot);
1826
+ background: color-mix(in srgb, var(--hot) 8%, transparent);
1827
+ border-color: var(--hot);
1828
+ animation: key-shake 320ms ease-out;
1829
+ }
1830
+ @keyframes key-shake {
1831
+ 15% { transform: translateX(-4px); }
1832
+ 35% { transform: translateX(4px); }
1833
+ 55% { transform: translateX(-2.5px); }
1834
+ 75% { transform: translateX(1.5px); }
1835
+ 90% { transform: translateX(-0.5px); }
1836
+ }
1837
+
1838
+ /* A feature's view, in place of the rows as the settings are: the way back
1839
+ on top, a row built and styled as every row is, its chevron where the
1840
+ view's lines start, with the view's title and then its actions, each the
1841
+ button a row's x is. Nothing here says how the
1842
+ head is padded, edged or rounded: it differs from a row only by what is in
1843
+ its slots, and starts where the view's layout says. Its body under that scrolls on its own. The view asks for the panel's tallest and the panel's
1844
+ own limit shrinks it to what the window has, so the panel is as tall as it
1845
+ gets whatever the view holds. The body is a container, so what a view
1846
+ holds can lay itself out by how wide the view is. */
1847
+ .view {
1848
+ flex: 0 1 auto;
1849
+ min-height: 0;
1850
+ height: 672px;
1851
+ display: flex;
1852
+ flex-direction: column;
1853
+ gap: 4px;
1854
+ }
1855
+ .view-head { flex: none; }
1856
+ .view-actions { flex: none; display: flex; }
1857
+ .view-body {
1858
+ position: relative;
1859
+ flex: 1 1 auto;
1860
+ min-height: 0;
1861
+ container: view / inline-size;
1862
+ overflow-x: hidden;
1863
+ overflow-y: auto;
1864
+ overscroll-behavior: contain;
1865
+ scrollbar-width: thin;
1866
+ scrollbar-color: var(--line) transparent;
1867
+ }
1868
+
1869
+ /* What a view builds its chrome from, see kit.ts. The bar stays over what
1870
+ scrolls under it, flush with the rows' edges, and holds a filter, which
1871
+ takes the room, and segments, which keep theirs, after a toggle where it
1872
+ starts with one. Where the panel is narrow
1873
+ the filter has a line of its own. It never moves, so the browser does not
1874
+ hold the scroll by it. */
1875
+ .toolbar {
1876
+ overflow-anchor: none;
1877
+ position: sticky;
1878
+ top: 0;
1879
+ z-index: 1;
1880
+ display: flex;
1881
+ flex-wrap: wrap;
1882
+ align-items: center;
1883
+ gap: 4px;
1884
+ padding-bottom: 4px;
1885
+ background: var(--bg);
1886
+ }
1887
+ .toolbar > .filter { flex: 1 1 96px; min-width: 0; }
1888
+ .toolbar > .seg { flex: none; max-width: 100%; }
1889
+ /* The small icon button a bar starts with, a toggle: its icon stands where
1890
+ the view's lines start, with the pad clear on each side of it, so 4 round
1891
+ as the filter beside it is. */
1892
+ .tool {
1893
+ flex: none;
1894
+ width: calc(var(--col-icon) + var(--col-pad) * 2);
1895
+ height: 22px;
1896
+ margin-left: calc(var(--view-start) - var(--col-pad));
1897
+ display: grid;
1898
+ place-items: center;
1899
+ color: var(--faint);
1900
+ border-radius: 4px;
1901
+ transition: background-color 120ms ease-out, color 120ms ease-out;
1902
+ }
1903
+ .tool:hover { color: var(--fg); }
1904
+ .tool[aria-pressed="false"]:hover { background: var(--track); }
1905
+ /* A bar's own controls have a line to themselves, under its filter. */
1906
+ .toolbar > .chips { flex: 1 1 100%; }
1907
+ /* A line of a table: its name in the type code is read in, then its value on
1908
+ one line, cut where it is long and quiet, then what the line ends with.
1909
+ Where a value follows, the name has a column every line of the table has,
1910
+ a share of the line with a floor and a ceiling, so names and values line
1911
+ up down the list. A quiet name is told by its fainter text alone. */
1912
+ .cell-name { font: 11px/1.5 var(--mono); color: var(--fg); }
1913
+ .cell-name.columned { flex: 0 0 clamp(72px, 38%, 200px); }
1914
+ .cell-name.quiet { color: var(--faint); }
1915
+ .cell-value {
1916
+ flex: 1;
1917
+ min-width: 0;
1918
+ overflow: hidden;
1919
+ text-overflow: ellipsis;
1920
+ white-space: nowrap;
1921
+ font: 11px/1.5 var(--mono);
1922
+ color: var(--faint);
1923
+ }
1924
+ .cell-end { flex: none; margin-left: auto; font-size: 10px; color: var(--faint); }
1925
+ /* A line's number, on a narrow column of its own before the name, two icons
1926
+ wide in a head as in a line, whatever type each is set in. */
1927
+ .cell-index {
1928
+ flex: none;
1929
+ width: calc(var(--col-icon) * 2);
1930
+ overflow: hidden;
1931
+ font: 11px/1.5 var(--mono);
1932
+ font-variant-numeric: tabular-nums;
1933
+ text-align: right;
1934
+ color: var(--faint);
1935
+ }
1936
+ /* The head of a table: a line laid out as a row's is, with the room of a
1937
+ row's chevron left empty, so each of its words stands over its column. The
1938
+ words are small and quiet, and nothing is drawn around or under them. */
1939
+ .cells-head {
1940
+ display: flex;
1941
+ align-items: baseline;
1942
+ gap: var(--col-gap);
1943
+ padding: 2px var(--view-end) 2px var(--view-start);
1944
+ font-size: 10.5px;
1945
+ color: var(--faint);
1946
+ }
1947
+ .cells-head > span { font: inherit; color: inherit; }
1948
+ .cell-lead { flex: none; width: var(--col-icon); }
1949
+ /* What a node of a tree holds: its own nodes and lines, a step in, so each
1950
+ starts under the icon of the node it is in. A node in there is on
1951
+ its tree's ground already: it takes none of its own while folded out, and
1952
+ a step darker under the pointer. */
1953
+ .branch {
1954
+ display: grid;
1955
+ grid-template-columns: minmax(0, 1fr);
1956
+ gap: 1px;
1957
+ padding-left: var(--col-step);
1958
+ }
1959
+ .branch .row.open { background: none; }
1960
+ .branch .row:hover { background: var(--track); }
1961
+ /* A note that is a control: a line wide, with room over and under it to
1962
+ press, and in the text's color under the pointer. */
1963
+ .note-button { display: block; width: 100%; padding-top: 4px; padding-bottom: 4px; transition: color 120ms ease-out; }
1964
+ .note-button:hover { color: var(--fg); }
1965
+ /* A section of a view that folds, a row as the rows are: its chevron where
1966
+ a row's icon is, to the side while folded and down while out. */
1967
+ .turn { flex: none; align-self: center; display: grid; }
1968
+ .turn .glyph { transform: rotate(180deg); transition: transform 120ms ease-out; }
1969
+ .row.open > .line .turn .glyph { transform: rotate(270deg); }
1970
+ .fold-body { min-height: 0; }
1971
+ /* A group of a view's content under a small quiet label, with no fold. Its
1972
+ first line is the label, where all of a view's text starts, and the small
1973
+ controls for what it holds at its far end, as tall as the line. */
1974
+ .group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
1975
+ .group-head { display: flex; align-items: center; gap: 4px; min-height: 22px; }
1976
+ .group-head > .row-button { margin-top: 0; margin-bottom: 0; }
1977
+ /* Names and their values in two columns, in mono, the names a key's color. Both wrap
1978
+ anywhere and can be selected. Where the view is under 290 wide, a panel of
1979
+ 300, a name stands over its value. */
1980
+ .pairs {
1981
+ display: grid;
1982
+ grid-template-columns: fit-content(45%) minmax(0, 1fr);
1983
+ gap: 2px 12px;
1984
+ margin: 0;
1985
+ padding: 0 var(--view-end) 0 var(--view-start);
1986
+ font-family: var(--mono);
1987
+ font-size: 11px;
1988
+ overflow-wrap: anywhere;
1989
+ user-select: text;
1990
+ -webkit-user-select: text;
1991
+ cursor: text;
1992
+ }
1993
+ .pair-name { color: var(--key); }
1994
+ .pair-value { margin: 0; }
1995
+ @container view (max-width: 290px) {
1996
+ .pairs { grid-template-columns: minmax(0, 1fr); gap: 0; }
1997
+ .pair-value { margin-bottom: 4px; }
1998
+ }
1999
+ /* A block of text as it was written, in mono on the rows' ground. It wraps,
2000
+ and with wrapping off it scrolls in itself, so its view never scrolls
2001
+ sideways. A row wide, so 8 round, its text where a view's starts. */
2002
+ .code { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: 4px; }
2003
+ .code-text {
2004
+ justify-self: stretch;
2005
+ margin: 0;
2006
+ padding: 6px var(--view-end) 6px var(--view-start);
2007
+ font-family: var(--mono);
2008
+ font-size: 11px;
2009
+ white-space: pre-wrap;
2010
+ overflow-wrap: anywhere;
2011
+ tab-size: 2;
2012
+ background: var(--card);
2013
+ border-radius: 8px;
2014
+ user-select: text;
2015
+ -webkit-user-select: text;
2016
+ cursor: text;
2017
+ }
2018
+ .code-text.nowrap {
2019
+ white-space: pre;
2020
+ overflow-wrap: normal;
2021
+ overflow-x: auto;
2022
+ overscroll-behavior-x: contain;
2023
+ scrollbar-width: thin;
2024
+ scrollbar-color: var(--line) transparent;
2025
+ }
2026
+ /* A row of tabs, as the browsers' tools have them over a request: words
2027
+ alone, quiet, and the one that is on in the text's color on a card. A bar
2028
+ wider than the view scrolls sideways, with no bar of its own. */
2029
+ .tabs {
2030
+ flex: 1 1 100%;
2031
+ min-width: 0;
2032
+ display: flex;
2033
+ gap: 2px;
2034
+ padding: 0 var(--view-end) 0 calc(var(--view-start) - var(--col-pad));
2035
+ overflow-x: auto;
2036
+ overscroll-behavior-x: contain;
2037
+ scrollbar-width: none;
2038
+ }
2039
+ .tabs::-webkit-scrollbar { display: none; }
2040
+ .tab {
2041
+ flex: none;
2042
+ height: 22px;
2043
+ padding: 0 var(--col-pad);
2044
+ line-height: 22px;
2045
+ color: var(--faint);
2046
+ border-radius: 4px;
2047
+ transition: background-color 120ms ease-out, color 120ms ease-out;
2048
+ }
2049
+ .tab:hover { color: var(--fg); }
2050
+ .tab.on { color: var(--fg); background: var(--card); }
2051
+ /* A section under a head that opens and closes it: a triangle where the
2052
+ view's lines start, the label in the text's color, a quiet count, and small
2053
+ controls in words at the far end. What it holds stands under the label. */
2054
+ .sect { display: grid; grid-template-columns: minmax(0, 1fr); }
2055
+ /* Where the head has no room for its controls, they go under it, at the end. */
2056
+ .sect-top { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 2px; min-height: 24px; padding-right: calc(var(--view-end) - var(--col-pad)); }
2057
+ .sect-head {
2058
+ flex: 1 0 auto;
2059
+ max-width: 100%;
2060
+ display: flex;
2061
+ align-items: center;
2062
+ gap: var(--col-gap);
2063
+ min-height: 24px;
2064
+ padding-left: var(--view-start);
2065
+ overflow: hidden;
2066
+ font-size: 11.5px;
2067
+ color: var(--fg);
2068
+ }
2069
+ .sect-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
2070
+ .sect-count { flex: none; color: var(--faint); }
2071
+ .sect-turn { flex: none; width: var(--col-icon); display: grid; place-items: center; color: var(--faint); }
2072
+ .sect-turn .glyph { transform: rotate(180deg); transition: transform 120ms ease-out; }
2073
+ [aria-expanded="true"] > .sect-turn .glyph { transform: rotate(270deg); }
2074
+ .sect-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 0 0 6px var(--col-step); }
2075
+ .act {
2076
+ flex: none;
2077
+ height: 20px;
2078
+ padding: 0 var(--col-pad);
2079
+ font-size: 10.5px;
2080
+ line-height: 20px;
2081
+ color: var(--faint);
2082
+ border-radius: 4px;
2083
+ transition: background-color 120ms ease-out, color 120ms ease-out;
2084
+ }
2085
+ .act:hover { color: var(--fg); }
2086
+ .act.on { color: var(--fg); background: var(--card); }
2087
+ /* Text as the browsers' tools show a response: a line a row, its number in
2088
+ a gutter as wide as the longest, on the panel's ground. A long line wraps
2089
+ and goes on a little in from where it starts, never back at the edge. */
2090
+ .src {
2091
+ display: grid;
2092
+ grid-template-columns: auto minmax(0, 1fr);
2093
+ column-gap: 10px;
2094
+ padding: 0 var(--view-end) 0 var(--view-start);
2095
+ font: 11px/1.6 var(--mono);
2096
+ tab-size: 2;
2097
+ user-select: text;
2098
+ -webkit-user-select: text;
2099
+ cursor: text;
2100
+ }
2101
+ .src-line { display: contents; }
2102
+ .src-num { text-align: right; font-variant-numeric: tabular-nums; color: var(--faint); user-select: none; -webkit-user-select: none; }
2103
+ .src-text { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--fg); }
2104
+ .tok-key, .tok-tag { color: var(--code-key); }
2105
+ .tok-str { color: var(--code-str); }
2106
+ .tok-num { color: var(--code-num); }
2107
+ .tok-kw { color: var(--code-kw); }
2108
+ .tok-attr { color: var(--code-attr); }
2109
+ .tok-com { color: var(--code-com); }
2110
+ .tok-val { color: var(--code-val); }
2111
+ .tok-text { color: var(--fg); }
2112
+ .tok-doc { color: var(--faint); }
2113
+ /* Json as a tree: a node a line that opens to what it holds, a step in. */
2114
+ .json { padding: 0 var(--view-end) 0 var(--view-start); font: 11px/1.6 var(--mono); overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
2115
+ .json-head { display: flex; align-items: baseline; width: 100%; white-space: pre; text-align: left; }
2116
+ .json-head > .sect-turn { align-self: center; }
2117
+ .json-preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); }
2118
+ .json-kids { padding-left: var(--col-icon); }
2119
+ /* A long value wraps two steps in from where its line starts, as the browsers' preview has it. */
2120
+ .json-leaf { padding-left: calc(var(--col-icon) + 2ch); text-indent: -2ch; }
2121
+ /* What folds out under a view's row, one thing under another, padded as a
2122
+ row's editor is: 4 in from the row's edges, so what it holds is 4 round. */
2123
+ .stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 2px var(--col-pad) 6px; }
2124
+ /* In a stack a block of code stands on a row: on the panel's ground and 4
2125
+ round, with less over and under it. It stops growing where it would crowd
2126
+ the view, and scrolls from there. */
2127
+ .stack .code-text {
2128
+ max-height: 240px;
2129
+ padding-top: 3px;
2130
+ padding-bottom: 3px;
2131
+ overflow-y: auto;
2132
+ background: var(--bg);
2133
+ border-radius: 4px;
2134
+ scrollbar-width: thin;
2135
+ scrollbar-color: var(--line) transparent;
2136
+ }
2137
+ .field-line { width: 100%; }
2138
+ /* A text box, in the type code is read in. It stops growing where it would
2139
+ crowd the view, and scrolls from there. */
2140
+ .field-area {
2141
+ display: block;
2142
+ box-sizing: border-box;
2143
+ width: 100%;
2144
+ height: auto;
2145
+ max-height: 240px;
2146
+ padding: 3px 6px;
2147
+ font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2148
+ overflow-y: auto;
2149
+ resize: vertical;
2150
+ scrollbar-width: thin;
2151
+ scrollbar-color: var(--line) transparent;
2152
+ }
2153
+ .ask { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
2154
+
2155
+ /* The strip that changes the panel's width, as the edge of a docked devtools
2156
+ does: it lies across the border on the panel's page side, as tall as the
2157
+ panel, and shows a hairline on that border under the pointer, the keys'
2158
+ focus or a drag, clear of the round corners. The handle rides above it
2159
+ where the two meet. */
2160
+ .sizer {
2161
+ position: absolute;
2162
+ top: 0;
2163
+ bottom: 0;
2164
+ left: -4px;
2165
+ width: 7px;
2166
+ cursor: ew-resize;
2167
+ touch-action: none;
2168
+ user-select: none;
2169
+ -webkit-user-select: none;
2170
+ }
2171
+ .wrap[data-side="left"] .sizer { right: -4px; left: auto; }
2172
+ .sizer::after {
2173
+ content: "";
2174
+ position: absolute;
2175
+ top: 13px;
2176
+ bottom: 13px;
2177
+ left: 3px;
2178
+ width: 1px;
2179
+ background: var(--faint);
2180
+ opacity: 0;
2181
+ transition: opacity 120ms ease-out;
2182
+ }
2183
+ .sizer:hover::after,
2184
+ .sizer:focus-visible::after,
2185
+ .wrap[data-sizing="true"] .sizer::after { opacity: 1; }
2186
+
2187
+ /* The styles view: its bar, its filter, the control of its two modes, the
2188
+ fold of what is inherited and its empty lines are the kit's, and what is
2189
+ here is its own content. The crumbs head it, the bar stays on top, and the
2190
+ blocks scroll under it, one for each rule. The panel is 13 with 1 of border
2191
+ and 4 of padding, so a block is 8. What is css is set in mono, a size under
2192
+ the rows, and every word about it in the panel's own face, as quiet as a
2193
+ label. The panel is as wide as its edge is dragged to, so nothing here has
2194
+ a width of its own: a line wraps, and a name that must stay on one line is
2195
+ cut short. */
2196
+ /* Inspect's view as the Elements panel: the DOM tree over the styles, the
2197
+ crumbs between them. The tree scrolls in itself, a share of the window's
2198
+ height, and its bottom edge drags for another. A line is a node, a step in
2199
+ for each level, and wraps where it is long, but never narrower than 30
2200
+ characters: past that the tree is wider than its box and scrolls sideways,
2201
+ as deep lines do in the browser's tools. The selected line has a ground of
2202
+ its own, a blue one while the tree has the focus, and ends with a quiet
2203
+ reference to it. A node that changed lights for a moment. */
2204
+ .elements { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
2205
+ .dom {
2206
+ position: relative;
2207
+ height: 40vh;
2208
+ min-height: 96px;
2209
+ max-height: 85vh;
2210
+ overflow: auto;
2211
+ resize: vertical;
2212
+ overscroll-behavior: contain;
2213
+ scrollbar-width: thin;
2214
+ scrollbar-color: var(--line) transparent;
2215
+ }
2216
+ .dom-tree { width: min-content; min-width: 100%; font: 11px/1.6 var(--mono); }
2217
+ .dom-row {
2218
+ display: flex;
2219
+ align-items: flex-start;
2220
+ padding-right: var(--view-end);
2221
+ cursor: default;
2222
+ user-select: text;
2223
+ -webkit-user-select: text;
2224
+ }
2225
+ .dom-row:hover { background: var(--card); }
2226
+ .dom-row.on { background: var(--card); }
2227
+ .dom-tree:focus-within .dom-row.on { background: var(--pick); }
2228
+ .dom-row > .sect-turn { height: 1.6em; cursor: pointer; }
2229
+ .dom-code { flex: 0 1 auto; min-width: 30ch; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--fg); }
2230
+ .dom-ref { white-space: pre; color: var(--faint); }
2231
+ .dom-code > .act { margin-left: var(--col-pad); height: 1.6em; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6em; vertical-align: top; }
2232
+ .dom-flash { animation: dom-flash 900ms ease-out; }
2233
+ @keyframes dom-flash {
2234
+ from { background: var(--pick); }
2235
+ to { background: transparent; }
2236
+ }
2237
+ .styles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
2238
+ /* One line, which scrolls sideways with no bar, and shows its end. */
2239
+ .crumbs {
2240
+ display: flex;
2241
+ align-items: baseline;
2242
+ gap: 4px;
2243
+ padding: 0 var(--view-end) 0 var(--view-start);
2244
+ overflow-x: auto;
2245
+ scrollbar-width: none;
2246
+ font-size: 11px;
2247
+ color: var(--faint);
2248
+ }
2249
+ .crumb { flex: none; border-radius: 4px; transition: color 120ms ease-out; }
2250
+ .crumb:hover, .crumb[aria-current] { color: var(--fg); }
2251
+ .crumb-sep { flex: none; opacity: 0.6; }
2252
+ .css-blocks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
2253
+ /* Clear of the bar that stays on top, when a block is scrolled to. */
2254
+ .css-block {
2255
+ padding: 6px var(--view-end) 6px var(--view-start);
2256
+ background: var(--card);
2257
+ border-radius: 8px;
2258
+ scroll-margin-top: 32px;
2259
+ }
2260
+ .css-block.flash { animation: css-flash 900ms ease-out; }
2261
+ @keyframes css-flash {
2262
+ from { background: var(--track); }
2263
+ to { background: var(--card); }
2264
+ }
2265
+ .css-context, .css-selector, .css-decl {
2266
+ font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2267
+ overflow-wrap: anywhere;
2268
+ }
2269
+ .css-context { color: var(--faint); }
2270
+ /* The selector, then where the rule is from at the line's end: its mark and
2271
+ its file. Where the panel is too narrow for both, that goes under the
2272
+ selector, still at the end, and the file's name is cut short at the
2273
+ block's width. */
2274
+ .css-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
2275
+ .css-selector { flex: 1 1 14ch; min-width: 0; }
2276
+ .css-part.off { color: var(--faint); }
2277
+ .css-from {
2278
+ flex: 0 1 auto;
2279
+ min-width: 0;
2280
+ max-width: 100%;
2281
+ margin-left: auto;
2282
+ display: flex;
2283
+ align-items: baseline;
2284
+ gap: 8px;
2285
+ font-size: 10.5px;
2286
+ color: var(--faint);
2287
+ }
2288
+ .css-mark { flex: none; }
2289
+ .css-source {
2290
+ flex: 0 1 auto;
2291
+ min-width: 0;
2292
+ overflow: hidden;
2293
+ text-overflow: ellipsis;
2294
+ white-space: nowrap;
2295
+ }
2296
+ /* A declaration that wraps goes on further in than it starts. */
2297
+ .css-decl { display: block; padding-left: 24px; text-indent: -12px; text-decoration: none; }
2298
+ /* A name has the color of a key, its value the text's, and the marks between
2299
+ them are quiet. A declaration that is struck through is quiet all over. */
2300
+ .css-name { color: var(--key); }
2301
+ .css-punct { color: var(--faint); }
2302
+ s.css-decl, s.css-decl .css-var, s.css-decl .css-name { color: var(--faint); text-decoration: line-through; }
2303
+ .css-swatch {
2304
+ display: inline-block;
2305
+ width: 9px;
2306
+ height: 9px;
2307
+ margin-right: 4px;
2308
+ vertical-align: -1px;
2309
+ border-radius: 2px;
2310
+ box-shadow: inset 0 0 0 1px var(--line);
2311
+ }
2312
+ /* A custom property's name, which says what the element sees for it. It has
2313
+ no line at rest, and one under it while the pointer or the focus is on it. */
2314
+ .css-var {
2315
+ display: inline;
2316
+ white-space: normal;
2317
+ text-indent: 0;
2318
+ text-underline-offset: 2px;
2319
+ border-radius: 2px;
2320
+ }
2321
+ .css-var:hover, .css-var:focus-visible { text-decoration: underline dotted; }
2322
+ .css-group {
2323
+ justify-self: start;
2324
+ max-width: 100%;
2325
+ overflow: hidden;
2326
+ text-overflow: ellipsis;
2327
+ padding: 6px var(--view-end) 0 var(--view-start);
2328
+ font-size: 10.5px;
2329
+ color: var(--faint);
2330
+ border-radius: 4px;
2331
+ transition: color 120ms ease-out;
2332
+ }
2333
+ .css-group:hover { color: var(--fg); }
2334
+ /* The simple mode: what applies as one list, with no selector to stand
2335
+ under, so a line starts at the box's edge and wraps further in. A group's
2336
+ name is a label of the panel's, and what a custom property comes to is as
2337
+ quiet. */
2338
+ .css-applied {
2339
+ display: grid;
2340
+ grid-template-columns: minmax(0, 1fr);
2341
+ gap: 6px;
2342
+ padding-right: var(--view-end);
2343
+ padding-left: var(--view-start);
2344
+ }
2345
+ .css-applied .css-decl { padding-left: 12px; }
2346
+ .css-label { font-size: 10.5px; color: var(--faint); }
2347
+ .css-comes { color: var(--faint); }
2348
+ .css-hidden { padding: 2px var(--view-end) 2px var(--view-start); font-size: 10.5px; color: var(--faint); overflow-wrap: anywhere; }
2349
+
2350
+ /* The element's box, in a fold of the kit's: a picture of the element, so
2351
+ its areas are filled, each in the hue the page's own tint of it has, mixed
2352
+ into the panel's ground. The margin is a block as the css blocks are, 8,
2353
+ and the areas in it go down the scale, 4 and 2. An area is a grid of three
2354
+ by three: a length on each side, the next area in the middle, its name in
2355
+ the corner. A narrow one drops the lengths, and the line under it says
2356
+ those of the area the pointer or the focus is on. */
2357
+ .box-model { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 2px 0 6px; }
2358
+ .bm-ring {
2359
+ display: grid;
2360
+ grid-template-columns: minmax(22px, auto) minmax(0, 1fr) minmax(22px, auto);
2361
+ grid-template-rows: minmax(18px, auto) auto minmax(18px, auto);
2362
+ align-items: center;
2363
+ justify-items: center;
2364
+ min-width: 0;
2365
+ }
2366
+ .bm-ring:focus-visible { outline: 1px solid var(--faint); outline-offset: -1px; }
2367
+ .bm-ring > .bm-ring { grid-area: 2 / 2; justify-self: stretch; }
2368
+ .bm-name { grid-area: 1 / 1 / 2 / 3; justify-self: start; padding-left: 6px; font-size: 10px; color: var(--faint); }
2369
+ .bm-v, .bm-content, .bm-values, .bm-fact {
2370
+ font: 10.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2371
+ font-variant-numeric: tabular-nums;
2372
+ white-space: nowrap;
2373
+ }
2374
+ .bm-v { padding: 0 4px; }
2375
+ .bm-top { grid-area: 1 / 2; }
2376
+ .bm-left { grid-area: 2 / 1; }
2377
+ .bm-right { grid-area: 2 / 3; }
2378
+ .bm-bottom { grid-area: 3 / 2; }
2379
+ .bm-margin { background: ${e8("margin",30,"var(--bg)")}; border-radius: 8px; }
2380
+ .bm-border { background: ${e8("border",30,"var(--bg)")}; border-radius: 4px; }
2381
+ .bm-padding { background: ${e8("padding",30,"var(--bg)")}; border-radius: 2px; }
2382
+ .bm-content {
2383
+ display: block;
2384
+ padding: 4px 6px;
2385
+ overflow: hidden;
2386
+ text-align: center;
2387
+ text-overflow: ellipsis;
2388
+ background: ${e8("content",30,"var(--bg)")};
2389
+ }
2390
+ /* The offsets of an element that has none: nothing but the box in them. */
2391
+ .bm-position.off { display: block; }
2392
+ .bm-position.off > .bm-name, .bm-position.off > .bm-v { display: none; }
2393
+ .box-model.narrow .bm-ring {
2394
+ grid-template-columns: 8px minmax(0, 1fr) 8px;
2395
+ grid-template-rows: minmax(16px, auto) auto 8px;
2396
+ }
2397
+ .box-model.narrow .bm-v { display: none; }
2398
+ .bm-line { display: none; align-items: baseline; gap: 8px; padding: 0 var(--view-end) 0 var(--view-start); }
2399
+ .box-model.narrow .bm-line { display: flex; }
2400
+ .bm-line .bm-name { padding: 0; }
2401
+ .bm-values { white-space: pre; }
2402
+ .bm-facts { display: flex; flex-wrap: wrap; gap: 0 12px; padding: 0 var(--view-end) 0 var(--view-start); color: var(--faint); }
2403
+
2404
+ /* The requests view, in the panel. Its bar, its rows and its
2405
+ empty line are the kit's, and what is here is only what stands in them: the
2406
+ count at the bar's far end, and the cells of a row. A row a request, built
2407
+ as the panel's rows are: the method, or the kind's mark, where a row's icon
2408
+ is, the name where its label is, then the status and the time. The panel is
2409
+ as wide as the user drags it, 240 to 720, and only the name gives way or
2410
+ takes the room: the method, the status and the time each keep their width,
2411
+ so the columns line up down the list, and no row wraps.
2412
+ New rows go in at the top, and the view moves the scroll for them itself,
2413
+ so the browser's own scroll anchoring is off here: one of the two only.
2414
+ Color is in the text and the marks alone: a method in its own tone, a kind
2415
+ as a mark in the method's place, a status green in the 200s, amber in the
2416
+ 300s and hot from 400 up. Nothing is drawn around or behind any of them. */
2417
+ .req-count {
2418
+ flex: none;
2419
+ min-width: 20px;
2420
+ margin-left: auto;
2421
+ padding-right: var(--view-end);
2422
+ font-size: 11px;
2423
+ font-variant-numeric: tabular-nums;
2424
+ text-align: right;
2425
+ color: var(--faint);
2426
+ }
2427
+ .req-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; overflow-anchor: none; }
2428
+ .req-method { flex: none; width: 36px; overflow: hidden; font-size: 10.5px; color: var(--faint); }
2429
+ /* A mark sits mid row, where the text of the row is laid out by its baseline. */
2430
+ .req-method.mark { display: flex; align-self: center; }
2431
+ /* A mark keeps its kind's tone, where a row's icon is faint. */
2432
+ .req-method .glyph { color: inherit; }
2433
+ .req-get { color: var(--req-get); }
2434
+ .req-post { color: var(--req-post); }
2435
+ .req-put { color: var(--req-put); }
2436
+ .req-patch { color: var(--req-patch); }
2437
+ .req-delete { color: var(--req-delete); }
2438
+ .req-rest { color: var(--faint); }
2439
+ .req-image { color: var(--req-image); }
2440
+ .req-font { color: var(--req-font); }
2441
+ .req-media { color: var(--req-media); }
2442
+ /* The name is the row's label, in the text's own color and in mono, with all the room the row has left. */
2443
+ .req-name { flex: 1; min-width: 0; display: flex; font-family: var(--mono); font-size: 11px; color: inherit; }
2444
+ .req-path { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
2445
+ /* The query keeps its whole width while that leaves the path 64, and half the name's room at least. */
2446
+ .req-query {
2447
+ flex: none;
2448
+ max-width: max(50%, calc(100% - 64px));
2449
+ overflow: hidden;
2450
+ text-overflow: ellipsis;
2451
+ color: var(--faint);
2452
+ }
2453
+ .req-status { flex: none; width: 44px; font-variant-numeric: tabular-nums; text-align: right; }
2454
+ .req-time {
2455
+ flex: none;
2456
+ width: 40px;
2457
+ font-variant-numeric: tabular-nums;
2458
+ text-align: right;
2459
+ color: var(--faint);
2460
+ }
2461
+ /* What the page loads on its own, of which the browser tells less, is a step quieter. */
2462
+ .req-row.light { color: var(--faint); }
2463
+
2464
+ /* One request in full, under the head that is its way back. Its summary and
2465
+ its tabs are in the kit's bar, so they stay while the rest scrolls, and
2466
+ its sections, lists, code and bar are the kit's. What is here is only the
2467
+ cells of the summary, of the Status Code and of a stack's frames. Everything starts where
2468
+ the kit's lists do. The path is the main thing: it has the room, breaks
2469
+ anywhere and keeps to two lines, cut in its middle by the view. */
2470
+ .req-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
2471
+ .req-detail > .note { padding-top: 4px; padding-bottom: 4px; }
2472
+ .req-sum { flex: 1 1 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 2px var(--view-end) 2px var(--view-start); }
2473
+ .req-first, .req-second { display: flex; align-items: baseline; gap: 8px; }
2474
+ .req-verb { flex: none; font-size: 10.5px; }
2475
+ .req-verb.mark { display: flex; align-self: flex-start; align-items: center; height: 18px; }
2476
+ .req-url {
2477
+ flex: 1;
2478
+ min-width: 0;
2479
+ max-height: 36px;
2480
+ overflow: hidden;
2481
+ font-family: var(--mono);
2482
+ font-size: 11px;
2483
+ line-height: 18px;
2484
+ white-space: normal;
2485
+ word-break: break-all;
2486
+ }
2487
+ .req-stat { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2488
+ .req-status.ok, .req-stat.ok { color: var(--ok); }
2489
+ .req-status.moved, .req-stat.moved { color: var(--req-moved); }
2490
+ .req-status.hot, .req-stat.hot { color: var(--hot); }
2491
+ .req-status.idle, .req-stat.idle { color: var(--faint); }
2492
+ .req-took { flex: none; font-variant-numeric: tabular-nums; color: var(--faint); }
2493
+ .req-host {
2494
+ flex: 1;
2495
+ min-width: 0;
2496
+ overflow: hidden;
2497
+ text-overflow: ellipsis;
2498
+ white-space: nowrap;
2499
+ font-family: var(--mono);
2500
+ font-size: 11px;
2501
+ text-align: right;
2502
+ color: var(--faint);
2503
+ }
2504
+ .req-body, .req-response { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
2505
+ /* The Status Code: a dot in the status's tone, a mark in its text, then the code in the text's color. */
2506
+ .req-code { display: inline-flex; align-items: baseline; gap: 6px; }
2507
+ .req-dot { font-size: 9px; }
2508
+ /* The browsers' warning over Request Headers, its mark amber. */
2509
+ .req-warn { display: flex; gap: 6px; padding: 0 var(--view-end) 0 var(--view-start); font-size: 11px; }
2510
+ .req-warn-mark { color: var(--req-moved); }
2511
+ /* A frame a line: the function in the text's color, then where it is, quiet, which a press copies. */
2512
+ .req-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 0 var(--view-end) 0 var(--view-start); font-family: var(--mono); font-size: 11px; }
2513
+ .req-frame { display: flex; align-items: baseline; gap: 8px; }
2514
+ .req-fn { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
2515
+ .req-where { flex: 0 1 auto; min-width: 32px; margin-left: auto; overflow: hidden; text-overflow: ellipsis; color: var(--faint); text-decoration: underline; text-underline-offset: 2px; }
2516
+ /* Preview: an image as itself on a card, its size under it, and html drawn in a frame on white, as a page is. */
2517
+ .req-shot { display: grid; justify-items: start; gap: 4px; padding: 0 var(--view-end) 0 var(--view-start); }
2518
+ .req-picture { display: block; max-width: 100%; max-height: 320px; object-fit: contain; background: var(--card); border-radius: 4px; }
2519
+ .req-natural { font-family: var(--mono); font-size: 11px; font-variant-numeric: tabular-nums; }
2520
+ .req-html { all: unset; display: block; width: 100%; height: 320px; background: #ffffff; border-radius: 8px; color-scheme: light; }
2521
+ /* The initiator chain: an address a line, each a step in from what loaded it, the request itself in the text's color. */
2522
+ .req-chain { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 0 var(--view-end) 0 var(--view-start); font-family: var(--mono); font-size: 11px; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
2523
+ .req-link { color: var(--faint); }
2524
+ .req-link.self { color: inherit; }
2525
+ /* Timing: when, then a phase a line with its bar on a track of the whole and its time, and the total under them. */
2526
+ .req-timing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
2527
+ .req-when { padding: 0 var(--view-end) 0 var(--view-start); font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
2528
+ .req-dur { flex: none; padding-right: var(--col-pad); font-size: 10px; letter-spacing: 0.04em; color: var(--faint); }
2529
+ .req-phases {
2530
+ display: grid;
2531
+ grid-template-columns: minmax(0, 1.4fr) minmax(32px, 1fr) auto;
2532
+ align-items: center;
2533
+ gap: 2px 8px;
2534
+ padding: 0 var(--view-end) 0 var(--view-start);
2535
+ font-size: 11px;
2536
+ }
2537
+ .req-total { padding-left: calc(var(--view-start) + var(--col-step)); }
2538
+ .req-ms { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
2539
+ .req-track { position: relative; height: 8px; }
2540
+ .req-span { position: absolute; top: 0; bottom: 0; min-width: 1px; border-radius: 1px; background: var(--faint); }
2541
+ .req-span.dns { background: var(--req-patch); }
2542
+ .req-span.connect { background: var(--req-put); }
2543
+ .req-span.ssl { background: var(--req-post); }
2544
+ .req-span.wait { background: var(--ok); }
2545
+ .req-span.download { background: var(--req-get); }
2546
+ /* Cookies: a cookie under another, each its fields in the table's words. */
2547
+ .req-cookie + .req-cookie { margin-top: 6px; }
2548
+ /* EventStream: a message a line under a head that names the columns, its data in mono and wrapping anywhere. */
2549
+ .req-events {
2550
+ display: grid;
2551
+ grid-template-columns: auto auto minmax(0, 1fr) auto;
2552
+ gap: 2px 8px;
2553
+ padding: 0 var(--view-end) 0 var(--view-start);
2554
+ font-size: 11px;
2555
+ }
2556
+ .req-event { display: contents; }
2557
+ .req-event-head > .req-cell { font-size: 10.5px; color: var(--faint); }
2558
+ .req-event > .req-cell:nth-last-child(2) { font-family: var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
2559
+ .req-event > .req-cell:last-child { font-variant-numeric: tabular-nums; color: var(--faint); }
2560
+
2561
+ /* The lists of the storage view, a row under a row as the panel's rows are. */
2562
+ .st-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; }
2563
+
2564
+ /* The pinned panel: a column the window's height, flush with its edge and
2565
+ square, the one hairline it keeps on the page's side. The top and bottom
2566
+ borders go, and the padding there pays for them, so nothing in it moves
2567
+ across. What it shows takes all the height there is, the rows, the
2568
+ settings or a feature's view, and scrolls in it, with the footer at the
2569
+ bottom. The window sets its height, so a slide between the views eases
2570
+ none. Dragged off its edge it is still a column, square all round. */
2571
+ .wrap[data-dock="true"] .panel {
2572
+ height: 100vh;
2573
+ height: 100dvh;
2574
+ max-height: none;
2575
+ padding-top: 5px;
2576
+ padding-bottom: 5px;
2577
+ border-top-width: 0;
2578
+ border-bottom-width: 0;
2579
+ border-radius: 0;
2580
+ }
2581
+ .wrap[data-dock="true"] .body,
2582
+ .wrap[data-dock="true"] .home,
2583
+ .wrap[data-dock="true"] .view,
2584
+ .wrap[data-dock="true"] .keys { flex: 1 1 auto; }
2585
+ .wrap[data-dock="true"] .body[data-slide] { transition: none; }
2586
+ .wrap[data-dock="true"] .view { height: auto; }
2587
+ .wrap[data-dock="true"] .keys {
2588
+ min-height: 0;
2589
+ align-content: start;
2590
+ overflow-x: hidden;
2591
+ overflow-y: auto;
2592
+ overscroll-behavior: contain;
2593
+ scrollbar-width: thin;
2594
+ scrollbar-color: var(--line) transparent;
2595
+ }
2596
+ .wrap[data-dock="true"]:is([data-mode="results"], [data-mode="browse"]) .rows {
2597
+ max-height: 40vh;
2598
+ max-height: 40dvh;
2599
+ }
2600
+ /* The pinned column slides by the panel alone, where the panel puts it each
2601
+ frame: out, sliding off its edge by whole px, or away, all the way off it.
2602
+ The wrapper stays where it is, still the box the handle and the tooltip
2603
+ are placed in, so the handle does not ride the column. The panel shows for
2604
+ as long as it is not away, and not by the clock, so the page's frame
2605
+ always has the edge that shows to keep to. */
2606
+ .wrap[data-dock="true"],
2607
+ .wrap[data-dock="true"][data-side="left"],
2608
+ .wrap[data-dock="true"][data-handle="hidden"][data-open="false"],
2609
+ .wrap[data-dock="true"][data-handle="hidden"][data-open="false"][data-side="left"] {
2610
+ visibility: visible;
2611
+ transform: translateX(0);
2612
+ }
2613
+ .wrap[data-dock="true"] .panel { visibility: visible; }
2614
+ .wrap[data-dock="true"][data-column="sliding"] .panel { transform: translateX(var(--column-away, 0px)); }
2615
+ .wrap[data-dock="true"][data-column="away"] .panel { transform: translateX(100%); }
2616
+ .wrap[data-dock="true"][data-column="away"][data-side="left"] .panel { transform: translateX(-100%); }
2617
+ /* Away and closed it hides, so a drag of the handle carries none of it into
2618
+ the window. One that opens shows from the start, to take the focus. */
2619
+ .wrap[data-dock="true"][data-open="false"][data-column="away"] .panel { visibility: hidden; }
2620
+ /* Open, the pinned panel shows no handle: its edge on the page's side is the
2621
+ strip that changes its width, and the controls by the pin close it and
2622
+ take it across. Closed, the handle sits at the window's edge, over the
2623
+ page and out of the column's flow, so it takes no room from either. It
2624
+ comes in from the edge once the column is away, and goes off it under the
2625
+ column that comes out, and takes no pointer on its way. */
2626
+ .wrap[data-dock="true"] .handle { display: none; }
2627
+ .wrap[data-dock="true"]:is([data-handle-at="edge"], [data-handle-at="sliding"]) .handle {
2628
+ display: flex;
2629
+ position: absolute;
2630
+ top: 0;
2631
+ right: 0;
2632
+ margin: 0;
2633
+ }
2634
+ .wrap[data-dock="true"][data-side="left"]:is([data-handle-at="edge"], [data-handle-at="sliding"]) .handle {
2635
+ right: auto;
2636
+ left: 0;
2637
+ }
2638
+ .wrap[data-dock="true"][data-handle-at="sliding"] .handle {
2639
+ z-index: 0;
2640
+ transform: translateX(calc(100% * var(--handle-away, 0)));
2641
+ pointer-events: none;
2642
+ }
2643
+ /* Down a pinned panel the hairline runs the window's height, as its border does. */
2644
+ .wrap[data-dock="true"] .sizer::after { top: 0; bottom: 0; }
2645
+ /* While it is dragged the strip covers the window, so every move of the drag
2646
+ comes to it, over the page and a frame in it, whatever the capture does. */
2647
+ .wrap[data-sizing="true"] .sizer::before {
2648
+ content: "";
2649
+ position: absolute;
2650
+ top: -100vh;
2651
+ right: -100vw;
2652
+ bottom: -100vh;
2653
+ left: -100vw;
2654
+ }
2655
+ `;g1();var Le="position:fixed;top:0;z-index:2147483646;pointer-events:none";function Ne($){let j=(J,Q)=>{let Z=FJ(Q.trim(),"prefers-color-scheme",$.scheme);return`@media ${FJ(Z,"prefers-reduced-motion",$.motion)} {`};return uU.replace(/@media ([^{]+)\{/g,j).replaceAll("color-scheme: light dark",`color-scheme: ${$.scheme}`)}function yw($={}){let j=$.keys??GX(),J=gf({handle:$.handle}),Q=$.grab??null,Z=$.inspect??null,X=YP();P0.grab=Q,P0.inspect=Z;let V={toggle(){if(h.searching())h.leaveSearch(),_.focus({preventScroll:!0});$0.toggle()},shows:()=>$0.shows(),close:()=>$0.close()};P0.requests=V;let Y=kw();P0.storage=Y;let q=()=>t.flip();P0.flip=q;let C=AR(),G=u$.filter((d)=>(d!=="grab"||Q!==null)&&(d!=="inspect"||Z!==null)),W=document.createElement("div");W.setAttribute("data-devknobs","panel"),W.style.cssText=Le;let K=W.attachShadow({mode:"open"}),H=y1(K,""),B=jJ((d)=>{H.textContent=d?Ne(d):uU}),z=T("div","wrap"),M=z0("handle","knobs");M.title="drag to move · shift-drag moves the handle";let U=T("div","panel"),F=T("label","head");t6(F,"flush");let P=document.createElement("input");P.className="search",P.placeholder="search knobs",P.autocomplete="off",P.spellcheck=!1,P.setAttribute(xW,""),P.setAttribute("role","combobox"),P.setAttribute("aria-label","find a knob"),P.setAttribute("aria-autocomplete","list"),P.setAttribute("aria-controls","devknobs-results"),P.setAttribute("aria-expanded","false");let D=z0("search-close","");D.append(A0("x")),D.tabIndex=-1,D.setAttribute("aria-label","close the search"),F.append(P,D);let _=z0("add","");_.append(A0("plus"),"add knob");let S=T("div","body"),f=T("div","empty","nothing emulated"),L=T("div","rows"),I=T("div","results");I.id="devknobs-results",I.setAttribute("role","listbox"),I.setAttribute("aria-label","knobs"),t6(I,"flush");let N=T("div","said");N.setAttribute("aria-live","polite");let A=T("div","home pane");t6(A,"rows"),A.append(L,f,_,F,I);let E=IE(j,Q,X,Z),{foot:b,badge:w,hints:g,keysToggle:c,pin:v,collapse:O}=E,m=T("div","tip");m.setAttribute("aria-hidden","true");let k=Tf(m,z);v.addEventListener("click",$Z),k.tooltip(v,()=>MR(C0().panel.docked,document.documentElement.clientWidth||window.innerWidth)),E.flip.addEventListener("click",q),k.tooltip(E.flip,jZ),O.addEventListener("click",()=>_0(!1)),k.tooltip(O,()=>FR(t2(j.get().panel,X)));let l=mb({keys:j,prefs:J,grab:Q,inspect:Z,mac:X,bindingsHere:G,keysToggle:c,said:N,tips:k,render:F0,renderKeys:o,handleShown:a,showHandle:()=>X1({panel:{handle:!0}}),native:t8()?.setting??null,setNative:(d)=>{t8()?.setting.change(d),t9(d,null)},searching:()=>h.searching(),leaveSearch:()=>h.leaveSearch()}),R=NE({root:K,home:_,tips:k,openPanel:()=>{if(!C0().panel.open)_0(!0)},uncover:()=>{h.clear(),l.stopRecording(),l.setEditing(!1)},render:F0});S.append(A,R.node,l.view,N);let y=hb(S,{home:A,view:R.node,keys:l.view},R.landed),i=()=>R.view()!==null&&!l.editing(),n=wf({host:W,wrap:z,panel:U,prefs:J,showing:()=>i()?"view":"list",place:()=>C0().panel,wide:yI,sized:_N}),$0=Eb({said:N}),X0=jE({wrap:z,panel:U,clock:()=>performance.now(),still:A2,frame:(d)=>window.requestAnimationFrame(d),drop:(d)=>window.cancelAnimationFrame(d)}),M0=gI((d,q0)=>{let O0=X0.draw(q0),l0=eO(z,U,d,document.documentElement.clientWidth||window.innerWidth);return O0?{...l0,moving:!0}:l0}),T0=CW(()=>!X0.resting()||tO(z));U.append(S,b,n.strip),z.append(M,U,m),K.append(z);let x=yb({root:K,rows:L,said:N,tips:k,render:F0,dragging:()=>t.dragging(),mac:X}),h=Of({root:K,wrap:z,slide:y,searchInput:P,closeSearch:D,add:_,results:I,rows:x,actionsHere:C,render:F0,editingKeys:()=>l.editing(),viewing:i,dropKeys:()=>{l.stopRecording(),l.setEditing(!1),R.drop()}}),t=zE({host:W,wrap:z,handle:M,panel:U,render:F0,toggle:_0}),{layout:J0}=t,G0=null;function N0(d){let q0=D1(d);if(!q0)G0=null;return{now:X4(),real:r0(),overflow:q0?G0:wJ()}}function F0(){let d=C0(),q0=d.panel.open;z.dataset.open=q0?"true":"false";let O0=a();z.dataset.handle=O0?"shown":"hidden",l.drawHandle(O0);let l0=t8();if(l0)l.drawNative(l0.on,l0.note);X0.aim({docked:d.panel.docked,side:d.panel.side,open:q0,handle:O0}),U.toggleAttribute("inert",!q0),M.setAttribute("aria-expanded",q0?"true":"false"),E.drawPin(d.panel.docked);let i0=N0(d),x1=x.renderRows(d,i0),x4=d.overflow&&i0.overflow!==null&&i0.overflow>0;x.viewOf("debug")?.value.classList.toggle("hot",x4),f.hidden=x1,L.hidden=!x1;let Qj=g.get("reset");if(Qj)Qj.disabled=sO(d);w.textContent=_E(d.overflow,i0.overflow),w.hidden=w.textContent==="",w.classList.toggle("hot",x4),n.size(()=>h.renderBody(d)),o(),J0()}function a(){return J.get().handle&&C0().panel.handle}function o(){let d=j.get();M.setAttribute("aria-label",`devknobs, press ${KZ(d.panel)}`),E.drawKeys(d),l.drawKeys(d),x.drawKeys(d)}function Q0(){let d=C0();if(!d.panel.open)return;let q0=N0(d);x.tick(d,q0)}let K0=null;function _0(d){let q0=C0().panel.open,O0=d??!q0,l0=!1;if(!O0){h.clear(),l.setEditing(!1),l.stopRecording(),k.hide();let i0=K.activeElement;if(i0 instanceof HTMLElement){l0=!0,i0.blur();let x1=K0,x4=x1!==M||a();if(x1 instanceof HTMLElement&&x1!==document.body&&x1.isConnected&&x4)x1.focus({preventScroll:!0})}K0=null}else if(!q0){let i0=document.activeElement;while(i0?.shadowRoot?.activeElement)i0=i0.shadowRoot.activeElement;K0=i0}if(X1({panel:{open:O0}}),!O0||q0)return l0;if(!R.focus())_.focus({preventScroll:!0});return!0}function f0(){x.clearOpen(),P.value="";for(let d of C)f7(d);e9()}function b0(d){let q0=K.activeElement;if(d&&!(q0&&R.node.contains(q0)))h.onGrab(d)}function u0(d){return C.find((q0)=>q0.id===d)}function Y1(d){if(d==="panel")_0(!1);else if(d==="search")h.startBrowsing();else if(d==="reset")f0();else{let q0=u0(d);if(q0)p$(q0)}}for(let[d,q0]of g)q0.addEventListener("click",()=>Y1(d));function w0(){l.stopRecording(),x.endReorder(!1),t.cancel(),n.cancel()}let{onPointerDown:S0,onPointerUp:R0}=h;function j1(d){if(d==="zoom-in"||d==="zoom-out"||d==="zoom-fit"){$W(d);return}if(t.dragging())return;if(d==="toggle"){_0();return}if(d==="storage"){u0("storage")?.run();return}if(!C0().panel.open)return;if(d==="replay"||d==="requests")u0(d)?.run();else if(d==="reset")Y1("reset");else if(d==="search")h.startBrowsing();else _0(!1)}function I0(){if(t.dragging()||!C0().panel.open)return;if(x.reordering()){x.endReorder(!1);return}let d=K.activeElement,q0=d instanceof HTMLInputElement&&d.classList.contains("filter")&&!R.node.contains(d)?d:null,O0=x.openRow(),l0=O0?x.viewOf(O0):void 0,i0=wR({search:h.searching(),filter:q0!==null&&q0.value!=="",keys:l.editing(),view:R.view()!==null,editor:d!==null&&l0!==void 0});if(i0==="search"){let x1=d===P;if(h.leaveSearch(),x1)_.focus({preventScroll:!0})}else if(i0==="filter"&&q0)q0.value="",q0.dispatchEvent(new Event("input"));else if(i0==="keys")l.leaveKeys();else if(i0==="view")R.escape();else if(i0==="editor"&&l0)x.openEditor(null),l0.main.focus();else if(i0==="panel")_0(!1)}function o1(d){if(l.recordingKey(d))return;if(d.key==="Escape"&&k.hide()){d.preventDefault();return}let q0=yW(d);if(q0&&$W(q0)){d.preventDefault(),d.stopPropagation();return}let O0=wW(d,j.get()),l0=O0!==null&&O0!=="close"&&!t.dragging()&&(O0==="toggle"||O0==="storage"||C0().panel.open),i0=d.composedPath()[0]===P;if(l0||O0&&O0!=="close"&&i0)d.preventDefault();if(O0==="close")I0();else if(O0)j1(O0);if(O0||t.dragging()||x.reordering()||!C0().panel.open)return;let x1=d.composedPath(),x4=x1.includes(U)&&!x1.includes(R.node)?bR(d):null;if(x4===null&&!kW(d))return;d.preventDefault(),d.stopPropagation(),h.startBrowsing(x4??"")}function h2(d){let q0=$2(d,b2(),window.location.origin);if(q0?.type==="key")j1(q0.action);else if(q0?.type==="overflow")G0=q0.count,F0()}function Y8(){n.fit(),J0("edge")}let q3=window.setInterval(Q0,1000),Q4=a2(F0),C3=j.subscribe(o),p=J.subscribe(F0),j0=Q?.subscribe(h.onGrab),V0=Z?.subscribe(b0),B0=Z?jf({inspect:Z,tips:k,prefs:J,key:()=>{let d=j.get().inspect;return d?t2(d,X):""}}):null;P0.inspector=B0;let U0=C.flatMap((d)=>d.watch?.(F0)??[]),r=kJ(F0);window.addEventListener("keydown",o1,!0),window.addEventListener("pointerdown",S0,!0),window.addEventListener("pointerup",R0,!0),window.addEventListener("pointercancel",R0,!0),window.addEventListener("message",h2),window.addEventListener("resize",Y8),window.addEventListener("blur",w0);let Z0=new ResizeObserver(()=>J0());Z0.observe(U);function Y0(){if(document.body&&W.parentNode!==document.body)document.body.append(W)}if(F0(),(document.body??document.documentElement).append(W),!document.body)document.addEventListener("DOMContentLoaded",Y0,{once:!0});let H0=p9(W);return J0("edge"),{destroy(){if(l.stopRecording(),Q4(),B(),C3(),!$.keys)j.destroy();p(),J.destroy(),j0?.(),V0?.();for(let d of U0)d();if(P0.grab===Q)P0.grab=null;if(P0.inspect===Z)P0.inspect=null;if(P0.requests===V)P0.requests=null;if(Y.destroy(),P0.storage===Y)P0.storage=null;if(P0.flip===q)P0.flip=null;if(P0.inspector===B0)P0.inspector=null;r(),clearInterval(q3),k.destroy(),l.destroy(),R.destroy(),B0?.destroy(),y.destroy(),x.destroy(),window.removeEventListener("keydown",o1,!0),window.removeEventListener("pointerdown",S0,!0),window.removeEventListener("pointerup",R0,!0),window.removeEventListener("pointercancel",R0,!0),window.removeEventListener("message",h2),window.removeEventListener("resize",Y8),window.removeEventListener("blur",w0),Z0.disconnect(),M0(),T0(),X0.destroy(),document.removeEventListener("DOMContentLoaded",Y0),H0(),W.remove()}}}h5();var _V=null,IV=null,Y3=null,mU=null,pU=null,E4=null,DV=null,vw=3,gw=0;function LV($={}){if(_V||IV)return;let j=$.host?null:qX(window);if(j){DV=j,j.adopt($);return}if(_R(),$.host)QB(window,Jj,Re,cU);else QB(window,Jj);wO(window,cU),GW($),E4=$,hw($)}function hw($){let j=GX({hotkey:$.hotkey,grabKey:$.grabKey,grab:$.grab!==!1});if(pU=j,$.grab!==!1)Y3=sZ({key:()=>j.recording?null:j.get().grab});let J=KS({key:()=>j.recording?null:j.get().inspect});if(mU=J,Y3)WS(Y3,J);if(_1()){IV=yR(j.get,()=>C0().panel.open);return}uw($),_V=yw({keys:j,grab:Y3,inspect:J,handle:$.handle})}function uw($){if($.open!==void 0)X1({panel:{open:$.open}});if($.grabColor!==void 0)X1({grabColor:$.grabColor})}function mw(){_V?.destroy(),_V=null,Y3?.destroy(),Y3=null,mU?.destroy(),mU=null,IV?.(),IV=null,pU?.destroy(),pU=null}function Re($){if(!E4)return;let j=SO($),J=["hotkey","grabKey","grab"].some((Q)=>j[Q]!==void 0&&j[Q]!==E4?.[Q]);if(E4={...E4,...j},!J){if(!_1())uw(j);return}mw(),hw(E4)}function Jj(){if(DV=null,xO(window,Jj))return;mw();let $=E4?.host?t8():null;WW(),yO(window,cU),fO(window,Jj);let j=E4;if(E4=null,j?.host)queueMicrotask(()=>Ae(j,$))}function Ae($,j){if(E4||!EO(window)||qX(window))return;if(gw++>=vw){if(gw===vw+1)console.warn("devknobs: this page runs its own copy of devknobs, which does not know hosts; it keeps the page");return}if(j&&!j.on)t9(!1,j.note);LV($)}function M5($){if(!DV)return null;let j=qX(window);if(!j?.api||j.release!==DV.release)return null;let J=Reflect.get(j.api,$);return typeof J==="function"?J:null}function Te(){return(M5("getState")??C0)()}function Se($){let j=M5("setState");if(j)return j($);return WZ($),X1($)}function Oe(){(M5("reset")??e9)()}function Ee(){(M5("replay")??$7)()}function xe(){return(M5("ready")??qW)()}function fe(){return(M5("describe")??qZ)()}async function be($,j){let J=M5("grab");if(J)return J($,j);return(await Promise.resolve().then(() => (rZ(),iZ))).grab($,j)}var cU={mount:LV,unmount:Jj,getState:Te,setState:Se,reset:Oe,replay:Ee,grab:be,describe:fe,ready:xe};var pw=document.currentScript;jF(pw instanceof HTMLScriptElement?pw.src:"");kO(window);LV();})();