Disclosed are compounds of Formula 1,and pharmaceutically acceptable salts thereof, wherein Ar, R1, R2, R3, G1, G2, and m are defined in the specification. This disclosure also relates to materials and methods for preparing compounds of Formula 1, to pharmaceutical compositions which contain them, and to their use for treating inflammatory disorders, cardiovascular disease, cancer, and other conditions associated with PI3Kδ.