The present invention provides for compounds of formula wherein A1, A2, A3, A4, X1, X2, Y1, L1, G1, Rx, and Ry have any of the values defined thereof in the specification, and pharmaceutically acceptable salts thereof, that are useful as agents in the treatment of diseases and conditions, including inflammatory diseases, cancer, and AIDS. In some embodiments, the product materials are formed in a reaction driven by photon energy absorbed from a radiation beam. The set of control guidelines indicates cursor movement inputs needed to specify particular aspects of the function.