# US 2026/0098041 A1 · Fused bicyclic pyrimidones as wrn inhibitors

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

- Number: US 2026/0098041 A1
- Document ID: US20260098041A1
- Status: Published application
- Kind: A1
- Application number: 19/063,574
- Filed: 2025-02-26
- Published: 2026-04-09
- Earliest claimed: 2024-03-01
- Assignees: Incyte Corporation
- Applicants: Incyte Corporation
- Inventors: Le ZHAO; Yanran AI; Marc DELLER; Javier FELICIANO; Ananda GHOSH; Leslie McQUIRTER; Xiaozhao WANG; Eddy YUE; Guofeng ZHANG
- Web page: https://patentgrep.com/patent/US20260098041A1

## CPC

- C07D 487/14: Ortho-condensed systems
- A61K 31/519: ortho- or peri-condensed with heterocyclic rings
- A61P 35/00: Antineoplastic agents
- C07D 487/04: Ortho-condensed systems
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61K: PREPARATIONS FOR MEDICAL, DENTAL OR TOILETRY PURPOSES (devices or methods specially adapted for bringing pharmaceutical products into particular physical or administering forms A61J3/00; chemical aspects of, or use of materials for deodorisation of air, for disinfection or sterilisation, or for bandages, dressings, absorbent pads or surgical articles A61L; soap compositions C11D)
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS

## Abstract

The present application is concerned with tricyclic pyrimidinones as inhibitors of WRN, as well as pharmaceutical compositions and methods of use related thereto. The compounds are useful in treating, preventing, or ameliorating diseases or disorders such as cancer or infections.

## Claims

### Claim 1

A compound of Formula (I) or (II):
or a pharmaceutically acceptable salt thereof, wherein:
n is an integer selected from 0, 1, 2, 3, 4, 5, 6, 7, or 8;
when the compound is a compound of Formula (I), or a pharmaceutically acceptable salt thereof, then Z is CR1 or N;
W is CR7 or N;
Ring moiety A is selected from C3-14 cycloalkyl, 6-10 membered aryl, 4-14 membered heterocycloalkyl, and 5-10 membered heteroaryl;
when the compound is a compound of Formula (I), or a pharmaceutically acceptable salt thereof, and Z is CR1, then R1 is selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, 5-10 membered heteroaryl-C1-4alkyl, ORa1, SRa1, NHORa1, C(O)Rb1, C(O)NRc1Rd1, C(O)NRc1(ORa1) C(O)ORa1, OC(O)Rb1, OC(O)NRc1Rd1, NRc1Rd1, NRc1NRc1Rd1, NRc1C(O)Rb1, NRc1C(O)ORa1, NRc1C(O)NRc1Rd1, C(═NRc1)Rb1, C(═NRc1)NRc1Rd1, NRc1C(═NRc1)NRc1Rd1, NRc1C(═NRc1)Rb1, NRc1S(O)NRc1Rd1, NRc1S(O)Rb1, NRc1S(O)2Rb1, NRc1S(O)(═NRc1)Rb1, NRc1S(O)2NRc1Rd1, S(O)Rb1, S(O)NRc1Rd1, S(O)2Rb1, S(O)2NRc1Rd1, OS(O)(═NRe1)Rb1, OS(O)2Rb1, S(O)(═NRe1)Rb1, SF5, P(O)Rf1Rg1, OP(O)(ORh1)(ORi1), P(O)(ORh1)(ORi1), and BRi1Rk1, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
when the compound is a compound of Formula (II), or a pharmaceutically acceptable salt thereof, then R1 is selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4 alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, 5-10 membered heteroaryl-C1-4 alkyl, C(O)Rb1, C(O)NRc1Rd1, C(O)NRc1(ORa1), C(O)ORa1, C(═NRe1)Rb1, C(═NRe1)NRc1Rd1, S(O)Rb1, S(O)NRc1Rd1, S(O)2Rb1, S(O)2NRc1Rd1, and S(O)(═NRc1)Rb1, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
each Ra1, R1, and Rd1 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4 alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
or, any Rc1 and Rd1 attached to the same N atom, together with the N atom to which they are attached, form a 4-10 membered heterocycloalkyl group, wherein the 4-10 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
each Rb1 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4 alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
each Re1 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4 alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4alkyl;
each Rf1 and Rg1 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4alkyl;
each Rh1 and Ri1 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl;
each Rj1 and Rk1 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj1 and Rk1 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
each R1A is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4 alkyl, ORa11 SRa1, NHORa11, C(O)Rb11, C(O)NRc11Rd11, C(O)NRc11(ORa11), C(O)ORa11, OC(O)Rb11, OC(O)NRc11Rd11, NRc11Rd11, NRc11NRc11Rd11, NRc11C(O)Rb11, NRc11C(O)ORa11 NRc11C(O)NRc11Rd11, C(═NRe11)Rb11, C(═NRe11)NRc11Rd11, NRc11C(═NRe11)NRc11Rd11, NRc11C(═NRe11)Rb11, NRc11S(O)NRc1Rd11, NRc1S(O)Rb11, NRc11S(O)2Rb11, NRc11S(O)(═NRe11)Rb11, NRc11S(O)2NRc11Rd11, S(O)Rb11, S(O)NRc1Rd11, S(O)2Rb11, S(O)2NRc11Rd11, OS(O)(═NRe11)Rb11, OS(O)2Rb11 S(O)(═NRe11)Rb11 SF5, P(O)Rf11Rg11, OP(O)(ORh11)(ORi11), P(O)(ORh11)(ORi11), and BRj11Rk11, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Ra1, Rc11, and Rd11 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
or, any Rc11 and Rd11 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Rb11 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Re11 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf11 and Rg11 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh11 and Rj11 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj11 and Rk11 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj11 and Rk11 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
each R1B is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa12 SRa12, NHORa12, C(O)Rb12, C(O)NRc12Rd12, C(O)NRc12(ORa12), C(O)ORa12, OC(O)Rb12 OC(O)NRc12Rd12, NRc12Rd12, NRc12NRc12Rd12, NRc12C(O)Rb12, NRc12C(O)ORa12 NRc12C(O)NRc12Rd12, C(═NRc12)Rb12, C(═NRc12)NRc12Rd12, NRc12C(═NRc12)NRc12Rd12 NRc12C(═NRc12)Rb12, NRc12S(O)NRc12Rd12, NRc12S(O)Rb12, NRc12S(O)2Rb12 NRc12S(O)(═NRc12)Rb12, NRc12S(O)2NRc12Rd12, S(O)Rb12, S(O)NRc12Rd12, S(O)2Rb12 S(O)2NRc12Rd12, OS(O)(═NRc12)Rb12, OS(O)2Rb12, S(O)(═NRc12)Rb12, SF5, P(O)Rf12Rg12, OP(O)(ORh12)(ORi12), P(O)(ORh12)(ORi12), and BRj12Rk12, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Ra12, Rc12, and Rd12 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
or, any Rc12 and Rd12 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rb12 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Re12 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf12 and Rg12 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh12 and Ri12 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj12 and Rk12 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj12 and Rk12 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
each R2 is independently selected from D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, 5-10 membered heteroaryl-C1-4alkyl, ORa2, SRa2, NHORa2, C(O)Rb2, C(O)NRc2Rd2, C(O)NRc2(ORa2), C(O)ORa2, OC(O)Rb2, OC(O)NRc2Rd2, NRc2Rd2, NRc2NRc2Rd2, NRc2C(O)Rb2, NRc2C(O)ORa2, NRc2C(O)NRc2Rd2, C(═NRe2)Rb2, C(═NRe2)NRc2Rd2, NRc2C(═NRe2)NRc2Rd2 NRc2C(═NRe2)Rb2, NRc2S(O)NRc2Rd2, NRc2S(O)Rb2, NRc2S(O)2Rb2, NRc2S(O)(═NRe2)Rb2, NRc2S(O)2NRc2Rd2, S(O)Rb2, S(O)NRc2Rd2, S(O)2Rb2 S(O)2NRc2Rd2, OS(O)(═NRe2)Rb2, OS(O)2Rb2, S(O)(═NRe2)Rb2, SF5, P(O)Rf2Rg2, OP(O)(ORh2)(ORi2), P(O)(ORh2)(ORi2), and BRj2Rk2, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents;
each Ra2, Rc2, and Rd2 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4 alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents;
or, any Rc2 and Rd2 attached to the same N atom, together with the N atom to which they are attached, form a 4-10 membered heterocycloalkyl group, wherein the 4-10 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents;
each Rb2 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4 alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents;
each Re2 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4alkyl;
each Rf2 and Rg2 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4 alkyl, and 5-10 membered heteroaryl-C1-4alkyl;
each Rh2 and Ri2 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl;
each Rj2 and Rk2 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj2 and Rk2 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
each R2A is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa21 SRa21, NHORa21, C(O)Rb21, C(O)NRc21Rd21, C(O)NRc21(ORa21), C(O)ORa21, OC(O)Rb21 OC(O)NRc21Rd21, NRc21Rd21, NRc21NRc21Rd21, NRc21C(O)Rb21, NRc21C(O)ORa21 NRc21C(O)NRc21Rd21, C(═NRe21)Rb21, C(═NRe21)NRc21Rd21, NRc21C(═NRe21)NRc21Rd21 NRc21C(═NRe21)Rb21, NRc21S(O)NRc21Rd21, NRc21S(O)Rb21, NRc21S(O)2Rb21 NRc21S(O)(═NRe21)Rb21, NRc21S(O)2NRc21Rd21, S(O)Rb21, S(O)NRc21Rd21, S(O)2Rb21 S(O)2NRc21Rd21, OS(O)(═NRe21)Rb21, OS(O)2Rb21, S(O)(═NRe21)Rb21, SF5, P(O)Rf21Rg21, OP(O)(ORh21)(ORi21), P(O)(ORh21)(ORi21), and BRj21Rk21, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents;
each Ra21, Rc21, and Rd21 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents;
or, any Rc21 and Rd21 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents;
each Rb21 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents;
each Re21 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf21 and Rg21 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh21 and Ri21 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj21 and Rk21 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj21 and Rk21 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
each R2B is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4 alkyl, ORa22, SRa22, NHORa22, C(O)Rb22, C(O)NRc22Rd22, C(O)NRc22(ORa22), C(O)ORa22, OC(O)Rb22, OC(O)NRc22Rd22, NRc22Rd22, NRc22NRc22Rd22, NRc22C(O)Rb22, NRc22C(O)ORa22 NRc22C(O)NRc22Rd22, C(═NRe22)Rb22, C(═NRe22)NRc22Rd22, NRc22C(═NRe22)NRc22Rd22 NRc22C(═NRe22)Rb22, NRc22S(O)NRc22Rd22, NRc22S(O)Rb22, NRc22S(O)2Rb22 NRc22S(O)(═NRe22)Rb22, NRc22S(O)2NRc22Rd22, S(O)Rb22, S(O)NRc22Rd22, S(O)2Rb22 S(O)2NRc22Rd22, OS(O)(═NRe22)Rb22, OS(O)2Rb22, S(O)(═NRe22)Rb22, SF5, P(O)Rf22Rg22, OP(O)(ORh22)(ORi22), P(O)(ORh22)(ORi22), and BRj22Rk22, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Ra22, Rc22, and Rd22 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
or, any Rc22 and Rd22 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rb22 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Re22 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf22 and Rg22 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh22 and Ri22 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj22 and Rk22 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj22 and Rk22 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
R3 and R7 are each independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa3 SRa3, NHORa3, C(O)Rb3, C(O)NRc3Rd3, C(O)NRc3(ORa3), C(O)ORa3, OC(O)Rb3, OC(O)NRc3Rd3, NRc3Rd3, NRc3NRc3Rd3, NRc3C(O)Rb3, NRc3C(O)ORa3, NRc3C(O)NRc3Rd3, C(═NRe3)Rb3, C(═NRe3)NRc3Rd3, NRc3C(═NRe3)NRc3Rd3, NRc3C(═NRe3)Rb3, NRc3S(O)NRc3Rd3, NRc3S(O)Rb3, NRc3S(O)2Rb3, NRc3S(O)(═NRe3)Rb3, NRc3S(O)2NRc3Rd3, S(O)Rb3, S(O)NRc3Rd3, S(O)2Rb3, S(O)2NRc3Rd3, OS(O)(═NRe3)Rb3, OS(O)2Rb3, S(O)(═NRe3)Rb3, SF5, P(O)Rf3Rg3, OP(O)(ORh3)(ORi3), P(O)(ORh3)(ORi3), and BRj3Rk3, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Ra3, Rc3, and Rd3 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
or, any Rc3 and Rd3 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rb3 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Re3 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf3 and Rg3 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh3 and Ri3 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj3 and Rk3 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj3 and Rk3 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
R4 and R5 are each independently selected from H, C1-6 alkyl, C1-6 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, and C1-3 alkoxy-C1-3 alkyl; or
any R4 and R5 are, together with the carbon atom to which they are attached, form a 3-7-membered cycloalkyl ring;
R6 is selected from C3-10 cycloalkyl, 6-10 membered aryl, 4-10 membered heterocycloalkyl, 5-10 membered heteroaryl, C3-10 cycloalkyl-C1-4 alkyl, 6-10 membered aryl-C1-4alkyl, 4-10 membered heterocycloalkyl-C1-4alkyl, and 5-10 membered heteroaryl-C1-4alkyl, each of which is optionally substituted with 1, 2, 3, or 4 independently selected R6A substituents;
each R6A is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4 alkyl, ORa61 SRa61, NHORa61, C(O)Rb61, C(O)NRc61Rd61, C(O)NRc61(ORa61), C(O)ORa61, OC(O)Rb61, OC(O)NRc61Rd61, NRc61Rd61, NRc61NRc61Rd61, NRc61C(O)Rb61, NRc61C(O)ORa61 NRc61C(O)NRc61Rd61, C(═NRe61)Rb61, C(═NRe61)NRc61Rd61, NRc61C(═NRe61)NRc61Rd61, NRc61C(═NRe61)Rb61, NRc61S(O)NRc61Rd61, NRc61S(O)Rb61, NRc61S(O)2Rb61, NRc61S(O)(═NRe61)Rb61, NRc61S(O)2NRc61Rd61, S(O)Rb61, S(O)NRc61Rd61, S(O)2Rb61, S(O)2NRc61Rd61, OS(O)(═NRe61)Rb61, OS(O)2Rb61, S(O)(═NRe61)Rb61, SF5, P(O)Rf61Rg61, OP(O)(ORh61)(ORi61), P(O)(ORh61)(ORi61), and BRj61Rk61, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R6B substituents;
each Ra61, Rc61, and Rd61 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R6B substituents;
or, any Rc61 and Rd61 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected R6B substituents;
each Rb61 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R6B substituents;
each Re61 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf61 and Rg61 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh61 and Ri61 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Ri61 and Rk61 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Ri61 and Rk61 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
each R6B is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa62 SRa62, NHORa62, C(O)Rb62, C(O)NRc62Rd62, C(O)NRc62(ORa62), C(O)ORa62, OC(O)Rb62 OC(O)NRc62Rd62, NRc62Rd62, NRc62NRc62Rd62, NRc62C(O)Rb62, NRc62C(O)ORa62 NRc62C(O)NRc62Rd62, C(═NRc62)Rb62, C(═NRc62)NRc62Rd62, NRc62C(═NRc62)NRc62Rd62 NRc62C(═NRc62)Rb62, NRc62S(O)NRc62Rd62, NRc62S(O)Rb62, NRc62S(O)2Rb62 NRc62S(O)(═NRc62)Rb62, NRc62S(O)2NRc62Rd62, S(O)Rb62, S(O)NRc62Rd62, S(O)2Rb62 S(O)2NRc62Rd62, OS(O)(═NRc62)Rb62, OS(O)2Rb62, S(O)(═NRc62)Rb62, SF5, P(O)Rf62Rg627 OP(O)(ORh62)(ORi62), P(O)(ORh62)(ORi62), and BRj62Rk62, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Ra62, Rc62, and Rd62 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
or, any Rc62 and Rd62 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, wherein the 4-7 membered heterocycloalkyl group is optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rb62 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rc62 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf62 and Rg62 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh62 and Ri62 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj62 and Rk62 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj62 and Rk62 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
RW is:
L1 is -L-C(O)—, -L-NR9C(O)—, -L-OC(O)—, -L-S(O)—, -L-S(O)2—, -L-NR9S(O)—, -L-OS(O)—, -L-NR9S(O)2—, or -L-OS(O)2—, wherein L1 is attached to Ring moiety A through the L linking group,
L2 is -L-, -L-O—, -L-NR9—, -L-S—, -L-C(O)—, -L-NR9C(O)—, -L-OC(O)—, -L-S(O)—, -L-S(O)2—, -L-NR9S(O)—, -L-OS(O)—, -L-NR9S(O)NR9—, -L-NR9S(O)O—, -L-OS(O)NR9—, -L-NR9S(O)2—, -L-OS(O)2—, -L-NR9S(O)2NR9—, -L-NR9S(O)2O—, -L-S(O)(NR9)—, -L-S(O)2(NR9)—, or -L-OS(O)2NR9—, wherein L2 is attached to Ring moiety A through the L linking group;
L3 is -L-, -L-C(O)—, -L-NR9C(O)—, -L-OC(O)—, -L-S(O)—, -L-S(O)2—, -L-NR9S(O)—, -L-OS(O)—, -L-NR9S(O)2—, or -L-OS(O)2—, wherein L3 is attached to Ring moiety A through the L linking group;
L4 is -L-, -L-O—, L-S—, or -L-NR9—, wherein L4 is attached to Ring moiety A through the L linking group;
L5 is -L-O-Lx-, -L-NR9-Lx-, -L-S-Lx-, -L-C(O)-Lx-, -L-NR9C(O)-Lx-, -L-OC(O)-Lx-, -L-S(O)-Lx-, -L-S(O)2-Lx-, -L-NR9S(O)-Lx-, -L-OS(O)-Lx-, -L-NR9S(O)NR9-Lx-, -L-NR9S(O)O—, Lx-, -L-OS(O)NR9-Lx-, -L-NR9S(O)2-Lx-, -L-OS(O)2-Lx-, -L-NR9S(O)2NR9-Lx-, -L-NR9S(O)2O-Lx-, -L-S(O)(NR9)-Lx-, -L-S(O)2(NR9)-Lx-, or -L-OS(O)2NR9-Lx-, wherein L5 is attached to Ring moiety A through the L linking group;
L6 is -L-, -L-O—, -L-NR9—, -L-S—, -L-C(O)—, -L-NR9C(O)—, -L-OC(O)—, -L-S(O)—, -L-S(O)2—, -L-NR9S(O)—, -L-OS(O)—, -L-NR9S(O)NR9—, -L-NR9S(O)O—, -L-OS(O)NR9—, -L-NR9S(O)2—, -L-OS(O)2—, -L-NR9S(O)2NR9—, -L-NR9S(O)2O—, -L-S(O)(NR9)—, -L-S(O)2(NR9)—, or -L-OS(O)2NR9—, wherein L6 is attached to Ring moiety D through the L linking group;
each L is independently a bond or C1-6 alkylene, wherein said C1-6 alkylene is optionally substituted by 1, 2, 3, or 4 independently selected RG substituents; or
each L is —O—C1-6 alkyl or —N(RN)—C1-6 alkyl, wherein L is attached to Ring moiety A via the oxygen of the —O—C1-6 alkyl or the nitrogen atom of the —N(RN)—C1-6 alkyl group;
each RN is independently H or C1-6 alkyl;
each Lx is independently a C1-6 alkylene, wherein said C1-6 alkylene is optionally substituted by 1, 2, 3, or 4 independently selected RG substituents;
Ring D is a 4-12 membered heterocycloalkyl, C3-12 cycloalkyl, C6-10 aryl, or a 5-10 membered heteroaryl, each of which is optionally substituted with 1, 2, 3, or 4 independently selected C1-6 alkyl groups;
X1 is O or NR9;
each t is independently 0, 1, 2, or 3;
each u is, independently, 0, 1, 2, or 3;
each R81 and R83 are independently selected from H, D, halo, NO2, CN, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa8 SRa8, NHORa8, C(O)Rb8, C(O)NRc8Rd8, C(O)NRc8(ORa8), C(O)ORa8, OC(O)Rb8, OC(O)NRc8Rd8, NRc8Rd8, NRc8NRc8Rd8, NRc8C(O)Rb8, NRc8C(O)ORa8, NRc8(O)NRc8Rd8, C(═NRe8)Rb8, C(═NRe8)NRc8Rd8, NRc8C(═NRe8)NRc8Rd8, NRc8C(═NRe8)Rb8, NRc8S(O)NRc8Rd8, NRc8S(O)Rb8, NRc8S(O)2Rb8, NRc8S(O)(═NRe8)Rb8, NRc8S(O)2NRc8Rd8, S(O)Rb8, S(O)NRc8Rd8, S(O)2Rb8, S(O)2NRc8Rd8, OS(O)(═NRe8)Rb8, OS(O)2Rb8, S(O)(═NRe8)Rb8, SF5, P(O)Rf8Rg8, OP(O)(ORh8)(ORi8), P(O)(ORh8)(ORi8), and BRi8Rk8; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted by 1, 2, 3, or 4 independently selected RG substituents;
each R82 is independently selected from H, D, halo, NO2, CN, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, C(O)Rba, C(O)NRc8Rd8, C(O)ORa8, C(═NRe8)Rb8, C(═NRe8)NRc8Rd8, S(O)Rb8, S(O)NRc8Rd8, S(O)2Rb8, and S(O)2NRc8Rd8; wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted by 1, 2, 3, or 4 independently selected RG substituents;
each Ra8, Rc8, and Rd8 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rb8 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Re8 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rf8 and Rg8 are independently selected from H, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rh8 and Ri8 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl;
each Rj8 and Rk8 is independently selected from OH, C1-6 alkoxy, and C1-6 haloalkoxy;
or any Rj8 and Rk8 attached to the same B atom, together with the B atom to which they are attached, form a 5-or 6-membered heterocycloalkyl group optionally substituted with 1, 2, 3, or 4 substituents independently selected from C1-6 alkyl and C1-6 haloalkyl;
or any two R81 and R82 together with the atoms to which they are attached, form C3-7 cycloalkyl, 4-7 membered heterocycloalkyl, phenyl, or 5-6-membered heteroaryl ring, each of which is optionally substituted with 1, 2, 3, or 4 independently selected RG substitutents;
each R85 is independently H, D, halo, CN, C(O)H, OH, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, 4-7 membered heterocycloalkyl, or C3-7cycloalkyl-C1-4alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, 4-7 membered heterocycloalkyl, and C3-7 cycloalkyl-C1-4 alkyl are each optionally substituted by 1, 2, 3, or 4 independently selected RG substituents;
each R9 is independently selected from H, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl, ORa9, SRa9 NHORa9, C(O)Rb9, C(O)NRc9Rd9, C(O)NRc9(ORa9), C(O)ORa9, OC(O)Rb9, OC(O)NRc9Rd9, NRc9Rd9, NRc9C(O)Rb9, NRc9C(O)ORa9, NRc9C(O)NRc9Rd9, C(═NRe9)Rb9, C(═NRe9)NRc9Rd9, NRc9C(═NRe9)NRc9Rd9, NRc9C(═NRe9)Rb9, NRc9S(O)NRc9Rd9, NRc9S(O)Rb9, NRc9S(O)2Rb9, NRc9S(O)(═NRe9)Rb9, NRc9S(O)2NRc9Rd9, S(O)Rb9, S(O)NRc9Rd9, S(O)2Rb9, S(O)2NRc9Rd9, OS(O)(═NRe9)Rb9, OS(O)2Rb9, and S(O)(═NRe9)Rb9, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted by 1, 2, 3, or 4 independently selected RG substituents;
each Ra9, Rc9, and Rd9 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
or, any Rc9 and Rd9 attached to the same N atom, together with the N atom to which they are attached, form a 4-7 membered heterocycloalkyl group, which is optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Rb9 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl —C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected RG substituents;
each Re9 is independently selected from H, OH, CN, C1-6 alkyl, C1-6 alkoxy, C1-6 haloalkyl, C1-6 haloalkoxy, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl —C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl; and
each RG is independently selected from D, OH, NO2, CN, halo, C1-3 alkyl, C2-3 alkenyl, C2-3 alkynyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C3-7 cycloalkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, di(C1-3 alkyl)amino, thio, C1-3 alkylthio, C1-3 alkylsulfinyl, C1-3 alkylsulfonyl, carbamyl, C1-3 alkylcarbamyl, di(C1-3 alkyl)carbamyl, carboxy, C1-3 alkylcarbonyl, C1-3 alkoxycarbonyl, C1-3 alkylcarbonyloxy, C1-3 alkylcarbonylamino, C1-3 alkoxycarbonylamino, C1-3 alkylaminocarbonyloxy, C1-3 alkylsulfonylamino, aminosulfonyl, C1-3 alkylaminosulfonyl, di(C1-3 alkyl)aminosulfonyl, aminosulfonylamino, C1-3 alkylaminosulfonylamino, di(C1-3 alkyl)aminosulfonylamino, aminocarbonylamino, C1-3 alkylaminocarbonylamino, and di(C1-3 alkyl)aminocarbonylamino.

### Claim 2 (depends on 1)

The compound of claim 1, wherein the compound is a compound of Formula (I):
or a pharmaceutically acceptable salt thereof.

### Claim 3 (depends on 1)

The compound of claim 1, wherein the compound is a compound of Formula (II):
or a pharmaceutically acceptable salt thereof.

### Claim at position 4

-8. (canceled)

### Claim 9 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein Ring moiety A is selected from C3-7 cycloalkyl, phenyl, 4-6 membered heterocycloalkyl, and 5-6 membered heteroaryl.

### Claim 10

(canceled)

### Claim 11 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein Ring moiety A is phenyl.

### Claim 12

(canceled)

### Claim 13

(canceled)

### Claim 14 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein, when the compound is a compound of Formula (I), or a pharmaceutically acceptable salt thereof, then Z is CR1.

### Claim 15

(canceled)

### Claim 16

(canceled)

### Claim 17 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
when the compound is a compound of Formula (I), or a pharmaceutically acceptable salt thereof, then R1 is selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa1, SRa1, NHORa1, 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, NRc1S(O)2Rb1, NRc1S(O)2NRc1Rd1, S(O)2Rb1, and S(O)2NRc1Rd1, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents; or
when the compound is a compound of Formula (II), or a pharmaceutically acceptable salt thereof, then R1 is selected from H, C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, C(O)Rb1, C(O)NRe1Rd1, C(O)ORa1, S(O)2Rb1, and S(O)2NRc1Rd1, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents.

### Claim 18 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein when the compound is a compound of Formula (I), or a pharmaceutically acceptable salt thereof, then R1 is selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents; or
when the compound is a compound of Formula (II), or a pharmaceutically acceptable salt thereof, then R1 is selected from H, C1-6 alkyl, C1-6 haloalkyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents.

### Claim at position 15

-21. (canceled)

### Claim 22 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each Ra1, Rc1, and Rd1 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents; and
each Rb1 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents.

### Claim 23

(canceled)

### Claim 24 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R1A is independently selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa11, SRa11, NHORa11, C(O)Rb11, C(O)NRc11Rd11, C(O)ORa1, OC(O)Rb11, OC(O)NRc11Rd11, NRc11Rd11, NRc11C(O)Rb11, NRc11C(O)ORa11 NRc11C(O)NRc11Rd11, NRc11S(O)2Rb11, NRc11S(O)2NRc11Rd11, S(O)2Rb11, and S(O)2NRc11Rd11, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Ra11, Rc11, and Rd11 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Rb11 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents; and
each R1B is independently selected from D, OH, NO2, CN, halo, C1-3 alkyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C3-7 cycloalkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, di(C1-3 alkyl)amino, thio, C1-3 alkylthio, C1-3 alkylsulfinyl, C1-3 alkylsulfonyl, carbamyl, C1-3 alkylcarbamyl, di(C1-3 alkyl)carbamyl, carboxy, C1-3 alkylcarbonyl, C1-3 alkoxycarbonyl, C1-3 alkylcarbonyloxy, C1-3 alkylcarbonylamino, C1-3 alkoxycarbonylamino, C1-3 alkylaminocarbonyloxy, C1-3 alkylsulfonylamino, aminosulfonyl, C1-3alkylaminosulfonyl, di(C1-3 alkyl)aminosulfonyl, aminosulfonylamino, C1-3 alkylaminosulfonylamino, di(C1-3 alkyl)aminosulfonylamino, aminocarbonylamino, C1-3 alkylaminocarbonylamino, and di(C1-3 alkyl)aminocarbonylamino.

### Claim 25 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R1A is independently selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, C3-4 cycloalkyl, ORa11, C(O)Rb11, C(O)NRc11Rd11, C(O)ORa11, OC(O)Rb11, OC(O)NRc11Rd11, NRc11Rd11, NRc11C(O)Rb11, NRc11C(O)ORa11, NRc11C(O)NRc11Rd11, NRc11S(O)2Rb11, NRc11S(O)2NRc11Rd11, S(O)2Rb11, and S(O)2NRc11Rd11, wherein said C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Ra11, Rc11, and Rd11 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Rb11 is independently selected from C1-6 alkyl, C1-6 haloalkyl and C3-4 cycloalkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents; and
each R1B is independently selected from D, OH, NO2, CN, halo, C1-3 alkyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C3-7 cycloalkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, di(C1-3 alkyl)amino, thio, C1-3 alkylthio, C1-3 alkylsulfinyl, C1-3 alkylsulfonyl, carbamyl, C1-3 alkylcarbamyl, di(C1-3 alkyl)carbamyl, carboxy, C1-3 alkylcarbonyl, C1-3 alkoxycarbonyl, C1-3 alkylcarbonyloxy, C1-3 alkylcarbonylamino, C1-3 alkoxycarbonylamino, C1-3 alkylaminocarbonyloxy, C1-3 alkylsulfonylamino, aminosulfonyl, C1-3alkylaminosulfonyl, di(C1-3 alkyl)aminosulfonyl, aminosulfonylamino, C1-3 alkylaminosulfonylamino, di(C1-3 alkyl)aminosulfonylamino, aminocarbonylamino, C1-3 alkylaminocarbonylamino, and di(C1-3 alkyl)aminocarbonylamino.

### Claim at position 20

-30. (canceled)

### Claim 31 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein n is an integer selected from 0 or 1.

### Claim 32 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R2 is independently selected from D, halo, CN, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4alkyl, ORa2, SRa2, NHORa2, 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, NRc2S(O)2Rb2, NRc2S(O)2NRc2Rd2, S(O)2Rb2, and S(O)2NRc2Rd2, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents.

### Claim 33

(canceled)

### Claim 34 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R2 is independently selected from H, halo, C(O)Rb2, and C(O)NRc2Rd2.

### Claim 35

(canceled)

### Claim 36

(canceled)

### Claim 37 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each Ra2, Rc2, and Rd2 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and C3-7 cycloalkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and C3-7 cycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents; and
each Rb2 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and C3-7 cycloalkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents.

### Claim 38 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R2A is independently selected from H, D, halo, CN, NO2, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, 5-6 membered heteroaryl-C1-4 alkyl, ORa21 SRa21, C(O)Rb21, C(O)NRc21Rd21, C(O)ORa21, OC(O)Rb21, OC(O)NRc21Rd21, NRc21Rd21 NRc21C(O)Rb21, NRc21C(O)ORa21, NRc21C(O)NRc21Rd21, NRc21S(O)2Rb21 NRc21S(O)2NRc21Rd21, S(O)2Rb21, and S(O)2NRc21Rd21, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents;
each Ra21, Rc21, and Rd21 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents;
each Rb21 is independently selected from C1-6 alkyl, C1-6 haloalkyl, C2-6 alkenyl, C2-6 alkynyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R2B substituents; and
each R2B is independently selected from D, OH, NO2, CN, halo, C1-3 alkyl, C2-3 alkenyl, C2-3 alkynyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C3-7 cycloalkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, di(C1-3 alkyl)amino, thio, C1-3 alkylthio, C1-3 alkylsulfinyl, C1-3 alkylsulfonyl, carbamyl, C1-3 alkylcarbamyl, di(C1-3 alkyl)carbamyl, carboxy, C1-3 alkylcarbonyl, C1-3 alkoxycarbonyl, C1-3 alkylcarbonyloxy, C1-3 alkylcarbonylamino, C1-3 alkoxycarbonylamino, C1-3 alkylaminocarbonyloxy, C1-3alkylsulfonylamino, aminosulfonyl, C1-3alkylaminosulfonyl, di(C1-3 alkyl)aminosulfonyl, aminosulfonylamino, C1-3alkylaminosulfonylamino, di(C1-3 alkyl)aminosulfonylamino, aminocarbonylamino, C1-3 alkylaminocarbonylamino, and di(C1-3 alkyl)aminocarbonylamino.

### Claim 39

(canceled)

### Claim 40

(canceled)

### Claim 41 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R2A is independently selected from D, OH, CN, halo, C1-3 alkyl, C2-3 alkenyl, C2-3 alkynyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, and di(C1-3 alkyl)amino.

### Claim 42

(canceled)

### Claim 43 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R3 is selected from H, D, OH, CN, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, cyano-C1-6 alkyl, HO—C1-6 alkyl, C1-6 alkoxy-C1-6 alkyl, C3-6 cycloalkyl, C1-6 alkoxy, C1-3 haloalkoxy, amino, C1-6 alkylamino, and di(C1-6 alkyl)amino.

### Claim 44

(canceled)

### Claim 45 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
R4 and R5 are each independently selected from H, and C1-6 alkyl; or
R4 and R5, together with the carbon atom to which they are attached, form a 3-7-membered cycloalkyl ring.

### Claim at position 36

-48. (canceled)

### Claim 49 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein R6 is independently selected from C5-6 cycloalkyl, phenyl, 5-6 membered heterocycloalkyl, and 5-6 membered heteroaryl, each of which is optionally substituted by 1, 2, 3, or 4 independently selected R6A substituents.

### Claim at position 38

-54. (canceled)

### Claim 55 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R6A is independently selected from D, OH, CN, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, cyano-C1-6 alkyl, HO—C1-6 alkyl, C1-6 alkoxy-C1-6 alkyl, C3-6 cycloalkyl, C1-6 alkoxy, C1-3 haloalkoxy, amino, C1-6 alkylamino, and di(C1-6 alkyl)amino.

### Claim 56 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R6A is independently selected from halo, CN, C1-6 alkyl, and C1-6 haloalkyl.

### Claim 57 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R6A is independently selected from halo and C1-6 haloalkyl.

### Claim at position 42

-67. (canceled)

### Claim 68 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein RW is selected from:

### Claim 69 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein RW is

### Claim 70

(canceled)

### Claim 71

(canceled)

### Claim 72 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein L2 is -L-NR9C(O)— and wherein L2 is attached to Ring moiety A through an L linking group.

### Claim 73

(canceled)

### Claim 74

(canceled)

### Claim 75 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
each R81 and R83 is independently selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, C3-4cycloalkyl, and ORa8; wherein said C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl are each optionally substituted by 1, 2, 3, or 4 independently selected RG substituents;
each R82 is independently selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, and C3-4cycloalkyl; wherein said C1-6 alkyl, C1-6 haloalkyl, and C3-4cycloalkyl are each optionally substituted by 1, 2, 3, or 4 independently selected RG substituents; and
each Ra8 is independently selected from C1-6 alkyl, and C1-6 haloalkyl.

### Claim 76 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein each R81 and R83 is independently selected from H, CN, C1-6 alkyl, and C1-6 alkoxy; and each R82 is independently selected from H, CN, and C1-6 alkyl.

### Claim at position 52

-79. (canceled)

### Claim 80 (depends on 1)

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

### Claim at position 54

-83. (canceled)

### Claim 84 (depends on 1)

The compound of claim 1, or a pharmaceutically acceptable salt thereof, wherein:
n is 0 or 1;
Ring moiety A is selected from C3-7 cycloalkyl, phenyl, 4-6 membered heterocycloalkyl, and 5-6 membered heteroaryl;
when the compound is a compound of Formula (I), or a pharmaceutically acceptable salt thereof, and Z is CR1, then R1 is selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4alkyl, and 5-6 membered heteroaryl-C1-4alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
when the compound is a compound of Formula (II), or a pharmaceutically acceptable salt thereof, then R1 is selected from H, C1-6 alkyl, C1-6 haloalkyl, phenyl, C3-7 cycloalkyl, 5-6 membered heteroaryl, 4-7 membered heterocycloalkyl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4 alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, C3-7 cycloalkyl, phenyl, 4-7 membered heterocycloalkyl, 5-6 membered heteroaryl, C3-7 cycloalkyl-C1-4 alkyl, phenyl-C1-4alkyl, 4-7 membered heterocycloalkyl-C1-4 alkyl, and 5-6 membered heteroaryl-C1-4 alkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1A substituents;
each R1A is independently selected from H, D, halo, CN, C1-6 alkyl, C1-6 haloalkyl, C3-4 cycloalkyl, ORa11, C(O)Rb11, C(O)NRc11Rd11, C(O)ORa11, OC(O)Rb11, OC(O)NRc11Rd11, NRc11Rd11, NRc11C(O)Rb11, NRc11C(O)ORa11, NRc11C(O)NRc11Rd11, NRd11 S(O)2Rb11, NRc11S(O)2NRc11Rd11, S(O)2Rb11, and S(O)2NRc11Rd11, wherein said C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Ra11, Rc11, and Rd11 is independently selected from H, C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl, wherein said C1-6 alkyl, C1-6 haloalkyl, and C3-4 cycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each Rb11 is independently selected from C1-6 alkyl, C1-6 haloalkyl and C3-4 cycloalkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R1B substituents;
each R1B is independently selected from D, OH, NO2, CN, halo, C1-3 alkyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C3-7 cycloalkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, di(C1-3 alkyl)amino, thio, C1-3 alkylthio, C1-3 alkylsulfinyl, C1-3 alkylsulfonyl, carbamyl, C1-3 alkylcarbamyl, di(C1-3 alkyl)carbamyl, carboxy, C1-3 alkylcarbonyl, C1-3 alkoxycarbonyl, C1-3 alkylcarbonyloxy, C1-3 alkylcarbonylamino, C1-3 alkoxycarbonylamino, C1-3 alkylaminocarbonyloxy, C1-3 alkylsulfonylamino, aminosulfonyl, C1-3alkylaminosulfonyl, di(C1-3 alkyl)aminosulfonyl, aminosulfonylamino, C1-3 alkylaminosulfonylamino, di(C1-3 alkyl)aminosulfonylamino, aminocarbonylamino, C1-3 alkylaminocarbonylamino, and di(C1-3 alkyl)aminocarbonylamino;
each R2 is independently selected from H, halo, C(O)Rb2, and C(O)NRc2Rd2;
each Rb2 is independently selected from C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and C3-7 cycloalkyl, which are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents;
each Rc2 and Rd2 is independently selected from H, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and C3-7 cycloalkyl, wherein said C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, and C3-7 cycloalkyl are each optionally substituted with 1, 2, 3, or 4 independently selected R2A substituents;
each R2A is independently selected from D, OH, CN, halo, C1-3 alkyl, C2-3 alkenyl, C2-3 alkynyl, C1-3 haloalkyl, cyano-C1-3 alkyl, HO—C1-3 alkyl, C1-3 alkoxy-C1-3 alkyl, C1-3 alkoxy, C1-3 haloalkoxy, amino, C1-3 alkylamino, and di(C1-3 alkyl)amino;
R3 is selected from H, D, OH, CN, halo, C1-6 alkyl, C2-6 alkenyl, C2-6 alkynyl, C1-6 haloalkyl, cyano-C1-6 alkyl, HO—C1-6 alkyl, C1-6 alkoxy-C1-6 alkyl, C3-6 cycloalkyl, C1-6 alkoxy, C1-3 haloalkoxy, amino, C1-6 alkylamino, and di(C1-6 alkyl)amino;
R4 and R5 are each independently H or CH3;
R6 is C5-6 cycloalkyl or phenyl, each of which is optionally substituted with 1, 2, 3, or 4 independently selected R6A substituents;
RW is
L2 is -L-NR9C(O)— wherein L2 are attached to Ring moiety A through an L linking group;
each L is a bond;
each R82 is independently selected from H, CN, and C1-6 alkyl; and
R9 is H.

### Claim 85 (depends on 1)

The compound of claim 1, selected from:
N-(2-(5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-5,9-dihydro-6H-pyrrolo[3,2-d]tetrazolo[1,5-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-fluoro-6-(5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-5,9-dihydro-6H-pyrrolo[3,2-d]tetrazolo[1,5-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(3-methyl-5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-5,9-dihydro-6H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(9-(2-((2-chloro-4-(trifluoromethyl)phenyl)amino)-2-oxoethyl)-3-methyl-5-oxo-5,9-dihydro-6H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(9-(2-((2,4-difluorophenyl)amino)-2-oxoethyl)-3-methyl-5-oxo-5,9-dihydro-6H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(3-methyl-5-oxo-9-(2-oxo-2-((3-(trifluoromethyl)bicyclo[1.1.1]pentan-1-yl)amino)ethyl)-5,9-dihydro-6H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-3-(trifluoromethyl)-5,9-dihydro-6H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(3-(1-methyl-1H-pyrazol-3-yl)-5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-5,9-dihydro-6H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-6-yl)phenyl)acrylamide;
N-(2-(3-methyl-5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-5,9-dihydro-6H-[1,2,4]triazolo[4,3-a]purin-6-yl)phenyl)acrylamide;
N-(2-(5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-6,9-dihydro-5H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-3-yl)phenyl)acrylamide; and
N-(2-(6-methyl-5-oxo-9-(2-oxo-2-((4-(trifluoromethyl)phenyl)amino)ethyl)-6,9-dihydro-5H-pyrrolo[3,2-d][1,2,4]triazolo[4,3-a]pyrimidin-3-yl)phenyl)acrylamide;
or a pharmaceutically acceptable salt of any of the aforementioned.

### Claim 86 (depends on 1)

A pharmaceutical composition comprising the compound of claim 1, or a pharmaceutically acceptable salt thereof, and a pharmaceutically acceptable carrier.

### Claim 87 (depends on 1)

A method of inhibiting WRN, comprising contacting the WRN with a compound of claim 1, or a pharmaceutically acceptable salt thereof.

### Claim 88 (depends on 1, 2)

A method of inhibiting WRN in a patient, comprising administering to the patient a compound of claim 1, or a pharmaceutically acceptable salt thereof, or a pharmaceutical composition comprising a compound of claim 2.

### Claim 89 (depends on 87)

The method of claim 87, wherein the inhibition of WRN comprises the inhibition of: (i) WRN helicase activity; or (ii) WRN ATPase activity; or (iii) both (i) and (ii).

### Claim 90 (depends on 1, 10)

A method of treating a disease or disorder associated with WRN activity in a patient, the method comprising administering to the patient in need thereof a therapeutically effective amount of the compound of claim 1, or pharmaceutically acceptable salt thereof, or a pharmaceutical composition comprisinq a compound of claim 10.

### Claim 91 (depends on 90)

The method of claim 90, wherein the disease or disorder is cancer.

### Claim 92 (depends on 91)

The method of claim 91, wherein the cancer is a microsatellite instability-high (MSI-H) cancer.

### Claim 93 (depends on 91)

The method of claim 91, wherein the cancer is a mismatch repair deficient (dMMR) cancer.

### Claim at position 65

-101. (canceled)
