The present invention relates to compounds of the formulae (I)-(XII), wherein R
1
-R
71
, A, B, X, Y, G, L and Z are defined herein, and their pharmaceutically acceptable salts. These compounds modulate the activity of c-Met and are therefore expected to be useful in the prevention and treatment of c-Met related disorders such as cancer.