# US 2019/0315743 A1 · Pyrazolopyridine compounds and uses thereof

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0315743 A1
- Document ID: US20190315743A1
- Status: Published application
- Kind: A1
- Application number: 16/454,661
- Filed: 2019-06-27
- Published: 2019-10-17
- Earliest claimed: 2016-09-09
- Assignees: Incyte Corporation
- Applicants: Incyte Corporation
- Inventors: Kai Liu; Jun Pan; Alexander Sokolsky; Oleg Vechorkin; Hai Fen Ye; Qinda Ye; Wenqing Yao
- Web page: https://patentgrep.com/patent/US20190315743A1

## CPC

- C07D 471/04: Ortho-condensed systems
- A61P 35/00: Antineoplastic agents
- C07D 519/00: Heterocyclic compounds containing more than one system of two or more relevant hetero rings condensed among themselves or condensed with a common carbocyclic ring system not provided for in groups C07D453/00 or C07D455/00
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS

## Abstract

Disclosed are compounds of Formula (I), methods of using the compounds for inhibiting HPK1 activity and pharmaceutical compositions comprising such compounds. The compounds are useful in treating, preventing or ameliorating diseases or disorders associated with HPK1 activity such as cancer.

## Claims

### Claim 1

A compound of Formula I:
or a pharmaceutically acceptable salt thereof, wherein:
R1 is selected from Cy1, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, NO2, ORa, SRa, C(O)Rb, C(O)NRcRd, C(O)ORa, OC(O)Rb, OC(O)NRcRd, NRcRd, NRcC(O)Rb, NRcC(O)ORa, NRcC(O)NRcRd, C(═NRe)Rb, C(═NORa)Rb, C(═NRe)NRcRd, NRcC(═NRe)NRcRd, NRcS(O)Rb, NRcS(O)2Rb, NRcS(O)2NRcRd, S(O)Rb, S(O)NRcRd, S(O)2Rb, and S(O)2NRcRd; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
Cy1 is selected from C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein each 4-10 membered heterocycloalkyl and 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of 5-10 membered heteroaryl and 4-10 membered heterocycloalkyl is optionally substituted by oxo to form a carbonyl group; and wherein the C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10;
CyA is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of the 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20;
R2 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, ORa7, SRa7, C(O)Rb7, C(O)NRc7Rd7, C(O)ORa7, NRc7Rd7, NRc7C(O)Rb7, NRc7C(O)ORa7, NRc7S(O)Rb7, NRc7S(O)2Rb7, NRc7S(O)2NRc7Rd7, S(O)Rb7, S(O)NRc7Rd7, S(O)2Rb7, and S(O)2NRc7Rd7; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
each R10 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, NO2, ORa1, SRa1, C(O)Rb1, C(O)NRc1Rd1, C(O)ORa1, OC(O)Rb1, OC(O)NRc1Rd1, NRc1Rd1, NRc1C(O)Rb1, NRc1C(O)ORa1, NRc1C(O)NRc1Rd1, C(═NRe1)Rb1, C(═NORa1)Rb1, C(═NRe1)NRc1Rd1, NRc1C(═NRe1)NRc1Rd1, NRc1S(O)Rb1, NRc1S(O)2Rb1, NRc1S(O)2NRc1Rd1, S(O)Rb1, S(O)NRc1Rd1, S(O)2Rb1, and S(O)2NRc1Rd1; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or two R10 substituents taken together with the carbon atom to which they are attached form a spiro 3-7-membered heterocycloalkyl ring, or a spiro C3-6 cycloalkyl ring; wherein each spiro 3-7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2 or 3 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each spiro 3-7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the spiro 3-7-membered heterocycloalkyl ring and spiro C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11;
each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, ORa3, SRa3, C(O)Rb3, C(O)NRc3Rd3, C(O)ORa3, NRc3Rd3, NRc3C(O)Rb3, NRc3C(O)ORa3, NRc3S(O)Rb3 NRc3S(O)2Rb3, NRc3S(O)2NRc3Rd3, S(O)Rb3, S(O)NRc3Rd3, S(O)2Rb3, and S(O)2NRc3Rd3; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each R12 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, CN, ORa5, SRa5, C(O)Rb5, C(O)NRc5Rd5, C(O)ORa5, NRc5Rd5, NRc5C(O)Rb5, NRc5C(O)ORa5, NRc5S(O)Rb5, NRc5S(O)2Rb5, NRc5S(O)2NRc5Rd5, S(O)Rb5, S(O)NRc5Rd5, S(O)2Rb5, and S(O)2NRc5Rd5; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 5-10 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each R20 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, NO2, ORa2, SRa2, C(O)Rb2, C(O)NRc2Rd2, C(O)ORa2, OC(O)Rb2, OC(O)NRc2Rd2, NRc2Rd2, NRc2C(O)Rb2, NRc2C(O)ORa2, NRc2C(O)NRc2Rd2, C(═NRe2)Rb2, C(═NORa2)Rb2, C(═NRe2)NRc2Rd2, NRc2C(═NRe2)NRc2Rd2, NRc2S(O)Rb2, NRc2S(O)2Rb2, NRc2S(O)2NRc2Rd2, S(O)Rb2 S(O)NRc2Rd2, S(O)2Rb2, and S(O)2NRc2Rd2; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21;
each R21 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, ORa4, SRa4, C(O)Rb4, C(O)NRc4Rd4, C(O)ORa4, NRc4Rd4, NRc4C(O)Rb4, NRc4C(O)ORa4, NRc4S(O)Rb4, NRc4S(O)2Rb4, NRc4S(O)2NRc4Rd4, S(O)Rb4, S(O)NRc4Rd4, S(O)2Rb4, and S(O)2NRc4Rd4; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
or two R21 substituents taken together with the carbon atom to which they are attached form a spiro 3-7-membered heterocycloalkyl ring, or a spiro C3-6 cycloalkyl ring; wherein each spiro 3-7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2 or 3 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each spiro 3-7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the spiro 3-7 membered heterocycloalkyl ring and spiro C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R22; each R22 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, CN, ORa6, SRa6, C(O)Rb6, C(O)NRc6Rd6, C(O)ORa6, NRc6Rd6, NRc6C(O)Rb6, NRc6C(O)ORa6, NRc6S(O)Rb6, NRc6S(O)2Rb6, NRc6S(O)2NRc6Rd6, S(O)Rb6, S(O)NRc6Rd6, S(O)2Rb6, and S(O)2NRc6Rd6; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each R30 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, CN, ORa8, SRa8, C(O)Rb8, C(O)NRc8Rd8, C(O)ORa8, NRc8Rd8, NRc8C(O)Rb8, NRc8(O)ORa8, NRc8(O)Rb8, NRc8S(O)2Rb8, NRc8S(O)2NRc8Rd8, S(O)Rb8, S(O)NRc8Rd8, S(O)2Rb8, and S(O)2NRc8Rd8; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra and Rc is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Rd is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
or any Rc and Rd attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Rb is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Re is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkylsulfonyl, C1-6 alkylcarbonyl, C1-6 alkylaminosulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, aminosulfonyl, C1-6 alkylaminosulfonyl and di(C1-6 alkyl)aminosulfonyl;
each Ra1, Rc1 and Rd1 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or any Rc1 and Rd1 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Rb1 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Re1 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkylsulfonyl, C1-6 alkylcarbonyl, C1-6 alkylaminosulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, aminosulfonyl, C1-6 alkylaminosulfonyl and di(C1-6 alkyl)aminosulfonyl;
each Ra2, Rc2 and Rd2, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or any Rc2 and Rd2 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R21;
each Rb2 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
each Re2 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkylsulfonyl, C1-6 alkylcarbonyl, C1-6 alkylaminosulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, aminosulfonyl, C1-6 alkylaminosulfonyl and di(C1-6 alkyl)aminosulfonyl;
each Ra3, Rc3 and Rd3, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
or any Rc3 and Rd3 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R12;
each Rb3 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each Ra4, Rc4 and Rd4, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
or any Rc4 and Rd4 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R22;
each Rb4 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each Ra5, Rc5 and Rd5, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Rb5 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra6, Rc6 and Rd6, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Rb6 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra7, Rc7, and Rd7 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
or any Rc7 and Rd7 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R30;
each Rb7 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
each Ras, Rc8 and Rd8, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
or any Rc8 and Rd8 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from Rg;
each Rb8 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg; and
each Rg is independently selected from OH, NO2, CN, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C3-6 cycloalkyl-C1-2 alkylene, C1-6 alkoxy, C1-6 haloalkoxy, C1-3 alkoxy-C1-3 alkyl, C1-3 alkoxy-C1-3 alkoxy, HO—C1-3 alkoxy, HO—C1-3 alkyl, cyano-C1-3 alkyl, H2N—C1-3 alkyl, amino, C1-6 alkylamino, di(C1-6 alkyl)amino, thio, C1-6 alkylthio, C1-6 alkylsulfinyl, C1-6 alkylsulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, carboxy, C1-6 alkylcarbonyl, C1-6 alkoxycarbonyl, C1-6 alkylcarbonylamino, C1-6 alkylsulfonylamino, aminosulfonyl, C1-6 alkylaminosulfonyl, di(C1-6 alkyl)aminosulfonyl, aminosulfonylamino, C1-6 alkylaminosulfonylamino, di(C1-6 alkyl)aminosulfonylamino, aminocarbonylamino, C1-6 alkylaminocarbonylamino, and di(C1-6 alkyl)aminocarbonylamino;
provided that:
1) R1 is other than CH3;
2) R1 is other than 2-morpholinopyridin-4-yl;
3) when CyA is phenyl, then R1 is other than (2-chloropyridin-4-yloxy)methyl; and
4) when R1 is halogen-substituted phenyl, then CyA is other than unsubstituted or substituted 4H-1,2,4-triazol-3-yl.

### Claim 2 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R1 is selected from Cy1, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, NO2, ORa, SRa, C(O)Rb, C(O)NRcRd, C(O)ORa, OC(O)Rb, OC(O)NRcRd, NRcRd, NRcC(O)Rb, and NRcC(O)ORa; wherein said C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10.

### Claim 3 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R1 is selected from Cy1, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, and CN; wherein said C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10.

### Claim 4 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R1 is selected from Cy1, C2-6 alkenyl, and C2-6 alkynyl; wherein said C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10.

### Claim 5 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R1 is Cy1.

### Claim 6 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein Cy1 is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 7 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein Cy1 is phenyl, pyridinyl, pyrazolyl, or pyrimidinyl; wherein the phenyl, pyridinyl, pyrazolyl, or pyrimidinyl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 8 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein Cy1 is phenyl, pyridin-4-yl, 1H-pyrazol-4-yl, pyridin-3-yl, or pyrimidin-5-yl; wherein the phenyl, pyridin-4-yl, 1H-pyrazol-4-yl, pyridin-3-yl, or pyrimidin-5-yl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 9 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein Cy1 is phenyl, pyridin-4-yl, or 1H-pyrazol-4-yl; wherein the phenyl, pyridin-4-yl, and 1H-pyrazol-4-yl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10.

### Claim 10 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, NO2, ORa1, SRa1, C(O)Rb1, C(O)NRc1Rd1, C(O)ORa1, OC(O)Rb1, OC(O)NRc1Rd1, NRc1Rd1, NRc1C(O)Rb1, NRc1C(O)ORa1, NRc1S(O)Rb1, NRc1S(O)2Rb1, NRc1S(O)2NRc1Rd1, S(O)Rb1, S(O)NRc1Rd1, S(O)2Rb1, and S(O)2NRc1Rd1; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11.

### Claim 11 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa1, SRa1, C(O)Rb1, C(O)NRc1Rd1, C(O)ORa1, NRc1Rd1, and NRc1C(O)Rb1; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11.

### Claim 12 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from C1-6 alkyl, 4-10 membered heterocycloalkyl, C(O)Rb1, and C(O)NRc1Rd1; wherein said C1-6 alkyl and 4-10 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11.

### Claim 13 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from C1-6 alkyl, piperazinyl, piperidinyl, morpholinyl, C(O)Rb1 and C(O)NRc1Rd1; wherein said C1-6 alkyl, piperazinyl, and piperidinyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11.

### Claim 14 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from C1-6 alkyl, piperazinyl, piperidinyl, C(O)Rb1, and C(O)NRc1Rd1; wherein said C1-6 alkyl, piperazinyl, and piperidinyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11.

### Claim 15 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa3, SRa3, C(O)Rb3, C(O)NRc3Rd3, C(O)ORa3, S(O)Rb3, S(O)NRc3Rd3, S(O)2Rb3, and S(O)2NRc3Rd3; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12.

### Claim 16 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, ORa3, C(O)Rb3, and S(O)2Rb3; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12.

### Claim 17 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, C(O)Rb3, and S(O)2Rb3; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12.

### Claim 18 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R11 is independently selected from C1-6 alkyl, ORa3, C(O)Rb3, and S(O)2Rb3.

### Claim 19 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R11 is independently selected from C1-6 alkyl, C(O)Rb3, and S(O)2Rb3.

### Claim 20 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from 4-methylpiperazin-1-yl, N-methylaminocarbonyl, methyl, N-(1-methylpiperidin-4-yl)aminocarbonyl, (4-methylpiperazin-1-yl)carbonyl, N-phenylaminocarbonyl, piperidin-4-yl, 1-(methylsulfonyl)piperidin-4-yl, 1-acetyl-piperidin-4-yl, morpholinyl, 4-ethylpiperazin-1-yl, or 2-hydroxypropan-2-yl.

### Claim 21 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R10 is independently selected from 4-methylpiperazin-1-yl, N-methylaminocarbonyl, methyl, N-(1-methylpiperidin-4-yl)aminocarbonyl, (4-methylpiperazin-1-yl)carbonyl, N-phenylaminocarbonyl, piperidin-4-yl, 1-(methylsulfonyl)piperidin-4-yl, and 1-acetyl-piperidin-4-yl.

### Claim 22 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein CyA is C6-10 aryl optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20.

### Claim 23 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein CyA is 5-10 membered heteroaryl; wherein the 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of the 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the 5-10 membered heteroaryl is optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20.

### Claim 24 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein CyA is phenyl, 1H-indazol-4-yl, pyridin-3-yl, pyridin-4-yl, pyrimidin-5-yl, 1H-pyrazolo[4,3-b]pyridin-6-yl, pyridin-2(1H)-on-5-yl, 3H-imidazo[4,5-b]pyridin-6-yl, pyrido[3,2-b]pyrazin-7-yl, oxazolo[5,4-c]pyridin-7-yl, 1H-pyrazol-4-yl, pyrazolo[1,5-a]pyridin-3-yl, quinolin-5-yl, isoquinolin-4-yl, 1H-indol-4-yl, and imidazo[1,2-a]pyridin-8-yl, each of which is optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20.

### Claim 25 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R20 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, NO2, ORa2, SRa2, C(O)Rb2, C(O)NRc2Rd2, C(O)ORa2, OC(O)Rb2, OC(O)NRc2Rd2, NRc2Rd2, NRc2C(O)Rb2, NRc2C(O)ORa2, NRc2S(O)Rb2, NRc2S(O)2Rb2, S(O)Rb2, S(O)NRc2Rd2, S(O)2Rb2, and S(O)2NRc2Rd2; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21.

### Claim 26 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R20 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa2, SRa2, C(O)Rb2, C(O)NRc2Rd2, C(O)ORa2, NRc2Rd2, NRc2C(O)Rb2, NRc2C(O)ORa2, NRc2S(O)Rb2, NRc2S(O)2Rb2, S(O)Rb2, S(O)NRc2Rd2, S(O)2Rb2, and S(O)2NRc2Rd2; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21.

### Claim 27 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R20 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa2, C(O)NRc2Rd2, C(O)ORa2, NRc2Rd2, NRc2C(O)Rb2, and NRc2S(O)2Rb2; wherein said C1-6 alkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21.

### Claim 28 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R20 is independently selected from methoxy, methyl, fluoro, trifluoromethyl, amino, methoxy, hydroxymethyl, ethoxycarbonyl, methanesulfonamino, hydroxyl, N-methylaminocarbonyl, dimethylamino, cyano, methoxycarbonyl, acetylamino, phenyl, 2-oxazolyl, tert-butyl, aminocarbonyl, N-benzylaminocarbonyl, N-(pyridin-4-ylmethyl)aminocarbonyl, ethyl, methylaminomethyl;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 5- or 6-membered heterocycloalkyl ring, or a fused C5 cycloalkyl ring; wherein each fused 5- or 6-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1 or 2 ring-forming heteroatoms independently selected from N and O; wherein a ring-forming carbon atom of each fused 5- or 6-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 5- or 6-membered heterocycloalkyl ring and fused C5 cycloalkyl ring are each optionally substituted with 1 or 2 substituents independently selected from amino, methylamino, 2-hydroxyethylamino, and N-benzylamino.

### Claim 29 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R20 is independently selected from methoxy, methyl, fluoro, trifluoromethyl, amino, methoxy, hydroxymethyl, ethoxycarbonyl, methanesulfonamino, hydroxyl, N-methylaminocarbonyl, dimethylamino, cyano, methoxycarbonyl, acetylamino, phenyl, 2-oxazolyl, tert-butyl, aminocarbonyl, N-benzylaminocarbonyl, N-(pyridin-4-ylmethyl)aminocarbonyl, and ethyl;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 5- or 6-membered heterocycloalkyl ring, or a fused C5 cycloalkyl ring; wherein each fused 5- or 6-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1 or 2 ring-forming heteroatoms independently selected from N and O; wherein a ring-forming carbon atom of each fused 5- or 6-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 5- or 6-membered heterocycloalkyl ring and fused C5 cycloalkyl ring are each optionally substituted with 1 or 2 substituents independently selected from amino, methylamino, 2-hydroxyethylamino, and N-benzylamino.

### Claim 30 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R2 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, ORa7, SRa7, C(O)Rb7, C(O)NRc7Rd7, C(O)ORa7, NRc7Rd7, NRc7C(O)Rb7, S(O)Rb7, S(O)NRc7Rd7, S(O)2Rb7, and S(O)2NRc7Rd7; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30.

### Claim 31 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R2 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, and CN; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30.

### Claim 32 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R2 is H, C1-6 alkyl, or CN.

### Claim 33 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R2 is H or C1-6 alkyl.

### Claim 34 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R2 is H.

### Claim 35 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R2 is CN.

### Claim 36 (depends on 1)

The compound of claim 1 having Formula IIa or Formula IIb:
or a pharmaceutically acceptable salt thereof, wherein n is 1, 2, 3, or 4; and m is 1, 2, or 3.

### Claim 37 (depends on 1)

The compound of claim 1 having Formula IIIa or Formula IIIb:
or a pharmaceutically acceptable salt thereof.

### Claim 38 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
R1 is selected from Cy1, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, NO2, ORa, SRa, C(O)Rb, C(O)NRcRd, C(O)ORa, OC(O)Rb, OC(O)NRcRd, NRcRd, NRcC(O)Rb, NRcC(O)ORa, NRcC(O)NRcRd, C(═NRe)Rb, C(═NORa)Rb, C(═NRe)NRcRd, NRcC(═NRe)NRcRd, NRcS(O)Rb, NRcS(O)2Rb, NRcS(O)2NRcRd, S(O)Rb, S(O)NRcRd, S(O)2Rb, and S(O)2NRcRd; wherein said C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
Cy1 is selected from C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein each 4-10 membered heterocycloalkyl and 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of 5-10 membered heteroaryl and 4-10 membered heterocycloalkyl is optionally substituted by oxo to form a carbonyl group; and wherein the C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10;
CyA is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-membered heteroaryl has at least one ring-forming carbon atom and 1 or 2 ring-forming heteroatoms independently selected from N, O, and S and the 6-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of the 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20;
R2 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, ORa7, SRa7, C(O)Rb7, C(O)NRc7Rd7, C(O)ORa7, NRc7Rd7, NRc7C(O)Rb7, NRc7C(O)ORa7, NRc7S(O)Rb7, NRc7S(O)2Rb7, NRc7S(O)2NRc7Rd7, S(O)Rb7, S(O)NRc7Rd7, S(O)2Rb7, and S(O)2NRc7Rd7; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
each R10 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, piperazinyl, piperidinyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, NO2, ORa1, SRa1, C(O)Rb1, C(O)NRc1Rd1, C(O)ORa1, OC(O)Rb1, OC(O)NRc1Rd1, NRc1Rd1, NRc1C(O)Rb1 NRc1C(O)ORa1, NRc1C(O)NRc1Rd1, C(═NRe1)Rb1, C(═NORa1)Rb1, C(═NRe1)NRc1Rd1, NRc1C(═NRe1)NRc1Rd1, NRc1S(O)Rb1, NRc1S(O)2Rb1, NRc1S(O)2NRc1Rd1, S(O)Rb1, S(O)NRc1Rd1, S(O)2Rb1, and S(O)2NRc1Rd1; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, piperazinyl, piperidinyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or two R10 substituents taken together with the carbon atom to which they are attached form a spiro 3-7-membered heterocycloalkyl ring, or a spiro C3-6 cycloalkyl ring; wherein each spiro 3-7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2 or 3 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each spiro 3-7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the spiro 3-7-membered heterocycloalkyl ring and spiro C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R11;
each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, ORa3, SRa3, C(O)Rb3, C(O)NRc3Rd3, C(O)ORa3, NRc3Rd3, NRc3C(O)Rb3, NRc3C(O)ORa3, NRc3S(O)Rb3 NRc3S(O)2Rb3, NRc3S(O)2NRc3Rd3, S(O)Rb3, S(O)NRc3Rd3, S(O)2Rb3, and S(O)2NRc3Rd3; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each R12 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, CN, ORa5, SRa5, C(O)Rb5, C(O)NRc5Rd5, C(O)ORa5, NRc5Rd5, NRc5C(O)Rb5, NRc5C(O)ORa5, NRc5S(O)Rb5, NRc5S(O)2Rb5, NRcSS(O)2NRc5Rd5, S(O)Rb5, S(O)NRc5Rd5, S(O)2Rb5, and S(O)2NRc5Rd5; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 5-10 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each R20 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, NO2, ORa2, SRa2, C(O)Rb2, C(O)NRc2Rd2, C(O)ORa2, OC(O)Rb2, OC(O)NRc2Rd2, NRc2Rd2, NRc2C(O)Rb2, NRc2C(O)ORa2, NRc2C(O)NRc2Rd2, C(═NRe2)Rb2, C(═NORa2)Rb2, C(═NRe2)NRc2Rd2, NRc2C(═NRe2)NRc2Rd2, NRc2S(O)Rb2, NRc2S(O)2Rb2, NRc2S(O)2NRc2Rd2, S(O)Rb2 S(O)NRc2Rd2, S(O)2Rb2, and S(O)2NRc2Rd2; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 4-, 5-, 6- or 7-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21;
each R21 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene, 5-10 membered heteroaryl-C1-3 alkylene, halo, CN, ORa4, SRa4, C(O)Rb4, C(O)NRc4Rd4, C(O)ORa4, NRc4Rd4, NRc4C(O)Rb4, NRc4C(O)ORa4, NRc4S(O)Rb4, NRc4S(O)2Rb4, NRc4S(O)2NRc4Rd4, S(O)Rb4, S(O)NRc4Rd4, S(O)2Rb4, and S(O)2NRc4Rd4; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-3 alkylene, 4-10 membered heterocycloalkyl-C1-3 alkylene, C6-10 aryl-C1-3 alkylene and 5-10 membered heteroaryl-C1-3 alkylene are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
or two R21 substituents taken together with the carbon atom to which they are attached form a spiro 3-7-membered heterocycloalkyl ring, or a spiro C3-6 cycloalkyl ring; wherein each spiro 3-7-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2 or 3 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each spiro 3-7-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the spiro 3-7 membered heterocycloalkyl ring and spiro C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R22;
each R22 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, CN, ORa6, SRa6, C(O)Rb6, C(O)NRc6Rd6, C(O)ORa6, NRc6Rd6, NRc6C(O)Rb6, NRc6C(O)ORa6, NRc6S(O)Rb6, NRc6S(O)2Rb6, NRc6S(O)2NRc6Rd6, S(O)Rb6, S(O)NRc6Rd6, S(O)2Rb6, and S(O)2NRc6Rd6; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each R30 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, CN, ORa8, SRa8, C(O)Rb8, C(O)NRc8Rd8, C(O)ORa8, NRc8Rd8, NRc8C(O)Rb8, NRc8C(O)ORa8, NRc8S(O)Rb8, NRc8S(O)2Rb8, NRc8S(O)2NRc8Rd8, S(O)Rb8, S(O)NRc8Rd8, S(O)2Rb8, and S(O)2NRc8Rd8; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra and Rc is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Rd is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
or any Rc and Rd attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Rb is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Re is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkylsulfonyl, C1-6 alkylcarbonyl, C1-6 alkylaminosulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, aminosulfonyl, C1-6 alkylaminosulfonyl and di(C1-6 alkyl)aminosulfonyl;
each Ra1, Rc1 and Rd1 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or any Rc1 and Rd1 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Rb1 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Re1 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkylsulfonyl, C1-6 alkylcarbonyl, C1-6 alkylaminosulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, aminosulfonyl, C1-6 alkylaminosulfonyl and di(C1-6 alkyl)aminosulfonyl;
each Ra2, Rc2 and Rd2, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or any Rc2 and Rd2 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R21;
each Rb2 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
each Re2 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkylsulfonyl, C1-6 alkylcarbonyl, C1-6 alkylaminosulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, aminosulfonyl, C1-6 alkylaminosulfonyl and di(C1-6 alkyl)aminosulfonyl;
each Ra3, Rc3 and Rd3, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
or any Rc3 and Rd3 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R12;
each Rb3 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each Ra4, Rc4 and Rd4, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
or any Rc4 and Rd4 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R22;
each Rb4 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each Ra5, Rc5 and Rd5, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Rb5 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra6, Rc6 and Rd6, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Rb6 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra7, Rc7, and Rd7 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
or any Rc7 and Rd7 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from R30;
each Rb7 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl and 5-10 membered heteroaryl, are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
each Ras, Rc8 and Rd8, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
or any Rc8 and Rd8 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2 or 3 substituents independently selected from Rg;
each Rb8 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, phenyl, 5-6 membered heteroaryl and 4-7 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg; and
each Rg is independently selected from OH, NO2, CN, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C3-6 cycloalkyl-C1-2 alkylene, C1-6 alkoxy, C1-6 haloalkoxy, C1-3 alkoxy-C1-3 alkyl, C1-3 alkoxy-C1-3 alkoxy, HO—C1-3 alkoxy, HO—C1-3 alkyl, cyano-C1-3 alkyl, H2N—C1-3 alkyl, amino, C1-6 alkylamino, di(C1-6 alkyl)amino, thio, C1-6 alkylthio, C1-6 alkylsulfinyl, C1-6 alkylsulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, carboxy, C1-6 alkylcarbonyl, C1-6 alkoxycarbonyl, C1-6 alkylcarbonylamino, C1-6 alkylsulfonylamino, aminosulfonyl, C1-6 alkylaminosulfonyl, di(C1-6 alkyl)aminosulfonyl, aminosulfonylamino, C1-6 alkylaminosulfonylamino, di(C1-6 alkyl)aminosulfonylamino, aminocarbonylamino, C1-6 alkylaminocarbonylamino, and di(C1-6 alkyl)aminocarbonylamino.

### Claim 39 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
R1 is selected from Cy1, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, NO2, ORa, SRa, C(O)Rb, C(O)NRcRd, C(O)ORa, OC(O)Rb, OC(O)NRcRd, NRcRd, NRcC(O)Rb, NRcC(O)ORa, NRcS(O)Rb, NRcS(O)2Rb, NRcS(O)2NRcRd, S(O)Rb, S(O)NRcRd, S(O)2Rb, and S(O)2NRcRd; wherein said C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
Cy1 is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10;
CyA is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-membered heteroaryl has at least one ring-forming carbon atom and 1 or 2 ring-forming heteroatoms independently selected from N, O, and S and the 6-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of the 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20;
R2 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, ORa7, SRa7, C(O)Rb7, C(O)NRc7Rd7, C(O)ORa7, NRc7Rd7, NRc7C(O)Rb7, and NRc7C(O)ORa7; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R30;
each R10 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, piperazinyl, piperidinyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, NO2, ORa1, SRa1, C(O)Rb1, C(O)NRc1Rd1, C(O)ORa1, NRc1Rd1, NRc1C(O)Rb1, NRc1C(O)ORa1, S(O)Rb1, S(O)NRc1Rd1, S(O)2Rb1, and S(O)2NRc1Rd1; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, piperazinyl, piperidinyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, CN, ORa3, SRa3, C(O)Rb3, C(O)NRc3Rd3, C(O)ORa3, NRc3Rd3, NRc3C(O)Rb3, NRc3C(O)ORa3, S(O)Rb3, S(O)NRc3Rd3, S(O)2Rb3, and S(O)2NRc3Rd3; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each R12 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, CN, ORa5, SRa5, C(O)Rb5, C(O)NRc5Rd5, C(O)ORa5, NRc5Rd5, NRc5C(O)Rb5NRc5C(O)ORa5, S(O)Rb5, S(O)NRc5Rd5, S(O)2Rb5, and S(O)2NRc5Rd5; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each R20 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, NO2, ORa2, SRa2, C(O)Rb2, C(O)NRc2Rd2, C(O)ORa2, OC(O)Rb2, OC(O)NRc2Rd2, NRc2Rd2, NRc2C(O)Rb2, NRc2C(O)ORa2, NRc2S(O)Rb2, NRc2S(O)2Rb2, NRc2S(O)2NRc2Rd2, S(O)Rb2, S(O)NRc2Rd2, S(O)2Rb2, and S(O)2NRc2Rd2; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 5- or 6-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 5- or 6-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 5- or 6-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 5- or 6-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21;
each R21 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa4, SRa4, C(O)Rb4, C(O)NRc4Rd4, C(O)ORa4, NRc4Rd4, NRc4C(O)Rb4, NRc4C(O)ORa4, S(O)Rb4, S(O)NRc4Rd4, S(O)2Rb4, and S(O)2NRc4Rd4; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 4-10 membered heterocycloalkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each R22 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, CN, ORa6, SRa6, C(O)Rb6, C(O)NRc6Rd6, C(O)ORa6, NRc6Rd6, NRc6C(O)Rb6, NRc6C(O)ORa6, S(O)Rb6, S(O)NRc6Rd6, S(O)2Rb6, and S(O)2NRc6Rd6; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each R30 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, phenyl, halo, CN, ORas, SRas, C(O)Rb8, C(O)NRc8Rd8, C(O)ORas, NRc8Rd8, NR8C(O)Rb8, NRc8C(O)ORas, S(O)Rb8, S(O)NRc8Rd8, S(O)2Rb8, and S(O)2NRc8Rd8; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and phenyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from Rg;
each Ra and Rc is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Rd is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Rb is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
each Ra1, Rc1 and Rd1 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, 4-10 membered heterocycloalkyl, and C6-10 aryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, 4-10 membered heterocycloalkyl and C6-10 aryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or any Rc1 and Rd1 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Rb1 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and 4-10 membered heterocycloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and 4-10 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Ra2, Rc2 and Rd2, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
each Rb2 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
each Ra3, Rc3 and Rd3, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each Rb3 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R12;
each Ra4, Rc4 and Rd4, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each Rb4 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each Ra5, Rc5 and Rd5, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl;
each Rb5 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl;
each Ra6, Rc6 and Rd6, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl;
each Rb6 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Ra7, Rc7, and Rd7 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Rb7 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Ras, Rc8 and Rd8, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Rb8 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; and
each Rg is independently selected from OH, NO2, CN, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C1-6 alkoxy, C1-6 haloalkoxy, C1-3 alkoxy-C1-3 alkyl, C1-3 alkoxy-C1-3 alkoxy, HO—C1-3 alkoxy, HO—C1-3 alkyl, cyano-C1-3 alkyl, H2N—C1-3 alkyl, amino, C1-6 alkylamino, di(C1-6 alkyl)amino, thio, C1-6 alkylthio, C1-6 alkylsulfinyl, C1-6 alkylsulfonyl, carbamyl, C1-6 alkylcarbamyl, di(C1-6 alkyl)carbamyl, carboxy, C1-6 alkylcarbonyl, C1-6 alkoxycarbonyl, C1-6 alkylcarbonylamino, C1-6 alkylsulfonylamino, aminosulfonyl, C1-6 alkylaminosulfonyl, and di(C1-6 alkyl)aminosulfonyl.

### Claim 40 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
R1 is selected from Cy1, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, and CN; wherein said C2-6 alkenyl and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R10;
Cy1 is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10;
CyA is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-membered heteroaryl has at least one ring-forming carbon atom and 1 or 2 ring-forming heteroatoms independently selected from N, O, and S and the 6-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of the 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20;
R2 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, and CN;
each R10 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, piperazinyl, piperidinyl, halo, CN, ORa1, C(O)Rb1, C(O)NRc1Rd1, C(O)ORa1, and NRc1Rd1; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, piperazinyl, and piperidinyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each R11 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, halo, ORa3, C(O)Rb3, C(O)NRc3Rd3, C(O)ORa3, NRc3Rd3, S(O)2Rb3, and S(O)2NRc3Rd3;
each R20 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa2, C(O)Rb2, C(O)NRc2Rd2, C(O)OR2, NRc2Rd2, NRc2C(O)Rb2, and NRc2S(O)2Rb2; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 5- or 6-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 5- or 6-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 5- or 6-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 5- or 6-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21;
each R21 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, ORa4, C(O)Rb4, C(O)NRc4Rd4, C(O)ORa4, NRc4Rd4, NRc4C(O)Rb4, S(O)2Rb4, and S(O)2NRc4Rd4; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each R22 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, ORa6, C(O)Rb6, C(O)NRc6Rd6, C(O)ORa6, NRc6Rd6, NRc6C(O)Rb6, S(O)2Rb6, and S(O)2NRc6Rd6;
each Ra1, Rc1 and Rd1 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, 4-10 membered heterocycloalkyl, and C6-10 aryl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, 4-10 membered heterocycloalkyl and C6-10 aryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or any Rc1 and Rd1 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Rb1 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and 4-10 membered heterocycloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and 4-10 membered heterocycloalkyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Ra2, Rc2 and Rd2, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl, C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
each Rb2 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Ra3, Rc3 and Rd3, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Rb3 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Ra4, Rc4 and Rd4, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl; wherein said C1-6 alkyl C2-6 alkenyl, and C2-6 alkynyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22;
each Rb4 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl;
each Ra6, Rc6 and Rd6, is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl and C1-6 haloalkyl; and
each Rb6 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, and C1-6 haloalkyl.

### Claim 41 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
R1 is Cy1;
Cy1 is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R10;
CyA is selected from C6-10 aryl and 5-10 membered heteroaryl; wherein the 5-membered heteroaryl has at least one ring-forming carbon atom and 1 or 2 ring-forming heteroatoms independently selected from N, O, and S and the 6-10 membered heteroaryl has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein the N and S are optionally oxidized; wherein a ring-forming carbon atom of the 5-10 membered heteroaryl is optionally substituted by oxo to form a carbonyl group; and wherein the C6-10 aryl and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R20;
R2 is H or CN;
each R10 is independently selected from C1-6 alkyl, piperazinyl, piperidinyl, C(O)Rb1 and C(O)NRc1Rd1; wherein said C1-6 alkyl, piperazinyl, and piperidinyl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each R11 is independently selected from C1-6 alkyl, ORa3, C(O)Rb3, and S(O)2Rb3;
each R20 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C6-10 aryl, 5-10 membered heteroaryl, halo, CN, ORa2, C(O)NRc2Rd2, C(O)ORa2, NRc2Rd2, NRc2C(O)Rb2, and NRc2S(O)2Rb2; wherein said C1-6 alkyl, C6-10 aryl, and 5-10 membered heteroaryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
or two adjacent R20 substituents on the CyA ring, taken together with the atoms to which they are attached, form a fused 5- or 6-membered heterocycloalkyl ring, or a fused C3-7 cycloalkyl ring; wherein each fused 5- or 6-membered heterocycloalkyl ring has at least one ring-forming carbon atom and 1, 2, 3, or 4 ring-forming heteroatoms independently selected from N, O, and S; wherein a ring-forming carbon atom of each fused 5- or 6-membered heterocycloalkyl ring is optionally substituted by oxo to form a carbonyl group; and wherein the fused 5- or 6-membered heterocycloalkyl ring and fused C3-6 cycloalkyl ring are each optionally substituted with 1, 2, 3 or 4 substituents independently selected from R21;
each R21 is independently selected from C6-10 aryl, 5-10 membered heteroaryl, ORa4, and NRc4Rd4;
each R22 is ORa6;
each Rc1 and Rd1 is independently selected from H, C1-6 alkyl, 4-10 membered heterocycloalkyl, and C6-10 aryl; wherein said C1-6 alkyl, 4-10 membered heterocycloalkyl and C6-10 aryl are each optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
or any Rc1 and Rd1 attached to the same N atom, together with the N atom to which they are attached, form a 4-, 5-, 6- or 7-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
Rb1 is 4-10 membered heterocycloalkyl optionally substituted with 1, 2, 3, or 4 substituents independently selected from R11;
each Ra2, Rc2 and Rd2 is independently H or C1-6 alkyl; wherein said C1-6 alkyl is optionally substituted with 1, 2, 3, or 4 substituents independently selected from R21;
each Rb2 is C1-6 alkyl;
each Rb3 is C1-6 alkyl;
each Ra3 is independently H or C1-6 alkyl;
each Ra4, Rc4 and Rd4 is H or C1-6 alkyl; wherein said C1-6 alkyl is optionally substituted with 1, 2, 3, or 4 substituents independently selected from R22; and
Ra6 is H.

### Claim 42 (depends on 1)

The compound of claim 1 selected from:
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-phenyl-1H-pyrazolo[4,3-b]pyridine;
5-(2-Methoxyphenyl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-o-tolyl-1H-pyrazolo[4,3-b]pyridine;
5-(2-Fluorophenyl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-(2-(trifluoromethyl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
2-Methyl-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)aniline;
5-(2-Fluoro-6-methylphenyl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(2-Fluoro-6-methoxyphenyl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(2,3-Difluorophenyl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(2,3-Difluoro-6-methoxyphenyl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
(3-Fluoro-2-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)phenyl)methanol;
Ethyl 2-fluoro-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzoate;
N-(2-Fluoro-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)phenyl)methanesulfonamide;
2-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)phenol;
5-(2,3-Dihydrobenzofuran-7-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(2,3-Dihydrobenzo[b][1,4]dioxin-5-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
N-Methyl-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzamide;
N,N-Dimethyl-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)aniline;
2-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzonitrile;
Methyl 2-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzoate;
N-(2-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)phenyl)acetamide;
5-(Biphenyl-2-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(1H-Indazol-4-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-(pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine;
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-(pyridin-4-yl)-1H-pyrazolo[4,3-b]pyridine;
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-(pyrimidin-5-yl)-1H-pyrazolo[4,3-b]pyridine;
5-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-1H-pyrrolo[2,3-b]pyridin-2(3H)-one;
1′-Methyl-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H, 1′H-5,6′-bipyrazolo[4,3-b]pyridine;
2-(5-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)pyridin-3-yl)oxazole;
1-Methyl-5-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)pyridin-2(1H)-one;
5-(3-Methyl-3H-imidazo[4,5-b]pyridin-6-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
7-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)pyrido[3,2-b]pyrazine;
2-tert-Butyl-7-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)oxazolo[5,4-c]pyridine;
5-(3-Methyl-1H-pyrazol-4-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
3-(4-(4-Methylpiperazin-1-yl)phenyl)-5-(pyrazolo[1,5-a]pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine;
5-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)quinoline;
4-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)isoquinoline;
4-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)indolin-2-one;
5-(1-Methyl-1H-indol-4-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
2-Fluoro-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzamide;
2-Fluoro-N-methyl-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzamide;
N-Benzyl-2-fluoro-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)benzamide;
2-Fluoro-3-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-N-(pyridin-4-ylmethyl)benzamide;
5-(Imidazo[1,2-a]pyridin-8-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(2-Ethylimidazo[1,2-a]pyridin-8-yl)-3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridine;
5-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-1,2,3,4-tetrahydroisoquinoline;
4-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-2,3-dihydro-1H-inden-1-amine;
N-Methyl-4-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-2,3-dihydro-1H-inden-1-amine;
2-(4-(3-(4-(4-Methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-2,3-dihydro-1H-inden-1-ylamino)ethanol;
N-Benzyl-4-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)-2,3-dihydro-1H-inden-1-amine;
5-(2-Fluorophenyl)-3-phenyl-1H-pyrazolo[4,3-b]pyridine;
5-(2-Fluorophenyl)-3-(pyridin-4-yl)-1H-pyrazolo[4,3-b]pyridine;
4-(5-(2-Fluorophenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)-N-methylbenzamide;
5-(2-Fluorophenyl)-3-(1-methyl-1H-pyrazol-4-yl)-1H-pyrazolo[4,3-b]pyridine;
4-(5-(2-Fluorophenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)-N-(1-methylpiperidin-4-yl)benzamide;
(4-(5-(2-Fluorophenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)phenyl)(4-methylpiperazin-1-yl)methanone;
4-(5-(2-Fluorophenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)-N-phenylbenzamide;
5-(2-Fluorophenyl)-3-(1-(piperidin-4-yl)-1H-pyrazol-4-yl)-1H-pyrazolo[4,3-b]pyridine;
5-(2-Fluorophenyl)-3-(1-(1-(methylsulfonyl)piperidin-4-yl)-1H-pyrazol-4-yl)-1H-pyrazolo[4,3-b]pyridine; and
1-(4-(4-(5-(2-Fluorophenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)-1H-pyrazol-1-yl)piperidin-1-yl)ethanone;
or a pharmaceutically acceptable salt thereof.

### Claim 43 (depends on 1)

The compound of claim 1 selected from:
1-(3,5-Difluoro-4-(3-(4-(4-methylpiperazin-1-yl)phenyl)-1H-pyrazolo[4,3-b]pyridin-5-yl)phenyl)-N-methylmethanamine;
5-(2-Fluoro-6-methylphenyl)-3-(6-(4-methylpiperazin-1-yl)pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(2-Fluoro-6-methylphenyl)-3-(2-morpholinopyrimidin-5-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
3-(4-(4-Ethylpiperazin-1-yl)phenyl)-5-(2-fluoro-6-methylphenyl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(6-Cyano-5-(2-fluoro-6-methylphenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)-N-methylpicolinamide;
5-(2-Fluoro-6-methyl-4-((methylamino)methyl)phenyl)-3-(1-methyl-1H-pyrazol-4-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(2-Fluoro-6-methyl-4-((methylamino)methyl)phenyl)-3-(6-(4-methylpiperazin-1-yl)pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(2-Fluoro-6-methyl-4-((methylamino)methyl)phenyl)-3-(2-(4-methylpiperazin-1-yl)pyrimidin-5-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
3-(4-(4-Ethylpiperazin-1-yl)phenyl)-5-(2-fluoro-6-methyl-4-((methylamino)methyl)phenyl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(2-Fluoro-6-methyl-4-((methylamino)methyl)phenyl)-3-(2-morpholinopyrimidin-5-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(2-Fluoro-6-methyl-4-((methylamino)methyl)phenyl)-3-(6-(2-hydroxypropan-2-yl)pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(6-Cyano-5-(2-fluoro-6-methyl-4-((methylamino)methyl)phenyl)-1H-pyrazolo[4,3-b]pyridin-3-yl)-N-methylpicolinamide;
5-(2-Fluoro-6-methyl-4-((methylamino)methyl)phenyl)-3-(pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(6-Fluoro-1,2,3,4-tetrahydroisoquinolin-5-yl)-3-(1-methyl-1H-pyrazol-4-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
3-(4-(4-Ethylpiperazin-1-yl)phenyl)-5-(6-fluoro-1,2,3,4-tetrahydroisoquinolin-5-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
5-(6-Fluoro-1,2,3,4-tetrahydroisoquinolin-5-yl)-3-(6-(4-methylpiperazin-1-yl)pyridin-3-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile; and
5-(2-Fluoro-6-methylphenyl)-3-(1-methyl-1H-pyrazol-4-yl)-1H-pyrazolo[4,3-b]pyridine-6-carbonitrile;
or a pharmaceutically acceptable salt thereof.

### Claim 44 (depends on 1)

A pharmaceutical composition comprising a compound of claim 1, or a pharmaceutically acceptable salt thereof, and at least one pharmaceutically acceptable carrier or excipient.

### Claim 45 (depends on 1)

A method of inhibiting HPK1 activity, said method comprising administering to a patient a compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 46 (depends on 1)

A method of treating a disease or disorder associated with inhibition of HPK1 interaction, said method comprising administering to a patient in need thereof a therapeutically effective amount of a compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 47 (depends on 1)

A method for treating a cancer in a patient, said method comprising administering to the patient a therapeutically effective amount of the compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 48 (depends on 47)

The method of claim 47, wherein the cancer is selected from breast cancer, colorectal cancer, lung cancer, ovarian cancer, and pancreatic cancer.
