// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<BeaconMarker /> renders marker when beacon has location 1`] = `
<BeaconMarker
  beacon={
    Beacon {
      "_beaconInfo": {
        "assetType": "m.self",
        "description": undefined,
        "live": true,
        "timeout": 3600000,
        "timestamp": 1647270879403,
      },
      "_events": {
        "Beacon.Destroy": [
          [Function],
          [Function],
        ],
        "Beacon.LivenessChange": [
          [Function],
          [Function],
        ],
        "Beacon.LocationUpdate": [Function],
        "Beacon.new": [Function],
        "Beacon.update": [Function],
      },
      "_eventsCount": 5,
      "_isLive": true,
      "_latestLocationEvent": {
        "content": {
          "m.relates_to": {
            "event_id": "$alice-room1-1",
            "rel_type": "m.reference",
          },
          "org.matrix.msc3488.location": {
            "description": undefined,
            "uri": "geo:51,41",
          },
          "org.matrix.msc3488.ts": 1647270879404,
        },
        "room_id": undefined,
        "sender": "@alice:server",
        "type": "org.matrix.msc3672.beacon",
      },
      "_maxListeners": undefined,
      "clearLatestLocation": [Function],
      "livenessWatchTimeout": undefined,
      "roomId": "!room:server",
      "rootEvent": {
        "content": {
          "description": undefined,
          "live": true,
          "org.matrix.msc3488.asset": {
            "type": "m.self",
          },
          "org.matrix.msc3488.ts": 1647270879403,
          "timeout": 3600000,
        },
        "event_id": "$alice-room1-1",
        "origin_server_ts": 1647270879403,
        "room_id": "!room:server",
        "sender": "@alice:server",
        "state_key": "@alice:server",
        "type": "org.matrix.msc3672.beacon_info",
      },
      Symbol(kCapture): false,
    }
  }
  map={
    MockMap {
      "_events": {},
      "_eventsCount": 0,
      "_maxListeners": undefined,
      "addControl": [MockFunction],
      "fitBounds": [MockFunction],
      "removeControl": [MockFunction],
      "setCenter": [MockFunction],
      "setStyle": [MockFunction],
      "zoomIn": [MockFunction],
      "zoomOut": [MockFunction],
      Symbol(kCapture): false,
    }
  }
>
  <SmartMarker
    geoUri="geo:51,41"
    id="!room:server_@alice:server"
    map={
      MockMap {
        "_events": {},
        "_eventsCount": 0,
        "_maxListeners": undefined,
        "addControl": [MockFunction],
        "fitBounds": [MockFunction],
        "removeControl": [MockFunction],
        "setCenter": [MockFunction],
        "setStyle": [MockFunction],
        "zoomIn": [MockFunction],
        "zoomOut": [MockFunction],
        Symbol(kCapture): false,
      }
    }
    roomMember={
      RoomMember {
        "_events": {},
        "_eventsCount": 0,
        "_isOutOfBand": false,
        "_maxListeners": undefined,
        "disambiguate": false,
        "events": {},
        "membership": undefined,
        "modified": 1647270879403,
        "name": "@alice:server",
        "powerLevel": 0,
        "powerLevelNorm": 0,
        "rawDisplayName": "@alice:server",
        "requestedProfileInfo": false,
        "roomId": "!room:server",
        "typing": false,
        "user": undefined,
        "userId": "@alice:server",
        Symbol(kCapture): false,
      }
    }
    useMemberColor={true}
  >
    <span>
      <ForwardRef
        id="!room:server_@alice:server"
        roomMember={
          RoomMember {
            "_events": {},
            "_eventsCount": 0,
            "_isOutOfBand": false,
            "_maxListeners": undefined,
            "disambiguate": false,
            "events": {},
            "membership": undefined,
            "modified": 1647270879403,
            "name": "@alice:server",
            "powerLevel": 0,
            "powerLevelNorm": 0,
            "rawDisplayName": "@alice:server",
            "requestedProfileInfo": false,
            "roomId": "!room:server",
            "typing": false,
            "user": undefined,
            "userId": "@alice:server",
            Symbol(kCapture): false,
          }
        }
        useMemberColor={true}
      >
        <div
          className="mx_Marker mx_Username_color4"
          id="!room:server_@alice:server"
        >
          <OptionalTooltip>
            <div
              className="mx_Marker_border"
            >
              <MemberAvatar
                height={36}
                hideTitle={false}
                member={
                  RoomMember {
                    "_events": {},
                    "_eventsCount": 0,
                    "_isOutOfBand": false,
                    "_maxListeners": undefined,
                    "disambiguate": false,
                    "events": {},
                    "membership": undefined,
                    "modified": 1647270879403,
                    "name": "@alice:server",
                    "powerLevel": 0,
                    "powerLevelNorm": 0,
                    "rawDisplayName": "@alice:server",
                    "requestedProfileInfo": false,
                    "roomId": "!room:server",
                    "typing": false,
                    "user": undefined,
                    "userId": "@alice:server",
                    Symbol(kCapture): false,
                  }
                }
                viewUserOnClick={false}
                width={36}
              >
                <BaseAvatar
                  height={36}
                  idName="@alice:server"
                  name="@alice:server"
                  resizeMethod="crop"
                  title="@alice:server"
                  width={36}
                >
                  <span
                    className="mx_BaseAvatar"
                    role="presentation"
                  >
                    <span
                      aria-hidden="true"
                      className="mx_BaseAvatar_initial"
                      style={
                        {
                          "fontSize": "23.400000000000002px",
                          "lineHeight": "36px",
                          "width": "36px",
                        }
                      }
                    >
                      A
                    </span>
                    <img
                      alt=""
                      aria-hidden="true"
                      className="mx_BaseAvatar_image"
                      data-testid="avatar-img"
                      onError={[Function]}
                      src="data:image/png;base64,00"
                      style={
                        {
                          "height": "36px",
                          "width": "36px",
                        }
                      }
                      title="@alice:server"
                    />
                  </span>
                </BaseAvatar>
              </MemberAvatar>
            </div>
          </OptionalTooltip>
        </div>
      </ForwardRef>
    </span>
  </SmartMarker>
</BeaconMarker>
`;
