import{w as u,x as w}from"/build/_shared/chunk-FT5FVL6O.js";import{a as y}from"/build/_shared/chunk-KVLZ6TDW.js";import"/build/_shared/chunk-ARDNBBAT.js";import"/build/_shared/chunk-T6RBLB6F.js";import"/build/_shared/chunk-WCC7U2ED.js";import"/build/_shared/chunk-7WW2YCZF.js";import"/build/_shared/chunk-SLNM5P2A.js";import"/build/_shared/chunk-32YOKIWQ.js";import"/build/_shared/chunk-V7RVJIMX.js";import"/build/_shared/chunk-EYL65FZP.js";import{w as d}from"/build/_shared/chunk-ZI7LZGQS.js";import"/build/_shared/chunk-J57633IL.js";import{a as D,b as P}from"/build/_shared/chunk-LRTFSTL7.js";import{a as N}from"/build/_shared/chunk-YCZ72ESF.js";import{a as h,h as p}from"/build/_shared/chunk-LQI5VFCO.js";import{b as c}from"/build/_shared/chunk-BBE474FP.js";import{B as f,g as o,l as s,q as m,v as l}from"/build/_shared/chunk-FNLAOAQV.js";import{d as t}from"/build/_shared/chunk-4AMCPB2Y.js";var $=t(N(),1);var i=t(h(),1);var n=t(D(),1),L=t(w(),1);var b=t(P(),1),e=t(f(),1);function g(){let a=l(),[A]=s(),r=o(),v=(0,i.useSpinDelay)(r.state!=="idle",{delay:200,minDuration:200}),x=(0,i.useSpinDelay)(r.state!=="idle",{delay:0,minDuration:1e3});return(0,e.jsxs)("div",{className:p("grid h-full grid-rows-[1fr,auto]",{"cursor-wait opacity-30":v}),children:[(0,e.jsx)("div",{className:"overflow-y-auto",children:(0,e.jsx)(u,{diff:a.diff,allApps:a.allApps})}),(0,e.jsxs)("div",{className:"flex h-16 items-center justify-end border-t border-border",children:[(0,e.jsx)(d,{content:"Reload diff",children:(0,e.jsx)(m,{to:`.?${A}`,className:"flex h-full w-16 items-center justify-center",children:(0,e.jsx)(c,{name:"Refresh",className:p({"animate-spin":x})})})}),(0,e.jsx)(y,{prev:a.prevLink,next:a.nextLink})]})]})}export{g as default};
//# sourceMappingURL=/build/routes/diff-XVRWTIOD.js.map
