1import{n as o,cJ as d,j as e,dS as c,jT as l}from"./index-DHT8ocXi.js";import{M as h,b1 as j,U as x,a$ as f,af as _,ag as m}from"./RerollBtn-BPahoQdf.js";/* empty css */import"./_baseClone-CLcwX-rf.js";const i=n=>typeof n!="number"?"-":`${(n*100).toFixed(2)}%`,T=()=>{const{hash:n}=o(),{data:s}=d(n||"",{refetchInterval:l}),r=s?.result,t=s?.generation_data?.content_credentials_verification||r?.content_credentials_verification,a=!t&&!s?.is_failed;return e.jsxs(h,{children:[e.jsx(j,{}),e.jsx(x,{children:e.jsx(f,{children:e.jsxs("div",{className:"tool-content-credentials tool-content-credentials--result",children:[e.jsxs("div",{className:"tool-content-credentials__header",children:[e.jsx("p",{className:"tool-content-credentials__eyebrow",children:"Deep Image authenticity"}),e.jsx("h1",{children:"Content Credentials verification result"})]}),a&&e.jsx("p",{children:"Verification is still running..."}),s?.is_failed&&e.jsx("p",{className:"tool-content-credentials__error",children:"Verification failed."}),t&&e.jsxs("div",{className:"tool-content-credentials__result-card",children:[e.jsx("strong",{className:t.verified?"is-valid":"is-invalid",children:t.verified?"Verified Deep Image Content Credentials":"Content Credentials not verified"}),e.jsxs("dl",{children:[e.jsx("dt",{children:"Bit accuracy"}),e.jsx("dd",{children:i(t.bit_accuracy)}),e.jsx("dt",{children:"Threshold"}),e.jsx("dd",{children:i(t.threshold)}),e.jsx("dt",{children:"Reason"}),e.jsx("dd",{children:t.reason||"-"}),e.jsx("dt",{children:"Payload SHA-256"}),e.jsx("dd",{children:t.payload_sha256||"-"}),e.jsx("dt",{children:"Bits"}),e.jsx("dd",{children:t.nbits||"-"})]})]}),e.jsx(_,{children:e.jsx(m,{page:c})})]})})})]})};export{T as default};
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.