{"version":3,"file":"Currency.rsc.cjs","names":["computeCurrency"],"sources":["../../../src/components/variables/Currency.rsc.tsx"],"sourcesContent":["import { computeCurrency, type ResolvedCurrencyProps } from './Currency.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 RscGtInternalCurrency(props: ResolvedCurrencyProps): string | null {\n  return computeCurrency(props);\n}\n\nfunction RscCurrency(props: ResolvedCurrencyProps): React.JSX.Element {\n  return <RscGtInternalCurrency {...props} />;\n}\n\n/** @internal _gtt - The GT transformation for the component. */\nRscCurrency._gtt = 'variable-currency';\nRscGtInternalCurrency._gtt = 'variable-currency-automatic';\n\n// ===== Exports ===== //\n\nexport { RscCurrency, RscGtInternalCurrency };\n"],"mappings":"4HAMA,SAAS,EAAsB,EAA6C,CAC1E,OAAOA,EAAAA,gBAAgB,EAAM,CAG/B,SAAS,EAAY,EAAiD,CACpE,OAAO,EAAA,EAAA,KAAC,EAAD,CAAuB,GAAI,EAAS,CAAA,CAI7C,EAAY,KAAO,oBACnB,EAAsB,KAAO"}