{
  "mappings": ";;;;;;;;;;;;;;AAeA,YAAY,gBAAgB;UACjB;UACA;UACA;UACA;UACA,mBAAmB;UACnB;UACA;UACA;;UAEA;UACA;;UAEA;UACA,MAAM;;AAGjB,YAAY,cAAc;UACf;UACA;;AAGX,YAAY,iBAAiB;UAClB,QAAQ;WAAW;;UACnB,MAAM;;AAGjB,YAAY,gBAAgB;UACjB,QAAQ;WAAW;;UACnB,MAAM;;AAGjB,YAAY,oBAAoB;UACrB,QAAQ;WACN;WACA;;UAEF,MAAM;;AAGjB,YAAY,qBAAqB;UACtB,MAAM",
  "names": [],
  "sources": [
    "src/events.ts"
  ],
  "version": 3,
  "sourcesContent": [
    "/**\n * Event payloads for the Tamagui DOM contract.\n *\n * Only the cross-platform subset is typed. Where an event's shape genuinely\n * differs between a browser event and a react native synthetic event, the\n * handler takes `unknown` rather than promising a shape one platform cannot\n * deliver — `payload: 'unknown'` in the event table. These are the payloads a\n * native primitive can construct in full, so a handler written against them\n * behaves the same on both platforms.\n *\n * Extra platform fields are not excluded: a handler receives a value, and\n * TypeScript only seals object literals, so reading a web-only field off the\n * event still needs a cast and still says so at the call site.\n */\n\nexport type DOMClickEvent = {\n  readonly altKey: boolean\n  readonly button: number\n  readonly ctrlKey: boolean\n  readonly defaultPrevented: boolean\n  readonly getModifierState: (key: string) => boolean\n  readonly metaKey: boolean\n  readonly pageX: number\n  readonly pageY: number\n  /** @platform web — native has nothing to cancel, so this is a no-op there */\n  readonly preventDefault: () => void\n  readonly shiftKey: boolean\n  /** @platform web — native has nothing to cancel, so this is a no-op there */\n  readonly stopPropagation: () => void\n  readonly type: 'click'\n}\n\nexport type DOMKeyEvent = {\n  readonly key: string\n  readonly type?: string\n}\n\nexport type DOMChangeEvent = {\n  readonly target: { readonly value: string }\n  readonly type: 'change'\n}\n\nexport type DOMInputEvent = {\n  readonly target: { readonly value: string }\n  readonly type: 'input'\n}\n\nexport type DOMImageLoadEvent = {\n  readonly target: {\n    readonly naturalHeight?: number\n    readonly naturalWidth?: number\n  }\n  readonly type: 'load'\n}\n\nexport type DOMImageErrorEvent = {\n  readonly type: 'error'\n}\n"
  ]
}