{"version":3,"file":"index.server.mjs","names":[],"sources":["../src/index.server.ts"],"sourcesContent":["'use client';\n\nimport { initializeGT } from './setup/initGT';\n/**\n * No initializeGTServer() here because we do not want to\n * initialize the AsyncConditionStore on the server side.\n *\n * No initializeGTClient() here because we do want to enforce\n * expiry times here.\n */\ninitializeGT();\n\n// ===== Pages Router ===== //\nexport { parseLocale } from './pages-dir/parseLocale';\nexport { withGTServerSideProps } from './pages-dir/withGTServerSideProps';\nexport type { WithGTServerSideProps } from './pages-dir/withGTServerSideProps';\nexport { withGTStaticProps } from './pages-dir/withGTStaticProps';\nexport type { WithGTStaticProps } from './pages-dir/withGTStaticProps';\n\n// ===== Components ===== //\nexport {\n  Branch,\n  Currency,\n  DateTime,\n  Derive,\n  GTProvider,\n  GtInternalTranslateJsx,\n  GtInternalVar,\n  T,\n  LocaleSelector,\n  Num,\n  Plural,\n  RegionSelector,\n  RelativeTime,\n  Var,\n} from 'gt-react';\n\n// ===== Hooks ===== //\nexport {\n  useDefaultLocale,\n  useGT,\n  useLocaleDirection,\n  useLocales,\n  useLocaleProperties,\n  useLocaleSelector,\n  useLocale,\n  useMessages,\n  useRegion,\n  useSetLocale,\n  useTranslations,\n} from 'gt-react';\n\n// ===== Functions ===== //\nexport {\n  decodeMsg,\n  decodeOptions,\n  decodeVars,\n  declareVar,\n  derive,\n  getDefaultLocale,\n  getLocaleProperties,\n  getLocales,\n  resolveCanonicalLocale,\n  getTranslationsSnapshot,\n  getVersionId,\n  gtFallback,\n  mFallback,\n  msg,\n} from 'gt-react';\nexport { useLocalizeHref } from './link/useLocalizeHref';\nexport { isLocaleSupported } from './request/localeValidation';\n\n// ===== Types ===== //\nexport type { GTTranslationOptions, RuntimeTranslationOptions } from 'gt-react';\n"],"mappings":";;;;;;;;;;;;;;;;AAUA,cAAc"}