17. Indemnification
17.1 Indemnification by us
If a third party makes a claim against you that the Services infringe any patent, copyright or trademark or other intellectual property rights, or misappropriates any trade secret, we shall defend you and your directors, officers and employees against the claim at our expense and we shall pay all losses, damages and expenses (including reasonable attorneys' fees) finally awarded in favour of such parties or agreed to in a written settlement agreement signed by us, to the extent arising from the claim. We shall have no liability for any claim based on (a) your content, (b) modification of the Services not authorised by Us, or (c) use of the Services other than in accordance with these Terms. We may, at our sole option and expense, procure for you the right to continue use of the Services, modify the Services in a manner that does not materially impair the functionality, or terminate this agreement and repay to You any amount paid by You with respect to the remaining term following the termination date.
17.2 Indemnification by you
If a third party makes a claim against us that your content infringes any patent, copyright or trademark, or misappropriates any trade secret, you shall defend us and our directors, officers and employees against the claim at your expense and you shall pay all losses, damages and expenses (including reasonable attorneys' fees) finally awarded in favour of such parties or agreed to in a written settlement agreement signed by you, to the extent arising from the claim.
17.3 Conditions for Indemnification
A party seeking indemnification under this section shall (a) promptly notify the other party of the claim, (b) give the other party sole control of the defence and settlement of the claim, and (c) provide, at the other party's expense for out-of-pocket expenses, the assistance, information and authority reasonably requested by the other party in the defence and settlement of the claim.