{
  "mappings": "AAIA,cAAc,kBAAkB;AAGhC,SAAS,wCAAwC;AAEjD,OAAO,iBAAS,oBAAoB,EAClC,gBACC;CAAE,cAAc;IAAoB",
  "names": [],
  "sources": [
    "src/index.ts"
  ],
  "version": 3,
  "sourcesContent": [
    "import React from 'react'\nimport { isWeb } from '@tamagui/constants'\n\nimport { getWindowSize, subscribe } from './helpers'\nimport type { WindowSize } from './types'\nimport { initialValue } from './initialValue'\n\nexport { configureInitialWindowDimensions } from './initialValue'\n\nexport function useWindowDimensions({\n  serverValue = initialValue,\n}: { serverValue?: WindowSize } = {}): WindowSize {\n  return React.useSyncExternalStore(subscribe, getWindowSize, () =>\n    isWeb ? serverValue : getWindowSize()\n  )\n}\n"
  ]
}