Patent ID: 11939331
Assignee: INCYTE CORPORATION
Field: Pharmaceuticals (Chemistry)
Classification: CPC C  A | IPC A  C

Claim 0:
1. A compound of Formula I:, or a pharmaceutically acceptable salt thereof, wherein:
R1 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, D, 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 R10;
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, D, 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 R20;
R3 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, D, CN, NO2, ORa3, SRa3, C(O)Rb3, C(O)NRc3Rd3, C(O)ORa3, OC(O)Rb3, OC(O)NRc3Rd3, NRc3Rd3, NRc3C(O)Rb3, NRc3C(O)ORa3, NRc3C(O)NRc3Rd3, C(═NRe3)Rb3, C(═NORa3)Rb3, C(═NRe3)NRc3Rd3, NRc3C(═NRe3)NRc3Rd3, 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 R30;
R4 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, D, CN, NO2, ORa4, SRa4, C(O)Rb4, C(O)NRc4Rd4, C(O)ORa4, OC(O)Rb4, OC(O)NRc4Rd4, NRc4Rd4, NRc4C(O)Rb4, NRc4C(O)ORa4, NRc4C(O)NRc4Rd4, C(═NRe4)Rb4, C(═NORa4)Rb4, C(═NRe4)NRc4Rd4, NRc4C(═NRe4)NRc4Rd4, 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 R40;
R5 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, D, CN, NO2, ORa5, SRa5, C(O)Rb5, C(O)NRc5Rd5, C(O)ORa5, OC(O)Rb5, OC(O)NRc5Rd5, NRc5Rd5, NRc5C(O)Rb5, NRc5C(O)ORa5, NRc5C(O)NRc5Rd5, (═NRe5)Rb5, C(═NORa5)Rb5, (═NRe5)NRc5Rd5, NRc5C(═NRe5)NRc5Rd5, 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-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 R50;
Z is N or CR6;
R6 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, D, CN, NO2, ORa6, SRa6, CO)Rb6, C(O)NRc6Rd6, C(O)ORa6, OC(O)Rb6, OC(O)NRc6Rd6, NRc6Rd6, NRc6C(O)Rb6, NRc6C(O)ORa6, NRc6C(O)NRc6Rd6, C(═NRe6)Rb6, C(═NORa6)Rb6, C(═NRe6)NRc6Rd6, NRc6C(═NRe6)NRc6Rd6, 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-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 R60;
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, D, CN, NO2, ORa10, SRa10, C(O)Rb10, C(O)NRc10Rd10, C(O)ORa10, OC(O)Rb10, OC(O)NRc10Rd10, NRc10Rd10 NRc10C(O)Rb10, NRc10C(O)ORa10, NRc10C(O)NRc10Rd10, C(═NRe10)Rb10, C(═NORa10)Rb10, C(═NRe10)NRc10Rd10, NRc10C(═NRe10)NRc10Rd10, NRc10S(O)Rb10, NRc10S(O)2Rb10, NRc10S(O)2NRc10Rd10, S(O)Rb10, S(O)NRc10Rd10, S(O)2Rb10, and S(O)2NRc10Rd10; 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;
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, D, CN, ORa11, SRa11, (O)Rb11, C(O)NRc11Rd11, C(O)ORa11, NRc11Rd11, NRc11C(O)Rb11, C(O)ORa11, NRc11C(O)NRc11Rd11, NRc11S(O)Rb11 NRc11S(O)2Rb11, NRc11S(O)2NRc11Rd11, S(O)Rb11, S(O)NRc11Rd11, S(O)2Rb11, and S(O)2NRc11Rd11; 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-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, D, CN, ORa12, SRa12, C(O)Rb12, C(O)NRc12Rd12, C(O)ORa12, NRc12Rd12, NRc12C(O)Rb12, NRc12C(O)ORa12, NRc12C(O)NRc12Rd12, NRc12S(O)Rb12, NRc12S(O)2Rb12, NRc12S(O)2NRc12Rd12, S(O)Rb12, S(O)NRc12Rd12, S(O)2Rb12, and S(O)2NRc12Rd12; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 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 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, D, CN, NO2, ORa20, SRa20, C(O)Rb20, C(O)NRc20Rd20, C(O)ORa20, OC(O)Rb20, OC(O)NRc20Rd20, NRc20Rd20, NRc20, C(O)Rb20, NRc20C(O)Ra20, NRc20C(O)NRc20Rd20, C(═NRe20)Rb20, C(═NORa20)Rb20, C(═NRe20)NRc20Rd20, NRc20C(═NRe20)NRc20Rd20, NRc20S(O)Rb20, NRc20S(O)2Rb20, NRc20S(O)2NRc20Rd20, S(O)Rb20, S(O)NRc20Rd20, S(O)2Rb20, and S(O)2NRc20Rd20; 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;
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, D, CN, ORa21, SRa21, C(O)Rb21, C(O)NRc21Rd21, C(O)ORa21, NRc21Rd21, NRc21C(O)Rb21, NRc21C(O)ORa21, NRc21C(O)NRc21Rd21, NRc21S(O)Rb21, NRc21S(O)2Rb21, NRc21S(O)2NRc21Rd21, S(O)Rb21, S(O)NRc21Rd21, S(O)2Rb21, and S(O)2NRc21Rd21, 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;
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, D, CN, ORa22, SRa22, C(O)Rb22, C(O)NRc22Rd22, C(O)ORa22, NRc22Rd22, NRc22C(O)Rb22, NRc22C(O)ORa22, NRc22C(O)NRc22Rd22, NRc22S(O)Rb22, NRc22S(O)2Rb22, NRc22S(O)2NRc22Rd22, S(O)Rb22, S(O)NRc22Rd22, S(O)2Rb22, and S(O)2NRc22Rd22; 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-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, D, CN, NO2, ORa30, SRa30, C(O)Rb30, C(O)NRc30Rd30, C(O)ORa30, OC(O)Rb30, OC(O)NRc30Rc30, NRc30Rc30, NRc30C(O)Rb30, NRc30C(O)Ra30, NRc30C(O)NRc30Rd30, C(═NRe30)Rb30, C(═NORa30)Rb30, C(═NRe30)NRc30Rd30, NRc30C(═NRe30)NRc30Rd30, NRc30S(O)Rb30, NRc30S(O)2Rb30, NRc30S(O)2NRc30Rd30, S(O)Rb30, S(O)NRc30Rd30, S(O)2Rb30, and S(O)2NRc30Rd30; 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 R31;
each R31 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, D, CN, ORa31, SRa31, C(O)Rb31, C(O)NRc31Rd31, C(O)ORa31, NRc31Rd31, NRc31C(O)Rb31, NRc31C(O)ORa31, NRc31C(O)NRc31Rd31, NRc31S(O)Rb31, NRc31S(O)2Rb31, NRc31S(O)2NRc31Rd31, S(O)Rb31, S(O)NRc31Rd31, S(O)2Rb31, and S(O)2NRc31Rd31; 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 R32;
each R32 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C6-10 aryl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, D, CN, ORa32, SRa32, C(O)Rb32, C(O)NRc32Rd32, C(O)ORa32, NRc32Rd32, NRc32C(O)Rb32, NRc32ORa32, NRc32C(O)NRc32Rd32, NRc32S(O)Rb32, NRc32S(O)2Rb32, NRc32S(O)2NRc32Rd32, S(O)Rb32, S(O)NRc32Rd32, S(O)2Rb32, and S(O)2NRc32Rd32; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 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 R40 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, D, CN, NO2, ORa40, SRa40, C(O)Rb40, C(O)NRc40Rd40, C(O)ORa40, OC(O)Rb40, OC(O)NRc40Rd40, NRc40Rd40, NRc40C(O)Rb40, NRc40C(O)ORa40, NRc40C(O)NRc40Rd40, C(═NRe40)Rb40, C(═NORa40)Rb40, C(═NRe40)NRc40Rd40, NRc40C(═NRe40)NRc40Rd40, NRc40S(O)Rb40, NRc40S(O)2Rb40, NRc40S(O)2NRc40Rd40, S(O)Rb40, S(O)NRc40Rd40, S(O)2Rb40, and S(O)2NRc40Rd40, 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 R41;
each R41 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, D, CN, ORa41, SRa41, (O)Rb41, C(O)NRc41Rd41, C(O)ORa41, NRc41Rd41, NRc41C(O)Rb41, NRc41C(O)ORa41, NRc41C(O)NRc41Rd41, NRc41S(O)Rb41, NRc41S(O)2Rb41, NRc41S(O)2NRc41Rd41, S(O)Rb41, S(O)NRc41Rd41, S(O)2Rb41, and S(O)2NRc41Rd41, 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 R42;
each R42 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C6-10 aryl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, D, CN, ORa42, SRa42, C(O)Rb42, C(O)NRc42Rd42, C(O)ORa42, NRc42Rd42, NRc42C(O)Rb42, NRc42C(O)ORa42, NRc42C(O)NRc42Rd42, NRc42S(O)Rb42, NRc42S(O)2Rb42, NRc42S(O)2NRc42Rd42, S(O)Rb42, S(O)NRc42Rd42, S(O)2Rb42, and S(O)2NRc42Rd42, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 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 R50 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, D, CN, NO2, ORa50, SRa50, (O)Rb50, C(O)NRc50Rd50, C(O)ORa50, OC(O)Rb50, OC(O)NRc50Rd50, NRc50Rd50, NRc50C(O)Rb50, NRc50C(O)ORa50, NRc50C(O)NRc50Rd50, C(═NRe50)Rb50, C(═NORa50)Rb50, C(═NRe50)NRc50Rd50, NRc50C(═NRe50)NRc50Rd50, NRc50S(O)Rb50, NRc50S(O)2Rb50, NRc50S(O)2NRc50Rd50, S(O)Rb50, S(O)NRc50Rd50, S(O)2Rb50, and S(O)2NRc50Rd50; 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 R51;
each R51 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, D, CN, ORa51, SRa51, C(O)Rb51, C(O)NRc51Rd51, C(O)ORa51, NRc51Rd51, NRc51C(O)Rb51, NRc51C(O)ORa51, NRc51C(O)NRc51Rd51, NRc51S(O)Rb51, NRc51S(O)2Rb51, NRc51S(O)2NRc51Rd51, S(O)Rb51, S(O)NRc51Rd51, S(O)2Rb51, and S(O)2NRc51Rd51, 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 R52;
each R52 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C6-10 aryl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, D, CN, ORa52, SRa52, C(O)Rb52, C(O)NRc52Rd52, C(O)ORa52, NRc52Rd52, NRc52C(O)Rb52, NRc52C(O)Ra52, NRc52(O)NRc52Rd52, NRc52S(O)Rb52, NRc52S(O)2Rb52, NRc52S(O)2NRc52Rd52, S(O)Rb52, S(O)NRc52Rd52, S(O)2Rb52, and S(O)2NRc52Rd52; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 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 R60 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, D, CN, NO2, ORa60, SRa60, C(O)Rb60, C(O)NRc60Rd60, C(O)ORa60, OC(O)Rb60, OC(O)NRc60Rd60, NRc60Rd60, NRc60C(O)Rb60, NRc60C(O)ORa60, NRc60C(O)NRc60Rd60, C(═NRe60)Rb60, C(═NRa60)Rb60, C(═NRe60)NRc60Rd60, NRc60C(═NRe60)NRc60Rd60, NRc60S(O)Rb60, NRc60S(O)2Rb60, NRc60S(O)2NRc60Rd60, S(O)Rb60, S(O)NRc60Rd60, S(O)2Rb60, and S(O)2NRc60Rd60, 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-11) 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 R61;
each R61 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, D, CN, ORa61, SRa61, (O)Rb61, C(O)NRc61Rd61, C(O)ORa61, NRc61Rd61, NRc61C(O)Rb61, NRc61C(O)ORa61, NRc61C(O)NRc61Rd61, NRc61S(O)Rb61, NRc61S(O)2Rb61, NRc61S(O)2NRc61Rd61, S(O)Rb61, S(O)NRc61Rd61, S(O)2Rb61, and S(O)2NRc61Rd61, 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 R62;
each R62 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-6 cycloalkyl, C6-10 aryl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, halo, D, CN, ORa62, SRa62, C(O)Rb62, C(O)NRc62Rd62, C(O)ORa62, NRc62Rd62, NRc62(O)Rb62, NRc62C(O)ORa62 NRc62C(O)NRc62Rd62, NRc62S(O)Rb62, NRc62S(O)2Rb62, NRc62S(O)2NRc62Rd62, S(O)Rb62, S(O)NRc62Rd62, S(O)2Rb62, and S(O)2NRc62Rd62, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C3-6 cycloalkyl, C6-10 aryl, 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 Ra1, Rb1, 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 R10;
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 R10;
each Rc1 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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, Rb2, 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 R20;
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 R20;
each Re2 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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, Rb3, Rc3 and Rd3 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 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, 3, or 4 substituents independently selected from R30;
each Re3 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra4, Rb4, Rc4 and Rd4 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 R40;
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, 3, or 4 substituents independently selected from R40;
each Re4 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra5, Rb5, Rc5 and Rd5 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 R50;
or any Rc5 and Rd5 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 R50;
each Re5 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra6, Rb6, Rc6 and Rd6 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 R60;
or any Rc6 and Rd6 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 R60;
each Re6 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra10, Rb10, Rc10 and Rd10 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 Rc10 and Rd10 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 Re10 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra11, Rb11, Rc11 and Rd11 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 Rc11 and Rd11 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 Ra12, Rb12, Rc12 and Rd12 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 Ra20, Rb20, Rc20 and Rd20 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 Rc20 and Rd20 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 R21;
each Re20 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra21, Rb21, Rc21 and Rd21 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 Rc21 and Rd21 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 Ra22, Rb22, Rc22 and Rd22 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 Ra30, Rb30, Rc30 and Rd30 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 R31;
or any Rc30 and Rd30 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 R31;
each Re30 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra31, Rb31, Rc31 and Rd31 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 R32;
or any Rc31 and Rd31 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 R32;
each Ra32, Rb32, Rc32 and Rd32 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 Ra40, Rb40, Rc40 and Rd40 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 R41;
or any Rc40 and Rd40 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 R41;
each Re40 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra41, Rb41, Rc41 and Rd41 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 R42;
or any Rc41 and Rd41 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 R42;
each Ra42, Rb42, Rc42 and Rd42 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 Ra50, Rb50, Rc50 and Rd50 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 R51;
or any Rc50 and Rd50 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 R51;
each Re50 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra51, Rb51, Rc51 and Rd51 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 R52;
or any Rc51 and Rd51 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 R52;
each Ra52, Rb52, Rc52 and Rd52 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 Ra60, Rb60, Rc60 and Rd60 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 R61;
or any Rc60 and Rd60 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 R61;
each Re60 is independently selected from H, CN, C1-6 alkyl, C1-6 haloalkyl, C1-6 alkylthio, C1-6 alkyl sulfonyl, 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 Ra61, Rb61, Rc61 and Rd61 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 R62;
or any Rc61 and Rd61 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 R62;
each Ra62, Rb62, Rc62 and Rd62 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; and
each Rg is independently selected from D, 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 alkoxycarbonylamino, C1-6 alkylcarbonyloxy, aminocarbonyloxy, C1-6 alkyl aminocarbonyloxy, di(C1-6 alkyl)aminocarbonyloxy, C1-6 alkylsulfonylamino, aminosulfonyl, C1-6 alkylaminosulfonyl, di(C1-6 alkyl)aminosulfonyl, aminosulfonylamino, C1-6 alkylaminosulfonylamino, di(C1-6 alkyl)aminosulfonylamino, aminocarbonyl amino, C1-6 alkylaminocarbonylamino, and di(C1-6 alkyl)aminocarbonylamino.