PageSourceSearch

https://singaporebirds.com/assets/OfflineNotice-B8dxlFVQ.js

js singaporebirds.com collected 2026-10-02 12:25:10 UTC 1,530 bytes, 1 lines download raw bytes

1import{j as i}from"./react-vendor-eUQHqTr8.js";import{B as s,T as o,I as a,c as r,E as d}from"./index-CwTm0-D0.js";function l(n){if(!n)return null;const e=new Date(n);if(Number.isNaN(e.getTime()))return null;const t=Math.floor((Date.now()-e.getTime())/864e5);return t<=0?"today":t===1?"yesterday":t<30?`${t} days ago`:e.toLocaleDateString("en-GB",{day:"numeric",month:"short"})}function u({syncedAt:n,style:e={}}){const t=l(n);return i.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8,padding:"7px 12px",borderRadius:8,background:o.panel,border:`1px solid ${o.rule}`,color:o.textMute,fontFamily:s,fontSize:12.5,...e},children:[i.jsx(a,{name:"wifiOff",size:13}),i.jsxs("span",{children:["Offline — showing your saved copy",t?i.jsx("span",{style:{fontFamily:r,fontSize:12},children:` · synced ${t}`}):null]})]})}function p({what:n="This page",onRetry:e}){return i.jsx(d,{title:"Not in your offline copy",message:`${n} isn't in the data saved on this device — it may have been added since you last synced. Reconnect to view it, then update your offline copy from Preferences.`,action:e?{label:"Try again",onClick:e}:void 0})}function y({label:n="Needs a connection",style:e={}}){return i.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:7,padding:"14px 12px",borderRadius:8,border:`1px dashed ${o.ruleSoft}`,color:o.textMute,fontFamily:r,fontSize:12,letterSpacing:"0.04em",textTransform:"uppercase",...e},children:[i.jsx(a,{name:"wifiOff",size:12}),n]})}export{p as N,u as O,y as a};

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.