In one aspect, the invention provides compounds of Formula (I) or pharmaceutically acceptable salts thereof. In another aspect, the invention provides methods for treatment of diseases or disorders mediated by a protein kinase, comprising administering a therapeutically effective amount of a compound of this invention.