A compound represented by Formula or a pharmaceutically acceptable salt thereof, wherein the compound represented by Formula has the following structure: wherein R 4 is selected from COR d, CONR b R c, CO 2 R d, SO 2 R d, or SO 2 NR b R c; R 5 is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, COR d, CONR b R c, CO 2 R d, SO 2 R d, SO 2 NR b R c, alkyl, alkenyl, alkynyl, cycloalkyl, or heterocycloalkyl; wherein the alkyl, alkenyl, alkynyl, cycloalkyl, or heterocycloalkyl is unsubstituted or substituted with 1 to 3 R 5a; R 5a is selected from H, D, halogen, cyano, alkyl, alkenyl, alkynyl, cycloalkyl, heterocycloalkyl, OR a, SR a, NR b R c, COR d, CONR b R c, CO 2 R d, SO 2 R d, or SO 2 NR b R c; wherein the alkyl, cycloalkyl, and heterocycloalkyl are unsubstituted or substituted with 1 to 3 R 5b; R 5b is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, COR d, CONR b R c, CO 2 R d, SO 2 R d, or SO 2 NR b R c; R 8 is selected from H, D, alkyl, halogen, haloalkyl, or OR a; R a, R b, R c, and R d are each selected from H, D, alkyl, alkenyl, alkynyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl, wherein the alkyl, alkenyl, alkynyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl is unsubstituted or substituted with 1 to 4 R 6; R 6 is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, NR b COR d, NR b CONR b R c, CONR b R c, CO 2 R d, NR b SO 2 R d, NR b SO 2 NR b R c, SOR d, SO 2 R d, SO 2 NR b R c, alkyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl; wherein R b and R c in a group containing both R b and R c are attached to a N atom in the group by a single bond or form a heterocycloalkyl together with the N atom to which they are attached, and the heterocycloalkyl is unsubstituted or substituted with 1 to 3 R 7; R 7 is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, NR b COR d, NR b CONR b R c, CONR b R c, CO 2 R d, NR b SO 2 R d, NR b SO 2 NR b R c, SOR d, SO 2 R d, SO 2 NR b R c, alkyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl; and z is 1 or 2. R 4 is selected from COR d, CONR b R c, CO 2 R d, SO 2 R d, or SO 2 NR b R c; R 5 is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, COR d, CONR b R c, CO 2 R d, SO 2 R d, SO 2 NR b R c, alkyl, alkenyl, alkynyl, cycloalkyl, or heterocycloalkyl; wherein the alkyl, alkenyl, alkynyl, cycloalkyl, or heterocycloalkyl is unsubstituted or substituted with 1 to 3 R 5a; R 5a is selected from H, D, halogen, cyano, alkyl, alkenyl, alkynyl, cycloalkyl, heterocycloalkyl, OR a, SR a, NR b R c, COR d, CONR b R c, CO 2 R d, SO 2 R d, or SO 2 NR b R c; wherein the alkyl, cycloalkyl, and heterocycloalkyl are unsubstituted or substituted with 1 to 3 R 5b; R 5b is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, COR d, CONR b R c, CO 2 R d, SO 2 R d, or SO 2 NR b R c; R 8 is selected from H, D, alkyl, halogen, haloalkyl, or OR a; R a, R b, R c, and R d are each selected from H, D, alkyl, alkenyl, alkynyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl, wherein the alkyl, alkenyl, alkynyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl is unsubstituted or substituted with 1 to 4 R 6; R 6 is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, NR b COR d, NR b CONR b R c, CONR b R c, CO 2 R d, NR b SO 2 R d, NR b SO 2 NR b R c, SOR d, SO 2 R d, SO 2 NR b R c, alkyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl; wherein R b and R c in a group containing both R b and R c are attached to a N atom in the group by a single bond or form a heterocycloalkyl together with the N atom to which they are attached, and the heterocycloalkyl is unsubstituted or substituted with 1 to 3 R 7; R 7 is selected from H, D, halogen, cyano, OR a, SR a, NR b R c, NR b COR d, NR b CONR b R c, CONR b R c, CO 2 R d, NR b SO 2 R d, NR b SO 2 NR b R c, SOR d, SO 2 R d, SO 2 NR b R c, alkyl, cycloalkyl, heterocycloalkyl, aryl, or heteroaryl; and z is 1 or 2.