@apisurf/wireui 0.1.2 → 0.1.4

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 (51) hide show
  1. package/README.md +42 -26
  2. package/bin/wireui.mjs +1 -1
  3. package/dist/nitro.json +1 -1
  4. package/dist/public/assets/environments-CpzEnLw2.js +1 -0
  5. package/dist/public/assets/feed-B8L4GK9D.js +1 -0
  6. package/dist/public/assets/globals-D_ltS-iC.css +1 -0
  7. package/dist/public/assets/history-BIXZHMWn.js +1 -0
  8. package/dist/public/assets/index-3VfD7Ktf.js +11 -0
  9. package/dist/public/assets/kv-table-Dv6o68aD.js +2 -0
  10. package/dist/public/assets/preload-helper-CIs162tl.js +3 -0
  11. package/dist/public/assets/query-DpztusaI.js +19 -0
  12. package/dist/public/assets/requests._requestId-Byq4gM_2.js +1 -0
  13. package/dist/public/assets/rolldown-runtime-CbXtAM7H.js +1 -0
  14. package/dist/public/assets/routes-C9SXJh8z.js +1 -0
  15. package/dist/public/assets/runs._runId-CMFvexqY.js +1 -0
  16. package/dist/public/assets/scoped-CiNsRvyC.js +1 -0
  17. package/dist/public/assets/session-header-DMR_hFkk.js +1 -0
  18. package/dist/public/assets/sessions-C-F6Wmmg.js +1 -0
  19. package/dist/public/assets/split-Ddiw3mOT.js +1 -0
  20. package/dist/public/assets/tabs-C1EijW_Z.js +2 -0
  21. package/dist/server/_ssr/{api-Dw1Zb_PK.mjs → api-DUem3i24.mjs} +28 -17
  22. package/dist/server/_ssr/environments-BFBtf7iL.mjs +146 -0
  23. package/dist/server/_ssr/feed-BgweoqQ4.mjs +108 -0
  24. package/dist/server/_ssr/history-57VNXvbE.mjs +195 -0
  25. package/dist/server/_ssr/{kv-table-DQUkoItO.mjs → kv-table-BONnSOLb.mjs} +2 -2
  26. package/dist/server/_ssr/{router-CPcgc_kh.mjs → prefs-iPvYd_Vz.mjs} +246 -1551
  27. package/dist/server/_ssr/{query-D4so9xiY.mjs → query-D6nNoSN3.mjs} +7 -6
  28. package/dist/server/_ssr/{requests._requestId-BFukRwqL.mjs → requests._requestId-bXoTBGVj.mjs} +7 -23
  29. package/dist/server/_ssr/router-ClsXvW-b.mjs +1068 -0
  30. package/dist/server/_ssr/{routes-DaV9vGHn.mjs → routes-CrmwJhiA.mjs} +18 -8
  31. package/dist/server/_ssr/runs._runId-DM5Y8e6b.mjs +850 -0
  32. package/dist/server/_ssr/{scoped-CnQ56K8h.mjs → scoped-CNX8KOhL.mjs} +2 -2
  33. package/dist/server/_ssr/session-header-BYy6LaSU.mjs +153 -0
  34. package/dist/server/_ssr/{collections-CqidTQpw.mjs → sessions-wsD0b1zm.mjs} +35 -72
  35. package/dist/server/_ssr/{split-DWrMIs7K.mjs → split-qGbYHKc9.mjs} +2 -2
  36. package/dist/server/_ssr/ssr.mjs +10 -14
  37. package/dist/server/_tanstack-start-manifest_v-Ag2qLfrP.mjs +79 -0
  38. package/dist/server/index.mjs +100 -51
  39. package/package.json +8 -6
  40. package/dist/public/assets/collections-CLHcfRfi.js +0 -1
  41. package/dist/public/assets/globals-CZiNFGaK.css +0 -1
  42. package/dist/public/assets/index-D5VFd_3H.js +0 -14
  43. package/dist/public/assets/kv-table-oB5gcq0i.js +0 -2
  44. package/dist/public/assets/query-BKAhHNIi.js +0 -19
  45. package/dist/public/assets/requests._requestId-Bu7E2eoI.js +0 -1
  46. package/dist/public/assets/routes-DDY2CfzA.js +0 -1
  47. package/dist/public/assets/runs._runId-CzwtVjYq.js +0 -1
  48. package/dist/public/assets/scoped-DB8raIWx.js +0 -1
  49. package/dist/public/assets/split-Br1RX2I4.js +0 -1
  50. package/dist/server/_ssr/runs._runId-Df_LmPHa.mjs +0 -836
  51. package/dist/server/_tanstack-start-manifest_v-CARKjHfs.mjs +0 -50
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # wireui
2
2
 
3
3
  A local, read-only browser UI for a database recorded by
4
- [wire](https://github.com/apisurf/wire), laid out like an API client: collections
4
+ [wire](https://github.com/apisurf/wire), laid out like an API client: sessions
5
5
  down the left, open tabs across the top, and each request shown the way Postman
6
6
  or Insomnia shows one, with the request on one side and the response on the other.
7
7
  Nothing can be sent or edited. It is a window onto what your scripts already did.
@@ -55,29 +55,35 @@ once a run writes to it.
55
55
  ```
56
56
  ┌ wireui / wire.sqlite [All environments ▾] [● Live] ⟳ ◫ ☾ ┐
57
57
  ├──────┬──────────────────────┬────────────────────────────────────────┤
58
- │ ▣ │ Collections │ GET /products × checks.ts #6 × SQL × │
59
- │ Coll │ scripts/api/ ├────────────────────────────────────────┤
60
- │ ◷ │ ▾ catalog.ts 2 │ GET https://dummyjson.com/products │
61
- │ Hist │ ▾ ● 18:09 1.67 s ├───────────────────┬────────────────────┤
62
- │ ◎ │ GET /products │ Params Headers │ 200 OK 183 ms 1 kB │
63
- │ Envs │ GET /products/1 │ limit 20 │ Body Headers Time… │
64
- │ ⌂ ⛁ │ ▸ checks.ts ● 1 │ skip 20 │ { "products": [ … │
65
- └──────┴──────────────────────┴───────────────────┴────────────────────┘
58
+ │ ⌂ │ Sessions ‹ │ Overview × checks.ts #6 × History × │
59
+ │ Over │ scripts/api/ ├────────────────────────────────────────┤
60
+ │ ◷ │ catalog.ts 2 │ checks.ts Failing scripts/checks.ts │
61
+ │ Hist │ checks.ts ● 1 │ ● Run #6 1 failed check ‹ › │
62
+ │ ◎ │ scripts/streams/ │ │Wall time│Requests│Failed│Checks 11/12│ │
63
+ │ Envs │ sse.ts 1 │ Timeline Requests Checks Details │
64
+ │ ⛁ │ websocket.ts 1 ├────────────────────────────────────────┤
65
+ └──────┴──────────────────────┴────────────────────────────────────────┘
66
66
  ```
67
67
 
68
- **The sidebar** has three panels, the ones an API client has:
68
+ **The sidebar** is the session list: every script is a session, grouped by
69
+ the folder it lives in, relative to the database, with its run count and a red
70
+ dot when its latest run failed. Its runs are on its page, and a run's requests on
71
+ the run's. The chevron in its header collapses it to a slim strip; click the
72
+ strip to expand it again.
69
73
 
70
- - **Collections.** Every script is a collection, its runs are folders, and each
71
- run's requests are the items. Scripts are grouped by the folder they live in,
72
- relative to the database.
74
+ **The rail** opens pages, each in a tab like any other:
75
+
76
+ - **Overview** and **SQL**, below.
73
77
  - **History.** Every request across every run, newest first, under day headings.
74
78
  Search by URL, method or status, narrow to HTTP, WebSocket/SSE or failures, and
75
79
  turn on **In payloads** to search request and response bodies through the FTS
76
- index.
77
- - **Environments.** The `--env` each run was recorded against. Picking one scopes
78
- the tree, History, the overview and every collection to it; so does the picker in
79
- the top bar. wire records the environment's name, not its variables, so this
80
- panel switches scope and does not edit anything.
80
+ index. Its filters are kept in the URL, so its tab reopens on the same view.
81
+ `/` focuses its search box there, and the session filter elsewhere.
82
+ - **Environments.** The `--env` each run was recorded against, with its runs,
83
+ sessions and failures. Picking one scopes the sessions, History, the
84
+ overview and every session page to it; so does the picker in the top bar.
85
+ wire records the environment's name, not its variables, so this page switches
86
+ scope and does not edit anything.
81
87
 
82
88
  **Tabs** work the way they do in an API client. A single click opens a _preview_
83
89
  tab (italic), which the next single click reuses; double-click a tab or a sidebar
@@ -97,18 +103,28 @@ WebSocket and SSE connections open on **Messages** instead: every frame or event
97
103
  in order, filterable by direction, with the selected payload shown below. `[` and
98
104
  `]` step to the previous or next request in the run and keep the same pane open.
99
105
 
100
- **A run** reads like collection-runner results. The summary shows the verdict,
101
- wall time, failed requests, checks and bytes. The tabs are:
102
-
103
- - **Requests**, on one timeline with a waterfall and the run's `check()`/`assert()`
104
- results interleaved at the moment they were made
106
+ **A run** opens under its session's header, in one tinted band with it whose
107
+ edge takes the run's colour, and reads like collection-runner results. The band
108
+ shows the verdict, and a strip of wall time, requests, failed requests, checks
109
+ and bytes; the script's name goes back to the
110
+ session. `[` and `]` step to the previous or next run of the same script and keep
111
+ the same tab open. The tabs are:
112
+
113
+ - **Timeline**: every request on one waterfall, with the run's
114
+ `check()`/`assert()` results interleaved at the moment they were made, each
115
+ marked CHECK or ASSERT where a request shows its method
116
+ - **Requests**: the same table with the requests alone, under the run's
117
+ p50/p95/p99 and status mix. With more than one host, each host is a chip
118
+ (calls, errors) that narrows the table to it; **Slowest first** sorts it by
119
+ duration
105
120
  - **Checks**
106
- - **Insights**: p50/p95/p99, status mix, per-host breakdown, slowest calls
107
121
  - **Details**: run metadata, tags, and the snippet for inline runs
108
122
 
109
- **A collection** is one script across all its runs:
123
+ **A session** is one script across all its runs. Its header — the script, its
124
+ path, how its latest run went — stays put above its tabs and above any run of it:
110
125
 
111
- - **Runs**, with a wall-time bar for each run so regressions stand out
126
+ - **Runs**, with a wall-time bar for each run so regressions stand out; a row
127
+ opens that run
112
128
  - **Requests**: the endpoints it calls, one row each, with call count, error count
113
129
  and last status
114
130
  - **Checks**: each assertion's pass rate over time
package/bin/wireui.mjs CHANGED
@@ -36,7 +36,7 @@ const USAGE = `wireui — browse a recorded wire.sqlite in your browser.
36
36
  Usage
37
37
  wireui [options]
38
38
 
39
- Serves a prebuilt web UI over one recording: collections of scripts, their runs,
39
+ Serves a prebuilt web UI over one recording: sessions of scripts, their runs,
40
40
  every request with its headers, payloads and timings, WebSocket frames, SSE
41
41
  events and checks, plus a read-only SQL console. Binds to 127.0.0.1 only and
42
42
  opens the database read-only, so it is unreachable from the network and cannot
package/dist/nitro.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "date": "2026-09-26T22:52:53.907Z",
2
+ "date": "2026-10-06T09:58:40.924Z",
3
3
  "preset": "node-server",
4
4
  "framework": {
5
5
  "name": "nitro",
@@ -0,0 +1 @@
1
+ import{B as e,Dt as t,O as n,Ot as r,S as i,U as a,V as o,Vt as s,dt as c,jt as l,n as u,o as d,r as f,u as p,x as m}from"./tabs-C1EijW_Z.js";import{d as h,l as g,u as _}from"./index-3VfD7Ktf.js";import{r as v}from"./feed-B8L4GK9D.js";var y=s(),b=l(`__root__`);function x(){f({key:u.environments(),title:`Environments`,icon:`environments`});let s=h(),l=b.useLoaderData(),x=g(l.now,6e4),{prefs:S,set:C}=_();if(s)return s;let w=[{value:`*`,name:`All environments`,runs:l.envs.reduce((e,t)=>e+t.run_count,0),scripts:l.scripts.length,failed:l.envs.reduce((e,t)=>e+t.failed_run_count,0),last:l.envs[0]?.last_started_at??null},...l.envs.map(e=>({value:e.env??``,name:e.env??`No environment`,runs:e.run_count,scripts:e.script_count,failed:e.failed_run_count,last:e.last_started_at}))];return(0,y.jsxs)(`div`,{className:r({display:`flex`,flexDir:`column`,h:`full`,minH:`0`}),children:[(0,y.jsx)(v,{title:`Environments`,subtitle:`The --env each run was recorded against. Pick one to scope every page to it.`}),(0,y.jsx)(`div`,{className:e,children:l.envs.length===0?(0,y.jsxs)(i,{title:`No environments`,icon:(0,y.jsx)(c,{size:20}),children:[`Runs made with `,(0,y.jsx)(`code`,{children:`wire execute --env staging`}),` are grouped here.`]}):(0,y.jsxs)(`table`,{className:o,children:[(0,y.jsx)(`thead`,{children:(0,y.jsxs)(`tr`,{children:[(0,y.jsx)(`th`,{children:`Environment`}),(0,y.jsx)(`th`,{className:`num`,children:`Runs`}),(0,y.jsx)(`th`,{className:`num`,children:`Sessions`}),(0,y.jsx)(`th`,{className:`num`,children:`Threw`}),(0,y.jsx)(`th`,{className:`num`,children:`Last run`})]})}),(0,y.jsx)(`tbody`,{children:w.map(e=>{let i=S.env===e.value;return(0,y.jsxs)(`tr`,{"data-link":!0,"aria-selected":i,onClick:()=>C(`env`,e.value),children:[(0,y.jsx)(`td`,{className:r({maxW:`0`,w:`full`}),children:(0,y.jsxs)(`div`,{className:r({display:`flex`,alignItems:`center`,gap:`2`,minW:`0`}),children:[(0,y.jsx)(`span`,{className:r({display:`inline-flex`,color:i?`accent`:`faint`}),children:(0,y.jsx)(c,{size:14})}),(0,y.jsx)(`span`,{className:t(a,r({fontWeight:`500`})),children:e.name}),i?(0,y.jsx)(n,{tone:`info`,children:`Selected`}):null]})}),(0,y.jsx)(`td`,{className:`num`,children:p(e.runs)}),(0,y.jsx)(`td`,{className:`num`,children:p(e.scripts)}),(0,y.jsx)(`td`,{className:`num`,children:e.failed?(0,y.jsxs)(`span`,{className:r({display:`inline-flex`,alignItems:`center`,gap:`1.5`,color:`bad`}),children:[(0,y.jsx)(m,{tone:`bad`}),p(e.failed)]}):(0,y.jsx)(`span`,{className:r({color:`faint`}),children:`0`})}),(0,y.jsx)(`td`,{className:t(`num`,r({color:`muted`})),children:e.last?d(x,e.last):`—`})]},e.value)})})]})})]})}export{x as component};
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-CbXtAM7H.js";import{C as t,Ot as n,Vt as r,_n as i}from"./tabs-C1EijW_Z.js";var a=e(i(),1),o=r();function s({title:e,subtitle:t,children:r}){return(0,o.jsxs)(`header`,{className:n({px:`5`,pt:`4`,pb:`3`,flexShrink:0}),children:[(0,o.jsx)(`h1`,{className:n({fontSize:`18px`,fontWeight:`600`,m:`0`}),children:e}),(0,o.jsx)(`p`,{className:n({color:`muted`,fontSize:`12px`,m:`0`,mt:`0.5`}),children:t}),r?(0,o.jsx)(`div`,{className:n({display:`flex`,alignItems:`center`,gap:`2`,flexWrap:`wrap`,mt:`3`}),children:r}):null]})}function c({value:e,onCommit:r,placeholder:i}){let[s,c]=a.useState(e);return a.useEffect(()=>c(e),[e]),a.useEffect(()=>{if(s===e)return;let t=window.setTimeout(()=>r(s),180);return()=>window.clearTimeout(t)},[s,e,r]),(0,o.jsx)(t,{"data-page-filter":!0,placeholder:i,shortcut:`/`,value:s,onChange:e=>c(e.target.value),className:n({w:`320px`,maxW:`full`})})}function l({day:e,columns:t}){return(0,o.jsx)(`tr`,{children:(0,o.jsx)(`td`,{colSpan:t,className:n({position:`sticky`,top:`29px`,bg:`canvas`,fontSize:`10.5px`,fontWeight:`600`,textTransform:`uppercase`,letterSpacing:`0.06em`,color:`faint`,pt:`3`,pb:`1`}),children:e})})}function u({shown:e,limit:t}){return e<t?null:(0,o.jsxs)(`p`,{className:n({color:`faint`,fontSize:`12px`,px:`5`,py:`3`,m:`0`}),children:[`Showing the newest `,t,`. Narrow the filters, or the SQL console reaches the rest.`]})}export{c as i,u as n,s as r,l as t};
@@ -0,0 +1 @@
1
+ @layer reset{html,:host{--font-fallback:ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;tab-size:4;line-height:1.5;font-family:var(--global-font-body,var(--font-fallback));-webkit-tap-highlight-color:transparent}*,:before,:after,::backdrop{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--global-color-border,currentcolor);margin:0;padding:0}::file-selector-button{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--global-color-border,currentcolor);margin:0;padding:0}hr{height:0;color:inherit;border-top-width:1px}body{height:100%;line-height:inherit}img{border-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit;text-wrap:balance}p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}ol,ul,menu{list-style:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:0 0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;background:0 0}::placeholder{opacity:1;--placeholder-fallback:#00000080;color:var(--global-color-placeholder,var(--placeholder-fallback))}::selection{background-color:var(--global-color-selection,#0073ff4d)}textarea{resize:vertical}table{text-indent:0;border-color:inherit;border-collapse:collapse}summary{display:list-item}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}dialog{padding:0}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{--font-mono-fallback:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New";font-family:var(--global-font-mono,var(--font-mono-fallback));font-feature-settings:normal;font-variation-settings:normal;font-size:1em}progress{vertical-align:baseline}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-search-cancel-button{-webkit-appearance:none}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}:-moz-ui-invalid{box-shadow:none}:-moz-focusring{outline:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{--placeholder-fallback:color-mix(in oklab, currentcolor 50%, transparent)}}}@layer base{:root{--made-with-panda:"🐼"}html,body{height:100%;overflow:hidden}body{font-family:var(--fonts-body);color:var(--colors-fg);background:var(--colors-canvas);margin:var(--spacing-0);-webkit-font-smoothing:antialiased;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-size:13px;line-height:1.45}[data-theme=dark] body{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}input,button,select,textarea{font-family:inherit;font-size:inherit;color:inherit}::selection{background:var(--colors-accent-soft)}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--colors-line-strong);-webkit-background-clip:content-box;background-clip:content-box;border:3px solid #0000;border-radius:999px}::-webkit-scrollbar-corner{background:var(--colors-transparent)}}@layer tokens{:where(:root,:host){--colors-current:currentcolor;--colors-transparent:oklch(0% 0 0/0);--colors-black:#000;--colors-white:#fff;--colors-slate-50:oklch(98.4% .003 247.858);--colors-slate-100:oklch(96.8% .007 247.896);--colors-slate-200:oklch(92.9% .013 255.508);--colors-slate-300:oklch(86.9% .022 252.894);--colors-slate-400:oklch(70.4% .04 256.788);--colors-slate-500:oklch(55.4% .046 257.417);--colors-slate-600:oklch(44.6% .043 257.281);--colors-slate-700:oklch(37.2% .044 257.287);--colors-slate-800:oklch(27.9% .041 260.031);--colors-slate-900:oklch(20.8% .042 265.755);--colors-slate-950:oklch(12.9% .042 264.695);--colors-gray-50:oklch(98.5% .002 247.839);--colors-gray-100:oklch(96.7% .003 264.542);--colors-gray-200:oklch(92.8% .006 264.531);--colors-gray-300:oklch(87.2% .01 258.338);--colors-gray-400:oklch(70.7% .022 261.325);--colors-gray-500:oklch(55.1% .027 264.364);--colors-gray-600:oklch(44.6% .03 256.802);--colors-gray-700:oklch(37.3% .034 259.733);--colors-gray-800:oklch(27.8% .033 256.848);--colors-gray-900:oklch(21% .034 264.665);--colors-gray-950:oklch(13% .028 261.692);--colors-zinc-50:oklch(98.5% 0 0);--colors-zinc-100:oklch(96.7% .001 286.375);--colors-zinc-200:oklch(92% .004 286.32);--colors-zinc-300:oklch(87.1% .006 286.286);--colors-zinc-400:oklch(70.5% .015 286.067);--colors-zinc-500:oklch(55.2% .016 285.938);--colors-zinc-600:oklch(44.2% .017 285.786);--colors-zinc-700:oklch(37% .013 285.805);--colors-zinc-800:oklch(27.4% .006 286.033);--colors-zinc-900:oklch(21% .006 285.885);--colors-zinc-950:oklch(14.1% .005 285.823);--colors-neutral-50:oklch(98.5% 0 0);--colors-neutral-100:oklch(97% 0 0);--colors-neutral-200:oklch(92.2% 0 0);--colors-neutral-300:oklch(87% 0 0);--colors-neutral-400:oklch(70.8% 0 0);--colors-neutral-500:oklch(55.6% 0 0);--colors-neutral-600:oklch(43.9% 0 0);--colors-neutral-700:oklch(37.1% 0 0);--colors-neutral-800:oklch(26.9% 0 0);--colors-neutral-900:oklch(20.5% 0 0);--colors-neutral-950:oklch(14.5% 0 0);--colors-stone-50:oklch(98.5% .001 106.423);--colors-stone-100:oklch(97% .001 106.424);--colors-stone-200:oklch(92.3% .003 48.717);--colors-stone-300:oklch(86.9% .005 56.366);--colors-stone-400:oklch(70.9% .01 56.259);--colors-stone-500:oklch(55.3% .013 58.071);--colors-stone-600:oklch(44.4% .011 73.639);--colors-stone-700:oklch(37.4% .01 67.558);--colors-stone-800:oklch(26.8% .007 34.298);--colors-stone-900:oklch(21.6% .006 56.043);--colors-stone-950:oklch(14.7% .004 49.25);--colors-mauve-50:oklch(98.5% 0 0);--colors-mauve-100:oklch(96% .003 325.6);--colors-mauve-200:oklch(92.2% .005 325.62);--colors-mauve-300:oklch(86.5% .012 325.68);--colors-mauve-400:oklch(71.1% .019 323.02);--colors-mauve-500:oklch(54.2% .034 322.5);--colors-mauve-600:oklch(43.5% .029 321.78);--colors-mauve-700:oklch(36.4% .029 323.89);--colors-mauve-800:oklch(26.3% .024 320.12);--colors-mauve-900:oklch(21.2% .019 322.12);--colors-mauve-950:oklch(14.5% .008 326);--colors-olive-50:oklch(98.8% .003 106.5);--colors-olive-100:oklch(96.6% .005 106.5);--colors-olive-200:oklch(93% .007 106.5);--colors-olive-300:oklch(88% .011 106.6);--colors-olive-400:oklch(73.7% .021 106.9);--colors-olive-500:oklch(58% .031 107.3);--colors-olive-600:oklch(46.6% .025 107.3);--colors-olive-700:oklch(39.4% .023 107.4);--colors-olive-800:oklch(28.6% .016 107.4);--colors-olive-900:oklch(22.8% .013 107.4);--colors-olive-950:oklch(15.3% .006 107.1);--colors-mist-50:oklch(98.7% .002 197.1);--colors-mist-100:oklch(96.3% .002 197.1);--colors-mist-200:oklch(92.5% .005 214.3);--colors-mist-300:oklch(87.2% .007 219.6);--colors-mist-400:oklch(72.3% .014 214.4);--colors-mist-500:oklch(56% .021 213.5);--colors-mist-600:oklch(45% .017 213.2);--colors-mist-700:oklch(37.8% .015 216);--colors-mist-800:oklch(27.5% .011 216.9);--colors-mist-900:oklch(21.8% .008 223.9);--colors-mist-950:oklch(14.8% .004 228.8);--colors-taupe-50:oklch(98.6% .002 67.8);--colors-taupe-100:oklch(96% .002 17.2);--colors-taupe-200:oklch(92.2% .005 34.3);--colors-taupe-300:oklch(86.8% .007 39.5);--colors-taupe-400:oklch(71.4% .014 41.2);--colors-taupe-500:oklch(54.7% .021 43.1);--colors-taupe-600:oklch(43.8% .017 39.3);--colors-taupe-700:oklch(36.7% .016 35.7);--colors-taupe-800:oklch(26.8% .011 36.5);--colors-taupe-900:oklch(21.4% .009 43.1);--colors-taupe-950:oklch(14.7% .004 49.3);--colors-red-50:oklch(97.1% .013 17.38);--colors-red-100:oklch(93.6% .032 17.717);--colors-red-200:oklch(88.5% .062 18.334);--colors-red-300:oklch(80.8% .114 19.571);--colors-red-400:oklch(70.4% .191 22.216);--colors-red-500:oklch(63.7% .237 25.331);--colors-red-600:oklch(57.7% .245 27.325);--colors-red-700:oklch(50.5% .213 27.518);--colors-red-800:oklch(44.4% .177 26.899);--colors-red-900:oklch(39.6% .141 25.723);--colors-red-950:oklch(25.8% .092 26.042);--colors-orange-50:oklch(98% .016 73.684);--colors-orange-100:oklch(95.4% .038 75.164);--colors-orange-200:oklch(90.1% .076 70.697);--colors-orange-300:oklch(83.7% .128 66.29);--colors-orange-400:oklch(75% .183 55.934);--colors-orange-500:oklch(70.5% .213 47.604);--colors-orange-600:oklch(64.6% .222 41.116);--colors-orange-700:oklch(55.3% .195 38.402);--colors-orange-800:oklch(47% .157 37.304);--colors-orange-900:oklch(40.8% .123 38.172);--colors-orange-950:oklch(26.6% .079 36.259);--colors-amber-50:oklch(98.7% .022 95.277);--colors-amber-100:oklch(96.2% .059 95.617);--colors-amber-200:oklch(92.4% .12 95.746);--colors-amber-300:oklch(87.9% .169 91.605);--colors-amber-400:oklch(82.8% .189 84.429);--colors-amber-500:oklch(76.9% .188 70.08);--colors-amber-600:oklch(66.6% .179 58.318);--colors-amber-700:oklch(55.5% .163 48.998);--colors-amber-800:oklch(47.3% .137 46.201);--colors-amber-900:oklch(41.4% .112 45.904);--colors-amber-950:oklch(27.9% .077 45.635);--colors-yellow-50:oklch(98.7% .026 102.212);--colors-yellow-100:oklch(97.3% .071 103.193);--colors-yellow-200:oklch(94.5% .129 101.54);--colors-yellow-300:oklch(90.5% .182 98.111);--colors-yellow-400:oklch(85.2% .199 91.936);--colors-yellow-500:oklch(79.5% .184 86.047);--colors-yellow-600:oklch(68.1% .162 75.834);--colors-yellow-700:oklch(55.4% .135 66.442);--colors-yellow-800:oklch(47.6% .114 61.907);--colors-yellow-900:oklch(42.1% .095 57.708);--colors-yellow-950:oklch(28.6% .066 53.813);--colors-lime-50:oklch(98.6% .031 120.757);--colors-lime-100:oklch(96.7% .067 122.328);--colors-lime-200:oklch(93.8% .127 124.321);--colors-lime-300:oklch(89.7% .196 126.665);--colors-lime-400:oklch(84.1% .238 128.85);--colors-lime-500:oklch(76.8% .233 130.85);--colors-lime-600:oklch(64.8% .2 131.684);--colors-lime-700:oklch(53.2% .157 131.589);--colors-lime-800:oklch(45.3% .124 130.933);--colors-lime-900:oklch(40.5% .101 131.063);--colors-lime-950:oklch(27.4% .072 132.109);--colors-green-50:oklch(98.2% .018 155.826);--colors-green-100:oklch(96.2% .044 156.743);--colors-green-200:oklch(92.5% .084 155.995);--colors-green-300:oklch(87.1% .15 154.449);--colors-green-400:oklch(79.2% .209 151.711);--colors-green-500:oklch(72.3% .219 149.579);--colors-green-600:oklch(62.7% .194 149.214);--colors-green-700:oklch(52.7% .154 150.069);--colors-green-800:oklch(44.8% .119 151.328);--colors-green-900:oklch(39.3% .095 152.535);--colors-green-950:oklch(26.6% .065 152.934);--colors-emerald-50:oklch(97.9% .021 166.113);--colors-emerald-100:oklch(95% .052 163.051);--colors-emerald-200:oklch(90.5% .093 164.15);--colors-emerald-300:oklch(84.5% .143 164.978);--colors-emerald-400:oklch(76.5% .177 163.223);--colors-emerald-500:oklch(69.6% .17 162.48);--colors-emerald-600:oklch(59.6% .145 163.225);--colors-emerald-700:oklch(50.8% .118 165.612);--colors-emerald-800:oklch(43.2% .095 166.913);--colors-emerald-900:oklch(37.8% .077 168.94);--colors-emerald-950:oklch(26.2% .051 172.552);--colors-teal-50:oklch(98.4% .014 180.72);--colors-teal-100:oklch(95.3% .051 180.801);--colors-teal-200:oklch(91% .096 180.426);--colors-teal-300:oklch(85.5% .138 181.071);--colors-teal-400:oklch(77.7% .152 181.912);--colors-teal-500:oklch(70.4% .14 182.503);--colors-teal-600:oklch(60% .118 184.704);--colors-teal-700:oklch(51.1% .096 186.391);--colors-teal-800:oklch(43.7% .078 188.216);--colors-teal-900:oklch(38.6% .063 188.416);--colors-teal-950:oklch(27.7% .046 192.524);--colors-cyan-50:oklch(98.4% .019 200.873);--colors-cyan-100:oklch(95.6% .045 203.388);--colors-cyan-200:oklch(91.7% .08 205.041);--colors-cyan-300:oklch(86.5% .127 207.078);--colors-cyan-400:oklch(78.9% .154 211.53);--colors-cyan-500:oklch(71.5% .143 215.221);--colors-cyan-600:oklch(60.9% .126 221.723);--colors-cyan-700:oklch(52% .105 223.128);--colors-cyan-800:oklch(45% .085 224.283);--colors-cyan-900:oklch(39.8% .07 227.392);--colors-cyan-950:oklch(30.2% .056 229.695);--colors-sky-50:oklch(97.7% .013 236.62);--colors-sky-100:oklch(95.1% .026 236.824);--colors-sky-200:oklch(90.1% .058 230.902);--colors-sky-300:oklch(82.8% .111 230.318);--colors-sky-400:oklch(74.6% .16 232.661);--colors-sky-500:oklch(68.5% .169 237.323);--colors-sky-600:oklch(58.8% .158 241.966);--colors-sky-700:oklch(50% .134 242.749);--colors-sky-800:oklch(44.3% .11 240.79);--colors-sky-900:oklch(39.1% .09 240.876);--colors-sky-950:oklch(29.3% .066 243.157);--colors-blue-50:oklch(97% .014 254.604);--colors-blue-100:oklch(93.2% .032 255.585);--colors-blue-200:oklch(88.2% .059 254.128);--colors-blue-300:oklch(80.9% .105 251.813);--colors-blue-400:oklch(70.7% .165 254.624);--colors-blue-500:oklch(62.3% .214 259.815);--colors-blue-600:oklch(54.6% .245 262.881);--colors-blue-700:oklch(48.8% .243 264.376);--colors-blue-800:oklch(42.4% .199 265.638);--colors-blue-900:oklch(37.9% .146 265.522);--colors-blue-950:oklch(28.2% .091 267.935);--colors-indigo-50:oklch(96.2% .018 272.314);--colors-indigo-100:oklch(93% .034 272.788);--colors-indigo-200:oklch(87% .065 274.039);--colors-indigo-300:oklch(78.5% .115 274.713);--colors-indigo-400:oklch(67.3% .182 276.935);--colors-indigo-500:oklch(58.5% .233 277.117);--colors-indigo-600:oklch(51.1% .262 276.966);--colors-indigo-700:oklch(45.7% .24 277.023);--colors-indigo-800:oklch(39.8% .195 277.366);--colors-indigo-900:oklch(35.9% .144 278.697);--colors-indigo-950:oklch(25.7% .09 281.288);--colors-violet-50:oklch(96.9% .016 293.756);--colors-violet-100:oklch(94.3% .029 294.588);--colors-violet-200:oklch(89.4% .057 293.283);--colors-violet-300:oklch(81.1% .111 293.571);--colors-violet-400:oklch(70.2% .183 293.541);--colors-violet-500:oklch(60.6% .25 292.717);--colors-violet-600:oklch(54.1% .281 293.009);--colors-violet-700:oklch(49.1% .27 292.581);--colors-violet-800:oklch(43.2% .232 292.759);--colors-violet-900:oklch(38% .189 293.745);--colors-violet-950:oklch(28.3% .141 291.089);--colors-purple-50:oklch(97.7% .014 308.299);--colors-purple-100:oklch(94.6% .033 307.174);--colors-purple-200:oklch(90.2% .063 306.703);--colors-purple-300:oklch(82.7% .119 306.383);--colors-purple-400:oklch(71.4% .203 305.504);--colors-purple-500:oklch(62.7% .265 303.9);--colors-purple-600:oklch(55.8% .288 302.321);--colors-purple-700:oklch(49.6% .265 301.924);--colors-purple-800:oklch(43.8% .218 303.724);--colors-purple-900:oklch(38.1% .176 304.987);--colors-purple-950:oklch(29.1% .149 302.717);--colors-fuchsia-50:oklch(97.7% .017 320.058);--colors-fuchsia-100:oklch(95.2% .037 318.852);--colors-fuchsia-200:oklch(90.3% .076 319.62);--colors-fuchsia-300:oklch(83.3% .145 321.434);--colors-fuchsia-400:oklch(74% .238 322.16);--colors-fuchsia-500:oklch(66.7% .295 322.15);--colors-fuchsia-600:oklch(59.1% .293 322.896);--colors-fuchsia-700:oklch(51.8% .253 323.949);--colors-fuchsia-800:oklch(45.2% .211 324.591);--colors-fuchsia-900:oklch(40.1% .17 325.612);--colors-fuchsia-950:oklch(29.3% .136 325.661);--colors-pink-50:oklch(97.1% .014 343.198);--colors-pink-100:oklch(94.8% .028 342.258);--colors-pink-200:oklch(89.9% .061 343.231);--colors-pink-300:oklch(82.3% .12 346.018);--colors-pink-400:oklch(71.8% .202 349.761);--colors-pink-500:oklch(65.6% .241 354.308);--colors-pink-600:oklch(59.2% .249 .584);--colors-pink-700:oklch(52.5% .223 3.958);--colors-pink-800:oklch(45.9% .187 3.815);--colors-pink-900:oklch(40.8% .153 2.432);--colors-pink-950:oklch(28.4% .109 3.907);--colors-rose-50:oklch(96.9% .015 12.422);--colors-rose-100:oklch(94.1% .03 12.58);--colors-rose-200:oklch(89.2% .058 10.001);--colors-rose-300:oklch(81% .117 11.638);--colors-rose-400:oklch(71.2% .194 13.428);--colors-rose-500:oklch(64.5% .246 16.439);--colors-rose-600:oklch(58.6% .253 17.585);--colors-rose-700:oklch(51.4% .222 16.935);--colors-rose-800:oklch(45.5% .188 13.697);--colors-rose-900:oklch(41% .159 10.272);--colors-rose-950:oklch(27.1% .105 12.094);--fonts-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--fonts-serif:ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--fonts-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--fonts-body:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-sizes-2xs:.5rem;--font-sizes-xs:.75rem;--font-sizes-sm:.875rem;--font-sizes-md:1rem;--font-sizes-lg:1.125rem;--font-sizes-xl:1.25rem;--font-sizes-2xl:1.5rem;--font-sizes-3xl:1.875rem;--font-sizes-4xl:2.25rem;--font-sizes-5xl:3rem;--font-sizes-6xl:3.75rem;--font-sizes-7xl:4.5rem;--font-sizes-8xl:6rem;--font-sizes-9xl:8rem;--font-weights-thin:100;--font-weights-extralight:200;--font-weights-light:300;--font-weights-normal:400;--font-weights-medium:500;--font-weights-semibold:600;--font-weights-bold:700;--font-weights-extrabold:800;--font-weights-black:900;--line-heights-none:1;--line-heights-tight:1.25;--line-heights-snug:1.375;--line-heights-normal:1.5;--line-heights-relaxed:1.625;--line-heights-loose:2;--letter-spacings-tighter:-.05em;--letter-spacings-tight:-.025em;--letter-spacings-normal:0em;--letter-spacings-wide:.025em;--letter-spacings-wider:.05em;--letter-spacings-widest:.1em;--sizes-0:0rem;--sizes-1:.25rem;--sizes-2:.5rem;--sizes-3:.75rem;--sizes-4:1rem;--sizes-5:1.25rem;--sizes-6:1.5rem;--sizes-7:1.75rem;--sizes-8:2rem;--sizes-9:2.25rem;--sizes-10:2.5rem;--sizes-11:2.75rem;--sizes-12:3rem;--sizes-14:3.5rem;--sizes-16:4rem;--sizes-20:5rem;--sizes-24:6rem;--sizes-28:7rem;--sizes-32:8rem;--sizes-36:9rem;--sizes-40:10rem;--sizes-44:11rem;--sizes-48:12rem;--sizes-52:13rem;--sizes-56:14rem;--sizes-60:15rem;--sizes-64:16rem;--sizes-72:18rem;--sizes-80:20rem;--sizes-96:24rem;--sizes-0\.5:.125rem;--sizes-1\.5:.375rem;--sizes-2\.5:.625rem;--sizes-3\.5:.875rem;--sizes-4\.5:1.125rem;--sizes-5\.5:1.375rem;--sizes-xs:20rem;--sizes-sm:24rem;--sizes-md:28rem;--sizes-lg:32rem;--sizes-xl:36rem;--sizes-2xl:42rem;--sizes-3xl:48rem;--sizes-4xl:56rem;--sizes-5xl:64rem;--sizes-6xl:72rem;--sizes-7xl:80rem;--sizes-8xl:90rem;--sizes-prose:60ch;--sizes-full:100%;--sizes-min:min-content;--sizes-max:max-content;--sizes-fit:fit-content;--shadows-2xs:0 1px #0000000d;--shadows-xs:0 1px 2px 0 #0000000d;--shadows-sm:0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;--shadows-md:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadows-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--shadows-xl:0 20px 25px -5px #0000001a, 0 8px 10px -6px #0000001a;--shadows-2xl:0 25px 50px -12px #00000040;--shadows-inner:inset 0 2px 4px 0 #0000000d;--shadows-inset-2xs:inset 0 1px #0000000d;--shadows-inset-xs:inset 0 1px 1px #0000000d;--shadows-inset-sm:inset 0 2px 4px #0000000d;--spacing-0:0rem;--spacing-1:.25rem;--spacing-2:.5rem;--spacing-3:.75rem;--spacing-4:1rem;--spacing-5:1.25rem;--spacing-6:1.5rem;--spacing-7:1.75rem;--spacing-8:2rem;--spacing-9:2.25rem;--spacing-10:2.5rem;--spacing-11:2.75rem;--spacing-12:3rem;--spacing-14:3.5rem;--spacing-16:4rem;--spacing-20:5rem;--spacing-24:6rem;--spacing-28:7rem;--spacing-32:8rem;--spacing-36:9rem;--spacing-40:10rem;--spacing-44:11rem;--spacing-48:12rem;--spacing-52:13rem;--spacing-56:14rem;--spacing-60:15rem;--spacing-64:16rem;--spacing-72:18rem;--spacing-80:20rem;--spacing-96:24rem;--spacing-0\.5:.125rem;--spacing-1\.5:.375rem;--spacing-2\.5:.625rem;--spacing-3\.5:.875rem;--spacing-4\.5:1.125rem;--spacing-5\.5:1.375rem;--radii-xs:3px;--radii-sm:4px;--radii-md:6px;--radii-lg:8px;--radii-xl:.75rem;--radii-2xl:1rem;--radii-3xl:1.5rem;--radii-4xl:2rem;--radii-full:9999px;--borders-none:none;--durations-fastest:50ms;--durations-faster:.1s;--durations-fast:.15s;--durations-normal:.2s;--durations-slow:.3s;--durations-slower:.4s;--durations-slowest:.5s;--easings-default:cubic-bezier(.4, 0, .2, 1);--easings-linear:linear;--easings-in:cubic-bezier(.4, 0, 1, 1);--easings-out:cubic-bezier(0, 0, .2, 1);--easings-in-out:cubic-bezier(.4, 0, .2, 1);--animations-spin:spin 1s linear infinite;--animations-ping:ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animations-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animations-bounce:bounce 1s infinite;--blurs-xs:4px;--blurs-sm:8px;--blurs-md:12px;--blurs-lg:16px;--blurs-xl:24px;--blurs-2xl:40px;--blurs-3xl:64px;--aspect-ratios-square:1 / 1;--aspect-ratios-video:16 / 9;--aspect-ratios-landscape:4 / 3;--aspect-ratios-portrait:3 / 4;--aspect-ratios-wide:16 / 9;--aspect-ratios-ultrawide:18 / 5;--aspect-ratios-golden:1.618 / 1;--breakpoints-sm:40rem;--sizes-breakpoint-sm:40rem;--breakpoints-md:48rem;--sizes-breakpoint-md:48rem;--breakpoints-lg:64rem;--sizes-breakpoint-lg:64rem;--breakpoints-xl:80rem;--sizes-breakpoint-xl:80rem;--breakpoints-2xl:96rem;--sizes-breakpoint-2xl:96rem;--colors-chrome:#f3f4f6;--colors-canvas:#fff;--colors-raised:#fff;--colors-well:#f8f9fb;--colors-hover:#eceef2;--colors-selected:#e5edff;--colors-masthead:#edf2fb;--colors-fg:#18181b;--colors-muted:#5f6572;--colors-faint:#9097a3;--colors-line:#e3e5ea;--colors-line-strong:#cfd3da;--colors-accent:#1f6feb;--colors-accent-fg:#fff;--colors-accent-soft:#e8f0fe;--colors-ok:#15803d;--colors-ok-soft:#e7f6ec;--colors-warn:#b45309;--colors-warn-soft:#fdf3e3;--colors-bad:#c62828;--colors-bad-soft:#fdecec;--colors-info:#1d4ed8;--colors-get:#15803d;--colors-post:#b45309;--colors-put:#1d4ed8;--colors-patch:#7e22ce;--colors-delete:#c62828;--colors-other:#64748b;--colors-ws:#7c3aed;--colors-sse:#0f766e;--colors-syn-key:#9a3412;--colors-syn-string:#15803d;--colors-syn-number:#1d4ed8;--colors-syn-bool:#7e22ce;--colors-syn-null:#6b7280;--colors-syn-punct:#6b7280}[data-theme=dark]{--colors-chrome:#18181b;--colors-canvas:#1f1f23;--colors-raised:#26262b;--colors-well:#19191c;--colors-hover:#2c2c32;--colors-selected:#2b3350;--colors-masthead:#1d2230;--colors-fg:#e7e7ea;--colors-muted:#a1a1aa;--colors-faint:#6c6c75;--colors-line:#303036;--colors-line-strong:#43434b;--colors-accent:#6ea8fe;--colors-accent-fg:#0b1220;--colors-accent-soft:#1e2a44;--colors-ok:#4ade80;--colors-ok-soft:#16301f;--colors-warn:#fbbf24;--colors-warn-soft:#352a12;--colors-bad:#f87171;--colors-bad-soft:#3a1d1f;--colors-info:#60a5fa;--colors-get:#4ade80;--colors-post:#fbbf24;--colors-put:#60a5fa;--colors-patch:#c084fc;--colors-delete:#f87171;--colors-other:#94a3b8;--colors-ws:#a78bfa;--colors-sse:#2dd4bf;--colors-syn-key:#f0abfc;--colors-syn-string:#86efac;--colors-syn-number:#93c5fd;--colors-syn-bool:#c4b5fd;--colors-syn-null:#9ca3af;--colors-syn-punct:#71717a}@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{animation-timing-function:cubic-bezier(.8,0,1,1);transform:translateY(-25%)}50%{animation-timing-function:cubic-bezier(0,0,.2,1);transform:none}}}@layer recipes;@layer utilities{.anim_pulse_1\.6s_ease-in-out_infinite{animation:1.6s ease-in-out infinite pulse}.bg_accent{background:var(--colors-accent)}.bg_accentSoft{background:var(--colors-accent-soft)}.bg_bad{background:var(--colors-bad)}.bg_badSoft{background:var(--colors-bad-soft)}.bg_canvas{background:var(--colors-canvas)}.bg_chrome{background:var(--colors-chrome)}.bg_faint{background:var(--colors-faint)}.bg_get{background:var(--colors-get)}.bg_hover{background:var(--colors-hover)}.bg_info{background:var(--colors-info)}.bg_line{background:var(--colors-line)}.bg_lineStrong{background:var(--colors-line-strong)}.bg_masthead{background:var(--colors-masthead)}.bg_ok{background:var(--colors-ok)}.bg_okSoft{background:var(--colors-ok-soft)}.bg_patch{background:var(--colors-patch)}.bg_post{background:var(--colors-post)}.bg_raised{background:var(--colors-raised)}.bg_sse{background:var(--colors-sse)}.bg_transparent{background:var(--colors-transparent)}.bg_warn{background:var(--colors-warn)}.bg_warnSoft{background:var(--colors-warn-soft)}.bg_well{background:var(--colors-well)}.bg_white{background:var(--colors-white)}.bd_1px_solid{border:1px solid}.bd_none{border:var(--borders-none)}.m_0{margin:var(--spacing-0)}.p_0{padding:var(--spacing-0)}.p_2\.5{padding:var(--spacing-2\.5)}.p_3{padding:var(--spacing-3)}.p_4{padding:var(--spacing-4)}.p_2px{padding:2px}.px_0\.5{padding-inline:var(--spacing-0\.5)}.px_1{padding-inline:var(--spacing-1)}.px_1\.5{padding-inline:var(--spacing-1\.5)}.px_2{padding-inline:var(--spacing-2)}.px_2\.5{padding-inline:var(--spacing-2\.5)}.px_3{padding-inline:var(--spacing-3)}.px_3\.5{padding-inline:var(--spacing-3\.5)}.px_4{padding-inline:var(--spacing-4)}.px_5{padding-inline:var(--spacing-5)}.px_6{padding-inline:var(--spacing-6)}.py_0{padding-block:var(--spacing-0)}.py_0\.5{padding-block:var(--spacing-0\.5)}.py_1{padding-block:var(--spacing-1)}.py_1\.5{padding-block:var(--spacing-1\.5)}.py_10{padding-block:var(--spacing-10)}.py_2{padding-block:var(--spacing-2)}.py_2\.5{padding-block:var(--spacing-2\.5)}.py_3{padding-block:var(--spacing-3)}.py_4{padding-block:var(--spacing-4)}.py_6{padding-block:var(--spacing-6)}.bg-p_0_0\,_0_8px\,_8px_-8px\,_-8px_0{background-position:0 0,0 8px,8px -8px,-8px 0}.bd-b_1px_solid{border-bottom:1px solid}.bd-c_accent{border-color:var(--colors-accent)}.bd-c_line{border-color:var(--colors-line)}.bd-c_lineStrong{border-color:var(--colors-line-strong)}.bd-l_1px_solid{border-left:1px solid}.bdr_full{border-radius:var(--radii-full)}.bdr_lg{border-radius:var(--radii-lg)}.bdr_md{border-radius:var(--radii-md)}.bdr_sm{border-radius:var(--radii-sm)}.bdr_xs{border-radius:var(--radii-xs)}.bd-r_1px_solid{border-right:1px solid}.bd-t_1px_solid{border-top:1px solid}.flex_1{flex:1}.gap_0\.5{gap:var(--spacing-0\.5)}.gap_1{gap:var(--spacing-1)}.gap_1\.5{gap:var(--spacing-1\.5)}.gap_2{gap:var(--spacing-2)}.gap_2\.5{gap:var(--spacing-2\.5)}.gap_3{gap:var(--spacing-3)}.gap_4{gap:var(--spacing-4)}.gap_5{gap:var(--spacing-5)}.gap_2px{gap:2px}.ring_none{outline:var(--borders-none)}.ov_auto{overflow:auto}.ov_hidden{overflow:hidden}.td_none{text-decoration:none}.trs_background_80ms{transition:background 80ms}.ai_baseline{align-items:baseline}.ai_center{align-items:center}.ai_flex-end{align-items:flex-end}.ai_flex-start{align-items:flex-start}.ai_stretch{align-items:stretch}.as_flex-start{align-self:flex-start}.bg-i_linear-gradient\(45deg\,_token\(colors\.hover\)_25\%\,_transparent_25\%\)\,_linear-gradient\(-45deg\,_token\(colors\.hover\)_25\%\,_transparent_25\%\)\,_linear-gradient\(45deg\,_transparent_75\%\,_token\(colors\.hover\)_75\%\)\,_linear-gradient\(-45deg\,_transparent_75\%\,_token\(colors\.hover\)_75\%\){background-image:linear-gradient(45deg, var(--colors-hover) 25%, transparent 25%), linear-gradient(-45deg, var(--colors-hover) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--colors-hover) 75%), linear-gradient(-45deg, transparent 75%, var(--colors-hover) 75%)}.bg-s_16px_16px{background-size:16px 16px}.bd-cl_separate{border-collapse:separate}.bd-sp_0{border-spacing:var(--spacing-0)}.bdr-t_sm{border-top-left-radius:var(--radii-sm);border-top-right-radius:var(--radii-sm)}.c_accent{color:var(--colors-accent)}.c_accentFg{color:var(--colors-accent-fg)}.c_bad{color:var(--colors-bad)}.c_delete{color:var(--colors-delete)}.c_faint{color:var(--colors-faint)}.c_fg{color:var(--colors-fg)}.c_get{color:var(--colors-get)}.c_info{color:var(--colors-info)}.c_lineStrong{color:var(--colors-line-strong)}.c_muted{color:var(--colors-muted)}.c_ok{color:var(--colors-ok)}.c_other{color:var(--colors-other)}.c_patch{color:var(--colors-patch)}.c_post{color:var(--colors-post)}.c_put{color:var(--colors-put)}.c_sse{color:var(--colors-sse)}.c_synBool{color:var(--colors-syn-bool)}.c_synKey{color:var(--colors-syn-key)}.c_synNull{color:var(--colors-syn-null)}.c_synNumber{color:var(--colors-syn-number)}.c_synPunct{color:var(--colors-syn-punct)}.c_synString{color:var(--colors-syn-string)}.c_warn{color:var(--colors-warn)}.c_ws{color:var(--colors-ws)}.cg_5{column-gap:var(--spacing-5)}.cursor_col-resize{cursor:col-resize}.cursor_pointer{cursor:pointer}.cursor_row-resize{cursor:row-resize}.d_block{display:block}.d_flex{display:flex}.d_grid{display:grid}.d_inline-block{display:inline-block}.d_inline-flex{display:inline-flex}.flex-d_column{flex-direction:column}.flex-d_row{flex-direction:row}.flex-sh_0{flex-shrink:0}.flex-sh_1{flex-shrink:1}.flex-wrap_wrap{flex-wrap:wrap}.ff_mono{font-family:var(--fonts-mono)}.fs_10\.5px{font-size:10.5px}.fs_10px{font-size:10px}.fs_11px{font-size:11px}.fs_12\.5px{font-size:12.5px}.fs_12px{font-size:12px}.fs_13px{font-size:13px}.fs_14px{font-size:14px}.fs_15px{font-size:15px}.fs_18px{font-size:18px}.fs_20px{font-size:20px}.font-style_italic{font-style:italic}.fv-num_tabular-nums{font-variant-numeric:tabular-nums}.fw_500{font-weight:500}.fw_600{font-weight:600}.fw_700{font-weight:700}.grid-tc_150px_1fr_80px{grid-template-columns:150px 1fr 80px}.grid-tc_18px_76px_70px_1fr_64px{grid-template-columns:18px 76px 70px 1fr 64px}.grid-tc_1fr{grid-template-columns:1fr}.grid-tc_repeat\(auto-fill\,_minmax\(150px\,_1fr\)\){grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.jc_center{justify-content:center}.jc_space-between{justify-content:space-between}.ls_-0\.01em{letter-spacing:-.01em}.ls_0\.02em{letter-spacing:.02em}.ls_0\.06em{letter-spacing:.06em}.lh_1\.2{line-height:1.2}.lh_1\.35{line-height:1.35}.lh_1\.6{line-height:1.6}.lh_1\.65{line-height:1.65}.lh_16px{line-height:16px}.lh_18px{line-height:18px}.obj-f_contain{object-fit:contain}.op_0\.4{opacity:.4}.op_0\.6{opacity:.6}.op_1{opacity:1}.pos_absolute{position:absolute}.pos_relative{position:relative}.pos_sticky{position:sticky}.resize_none{resize:none}.rg_2{row-gap:var(--spacing-2)}.scr-bar-w_none{scrollbar-width:none}.tab-size_2{tab-size:2}.ta_center{text-align:center}.ta_left{text-align:left}.ta_right{text-align:right}.tov_ellipsis{text-overflow:ellipsis}.tt_uppercase{text-transform:uppercase}.us_all{-webkit-user-select:all;user-select:all}.us_none{-webkit-user-select:none;user-select:none}.va_middle{vertical-align:middle}.va_top{vertical-align:top}.white-space_nowrap{white-space:nowrap}.white-space_pre{white-space:pre}.white-space_pre-wrap{white-space:pre-wrap}.wb_break-all{word-break:break-all}.wb_break-word{word-break:break-word}.writing-mode_vertical-rl{writing-mode:vertical-rl}.z_2{z-index:2}.ov-x_auto{overflow-x:auto}.bdr-tl_lg{border-top-left-radius:var(--radii-lg)}.bottom_0{bottom:var(--spacing-0)}.h_100vh{height:100vh}.h_10px{height:10px}.h_1px{height:1px}.h_20px{height:20px}.h_22px{height:22px}.h_24px{height:24px}.h_26px{height:26px}.h_28px{height:28px}.h_30px{height:30px}.h_32px{height:32px}.h_36px{height:36px}.h_40px{height:40px}.h_42px{height:42px}.h_44px{height:44px}.h_7px{height:7px}.h_88px{height:88px}.h_8px{height:8px}.h_full{height:var(--sizes-full)}.left_0{left:var(--spacing-0)}.mb_1{margin-bottom:var(--spacing-1)}.mb_2{margin-bottom:var(--spacing-2)}.ml_1{margin-left:var(--spacing-1)}.ml_-14px{margin-left:-14px}.ml_auto{margin-left:auto}.mr_1{margin-right:var(--spacing-1)}.mt_-2{margin-top:calc(var(--spacing-2) * -1)}.mt_0\.5{margin-top:var(--spacing-0\.5)}.mt_1{margin-top:var(--spacing-1)}.mt_2{margin-top:var(--spacing-2)}.mt_3{margin-top:var(--spacing-3)}.mt_1px{margin-top:1px}.max-w_0{max-width:var(--sizes-0)}.max-w_180px{max-width:180px}.max-w_220px{max-width:220px}.max-w_22px{max-width:22px}.max-w_240px{max-width:240px}.max-w_260px{max-width:260px}.max-w_440px{max-width:440px}.max-w_full{max-width:var(--sizes-full)}.min-h_0{min-height:var(--sizes-0)}.min-h_full{min-height:var(--sizes-full)}.min-w_0{min-width:var(--sizes-0)}.min-w_16px{min-width:16px}.min-w_2px{min-width:2px}.min-w_4px{min-width:4px}.min-w_88px{min-width:88px}.min-w_full{min-width:var(--sizes-full)}.pb_0\.5{padding-bottom:var(--spacing-0\.5)}.pb_1{padding-bottom:var(--spacing-1)}.pb_2{padding-bottom:var(--spacing-2)}.pb_2\.5{padding-bottom:var(--spacing-2\.5)}.pb_3{padding-bottom:var(--spacing-3)}.pl_2{padding-left:var(--spacing-2)}.pl_3{padding-left:var(--spacing-3)}.pl_6{padding-left:var(--spacing-6)}.pl_14px{padding-left:14px}.pl_26px{padding-left:26px}.pr_1{padding-right:var(--spacing-1)}.pr_1\.5{padding-right:var(--spacing-1\.5)}.pr_2{padding-right:var(--spacing-2)}.pr_3{padding-right:var(--spacing-3)}.pt_1{padding-top:var(--spacing-1)}.pt_1\.5{padding-top:var(--spacing-1\.5)}.pt_2{padding-top:var(--spacing-2)}.pt_2\.5{padding-top:var(--spacing-2\.5)}.pt_3{padding-top:var(--spacing-3)}.pt_4{padding-top:var(--spacing-4)}.pt_1px{padding-top:1px}.right_-3px{right:-3px}.top_0{top:var(--spacing-0)}.top_-1px{top:-1px}.top_29px{top:29px}.top_2px{top:2px}.w_160px{width:160px}.w_1px{width:1px}.w_20px{width:20px}.w_260px{width:260px}.w_280px{width:280px}.w_28px{width:28px}.w_2px{width:2px}.w_32\%{width:32%}.w_320px{width:320px}.w_3px{width:3px}.w_46px{width:46px}.w_56px{width:56px}.w_64px{width:64px}.w_6px{width:6px}.w_7px{width:7px}.w_8px{width:8px}.w_auto{width:auto}.w_full{width:var(--sizes-full)}.w_max-content{width:max-content}.\[\&_\.tab-close\]\:op_0 .tab-close{opacity:0}.\[\&_\>_\.tab-label\]\:px_2\.5>.tab-label{padding-inline:var(--spacing-2\.5)}.\[\&_\>_\.tab-label\]\:bdr_md>.tab-label{border-radius:var(--radii-md)}.\[\&_\>_\.tab-label\]\:gap_1\.5>.tab-label{gap:var(--spacing-1\.5)}.\[\&_\>_\.tab-label\]\:trs_background_80ms\,_color_80ms>.tab-label{transition:background 80ms,color 80ms}.\[\&_\>_\.tab-label\]\:ai_center>.tab-label{align-items:center}.\[\&_\>_\.tab-label\]\:d_inline-flex>.tab-label{display:inline-flex}.\[\&_\>_\.tab-label\]\:h_calc\(100\%_-_10px\)>.tab-label{height:calc(100% - 10px)}.hover\:\[\&_\>_\.tab-label\]\:bg_hover:is(:hover,[data-hover])>.tab-label{background:var(--colors-hover)}.\[\&_\>_\[role\=tablist\]\]\:bd-b_none>[role=tablist]{border-bottom:var(--borders-none)}.\[\&_\>_span\]\:fs_12px>span{font-size:12px}.\[\&_tbody_tr\]\:cursor_default tbody tr{cursor:default}.\[\&_tbody_tr\[data-link\]\]\:cursor_pointer tbody tr[data-link]{cursor:pointer}.\[\&_td\]\:px_3 td{padding-inline:var(--spacing-3)}.\[\&_td\]\:py_1\.5 td{padding-block:var(--spacing-1\.5)}.\[\&_td\]\:bd-b_1px_solid td{border-bottom:1px solid}.\[\&_td\]\:bd-c_line td{border-color:var(--colors-line)}.\[\&_td\]\:ff_mono td{font-family:var(--fonts-mono)}.\[\&_td\]\:fs_12px td{font-size:12px}.\[\&_td\]\:va_middle td{vertical-align:middle}.\[\&_td\]\:max-w_420px td{max-width:420px}.\[\&_td\.num\,_\&_th\.num\]\:fv-num_tabular-nums td.num,.\[\&_td\.num\,_\&_th\.num\]\:fv-num_tabular-nums th.num{font-variant-numeric:tabular-nums}.\[\&_td\.num\,_\&_th\.num\]\:ta_right td.num,.\[\&_td\.num\,_\&_th\.num\]\:ta_right th.num{text-align:right}.\[\&_td\.num\,_\&_th\.num\]\:white-space_nowrap td.num,.\[\&_td\.num\,_\&_th\.num\]\:white-space_nowrap th.num{white-space:nowrap}.\[\&_th\]\:bg_chrome th{background:var(--colors-chrome)}.\[\&_th\]\:px_3 th{padding-inline:var(--spacing-3)}.\[\&_th\]\:py_1\.5 th{padding-block:var(--spacing-1\.5)}.\[\&_th\]\:bd-b_1px_solid th{border-bottom:1px solid}.\[\&_th\]\:bd-c_line th{border-color:var(--colors-line)}.\[\&_th\]\:c_muted th{color:var(--colors-muted)}.\[\&_th\]\:fs_11px th{font-size:11px}.\[\&_th\]\:fw_500 th{font-weight:500}.\[\&_th\]\:pos_sticky th{position:sticky}.\[\&_th\]\:ta_left th{text-align:left}.\[\&_th\]\:white-space_nowrap th{white-space:nowrap}.\[\&_th\]\:z_1 th{z-index:1}.\[\&_th\]\:top_0 th{top:var(--spacing-0)}.\[\&\[aria-pressed\=true\]\]\:bg_accentSoft[aria-pressed=true]{background:var(--colors-accent-soft)}.\[\&\[aria-pressed\=true\]\]\:bg_okSoft[aria-pressed=true]{background:var(--colors-ok-soft)}.\[\&\[aria-pressed\=true\]\]\:bg_raised[aria-pressed=true]{background:var(--colors-raised)}.\[\&\[aria-pressed\=true\]\]\:bd-c_accent[aria-pressed=true]{border-color:var(--colors-accent)}.\[\&\[aria-pressed\=true\]\]\:bd-c_ok[aria-pressed=true]{border-color:var(--colors-ok)}.\[\&\[aria-pressed\=true\]\]\:bx-sh_0_1px_2px_rgba\(0\,0\,0\,0\.08\)[aria-pressed=true]{box-shadow:0 1px 2px #00000014}.\[\&\[aria-pressed\=true\]\]\:c_accent[aria-pressed=true]{color:var(--colors-accent)}.\[\&\[aria-pressed\=true\]\]\:c_fg[aria-pressed=true]{color:var(--colors-fg)}.\[\&\[aria-pressed\=true\]\]\:c_ok[aria-pressed=true]{color:var(--colors-ok)}.\[\&\[aria-selected\=true\]\]\:bg_canvas[aria-selected=true]{background:var(--colors-canvas)}.\[\&\[aria-selected\=true\]\]\:bg_selected[aria-selected=true]{background:var(--colors-selected)}.\[\&\[aria-selected\=true\]\]\:c_fg[aria-selected=true]{color:var(--colors-fg)}.\[\&\[aria-selected\=true\]\]\:fw_600[aria-selected=true]{font-weight:600}.\[\&\[aria-selected\=true\]\]\:after\:bg_accent[aria-selected=true]:after{background:var(--colors-accent)}.\[\&\[aria-selected\=true\]\]\:after\:bdr-t_full[aria-selected=true]:after{border-top-left-radius:var(--radii-full);border-top-right-radius:var(--radii-full)}.\[\&\[aria-selected\=true\]\]\:after\:content_\"\"[aria-selected=true]:after{content:""}.\[\&\[aria-selected\=true\]\]\:after\:pos_absolute[aria-selected=true]:after{position:absolute}.\[\&\[aria-selected\=true\]\]\:after\:bottom_-1px[aria-selected=true]:after{bottom:-1px}.\[\&\[aria-selected\=true\]\]\:after\:h_2px[aria-selected=true]:after{height:2px}.\[\&\[aria-selected\=true\]\]\:after\:left_2[aria-selected=true]:after{left:var(--spacing-2)}.\[\&\[aria-selected\=true\]\]\:after\:right_2[aria-selected=true]:after{right:var(--spacing-2)}.\[\&\[aria-selected\=true\]\]\:before\:bg_accent[aria-selected=true]:before{background:var(--colors-accent)}.\[\&\[aria-selected\=true\]\]\:before\:content_\"\"[aria-selected=true]:before{content:""}.\[\&\[aria-selected\=true\]\]\:before\:pos_absolute[aria-selected=true]:before{position:absolute}.\[\&\[aria-selected\=true\]\]\:before\:h_2px[aria-selected=true]:before{height:2px}.\[\&\[aria-selected\=true\]\]\:before\:left_0[aria-selected=true]:before{left:var(--spacing-0)}.\[\&\[aria-selected\=true\]\]\:before\:right_0[aria-selected=true]:before{right:var(--spacing-0)}.\[\&\[aria-selected\=true\]\]\:before\:top_0[aria-selected=true]:before{top:var(--spacing-0)}.\[\&\[data-active\=true\]\]\:bg_hover[data-active=true]{background:var(--colors-hover)}.\[\&\[data-active\=true\]\]\:bg_selected[data-active=true]{background:var(--colors-selected)}.\[\&\[data-active\=true\]\]\:c_fg[data-active=true]{color:var(--colors-fg)}.\[\&\[data-active\=true\]_svg\]\:c_accent[data-active=true] svg{color:var(--colors-accent)}.\[\&\[data-preview\=true\]_\.tab-title\]\:font-style_italic[data-preview=true] .tab-title{font-style:italic}.last\:bd-b_none:last-child{border-bottom:var(--borders-none)}.last\:bd-r_none:last-child{border-right:var(--borders-none)}.focusWithin\:bd-c_accent:focus-within{border-color:var(--colors-accent)}.focusWithin\:c_muted:focus-within{color:var(--colors-muted)}.disabled\:cursor_default:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]){cursor:default}.disabled\:op_0\.35:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]){opacity:.35}.disabled\:op_0\.45:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]){opacity:.45}.disabled\:hover\:bg_raised:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]):is(:hover,[data-hover]){background:var(--colors-raised)}.disabled\:hover\:bg_transparent:is(:disabled,[disabled],[data-disabled],[aria-disabled=true]):is(:hover,[data-hover]){background:var(--colors-transparent)}.\[\&_tbody_tr\:hover_td\]\:bg_hover tbody tr:hover td{background:var(--colors-hover)}.\[\&\:hover_\.tab-close\,_\&\[aria-selected\=true\]_\.tab-close\]\:op_1:hover .tab-close,.\[\&\:hover_\.tab-close\,_\&\[aria-selected\=true\]_\.tab-close\]\:op_1[aria-selected=true] .tab-close{opacity:1}.\[\&\:focus-visible_\>_\.tab-label\]\:ring_2px_solid:focus-visible>.tab-label{outline:2px solid}.\[\&\:focus-visible_\>_\.tab-label\]\:ring-c_accent:focus-visible>.tab-label{outline-color:var(--colors-accent)}.\[\&\:focus-visible_\>_\.tab-label\]\:ring-o_-2px:focus-visible>.tab-label{outline-offset:-2px}.hover\:bg_accent:is(:hover,[data-hover]){background:var(--colors-accent)}.hover\:bg_hover:is(:hover,[data-hover]){background:var(--colors-hover)}.hover\:bd-c_lineStrong:is(:hover,[data-hover]){border-color:var(--colors-line-strong)}.hover\:td_underline:is(:hover,[data-hover]){text-decoration:underline}.hover\:c_accent:is(:hover,[data-hover]){color:var(--colors-accent)}.hover\:c_fg:is(:hover,[data-hover]){color:var(--colors-fg)}.hover\:op_0\.4:is(:hover,[data-hover]){opacity:.4}.hover\:op_0\.9:is(:hover,[data-hover]){opacity:.9}.focusVisible\:ring_2px_solid:is(:focus-visible,[data-focus-visible]){outline:2px solid}.focusVisible\:ring_none:is(:focus-visible,[data-focus-visible]){outline:var(--borders-none)}.focusVisible\:ring-c_accent:is(:focus-visible,[data-focus-visible]){outline-color:var(--colors-accent)}.focusVisible\:ring-o_1px:is(:focus-visible,[data-focus-visible]){outline-offset:1px}.\[\&\:\:-webkit-search-cancel-button\]\:d_none::-webkit-search-cancel-button{display:none}.after\:content_\"\":after{content:""}.after\:pos_absolute:after{position:absolute}.after\:bottom_0:after{bottom:var(--spacing-0)}.after\:bottom_-3px:after{bottom:-3px}.after\:left_0:after{left:var(--spacing-0)}.after\:left_-3px:after{left:-3px}.after\:right_0:after{right:var(--spacing-0)}.after\:right_-3px:after{right:-3px}.after\:top_0:after{top:var(--spacing-0)}.after\:top_-3px:after{top:-3px}.\[\&\:\:placeholder\]\:c_faint::placeholder{color:var(--colors-faint)}@media (width>=80rem){.xl\:grid-tc_3fr_2fr{grid-template-columns:3fr 2fr}}}
@@ -0,0 +1 @@
1
+ import{n as e}from"./rolldown-runtime-CbXtAM7H.js";import{A as t,B as n,Dt as r,E as i,I as a,Nt as o,Ot as s,P as c,R as l,S as u,U as d,V as f,Vt as p,_n as m,c as h,h as g,jt as _,n as v,p as y,pt as b,r as x,s as S}from"./tabs-C1EijW_Z.js";import{n as C}from"./preload-helper-CIs162tl.js";import{a as w,d as T,l as E,u as D}from"./index-3VfD7Ktf.js";import{i as O,n as k,r as A,t as j}from"./feed-B8L4GK9D.js";import{t as M}from"./scoped-CiNsRvyC.js";var N=e(m()),P=p(),F=_(`__root__`);function I(){x({key:v.history(),title:`History`,icon:`history`});let e=T(),p=F.useLoaderData(),m=E(p.now,6e4),{prefs:_}=D(),I=w.useSearch(),{data:L}=M(w.useLoaderData(),e=>C({data:{...I,env:e,limit:500}})),R=o({from:w.fullPath}),z=N.useCallback(e=>void R({search:t=>({...t,...e}),replace:!0}),[R]),B=N.useCallback(e=>z({q:e||void 0}),[z]);if(e)return e;let V=I.kind??`all`,H=!!(I.q||I.kind||I.failed),U=_.env===`*`?null:_.env===``?`No environment`:_.env;return(0,P.jsxs)(`div`,{className:s({display:`flex`,flexDir:`column`,h:`full`,minH:`0`}),children:[(0,P.jsxs)(A,{title:`History`,subtitle:(0,P.jsxs)(P.Fragment,{children:[`Every request across every run, newest first.`,U?(0,P.jsxs)(P.Fragment,{children:[` `,`Scoped to `,(0,P.jsx)(`b`,{children:U}),`.`]}):null]}),children:[(0,P.jsx)(O,{value:I.q??``,onCommit:B,placeholder:I.bodies?`Search URLs and payloads`:`Search URL, method or status`}),(0,P.jsx)(t,{items:[{id:`all`,label:`All`},{id:`http`,label:`HTTP`},{id:`stream`,label:`WS/SSE`}],value:V,onSelect:e=>z({kind:e===`all`?void 0:e})}),(0,P.jsx)(a,{checked:!!I.failed,onChange:e=>z({failed:e||void 0}),label:`Failed`}),(0,P.jsx)(a,{checked:!!I.bodies,onChange:e=>z({bodies:e||void 0}),label:`In payloads`})]}),(0,P.jsx)(`div`,{className:n,children:L.length===0?(0,P.jsx)(u,{title:`No requests`,icon:(0,P.jsx)(b,{size:20}),children:H?`Nothing matches these filters.`:`Nothing recorded in this environment yet.`}):(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(`table`,{className:f,children:[(0,P.jsx)(`thead`,{children:(0,P.jsxs)(`tr`,{children:[(0,P.jsx)(`th`,{className:`num`,style:{width:80},children:`Time`}),(0,P.jsx)(`th`,{children:`Request`}),(0,P.jsx)(`th`,{children:`Status`}),(0,P.jsx)(`th`,{children:`Session`}),(0,P.jsx)(`th`,{className:`num`,children:`Size`}),(0,P.jsx)(`th`,{className:`num`,children:`Duration`})]})}),(0,P.jsx)(`tbody`,{children:g(L,m,e=>e.ts).map(e=>(0,P.jsxs)(N.Fragment,{children:[(0,P.jsx)(j,{day:e.day,columns:6}),e.rows.map(e=>(0,P.jsxs)(`tr`,{"data-link":!0,title:`${e.method} ${e.host}${e.path}${e.query?`?${e.query}`:``}`,onClick:()=>void R({to:`/requests/$requestId`,params:{requestId:String(e.id)}}),children:[(0,P.jsx)(`td`,{className:r(`num`,l,s({color:`muted`})),children:h(e.ts)}),(0,P.jsx)(`td`,{className:s({maxW:`0`,w:`full`}),children:(0,P.jsxs)(`div`,{className:s({display:`flex`,alignItems:`center`,gap:`2`,minW:`0`}),children:[(0,P.jsx)(i,{method:e.method,kind:e.kind,width:`list`}),(0,P.jsxs)(`span`,{className:r(d,l),children:[(0,P.jsx)(`span`,{className:s({color:`faint`}),children:e.host}),e.path]})]})}),(0,P.jsx)(`td`,{children:(0,P.jsx)(c,{status:e.status,error:e.error_name})}),(0,P.jsx)(`td`,{className:s({maxW:`220px`}),children:(0,P.jsxs)(`div`,{className:s({display:`flex`,gap:`1.5`,minW:`0`}),children:[(0,P.jsx)(`span`,{className:d,title:e.rel,children:e.file}),(0,P.jsxs)(`span`,{className:r(l,s({color:`faint`})),children:[`#`,e.run_id]})]})}),(0,P.jsx)(`td`,{className:r(`num`,l,s({color:`muted`})),children:S(e.response_bytes)}),(0,P.jsx)(`td`,{className:r(`num`,l),children:y(e.duration_ms)})]},e.id))]},e.day))})]}),(0,P.jsx)(k,{shown:L.length,limit:500})]})})]})}export{I as component};