{"version":3,"file":"RelativeTime.rsc.mjs","names":[],"sources":["../../../src/components/variables/RelativeTime.rsc.tsx"],"sourcesContent":["import {\n  computeRelativeTime,\n  type ResolvedRelativeTimeProps,\n} from './RelativeTime.shared';\n\n// RSC implementation: request conditions are passed explicitly instead of\n// being read from hooks. This module must stay free of hook/context imports\n// so it can be exported from the components-rsc entrypoint.\n\nfunction RscGtInternalRelativeTime(\n  props: ResolvedRelativeTimeProps\n): string | null {\n  return computeRelativeTime(props);\n}\n\nfunction RscRelativeTime(props: ResolvedRelativeTimeProps): React.JSX.Element {\n  return <RscGtInternalRelativeTime {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nRscRelativeTime._gtt = 'variable-relativetime';\nRscGtInternalRelativeTime._gtt = 'variable-relativetime-automatic';\n\n// ===== Exports ===== //\n\nexport { RscGtInternalRelativeTime, RscRelativeTime };\n"],"mappings":"wGASA,SAAS,EACP,EACe,CACf,OAAO,EAAoB,EAAM,CAGnC,SAAS,EAAgB,EAAqD,CAC5E,OAAO,EAAC,EAAD,CAA2B,GAAI,EAAS,CAAA,CAIjD,EAAgB,KAAO,wBACvB,EAA0B,KAAO"}