SECTION 10.04 Attorney Costs, Expenses and Taxes. The Borrower agrees (a) to pay or reimburse the Administrative Agent, Syndication Agent and the Arrangers for all reasonable and documented out-of-pocket costs and expenses incurred (promptly following written demand therefor, together with backup documentation supporting such reimbursement request) in connection with the preparation, negotiation, syndication and execution of this Agreement, the 2021 Amendment Agreement and the other Loan Documents, and any amendment, waiver, consent or other modification of the provisions hereof and thereof (whether or not the transactions contemplated thereby are consummated), and the consummation and administration of the transactions contemplated hereby and thereby, including all Attorney Costs, which shall be limited to Cravath, Swaine & Moore LLP and, if necessary, one firm of local counsel in any relevant jurisdiction, and (b) after the 2021 Effective Date, upon presentation of a summary statement, together with any supporting documentation reasonably requested by the Borrower, to promptly pay or reimburse the Administrative Agent, Syndication Agent, the Arrangers and each Lender for all reasonable and documented out-of-pocket costs and expenses incurred in connection with the enforcement of any rights or remedies under this Agreement, the 2021 Amendment Agreement or the other Loan Documents (including all such costs and expenses incurred during any legal proceeding, including any proceeding under any Debtor Relief Law, and including all Attorney Costs, which shall be limited to Attorney Costs of one counsel to the Administrative Agent and the Lenders taken as a whole (and, if necessary, one firm of local counsel to the Administrative Agent and the Lenders taken as a whole in any relevant jurisdiction and, solely in the event of any actual or potential conflict of interest, one additional counsel in each relevant jurisdiction to each group of similarly situated affected persons taken as a whole)). The agreements in this Section 10.04 shall survive the termination of the Aggregate Commitments and repayment of all other Obligations. All amounts due under this Section 10.04 shall be paid within thirty (30) days of receipt by the Borrower of an invoice relating thereto setting forth such expenses in reasonable detail; provided that, with respect to the 2021 Effective Date, all amounts due under this Section 10.04 shall be paid on the 2021 Effective Date to the extent invoiced to the Borrower within three (3) Business Days prior to the 2021 Effective Date. If any Loan Party fails to pay when due any costs, expenses or other amounts payable by it hereunder or under any Loan Document, such amount may be paid on behalf of such Loan Party by the Administrative Agent in its sole discretion. This Section 10.04 shall not apply to Indemnified Taxes or Excluded Taxes, which, in each case, shall be governed by Section 3.01. This Section 10.04 also shall not apply to taxes covered by Section 3.04.
SECTION 10.05 Indemnification by the Borrower. Whether or not the transactions contemplated hereby (including by the 2021 Amendment Agreement) are consummated, the Borrower shall indemnify and hold harmless each Agent-Related Person, each Lender and their respective Affiliates, directors, officers, employees, counsel, agents, trustees, investment advisors and attorneys-in-fact (collectively the “Indemnitees”) from and against any and all liabilities, obligations, losses, damages, penalties, claims, demands, actions, judgments, suits, costs, expenses and disbursements (including Attorney Costs, but limited, in the case of legal fees and expenses, to the reasonable and documented out-of-pocket fees, disbursements and other charges of one counsel to all Indemnitees taken as a whole and, if reasonably necessary, one firm of local counsel in each relevant jurisdiction, and solely in the case of an actual or potential conflict of interest, one additional counsel in each relevant jurisdiction to each group of similarly situated affected Indemnitees) of any kind or nature whatsoever which may at any time be imposed on, incurred by or asserted against any such Indemnitee in any way relating to or arising out of or in connection with (a) the execution, delivery, enforcement, performance or administration of any Loan Document or any other agreement, letter or instrument delivered in connection with the transactions contemplated thereby or the consummation of the transactions contemplated thereby, (b) any Commitment, Loan or Letter of Credit or the use or proposed use of the proceeds therefrom (including any refusal by an L/C Issuer to honor a demand for payment under a Letter of Credit if the documents presented in connection with such demand do not strictly comply with the terms of such Letter of Credit), or (c) any actual or alleged presence or release of Hazardous Materials on or from any property currently or formerly owned or operated by the Borrower, any Subsidiary or any other Loan Party, or any Environmental Liability related in any way to the Borrower, any Subsidiary or any other Loan Party, or (d) any actual or prospective claim, litigation, investigation or proceeding relating to any of the foregoing, whether based on contract, tort or any other theory (including any investigation of, preparation for, or defense of any pending or threatened claim, investigation, litigation or proceeding) and regardless of whether any Indemnitee is a party thereto (all the foregoing, collectively, the “Indemnified Liabilities”), in all cases, whether or not caused by or arising, in whole or in part, out of the negligence of the Indemnitee; provided that such indemnity shall not, as to any Indemnitee, be available to the extent that such liabilities, obligations, losses, damages, penalties, claims, demands, actions, judgments, suits, costs, expenses or disbursements resulted from: (x) the gross negligence, bad faith or willful misconduct of, or material breach of Loan Document by, such Indemnitee or of any affiliate, director, officer, employee, counsel, agent or attorney-in-fact
158