Payment of Expenses; Indemnification The Borrower agrees (a) to pay or reimburse the Agents for all their reasonable and documented out-of-pocket costs and expenses (without duplication) incurred in connection with the preparation and execution and delivery of, and any amendment, supplement, waiver or modification to, this Agreement and the other Credit Documents and any other documents prepared in connection herewith or therewith, and the consummation and administration of the transactions contemplated hereby and thereby (limited (i) in the case of legal fees and expenses, to the reasonable documented fees, disbursements and other charges of Xxxxxx & Xxxxxxx LLP (or such other counsel as may be agreed by the Administrative Agent and the Borrower) and, if reasonably necessary, of a single firm of local counsel in each relevant jurisdiction, excluding in all cases allocated costs of in-house counsel, and (ii) in the case of fees and expenses related to any other advisor or consultant, solely to the extent the Borrower has consented to the retention or engagement of such Person), (b) to pay or reimburse each Agent for all its reasonable and documented out-of-pocket costs and expenses incurred in connection with the enforcement or preservation of any rights under this Agreement, the other Credit Documents and any other documents delivered in connection herewith or therewith upon the occurrence and during the continuance of an Event of Default (limited, in the case of legal fees and expenses of the Agents and the Lenders (taken as a whole), to the reasonable documented fees, disbursements and other charges of Xxxxxx & Xxxxxxx LLP (or such other counsel as may be agreed by the Administrative Agent and the Borrower) and (x) if reasonably necessary, of a single firm of local counsel in each relevant jurisdiction and (y) if there is an actual conflict of interest, one additional counsel for the affected similarly situated (taken as a whole) Persons), in each case excluding in all cases allocated costs of in-house counsel, and (c) to pay, indemnify, and hold harmless each Lender, each Agent and their respective Affiliates, directors, officers, members, controlling persons, employees, trustees, investment advisors, and agents and successors of the foregoing (in each case, excluding any Excluded Affiliate, the “Indemnified Persons”) from and against any and all actual losses, damages, claims, expenses or liabilities of any kind or nature whatsoever (limited (i) in the case of legal fees and expenses, to the reasonable and documented fees, disbursements, and other charges of one primary counsel and, if reasonably necessary, one local counsel in each relevant jurisdiction for all such Indemnified Persons (taken as a whole) and, if there is an actual conflict of interest, one additional counsel for the affected Indemnified Persons similarly situated (taken as a whole), in each case excluding in all cases allocated costs of in-house counsel, and (ii) in the case of fees and expenses related to any other advisor or consultant, solely to the extent the Borrower has consented to the retention or engagement of such Person in writing), in each case to the extent arising out of or relating to any claim, litigation or other proceeding, regardless whether any such Indemnified Person is a party thereto or whether such claim, litigation or other proceeding is brought by a third party or by the Borrower or any of its Affiliates, that is related to the execution, delivery, enforcement, performance, and administration of this Agreement, the other Credit Documents and other documents delivered in connection herewith or therewith or the use of proceeds of any Credit Facility (all the foregoing in this clause (c), collectively, the “Indemnified Liabilities”); provided that the Borrower shall have no obligation hereunder to any Indemnified Person with respect to Indemnified Liabilities (i) resulting from disputes between and among any Indemnified Persons (or any of such Indemnified Person’s Affiliates or any of its or their respective officers, directors, employees, agents, controlling persons, members or the successors of any of the foregoing) that does not involve an act or omission by the Borrower or any of its Subsidiaries (other than any claims against the Administrative Agent, any Joint Lead Arranger or any Joint Bookrunner in their respective capacities as such, subject to the immediately succeeding clause (ii)), (ii) to the extent it has been determined by a final non-appealable judgment of a court of competent jurisdiction to have resulted from (x) the gross negligence, bad faith or willful misconduct of such Indemnified Person (or any of such Indemnified Person’s Affiliates or any of its or their respective officers, directors, employees, agents, controlling persons, members or the successors of any of the foregoing) or (y) a material breach of any Credit Document by such Indemnified Person (or any of such Indemnified Person’s Affiliates or any of its or their respective officers, directors, employees, agents, controlling persons, members or the successors of any of the foregoing) or (iii) in its capacity as a financial advisor to the Borrower and any of its Subsidiaries in connection with the Transactions. No Person entitled to indemnification under Section 13.5(c) and no other Person party to this Agreement shall be liable (1) for any damages to any other Indemnified Person or party hereto arising from the use by others of any information or other materials obtained through IntraLinks or other similar information transmission systems in connection with this Agreement except to the extent that such damage resulted from bad faith, willful misconduct or gross negligence of such Indemnified Person, such other Person or any of such Indemnified Person’s or such other Person’s Affiliates or any of its or their respective officers, directors, employees, agents, controlling persons, members or the successors of any of the foregoing or (2) for any special, punitive, indirect or consequential damages relating to this Agreement or any other Credit Document or arising out of its activities in connection herewith or therewith (whether before or after the Closing Date); provided, that this clause (2) shall not limit the Borrower’s indemnity or reimbursement obligations to the extent such special, punitive, indirect or consequential damages are included in any claim by a third party with respect to which the applicable Indemnified Person is entitled to indemnification in accordance with Section 13.5(c). All amounts due under this Section 13.5 shall be paid within thirty (30) days after written demand therefor (together with backup documentation supporting such reimbursement request); provided, however, that an Indemnified Person shall promptly refund any amount to the extent that there is a final judicial or arbitral determination that such Indemnified Person was not entitled to indemnification rights with respect to such payment pursuant to this Section 13.5. The Borrower shall not be liable for any settlement of any proceeding effected without the Borrower’s written consent (which consent shall not be unreasonably withheld or delayed), but if settled with the Borrower’s written consent or if there is a final and non-appealable judgment by a court of competent jurisdiction for the plaintiff in any such proceeding, the Borrower agrees to indemnify and hold harmless each Indemnified Person from and against any and all actual losses, damages, claims, liabilities, and reasonable and documented legal or other out-of-pocket expenses by reason of such settlement or judgment in accordance with, and to the extent provided in, the other provisions of this Section 13.5. Holdings, the Borrower and their respective Subsidiaries shall not, without the prior written consent of any Indemnified Person (which consent shall not be unreasonably withheld or delayed), effect any settlement of any pending or threatened proceedings in respect of which indemnity could have been sought hereunder by such Indemnified Person unless such settlement (i) includes an unconditional release of such Indemnified Person in form and substance reasonably satisfactory to such Indemnified Person from all liability or claims that are the subject matter of such proceedings and (ii) does not include any statement as to or any admission of fault, culpability, wrongdoing or a failure to act by or on behalf of any Indemnified Person. Each Indemnified Person, by its acceptance of the benefits of this Section 13.5, agrees to refund and return any and all amounts paid by the Borrower to it if, pursuant to limitations on indemnification set forth in this Section 13.5, such Indemnified Person was not entitled to receipt of such amounts. The agreements in this Section 13.5 shall survive repayment of the Loans and all other amounts payable hereunder. This Section 13.5 shall not apply with respect to Taxes, other than any Taxes that represent liabilities, obligations, losses, damages, penalties, judgments, costs, expenses, or disbursements, etc., arising from any non-Tax claim.