import{c as m,j as i}from"./index-ukWRVZhT.js";import{d as e,c as t,I as l}from"./misc-Dj_mZhbv.js";import{D as p}from"./diff-BmIQWB2R.js";import{N as c}from"./nav-chevrons-Brb7CoS8.js";import{S as f}from"./tooltip-DGH2AGjl.js";import{u as d,d as u,L as x}from"./components-BgKv_YmS.js";import"./clsx-B-dksMZM.js";import"./mdx-D6tq6-eo.js";import"./epic-video-B_UyM5_A.js";import"./loading-D38hMiHp.js";import"./client-hints-D8U-zfYg.js";import"./index-C7XNc9YK.js";import"./index-DDykkvu3.js";import"./progress-bar-CpMgJLQi.js";function I(){const s=d(),[r]=u(),a=m(),o=e.useSpinDelay(a.state!=="idle",{delay:200,minDuration:200}),n=e.useSpinDelay(a.state!=="idle",{delay:0,minDuration:1e3});return i.jsxs("div",{className:t("grid h-full grid-rows-[1fr,auto]",{"cursor-wait opacity-30":o}),children:[i.jsx("div",{className:"overflow-y-auto",children:i.jsx(p,{diff:s.diff,allApps:s.allApps})}),i.jsxs("div",{className:"flex h-16 items-center justify-end border-t",children:[i.jsx(f,{content:"Reload diff",children:i.jsx(x,{to:`.?${r}`,className:"flex h-full w-16 items-center justify-center",children:i.jsx(l,{name:"Refresh",className:t({"animate-spin":n})})})}),i.jsx(c,{prev:s.prevLink,next:s.nextLink})]})]})}export{I as default};
//# sourceMappingURL=diff-CueH4XuH.js.map
