LittleDemon WebShell


Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64
Path : /proc/self/root/home/livedhms/lmgt/node_modules/next/dist/build/output/
File Upload :
Command :
Current File : //proc/self/root/home/livedhms/lmgt/node_modules/next/dist/build/output/format.js.map

{"version":3,"sources":["../../../src/build/output/format.ts"],"sourcesContent":["import type { CacheControl } from '../../server/lib/cache-control'\n\nconst timeUnits = [\n  { label: 'y', seconds: 31536000 },\n  { label: 'w', seconds: 604800 },\n  { label: 'd', seconds: 86400 },\n  { label: 'h', seconds: 3600 },\n  { label: 'm', seconds: 60 },\n  { label: 's', seconds: 1 },\n]\n\nfunction humanReadableTimeRounded(seconds: number): string {\n  // Find the largest fitting unit.\n  let candidateIndex = timeUnits.length - 1\n  for (let i = 0; i < timeUnits.length; i++) {\n    if (seconds >= timeUnits[i].seconds) {\n      candidateIndex = i\n      break\n    }\n  }\n\n  const candidate = timeUnits[candidateIndex]\n  const value = seconds / candidate.seconds\n  const isExact = Number.isInteger(value)\n\n  // For days and weeks only, check if using the next smaller unit yields an\n  // exact result.\n  if (!isExact && (candidate.label === 'd' || candidate.label === 'w')) {\n    const nextUnit = timeUnits[candidateIndex + 1]\n    const nextValue = seconds / nextUnit.seconds\n\n    if (Number.isInteger(nextValue)) {\n      return `${nextValue}${nextUnit.label}`\n    }\n  }\n\n  if (isExact) {\n    return `${value}${candidate.label}`\n  }\n\n  return `≈${Math.round(value)}${candidate.label}`\n}\n\nexport function formatRevalidate(cacheControl: CacheControl): string {\n  const { revalidate } = cacheControl\n\n  return revalidate ? humanReadableTimeRounded(revalidate) : ''\n}\n\nexport function formatExpire(cacheControl: CacheControl): string {\n  const { expire } = cacheControl\n\n  return expire ? humanReadableTimeRounded(expire) : ''\n}\n"],"names":["formatExpire","formatRevalidate","timeUnits","label","seconds","humanReadableTimeRounded","candidateIndex","length","i","candidate","value","isExact","Number","isInteger","nextUnit","nextValue","Math","round","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