1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="db7dbbb3-3b77-4b3d-901a-5ee2416b225b",e._sentryDebugIdIdentifier="sentry-dbid-db7dbbb3-3b77-4b3d-901a-5ee2416b225b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8785],{75168:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>y});var i=s(15383),n=s(91563),d=s(18631),a=s(76324),l=s(98096),r=s(82753),u=s(96588),b=s(80063),o=s(14343),c=s(92106),h=s(90265),f=s(75910),v=s(13338),w=s(45886);(0,l.J1)` 2 query BatchJob($batchJobId: ID!) { 3 batchJobWithResultPreviews(id: $batchJobId) { 4 metadata { 5 id 6 jobName 7 template 8 inputKeys 9 inputFileKey 10 llmPresetId 11 status 12 startedAtUnixSecond 13 finishedAtUnixSecond 14 resultCount { 15 total 16 pending 17 running 18 success 19 failed 20 cancelled 21 } 22 } 23 resultPreviews { 24 id 25 input 26 output 27 errorMessage 28 status 29 startedAtUnixSecond 30 finishedAtUnixSecond 31 } 32 } 33 } 34`;let p=e=>{let t,s=(0,b.useRouter)(),n=(0,f.l)(),{id:d}=s.query,{data:l,loading:p,refetch:y}=(0,r.I)(a.nGJ,{variables:{batchJobId:d}}),_=(0,o.useRef)(Date.now()),g=void 0!==(t=l?.batchJobWithResultPreviews.metadata.status)&&[a.Y7j.Done,a.Y7j.Failed,a.Y7j.Cancelled].includes(t);return((0,o.useEffect)(()=>{let e;if(g)return;_.current=Date.now();let t=()=>{y({batchJobId:d})},s=()=>{var i;e=setTimeout(()=>{document.hidden||t(),s()},(i=Date.now()-_.current)<6e4?1e4:i<3e5?3e4:6e4)};s();let i=()=>{document.hidden||t()};return document.addEventListener("visibilitychange",i),()=>{clearTimeout(e),document.removeEventListener("visibilitychange",i)}},[g,y,d]),p||!l)?(0,i.jsx)(u.Spinner,{loading:!0}):(0,i.jsxs)(c.n,{children:[(0,i.jsx)(v.o,{href:h.B.Batch.JobList.link(n)}),(0,i.jsx)("div",{className:"level",children:(0,i.jsx)("div",{className:"level-left",children:(0,i.jsx)("h1",{className:"title is-size-4",children:"䏿¬å¦ç"})})}),(0,i.jsx)(w.a,{initialStep:3,data:l,disabled:!0})]})},y=()=>(0,i.jsx)(d.F,{children:(0,i.jsx)(n.U,{children:(0,i.jsx)(p,{})})})},81045:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/t/[slug]/batch/[id]",function(){return s(75168)}])}},e=>{e.O(0,[8971,7738,8061,4350,8534,9482,1391,900,8347,4361,5159,4254,5748,2925,8900,8379,776,8631,6206,123,1732,1293,4773,3721,636,6593,8792],()=>e(e.s=81045)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.